Skip to content

Commit 168012f

Browse files
committed
tweaks colors for headers, links, and text
1 parent 66ae307 commit 168012f

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

message-index/css/theme.css

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ body {
33
--text-color: #333;
44
--outline-color: #DB83ED;
55
--header-color: #6D28D9;
6-
--anchor: #0000EE;
76
--bg-nav: transparent;
87
--code-color: #FAFAFA;
98
--filename-bg: #EAEAEA;
@@ -12,14 +11,21 @@ body {
1211
@media (prefers-color-scheme: dark) {
1312
body {
1413
--bg-color: #33333A;
15-
--text-color: #F4F3F8;
16-
--header-color: #70619E;
17-
--anchor: #EB82DC;
14+
--text-color: #C9D1D9;
15+
--header-color: #8946C8;
1816
--bg-nav: #393939;
1917
--code-color: transparent;
2018
--filename-bg: #2C2C2C;
2119
}
2220

21+
a {
22+
color: #EB82DC;
23+
}
24+
25+
a:visited {
26+
color: #8B78C5;
27+
}
28+
2329
code.hljs {
2430
background-color: transparent;
2531
filter: invert(1);
@@ -33,18 +39,18 @@ body {
3339
body {
3440
color: var(--text-color);
3541
background-color: var(--bg-color);
42+
text-rendering: optimizeLegibility;
43+
-webkit-font-smoothing: antialiased;
44+
-moz-osx-font-smoothing: grayscale;
3645
}
3746

3847
h1, h2, h3, h4, h5, h6 {
3948
color: var(--header-color);
4049
}
4150

42-
a {
43-
color: var(--anchor);
44-
}
45-
4651
input {
4752
background-color: rgba(255, 255, 255, 0.06);
53+
color: var(--text-color);
4854
}
4955

5056
details {

0 commit comments

Comments
 (0)