1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/web_src/less
silverwind 07178f4d0c
Use CSS color-scheme instead of invert (#21616)
The
[`color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme)
property changes the base color of certain form elements like the
datepicker icon in Chrome. Set it and remove the previous invert hack.

Before with invert removed:
<img width="840" alt="Screen Shot 2022-10-27 at 11 42 54"
src="https://user-images.githubusercontent.com/115237/198251927-b742e14e-0c62-492c-b667-ee6c69de4ad8.png">
<img width="238" alt="Screen Shot 2022-10-27 at 12 23 28"
src="https://user-images.githubusercontent.com/115237/198260413-37c1ca85-c2de-4c09-8b37-6aa8a23ab575.png">

After:
<img width="841" alt="Screen Shot 2022-10-27 at 11 43 05"
src="https://user-images.githubusercontent.com/115237/198251934-568fa291-0d18-4cd4-adec-58ae1ad90ab2.png">
<img width="839" alt="Screen Shot 2022-10-27 at 11 44 36"
src="https://user-images.githubusercontent.com/115237/198251936-a435105e-572b-41f6-8262-a53820f1d364.png">
<img width="243" alt="Screen Shot 2022-10-27 at 12 23 42"
src="https://user-images.githubusercontent.com/115237/198260432-5eaffc82-ffb8-4559-b1c2-08a39e8f4427.png">

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-10-28 13:45:08 +08:00
..
chroma Improve arc-green code theme (#21039) 2022-09-03 23:24:18 +08:00
code
codemirror Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
console Add support for rendering terminal output with colors (#19497) 2022-06-09 00:46:39 +03:00
features Fix doc and heatmap for the Vue3 refactoring (#21312) 2022-10-02 10:13:44 +08:00
markup Consolidate remaining colors into variables (#21582) 2022-10-25 07:08:54 +03:00
modules Use separate class for tippy targets (#20742) 2022-08-10 22:47:28 +08:00
shared Make branch icon stand out more (#20726) 2022-08-10 15:23:11 -04:00
standalone Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
themes Use CSS color-scheme instead of invert (#21616) 2022-10-28 13:45:08 +08:00
_admin.less Changed scroll to auto for some UI elements. (#20294) 2022-07-10 20:58:26 +08:00
_base.less Use CSS color-scheme instead of invert (#21616) 2022-10-28 13:45:08 +08:00
_dashboard.less Add code highlighting in issue titles (#21432) 2022-10-16 02:24:41 +08:00
_editor.less Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
_explore.less Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 2021-12-13 00:04:18 +01:00
_form.less Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
_home.less
_install.less
_organization.less Add team member invite by email (#20307) 2022-10-19 14:40:28 +02:00
_package.less Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
_repository.less Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
_review.less Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
_svg.less Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
_tribute.less CSS color enhancements (#21534) 2022-10-23 12:05:20 +08:00
_user.less Add badge capabilities to users (#20607) 2022-08-18 02:25:25 +03:00
animations.less Consolidate more CSS colors into variables (#21402) 2022-10-12 12:26:27 -04:00
helpers.less Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
index.less Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
variables.less