forked from alicalimli/alicalimli-portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
56 lines (56 loc) · 1.32 KB
/
tailwind.config.cjs
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
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./setup/**/*.{js,ts,jsx,tsx}",
"./sections/**/*.{js,ts,jsx,tsx}",
],
darkMode: ["class", '[data-mode="theme-dark"]'],
theme: {
extend: {
transitionDuration: {
0: "0ms",
400: "400ms",
450: "450ms",
},
width: {
128: "32rem",
},
},
themes: {
dark: {
white: "#fff",
black: "#000",
"text-main": "#fff",
"accent-primary": "#228be6",
"accent-tinted": "#3897e9",
"accent-shaded": "#1f7dcf",
"bg-main": "#212529",
"bg-secondary": "#2A3036",
"muted-main": "#E6E6E6",
"muted-secondary": "#CCCCCC",
},
},
colors: {
white: "#000",
black: "#fff",
"accent-primary": "#228be6",
"accent-tinted": "#3897e9",
"accent-shaded": "#1f7dcf",
"text-main": "#111",
"bg-main": "#fff",
"bg-secondary": "#333",
"muted-main": "#fff",
"muted-secondary": "#fff",
},
},
transitionProperty: {
scale: "scale",
},
plugins: [
require("tailwind-theme-switcher"),
require("tailwind-scrollbar")({ nocompatible: true }),
require("tailwind-fluid-typography"),
require("tailwindcss-fluid-spacing"),
],
};