Skip to content

Commit 60a456d

Browse files
committed
Merge remote-tracking branch 'giteaofficial/main'
* giteaofficial/main: Use CSS color-scheme instead of invert (go-gitea#21616)
2 parents 680ef1b + 07178f4 commit 60a456d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web_src/less/_base.less

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
--color-active-line: #fffbdd;
169169

170170
accent-color: var(--color-accent);
171+
color-scheme: light;
171172
}
172173

173174
:root * {

web_src/less/themes/theme-arc-green.less

+2-3
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,9 @@
153153
--color-accent: var(--color-primary-light-1);
154154
--color-small-accent: var(--color-primary-light-5);
155155
--color-active-line: #534d1b;
156-
}
157156

158-
::-webkit-calendar-picker-indicator {
159-
filter: invert(.8);
157+
accent-color: var(--color-accent);
158+
color-scheme: dark;
160159
}
161160

162161
/* invert emojis that are hard to read otherwise */

0 commit comments

Comments
 (0)