Skip to content

Commit

Permalink
update css for zotero dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
daeh committed Feb 5, 2024
1 parent 3cd326d commit 7c94195
Show file tree
Hide file tree
Showing 5 changed files with 626 additions and 728 deletions.
Binary file modified addon/chrome/content/icons/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions addon/chrome/content/preferences.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ radio.mdbc-pref-radio-main {

div.mdbc-pref-options-div {
background-color: #e5e5e5;
border: 2px solid rgba(0, 0, 0, 0.5);
padding: 5px;
margin-left: 5px;
margin-right: 5px;
Expand All @@ -34,6 +35,14 @@ div.mdbc-pref-options-div {
max-width: fit-content;
}

/* Dark theme font color */
@media (prefers-color-scheme: dark) {
div.mdbc-pref-options-div {
background-color: #212121;
border: 2px solid rgba(255, 255, 255, 0.5);
}
}

hbox.mdbc-pref-hbox-indent {
display: inline-flex;
flex-wrap: nowrap; /* Prevents flex items from wrapping */
Expand Down
1 change: 0 additions & 1 deletion addon/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"homepage_url": "__homepage__",
"author": "__author__",
"icons": {
"48": "chrome/content/icons/favicon@0.5x.png",
"96": "chrome/content/icons/favicon.png"
},
"applications": {
Expand Down
Loading

0 comments on commit 7c94195

Please sign in to comment.