Repository navigation
Expand file tree
/
Copy pathglobal.web.css
More file actions
48 lines (46 loc) · 1.43 KB
/
Copy pathglobal.web.css
File metadata and controls
48 lines (46 loc) · 1.43 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
/* Web-only theme overrides. Metro resolves this file (platform suffix) for
web builds, so the class-qualified :root selectors below never reach the
native react-native-css compiler, which hard-errors on them. Manual theme
selection on native goes through Appearance.setColorScheme(); on web,
GluestackUIProvider toggles the dark/light class on <html>. */
@import './global.css';
@layer theme {
:root.dark {
--primary: 244 63 94;
--primary-foreground: 255 255 255;
--card: 23 23 23;
--secondary: 38 38 38;
--secondary-foreground: 250 250 250;
--background: 10 10 10;
--popover: 23 23 23;
--popover-foreground: 250 250 250;
--muted: 38 38 38;
--muted-foreground: 161 161 161;
--destructive: 255 100 103;
--foreground: 250 250 250;
--border: 46 46 46;
--input: 46 46 46;
--accent: 38 38 38;
--accent-foreground: 250 250 250;
--ring: 115 115 115;
}
:root.light {
--primary: 225 29 72;
--primary-foreground: 255 255 255;
--card: 255 255 255;
--secondary: 245 245 245;
--secondary-foreground: 23 23 23;
--background: 255 255 255;
--popover: 255 255 255;
--popover-foreground: 10 10 10;
--muted: 245 245 245;
--muted-foreground: 115 115 115;
--destructive: 231 0 11;
--foreground: 10 10 10;
--border: 229 229 229;
--input: 229 229 229;
--ring: 212 212 212;
--accent: 247 247 247;
--accent-foreground: 52 52 52;
}
}