Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Use CSS color-scheme instead of invert
  • Loading branch information
silverwind committed Oct 27, 2022
commit 3e505cc1ed73d47a72d085512ffa3d83aa8647ed
1 change: 1 addition & 0 deletions web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
--color-active-line: #fffbdd;

accent-color: var(--color-accent);
color-scheme: light;
}

:root * {
Expand Down
4 changes: 1 addition & 3 deletions web_src/less/themes/theme-arc-green.less
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,8 @@
--color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5);
--color-active-line: #534d1b;
}

::-webkit-calendar-picker-indicator {
filter: invert(.8);
color-scheme: dark;
}

/* invert emojis that are hard to read otherwise */
Expand Down