Skip to content

Commit

Permalink
Added dark mode icons for the extension preferences page
Browse files Browse the repository at this point in the history
(part of issue #450)
  • Loading branch information
aecreations committed Sep 22, 2024
1 parent 8f2c47a commit a69f385
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 8 deletions.
12 changes: 12 additions & 0 deletions wx-src/img/pref-general-checked-dk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions wx-src/img/pref-general-dk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions wx-src/img/pref-paste-checked-dk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions wx-src/img/pref-paste-dk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions wx-src/img/pref-sync-clippings-checked-dk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions wx-src/img/pref-sync-clippings-dk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions wx-src/pages/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@
--color-about-btn-border-hover: #b1b1b3;
--color-about-btn: #f9f9fa;

--url-preftab-general: url("../img/pref-general.svg");
--url-preftab-general-checked: url("../img/pref-general-checked.svg");
--url-preftab-paste: url("../img/pref-paste.svg");
--url-preftab-paste-checked: url("../img/pref-paste-checked.svg");
--url-preftab-sync-clippings: url("../img/pref-sync-clippings.svg");
--url-preftab-sync-clippings-checked: url("../img/pref-sync-clippings-checked.svg");
--url-preftab-general: url("../img/pref-general-dk.svg");
--url-preftab-general-checked: url("../img/pref-general-checked-dk.svg");
--url-preftab-paste: url("../img/pref-paste-dk.svg");
--url-preftab-paste-checked: url("../img/pref-paste-checked-dk.svg");
--url-preftab-sync-clippings: url("../img/pref-sync-clippings-dk.svg");
--url-preftab-sync-clippings-checked: url("../img/pref-sync-clippings-checked-dk.svg");
}
}

Expand Down Expand Up @@ -96,7 +96,7 @@ header, main {
width: 640px;
padding: 16px;
border: 1px solid var(--color-main-border);
border-radius: 2px;
border-radius: 4px;
box-shadow: 0 0 8px 2px var(--color-main-border-shadow);
}

Expand Down
5 changes: 4 additions & 1 deletion wx-src/pages/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,10 @@ $(async () => {
aeVisual.cacheIcons(
"pref-general-checked.svg",
"pref-paste-checked.svg",
"pref-sync-clippings-checked.svg"
"pref-sync-clippings-checked.svg",
"pref-general-checked-dk.svg",
"pref-paste-checked-dk.svg",
"pref-sync-clippings-checked-dk.svg"
);
aeVisual.preloadMsgBoxIcons(true);
});
Expand Down

0 comments on commit a69f385

Please sign in to comment.