You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
chroma Improve arc-green code theme (#21039) 2 years ago
code Fix and restyle menu on code line (#15913) 4 years ago
codemirror Support Issue forms and PR forms (#20987) 2 years ago
console Add support for rendering terminal output with colors (#19497) 3 years ago
features Fix doc and heatmap for the Vue3 refactoring (#21312) 2 years ago
markup Consolidate remaining colors into variables (#21582) 2 years ago
modules Use separate class for tippy targets (#20742) 3 years ago
shared Make branch icon stand out more (#20726) 3 years ago
standalone Update JS dependencies, fix lint (#18389) 3 years ago
themes Use CSS color-scheme instead of invert (#21616) 2 years ago
_admin.less Changed scroll to auto for some UI elements. (#20294) 3 years ago
_base.less Use CSS color-scheme instead of invert (#21616) 2 years ago
_dashboard.less Add `code` highlighting in issue titles (#21432) 2 years ago
_editor.less Extract CodeMirror styles (#17960) 3 years ago
_explore.less Remove fomantic image module (#21145) 2 years ago
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 3 years ago
_form.less Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
_home.less fix media query edge case (#13546) 4 years ago
_install.less Refactor install page (db type) (#17919) 3 years ago
_organization.less Add team member invite by email (#20307) 2 years ago
_package.less Fix empty container layer history and UI (#21251) 2 years ago
_repository.less Improve code comment review on mobile (#21461) 2 years ago
_review.less Improve code comment review on mobile (#21461) 2 years ago
_svg.less Update JS dependencies, fix lint (#18389) 3 years ago
_tribute.less CSS color enhancements (#21534) 2 years ago
_user.less Add badge capabilities to users (#20607) 3 years ago
animations.less Consolidate more CSS colors into variables (#21402) 2 years ago
helpers.less Improve code comment review on mobile (#21461) 2 years ago
index.less Fix empty container layer history and UI (#21251) 2 years ago
variables.less fix media query edge case (#13546) 4 years ago