Skip to content

Commit bebb91a

Browse files
committed
update docs styling
1 parent 910fd79 commit bebb91a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/src/app/global.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22
@import 'fumadocs-ui/css/black.css';
33
@import 'fumadocs-ui/css/preset.css';
44

5+
:root {
6+
--color-fd-background: linear-gradient(135deg, #ffffff 0%, #ffffff 60%, #ffecec 100%);
7+
}
8+
.dark {
9+
--color-fd-background: linear-gradient(135deg, #1a0000 0%, #000000 60%, #1a0000 100%);
10+
}
11+
512
html,
613
body {
714
overscroll-behavior: none;
815
font-weight: 350;
9-
background: linear-gradient(135deg, #1a0000 0%, #000000 60%, #1a0000 100%);
16+
background: var(--color-fd-background);
1017
min-height: 100vh;
1118
}
1219

@@ -35,4 +42,4 @@ h6:hover [data-hash-link] {
3542
.prose h5,
3643
.prose h6 {
3744
font-weight: 500;
38-
}
45+
}

0 commit comments

Comments
 (0)