forked from tepachelabs/dolarenbancos-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpanda.config.ts
82 lines (75 loc) · 1.83 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
import { defineConfig, defineGlobalStyles } from '@pandacss/dev'
var globalCss = defineGlobalStyles({
'html, body': {
backgroundColor: 'primaryLighter',
color: 'black',
fontFamily: 'body',
lineHeight: '1.5',
fontSize: '3vw',
sm: { fontSize: '2.5vw' },
md: { fontSize: '2vw' },
lg: { fontSize: '1.3vw' },
},
h1: {
fontFamily: 'heading',
fontSize: '3rem',
},
h2: {
fontFamily: 'heading',
fontSize: '3rem',
md: { fontSize: '2.5rem' },
},
h3: {
fontFamily: 'body',
fontSize: '1.5rem',
fontWeight: 'bold',
},
h4: {
fontSize: '1.25rem',
},
a: {
textDecoration: 'underline',
textUnderlineOffset: '0.5em',
},
})
export default defineConfig({
// Whether to use css reset
preflight: true,
// Where to look for your css declarations
include: [
'./src/components/**/*.{ts,tsx,js,jsx}',
'./src/app/**/*.{ts,tsx,js,jsx}',
],
// Files to exclude
exclude: [],
// Useful for theme customization
theme: {
// 👇🏻 Define your tokens here
tokens: {
colors: {
primary: { value: '#7DAF47' },
primaryLight: { value: '#ECF3E5' },
primaryLighter: { value: '#F4F8F4' },
secondary: { value: '#FFC5C5' },
black: { value: 'rgba(0,0,0,0.87)' },
lightGrey: { value: 'rgba(0,0,0,0.1)' },
red: { value: 'rgba(255,217,204,0.5)' },
green: { value: 'rgba(221,255,214,0.5)' },
},
fonts: {
body: { value: 'var(--font-body)' },
heading: { value: 'var(--font-heading)' },
mono: { value: 'var(--font-mono)' },
},
sizes: {
condensedPageWidth: { value: '95%' },
pageWidth: { value: '90%' },
},
},
extend: {},
},
// The output directory for your css system
outdir: 'styled-system',
// Global styles
globalCss,
})