-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
61 lines (58 loc) · 1.23 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
const plugin = require("tailwindcss/plugin");
const buttons = require("./theme/buttons.json");
const content = [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
];
const theme = {
screens: {
sm: "480px",
md: "768px",
lg: "976px",
lg2: "1280px",
xl: "1440px",
},
container: {
center: true,
padding: "15px",
},
borderRadius: {
4: "4px",
},
extend: {
fontFamily: {
satoshi: ["satoshi", "sans-serif"],
},
textColor: {
skin: {
base: "rgb(var(--color-text-base))",
muted: "rgb(var(--color-text-base)/0.6)",
green: "rgb(var(--color-text-green))",
},
},
backgroundColor: {
skin: {
fill: "rgb(var(--color-fill))",
"button-accent": "rgb(var(--color-button-accent))",
"button-accent-hover": "rgb(var(--color-button-accent-hover))",
"button-muted": "rgb(var(--color-button-muted))",
},
},
gradientColorStops: {
skin: {
hue: "rgb(var(--color-fill))",
},
},
},
};
const plugins = [
plugin(function ({ addComponents }) {
addComponents(buttons);
}),
];
/** @type {import('tailwindcss').Config} */
module.exports = {
content,
theme,
plugins,
};