diff --git a/chrome/content/zotero/bindings/customcolorpicker.xml b/chrome/content/zotero/bindings/customcolorpicker.xml
new file mode 100644
index 0000000000..a420691369
--- /dev/null
+++ b/chrome/content/zotero/bindings/customcolorpicker.xml
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [
+ 'L#FFFFFF','L#FFCCCC','L#FFCC99','L#FFFF99','L#FFFFCC','L#99FF99','L#99FFFF','L#CCFFFF','L#CCCCFF','L#FFCCFF',
+ '#CCCCCC','#FF6666','#FF9966','L#FFFF66','L#FFFF33','L#66FF99','L#33FFFF','L#66FFFF','#9999FF','#FF99FF',
+ '#C0C0C0','#FF0000','#FF9900','#FFCC66','L#FFFF00','L#33FF33','#66CCCC','#33CCFF','#6666CC','#CC66CC',
+ '#999999','#CC0000','#FF6600','#FFCC33','#FFCC00','#33CC00','#00CCCC','#3366FF','#6633FF','#CC33CC',
+ '#666666','#990000','#CC6600','#CC9933','#999900','#009900','#339999','#3333FF','#6600CC','#993399',
+ '#333333','#660000','#993300','#996633','#666600','#006600','#336666','#000099','#333399','#663366',
+ '#000000','#330000','#663300','#663333','#333300','#003300','#003333','#000066','#330099','#330033'
+ ]
+
+ 10
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/chrome/content/zotero/bindings/tagsbox.xml b/chrome/content/zotero/bindings/tagsbox.xml
index 45f7677fd3..a6c7017216 100644
--- a/chrome/content/zotero/bindings/tagsbox.xml
+++ b/chrome/content/zotero/bindings/tagsbox.xml
@@ -37,6 +37,7 @@
+
"view"
@@ -109,38 +110,64 @@
if (this.hasAttribute('mode')) {
this.mode = this.getAttribute('mode');
}
+
+ this._notifierID = Zotero.Notifier.registerObserver(this, ['setting']);
]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -264,8 +291,13 @@
}
// Tag color
- if (color = this._tagColors[valueText]) {
- valueElement.setAttribute('style', 'color:' + this._tagColors[valueText]);
+ let color = this._tagColors[valueText];
+ if (color) {
+ valueElement.setAttribute(
+ 'style',
+ 'color:' + this._tagColors[valueText].color + '; '
+ + 'font-weight: bold'
+ );
}
return valueElement;
diff --git a/chrome/content/zotero/bindings/tagselector.xml b/chrome/content/zotero/bindings/tagselector.xml
index 8cfe3b6daf..45d63bccf7 100644
--- a/chrome/content/zotero/bindings/tagselector.xml
+++ b/chrome/content/zotero/bindings/tagselector.xml
@@ -27,8 +27,7 @@
+ xmlns:xbl="http://www.mozilla.org/xbl">
@@ -77,6 +76,9 @@