Skip to content

Commit 1cd11dd

Browse files
authored
fix text color while swichting themes (#10)
Signed-off-by: Kai Wagner <[email protected]>
1 parent bcdb724 commit 1cd11dd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/assets/stylesheets/colors.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
--color-text-link-hover: var(--color-primary-900);
4646
--color-text-contrast: #f8fafc;
4747
--color-text-button: #0f172a;
48+
--color-text-nav: var(--color-text-primary);
4849

4950
--color-bg-page: var(--color-primary-1);
5051
--color-bg-input: #f8fafc;
@@ -134,6 +135,7 @@
134135
--color-text-link-hover: #e0e7ff;
135136
--color-text-contrast: #f8fafc;
136137
--color-text-button: #e2e8f0;
138+
--color-text-nav: var(--color-text-contrast);
137139

138140
--color-bg-page: var(--color-primary-1);
139141
--color-bg-input: #111827;

app/assets/stylesheets/components/navigation.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
.brand-link {
3030
font-size: var(--font-size-2xl);
3131
font-weight: var(--font-weight-bold);
32-
color: var(--color-text-contrast);
32+
color: var(--color-text-nav);
3333
text-decoration: none;
3434
margin-bottom: -2px;
3535
}
@@ -62,7 +62,7 @@
6262
}
6363

6464
.nav-user {
65-
color: var(--color-text-contrast);
65+
color: var(--color-text-nav);
6666
font-weight: var(--font-weight-medium);
6767
}
6868

0 commit comments

Comments
 (0)