-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
83 lines (79 loc) · 2.07 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
const { createThemes } = require("tw-colors");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
screens: {
sm: "375px",
md: "768px",
lg: "976px",
xl: "1440px",
},
extend: {
colors: {
},
fontFamily: {
custom: ["League Spartan"],
},
},
},
plugins: [
createThemes({
light: {
// Backgrounds
main_bg: "hsl(0, 0%, 90%)",
toggle_bg: "hsl(0, 5%, 81%)",
screen_bg: "hsl(0, 0%, 93%)",
// Key
color1: "hsl(185, 42%, 37%)",
color2: "hsl(185, 58%, 25%)",
color3: "hsl(25, 95%, 40%)",
color4: "hsl(25, 99%, 27%)",
color5: "hsl(45, 7%, 89%)",
color6: "hsl(35, 11%, 61%)",
// Text
color7: "hsl(60, 10%, 19%)",
color8: "hsl(0, 0%, 100%)",
},
dark: {
// Backgrounds
main_bg: "hsl(222, 26%, 31%)",
toggle_bg: "hsl(223, 31%, 20%)",
screen_bg: "hsl(224, 36%, 15%)",
// Key
color1: "hsl(225, 21%, 49%)",
color2: "hsl(224, 28%, 35%)",
color3: "hsl(6, 63%, 50%)",
color4: "hsl(6, 70%, 34%)",
color5: "hsl(30, 25%, 89%)",
color6: "hsl(28, 16%, 65%)",
// Text
color7: "hsl(221, 14%, 31%)",
color8: "hsl(0, 0%, 100%)",
},
purple: {
// Backgrounds
main_bg: "hsl(268, 75%, 9%)",
toggle_bg: "hsl(268, 71%, 12%)",
screen_bg: "hsl(268, 71%, 12%)",
// Key
color1: "hsl(281, 89%, 26%)",
color2: "hsl(285, 91%, 52%)",
color3: "hsl(176, 100%, 44%)",
color4: "hsl(177, 92%, 70%)",
color5: "hsl(268, 47%, 21%)",
color6: "hsl(290, 70%, 36%)",
// Text
color7: "hsl(52, 100%, 62%)",
color8: "hsl(0, 0%, 100%)",
color9: "hsl(198, 20%, 13%)",
},
}),
],
};