Skip to content

Commit

Permalink
adjust highlight of selected in address popover
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-islam committed Dec 11, 2020
1 parent 7c44f01 commit 8d2065e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"description": "Theme Firefox to suit you, day or night. Solarized.",
"homepage_url": "https://addons.mozilla.org/en-US/firefox/addon/zen-fox/",
"homepage_url": "https://github.com/mr-islam/zen-fox/",
"manifest_version": 2,
"name": "Zen Fox",
"permissions": [
Expand Down
8 changes: 5 additions & 3 deletions zenfox.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const themes = {
"popup_text": base01,
"popup_border": magenta,
"popup_highlight": base3,
"popup_highlight_text": magenta,
"tab_loading": magenta,
"icons": base00,
"icons_attention": magenta,
Expand Down Expand Up @@ -65,6 +66,7 @@ const themes = {
"popup_text": base1,
"popup_border": cyan,
"popup_highlight": base02,
"popup_highlight_text": cyan,
"tab_loading": cyan,
"icons": base0,
"icons_attention": cyan,
Expand Down Expand Up @@ -203,7 +205,7 @@ async function accentHandler() {
themes['light'].colors["tab_loading"] = accentColorLightProp;
themes['light'].colors["icons_attention"] = accentColorLightProp;
themes['light'].colors["popup_border"] = accentColorLightProp;
themes['light'].colors["popup_highlight"] = accentColorLightProp;
themes['light'].colors["popup_highlight_text"] = accentColorLightProp;
themes['light'].colors["sidebar_highlight_text"] = accentColorLightProp;
themes['light'].colors["toolbar_field_border_focus"] = accentColorLightProp;
themes['light'].colors["tab_text"] = accentColorLightProp;
Expand All @@ -213,7 +215,7 @@ async function accentHandler() {
themes['dark'].colors["tab_loading"] = accentColorDarkProp;
themes['dark'].colors["icons_attention"] = accentColorDarkProp;
themes['dark'].colors["popup_border"] = accentColorDarkProp;
themes['dark'].colors["popup_highlight"] = accentColorDarkProp;
themes['dark'].colors["popup_highlight_text"] = accentColorDarkProp;
themes['dark'].colors["sidebar_highlight_text"] = accentColorDarkProp;
themes['dark'].colors["toolbar_field_border_focus"] = accentColorDarkProp;
themes['dark'].colors["tab_text"] = accentColorDarkProp;
Expand All @@ -228,7 +230,7 @@ async function openSettings() {

if (initializedCheckProp != "yes") {
browser.runtime.openOptionsPage();
}
}
browser.storage.local.set({"initialized": "yes"});
console.log('---openSettingsRun');
}
Expand Down

0 comments on commit 8d2065e

Please sign in to comment.