-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtailwind.config.js
52 lines (51 loc) · 1.55 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin');
export default {
content: ['./templates/**/*.html.twig'],
darkMode: "class",
theme: {
extend: {
colors:{
primary : "var(--color-primary)",
secondary : "var(--color-secondary)",
background:{
DEFAULT : "var(--background)",
card:"var(--bg-card)",
"card-inside":"var(--bg-card-inside)",
},
fg:{
DEFAULT :"var(--foreground)",
"heading1":"var(--fg-heading1)",
"heading2":"var(--fg-heading2)",
"heading3":"var(--fg-heading3)",
"heading4":"var(--fg-heading4)",
},
bdr:{
DEFAULT:"var(--border)",
"bdr-1":"var(--border)",
"bdr-2":"var(--border)",
}
},
borderRadius:{
"outer-radius":"0.5rem",
"inner-radius-gradient":"7px",
"radius-inside1":"0.375rem",
"radius-inside2":"",
},
screens:{
xs:"330px"
},
zIndex:{
60:"60",
70:"70",
80:"80"
}
},
},
plugins: [
plugin(function({ addVariant }) {
addVariant('children', '&>*')
}),
require('@tailwindcss/typography')
],
}