Skip to content

Commit bbeb66f

Browse files
lukeawyattSysoev, Vladimir
authored and
Sysoev, Vladimir
committed
Background color of private list-items updated (go-gitea#20630)
A minor color update on the dashboard. This PR simply changes the background from hard-coded light yellow to the theme colors (var).
1 parent 949a714 commit bbeb66f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

web_src/less/_base.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
--color-text-light-3: #a0a0a0;
124124
--color-box-header: #f7f7f7;
125125
--color-box-body: #ffffff;
126+
--color-box-body-highlight: #f8f8f8;
126127
--color-footer: #ffffff;
127128
--color-timeline: #ececec;
128129
--color-input-text: #212121;

web_src/less/_dashboard.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
}
166166

167167
&.private {
168-
background-color: #fcf8e9;
168+
background-color: var(--color-box-body-highlight);
169169
}
170170

171171
.repo-list-link {

web_src/less/themes/theme-arc-green.less

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
--color-body: #383c4a;
9696
--color-box-header: #404652;
9797
--color-box-body: #303440;
98+
--color-box-body-highlight: #353945;
9899
--color-text-dark: #dbe0ea;
99100
--color-text: #bbc0ca;
100101
--color-text-light: #a6aab5;
@@ -150,10 +151,6 @@
150151
color: #fff;
151152
}
152153

153-
.feeds .list ul li.private {
154-
background: #353945;
155-
}
156-
157154
.ui.red.label,
158155
.ui.red.labels .label {
159156
background-color: #7d3434 !important;

0 commit comments

Comments
 (0)