diff options
author | Luke Wyatt <4325168+lukeawyatt@users.noreply.github.com> | 2022-08-06 10:25:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 22:25:58 +0800 |
commit | fe78d35ef51f876dc3abf1eab62f926ff25d746d (patch) | |
tree | eb8af245a251430d99eb0f09e8022b34b8b9a5e8 /web_src | |
parent | 27789908d8b06f9b856da67880d4774bd3bbddae (diff) | |
download | gitea-fe78d35ef51f876dc3abf1eab62f926ff25d746d.tar.gz gitea-fe78d35ef51f876dc3abf1eab62f926ff25d746d.zip |
Background color of private list-items updated (#20630)
A minor color update on the dashboard. This PR simply changes the background from hard-coded light yellow to the theme colors (var).
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/_base.less | 1 | ||||
-rw-r--r-- | web_src/less/_dashboard.less | 2 | ||||
-rw-r--r-- | web_src/less/themes/theme-arc-green.less | 5 |
3 files changed, 3 insertions, 5 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 0bf46497e3..dc518eea95 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -123,6 +123,7 @@ --color-text-light-3: #a0a0a0; --color-box-header: #f7f7f7; --color-box-body: #ffffff; + --color-box-body-highlight: #f8f8f8; --color-footer: #ffffff; --color-timeline: #ececec; --color-input-text: #212121; diff --git a/web_src/less/_dashboard.less b/web_src/less/_dashboard.less index d37d9ab161..570d772729 100644 --- a/web_src/less/_dashboard.less +++ b/web_src/less/_dashboard.less @@ -165,7 +165,7 @@ } &.private { - background-color: #fcf8e9; + background-color: var(--color-box-body-highlight); } .repo-list-link { diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index cf63580911..4d21a5ac43 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -95,6 +95,7 @@ --color-body: #383c4a; --color-box-header: #404652; --color-box-body: #303440; + --color-box-body-highlight: #353945; --color-text-dark: #dbe0ea; --color-text: #bbc0ca; --color-text-light: #a6aab5; @@ -150,10 +151,6 @@ color: #fff; } -.feeds .list ul li.private { - background: #353945; -} - .ui.red.label, .ui.red.labels .label { background-color: #7d3434 !important; |