Skip to content

Commit 8af55f3

Browse files
silverwindlafrikslunny
authored andcommitted
Fix color of tertiary button on dark theme (go-gitea#22739)
Before: <img width="266" alt="Screenshot 2023-02-03 at 14 07 34" src="https://user-images.githubusercontent.com/115237/216611151-92e98305-c4b5-42f3-b2e2-8b1b805fa644.png"> After: <img width="271" alt="Screenshot 2023-02-03 at 14 07 52" src="https://user-images.githubusercontent.com/115237/216611156-878a8a75-39a1-415b-9b6d-4f035985444e.png"> This is the only instance of such a button in all templates. --------- Co-authored-by: Lauris BH <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent 2e12161 commit 8af55f3

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

web_src/less/_base.less

+10-3
Original file line numberDiff line numberDiff line change
@@ -2126,9 +2126,7 @@ a.ui.label:hover {
21262126
border: 1px solid var(--color-light-border);
21272127
color: var(--color-text);
21282128
}
2129-
.ui.tertiary.button {
2130-
border: none;
2131-
}
2129+
21322130
.page-content .ui.button {
21332131
box-shadow: none !important;
21342132
}
@@ -2244,6 +2242,15 @@ a.ui.label:hover {
22442242
color: var(--color-secondary-dark-8) !important;
22452243
}
22462244

2245+
.ui.tertiary.button {
2246+
color: var(--color-text-light);
2247+
border: none;
2248+
}
2249+
2250+
.ui.tertiary.button:hover {
2251+
color: var(--color-text);
2252+
}
2253+
22472254
.ui.primary.label,
22482255
.ui.primary.labels .label {
22492256
background-color: var(--color-primary) !important;

0 commit comments

Comments
 (0)