Skip to content

Commit

Permalink
Merge remote-tracking branch 'giteaofficial/main'
Browse files Browse the repository at this point in the history
* giteaofficial/main:
  Use CSS color-scheme instead of invert (go-gitea#21616)
  • Loading branch information
zjjhot committed Oct 28, 2022
2 parents 680ef1b + 07178f4 commit 60a456d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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
5 changes: 2 additions & 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,9 @@
--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);
accent-color: var(--color-accent);
color-scheme: dark;
}

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

0 comments on commit 60a456d

Please sign in to comment.