-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
39 lines (37 loc) · 915 Bytes
/
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
const themes = {
normal: ["#C98ECD", "#fff", "#000110"],
white: ["#fff", "#fff", "#fff"],
purple: ["#C98ECD", "#371939", "#000110"],
blue: ["#00A8FF", "#371939", "#000110"],
test: ["#371939", "#C98ECD", "#000110"],
biege: ["#f5f3f4", "#C98ECD", "#000110"],
};
const generateTheme = (theme) => ({
background: themes[theme][0],
cards: themes[theme][1],
textPrimary: themes[theme][2],
// secondary: themes[theme][2],
});
module.exports = {
darkMode: "class",
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
screens: {
sm: "480px",
md: "768px",
lg: "976px",
xl: "1440px",
},
colors: generateTheme("normal"),
fontFamily: {
krausehouse1: ["Headline"],
krausehouse2: ["SK_Cuber"],
},
},
},
plugins: [require("@tailwindcss/typography")],
};