Skip to content

Commit 14f0bd6

Browse files
Janzertyagebu
andauthored
fix: use static foreground color in notifications (#2166) (#2168)
* fix: use static foreground color in notifications (#2166) * Add named variable for notification foreground color. * fix: move reload-page styles to appropriate component --------- Co-authored-by: Jakob Schnitzer <[email protected]>
1 parent 46ab2dd commit 14f0bd6

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

frontend/css/notifications.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
}
2323

2424
.notifications .warning {
25-
color: var(--text-color);
25+
color: var(--dark-gray);
2626
background-color: var(--yellow);
2727
}

frontend/css/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
--yellow: var(--warning);
2020
--green: hsl(151deg 100% 25%);
2121
--gray: hsl(0deg 0% 67%);
22+
--dark-gray: hsl(0deg 0% 25%);
2223

2324
/* Base colors (backgrounds) */
2425
--background: light-dark(hsl(0deg 0% 100%), hsl(0deg 0% 15%));

frontend/src/sidebar/Header.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
<style>
4545
.reload-page {
46+
color: var(--dark-gray);
4647
background-color: var(--warning);
4748
}
4849

0 commit comments

Comments
 (0)