-
Notifications
You must be signed in to change notification settings - Fork 0
/
panda.config.ts
83 lines (75 loc) · 1.48 KB
/
panda.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
import { defineConfig, defineGlobalStyles } from "@pandacss/dev";
const globalCss = defineGlobalStyles({
h1: {
fontSize: "4xl",
mt: "28rem",
},
h2: {
fontSize: "3xl",
mt: "20rem",
},
h3: {
fontSize: "2xl",
mt: "16rem",
},
h4: {
fontSize: "xl",
mt: "12rem",
},
h5: {
fontSize: "lg",
mt: "8rem",
},
h6: {
fontSize: "md",
mt: "4rem",
},
// markdown styles
"li > p": {
display: "inline",
},
"ol, ul": {
marginBottom: "24rem",
},
li: {
listStylePosition: "outside",
marginLeft: "16rem",
},
"ol > li": {
listStyleType: "decimal",
},
"ul > li": {
listStyleType: "disc",
},
});
export default defineConfig({
// Whether to use css reset
preflight: true,
globalCss,
include: ["./src/**/*.{js,jsx,ts,tsx}", "./pages/**/*.{js,jsx,ts,tsx}"],
// exclude: [],
theme: {
extend: {
tokens: {
fontSizes: {
"2xs": { value: "8rem" },
xs: { value: "10rem" },
sm: { value: "12rem" },
md: { value: "14rem" },
lg: { value: "16rem" },
xl: { value: "18rem" },
"2xl": { value: "20rem" },
"3xl": { value: "24rem" },
"4xl": { value: "36rem" },
},
shadows: {
lg: { value: "rgb(38, 57, 77) 0px 20px 30px -10px" },
},
},
},
},
// The output directory for your css system
outdir: "styled-system",
// The JSX framework to use
jsxFramework: "react",
});