-
Notifications
You must be signed in to change notification settings - Fork 0
/
stitches.config.ts
46 lines (40 loc) · 1.12 KB
/
stitches.config.ts
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
import { createStitches, CSS as CSSProperties } from "@stitches/react";
const stitches = createStitches({
theme: {
colors: {
backgroundPrimary: "#36393f",
backgroundSecondary: "#2f3136",
headerPrimary: "#fff",
textNormal: "#dcddde",
brand: "#5865f2",
backgroundSecondaryAlt: "rgb(24, 25, 28)",
backgroundTeritialy: "#222",
backgroundAccent: "#444",
scrollbarTrack: "#2f3136",
scrollbarThumb: "#1f2022",
itemUnactive: "#b9bbbe",
},
},
media: {
mobile: "(max-width: 892px)",
},
prefix: "ddocs",
});
export const { getCssText, styled, globalCss, css, createTheme, config } =
stitches;
export const lightTheme = createTheme("light-theme", {
colors: {
backgroundPrimary: "white",
backgroundSecondary: "#f2f3f5",
headerPrimary: "#060607",
textNormal: "#2e3338",
brand: "#5865f2",
backgroundSecondaryAlt: "#ebedef",
backgroundTeritialy: "#e3e5e8",
backgroundAccent: "#747f8d",
scrollbarTrack: "#f2f3f5",
scrollbarThumb: "#747f8d",
itemUnactive: "#2e3338",
},
});
export type CSS = CSSProperties<typeof stitches>;