-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
41 lines (40 loc) · 914 Bytes
/
Copy pathtailwind.config.js
File metadata and controls
41 lines (40 loc) · 914 Bytes
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
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./layouts/**/*.{js,ts,jsx,tsx}",
"./svg/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
colors: {
black: "#000",
transparent: "transparent",
white: "#FFF",
accent: {
10: "#5C98DE",
20: "#EFF5FC",
30: "#EEB111",
40: "#6A7283",
50: "#8487A3",
60: "#EDEDED",
70: "#002D62",
80: "#3B90FB",
90: "#17142F",
100: "#C81107",
},
},
extend: {
fontFamily: {
clash: ["Clash Display", "sans-serif"],
},
},
},
plugins: [
plugin(function ({ addVariant }) {
addVariant("hocus", ["&:hover", "&:focus"]);
addVariant("clump", "@supports (font-size: clamp(1rem,2vw,3rem))");
}),
],
};