-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
62 lines (61 loc) · 1.46 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
const defaultTheme = require("tailwindcss/defaultTheme");
const percentageWidth = require("tailwindcss-percentage-width");
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
inter: ["Inter", ...defaultTheme.fontFamily.sans],
rajdhani: ["Rajdhani", "Georgia", ...defaultTheme.fontFamily.sans],
gothic: ["DotGothic16", ...defaultTheme.fontFamily.sans],
},
extend: {
width: {
"0/100": "0%",
"1/100": "10%",
"2/100": "20%",
"3/100": "30%",
"4/100": "40%",
"5/100": "50%",
"6/100": "60%",
"7/100": "70%",
"8/100": "80%",
"9/100": "90%",
"10/100": "100%",
},
left: {
"0/100": "0%",
"1/100": "10%",
"2/100": "20%",
"3/100": "30%",
"4/100": "40%",
"5/100": "50%",
"6/100": "60%",
"7/100": "70%",
"8/100": "80%",
"9/100": "90%",
"10/100": "100%",
},
right: {
"0/100": "0%",
"1/100": "10%",
"2/100": "20%",
"3/100": "30%",
"4/100": "40%",
"5/100": "50%",
"6/100": "60%",
"7/100": "70%",
"8/100": "80%",
"9/100": "90%",
"10/100": "100%",
},
colors: {
gelo: "#F2F3F5",
},
},
},
variants: {
extend: {},
},
plugins: [percentageWidth],
};