-
Notifications
You must be signed in to change notification settings - Fork 0
/
stitches.config.ts
89 lines (84 loc) · 1.98 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
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
81
82
83
84
85
86
87
88
89
import { createStitches } from "@stitches/react";
export const {
styled,
css,
globalCss,
keyframes,
getCssText,
theme,
createTheme,
config,
} = createStitches({
theme: {
colors: {
white500: "#FFFFFF",
lighterColor: "#ECFEE8",
headerColor: "#CED4DA",
mediumColor: "#ADB5BD",
mediumDarkColor: "#6C757D",
darkColor: "#495057",
moreDarkColor: "#343A40",
darkerColor: "#242F40",
vibrantColor: "#7161EF",
darkerVibrantColor: "#3820E9",
inputBackgroundColor: "#FFFFFF",
overlayBackgroundColor: "#00000040",
},
fontSizes: {
fs20: "20px",
fs18: "18px",
fs16: "16px",
fs15: "15px",
fs14: "14px",
},
shadows: {
shadowColor: "#6C757D",
inputShadowColor: "#ADB5BD",
},
},
media: {
min2560px: "(min-width: 2560px)",
min1440px: "(min-width: 1440px)",
max1250px: "(max-width: 1250px)",
max1024px: "(max-width: 1024px)",
max768px: "(max-width: 768px)",
max720px: "(max-width: 720px)",
max650px: "(max-width: 650px)",
max560px: "(max-width: 560px)",
max425px: "(max-width: 425px)",
max375px: "(max-width: 375px)",
},
utils: {
flexCenterJC: (value: string) => ({
display: "flex",
alignItems: "center",
justifyContent: value,
}),
flexCenterAI: (value: string) => ({
display: "flex",
alignItems: value,
justifyContent: "center",
}),
},
prefix: "radix",
});
export const darkModeTheme = createTheme("darkModeTheme", {
colors: {
white500: "#FFFFFF",
lighterColor: "#232323",
headerColor: "#1A1A1A",
mediumColor: "#495057",
mediumDarkColor: "#6C757D",
darkColor: "#ADB5BD",
moreDarkColor: "#ECFEE8",
darkerColor: "#CED4DA",
vibrantColor: "#7161EF",
darkerVibrantColor: "#3820E9",
inputBackgroundColor: "#1A1A1A",
overlayBackgroundColor: "#00000080",
},
shadows: {
shadowColor: "#000000",
inputShadowColor: "#495057",
},
});