-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.js
68 lines (65 loc) · 1.8 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// function withOpacity(variableName) {
// return ({ opacityValue }) => {
// if (opacityValue !== undefined) {
// return `rgba(var(${variableName}),${opacityValue})`
// }
// return `rgb(var(${variableName}))`
// }
// }
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./node_modules/flowbite/**/*.js"
],
theme: {
fontFamily: {
Roboto: ["Roboto", "sans-serif"],
Poppins: ['Poppins', "sans-serif"],
serief: ['ui-sans-serif'],
sans: ['Helvetica', 'Arial', 'sans-serif'],
Rubik: ['Rubik']
},
extend: {
screens: {
"1000px": "1050px",
"1100px": "1110px",
"800px": "800px",
"1300px": "1300px",
"480px": "480px",
"400px": "400px"
},
scale: {
'-100': '-1',
},
textColor: {
skin: {
base: `var(--text-color-base)`,
textLight: `var(--text-color-text-light)`,
textBase: `var(--text-color-text-base)`,
background: `var(--text-color-background)`,
backgroundLight: `var(--text-color-background-light)`,
backgroundHover: `var(--text-color-background-hover)`,
main: `var(--text-color-main)`,
light: `var(--text-color-light)`,
}
},
backgroundColor: {
skin: {
base: `var(--color-base)`,
textLight: `var(--color-text-light)`,
textBase: `var(--color-text-base)`,
background: `var(--color-background)`,
backgroundLight: `var(--color-background-light)`,
backgroundHover: `var(--color-background-hover)`,
main: `var(--color-main)`,
light: `var(--color-light)`,
}
},
},
},
plugins: [
],
}