Skip to content

Commit c2774d9

Browse files
silverwindlafrikslunny
authored
Fix color of tertiary button on dark theme (#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 <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 parent 6bc3079 commit c2774d9

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
@@ -2200,9 +2200,7 @@ a.ui.label:hover {
22002200
border: 1px solid var(--color-light-border);
22012201
color: var(--color-text);
22022202
}
2203-
.ui.tertiary.button {
2204-
border: none;
2205-
}
2203+
22062204
.page-content .ui.button {
22072205
box-shadow: none !important;
22082206
}
@@ -2319,6 +2317,15 @@ a.ui.label:hover {
23192317
color: var(--color-secondary-dark-8) !important;
23202318
}
23212319

2320+
.ui.tertiary.button {
2321+
color: var(--color-text-light);
2322+
border: none;
2323+
}
2324+
2325+
.ui.tertiary.button:hover {
2326+
color: var(--color-text);
2327+
}
2328+
23222329
.ui.primary.label,
23232330
.ui.primary.labels .label {
23242331
background-color: var(--color-primary) !important;

0 commit comments

Comments
 (0)