Skip to content

Commit 9f31998

Browse files
committed
feat(dev-hub) Improve global Css
1 parent cdae6ab commit 9f31998

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed
Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
@import "tailwindcss";
22
@import "fumadocs-ui/css/neutral.css";
33
@import "fumadocs-ui/css/preset.css";
4-
@import "./theme.css"; /*this overrides the default colors to match the pyth branding */
4+
/* @import "./theme.css"; this overrides the default colors to match the pyth branding */
55
/* @import "./fumadocs-global-style-overrides.css"; */
6+
7+
.light {
8+
--color-fd-background: hsla(0, 16%, 96%, 1);
9+
--color-fd-foreground: hsla(0, 16%, 5%, 1);
10+
--color-fd-muted: hsla(0, 16%, 90%, 1);
11+
--color-fd-muted-foreground: rgba(30, 30, 30, 0.564);
12+
--color-fd-popover: hsl(0, 0%, 98%);
13+
--color-fd-popover-foreground: hsl(0, 0%, 15.1%);
14+
--color-fd-card: hsla(0, 16%, 94%, 1);
15+
--color-fd-card-foreground: hsl(0, 0%, 8%);
16+
--color-fd-border: hsla(0, 12%, 85%, 1);
17+
--color-fd-primary: hsla(263, 70%, 50%, 1);
18+
--color-fd-primary-foreground: hsl(204, 90%, 51%);
19+
--color-fd-secondary: hsl(0, 0%, 93.1%);
20+
--color-fd-secondary-foreground: hsl(0, 0%, 0%);
21+
--color-fd-accent: hsla(0, 0%, 0%, 0.054);
22+
--color-fd-accent-foreground: hsl(0, 0%, 0%);
23+
--color-fd-ring: hsla(263, 70%, 50%, 1);
24+
}
25+
26+
.dark {
27+
--color-fd-background: hsl(240, 4%, 11%);
28+
--color-fd-foreground: hsl(250, 18%, 87%);
29+
--color-fd-muted: hsl(0, 3%, 6%);
30+
--color-fd-muted-foreground: hsla(250, 18%, 87%, 0.571);
31+
--color-fd-popover: hsl(0, 0%, 9%);
32+
--color-fd-popover-foreground: hsl(0, 0%, 82%);
33+
--color-fd-card: hsl(240, 2%, 9%);
34+
--color-fd-card-foreground: hsl(0, 0%, 98%);
35+
--color-fd-border: hsla(240, 18%, 86%, 0.085);
36+
--color-fd-primary: rgb(197, 157, 254);
37+
--color-fd-primary-foreground: hsl(139, 91%, 18%);
38+
--color-fd-secondary: hsl(0, 0%, 12.9%);
39+
--color-fd-secondary-foreground: hsl(250, 18%, 87%);
40+
--color-fd-accent: hsla(0, 0%, 100%, 0.079);
41+
--color-fd-accent-foreground: hsl(250, 18%, 87%);
42+
--color-fd-ring: hsla(262, 83%, 58%, 1);
43+
}

0 commit comments

Comments
 (0)