diff options
author | silverwind <me@silverwind.io> | 2020-10-31 04:52:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 23:52:10 -0400 |
commit | 6c323678d0a0872825e90d1339db802ebce3fb76 (patch) | |
tree | b664603babc63851555d04a12ec9f76dd0b1f9da /web_src/less/_repository.less | |
parent | b5e974c8a5a90e7c166792d03d97f2ea5b6cfba6 (diff) | |
download | gitea-6c323678d0a0872825e90d1339db802ebce3fb76.tar.gz gitea-6c323678d0a0872825e90d1339db802ebce3fb76.zip |
Use CSS Vars for primary color (#13361)
* Use CSS Vars for primary color
- Create 15 color shades derived from primary color
- Change blue-ish colors to use that primary color
- Move styles for scrollbars, selection from arc-green to base
- Remove obsolete arc-green styles that now use those variables
* simplify webkit scrollbar style
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r-- | web_src/less/_repository.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index e84060b069..c6a5b3c834 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -345,7 +345,7 @@ &.octicon-file-directory, &.octicon-file-submodule { - color: #1e70bf; + color: var(--color-primary); } } } @@ -717,7 +717,7 @@ .pull-desc { code { - color: #0166e6; + color: var(--color-primary); } } |