-
-
Notifications
You must be signed in to change notification settings - Fork 723
Expand file tree
/
Copy pathstyles.css
More file actions
80 lines (69 loc) · 1.91 KB
/
styles.css
File metadata and controls
80 lines (69 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/* TODO:
- review this vs global.css
- does everything here needs to be in a global css file, or can we use props / tw classnames / css modules for consistency?
*/
html {
-webkit-font-smoothing: antialiased;
}
body {
overscroll-behavior: none;
}
:root {
-webkit-font-smoothing: antialiased;
--color-fd-background: hsl(0, 0%, 100%);
--color-fd-foreground: hsl(0, 0%, 9%);
--color-fd-card: hsl(0, 0%, 100%);
--color-fd-card-foreground: hsl(0, 0%, 9%);
--color-fd-muted: hsl(0, 0%, 95%);
--color-fd-muted-foreground: hsl(0, 0%, 40%);
--color-fd-accent: hsl(0, 0%, 98%);
--color-fd-accent-foreground: hsl(0, 0%, 9%);
--color-fd-primary: oklch(0.5761 0.2508 258.23);
--color-fd-secondary: hsl(0, 0%, 98%);
--color-fd-border: hsl(0, 0%, 92%);
}
.dark {
--color-fd-background: hsl(0, 0%, 0%);
--color-fd-foreground: hsl(0, 0%, 93%);
--color-fd-card: hsl(0, 0%, 0%);
--color-fd-card-foreground: hsl(0, 0%, 93%);
--color-fd-muted: hsl(0, 0%, 8%);
--color-fd-muted-foreground: hsl(0, 0%, 63%);
--color-fd-accent: hsl(0, 0%, 5%);
--color-fd-accent-foreground: hsl(0, 0%, 93%);
--color-fd-primary: oklch(0.5761 0.2508 258.23);
--color-fd-secondary: hsl(0, 0%, 5%);
--color-fd-border: hsl(0, 0%, 18%);
}
#nd-sidebar,
.dark #nd-sidebar {
background: var(--color-fd-background);
}
/* TODO: Don't think we should need to add this manually - bug in fumadocs? */
#nd-subnav [data-active="true"] {
color: var(--color-fd-primary);
}
:focus-visible {
box-shadow: unset !important;
}
.demo .bn-container:not(.bn-comment-editor),
.demo .bn-editor {
height: 100%;
}
.demo .bn-container:not(.bn-comment-editor) .bn-editor {
height: 100%;
border-radius: var(--bn-border-radius-medium);
}
.demo .bn-editor {
overflow: auto;
padding-block: 1rem;
}
.demo .bn-editor a {
color: revert;
text-decoration: revert;
}
.demo code.bn-inline-content {
font-size: 1em;
line-height: 1.5;
display: block;
}