-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
43 lines (43 loc) · 1.57 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./expression-components/**/*.{html,js}"],
important: true,
theme: {
extend: {
colors: {
dxp: {
bg: {
root: "var(--dxp-g-root)",
"root-1": "var(--dxp-g-root-1)",
"root-2": "var(--dxp-g-root-2)",
"root-3": "var(--dxp-g-root-3)",
},
text: {
contrast: "var(--dxp-g-root-contrast)",
"contrast-1": "var(--dxp-g-root-contrast-1)",
"contrast-2": "var(--dxp-g-root-contrast-2)",
"contrast-3": "var(--dxp-g-root-contrast-3)",
},
brand: {
DEFAULT: "var(--dxp-g-brand)",
"1": "var(--dxp-g-brand-1)",
"2": "var(--dxp-g-brand-2)",
"3": "var(--dxp-g-brand-3)",
},
"brand-foreground": {
DEFAULT: "var(--dxp-g-brand-contrast)",
"1": "var(--dxp-g-brand-contrast-1)",
"2": "var(--dxp-g-brand-contrast-2)",
"3": "var(--dxp-g-brand-contrast-3)",
}
}
},
spacing: {
'18': '4.5rem', // 1rem = 4px, so 4.5rem = 18px
}
},
},
plugins: [
require('@tailwindcss/forms')
],
}