This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/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
code
codemirror
console
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
shared
standalone
themes Use CSS color-scheme instead of invert (#21616) 2022-10-28 13:45:08 +08:00
_admin.less
_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
_explore.less
_font_i18n.less
_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
_tribute.less CSS color enhancements (#21534) 2022-10-23 12:05:20 +08:00
_user.less
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