-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
95 lines (93 loc) · 2.2 KB
/
index.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
84
85
86
87
88
89
90
91
92
93
94
95
// const _ = require("lodash");
const plugin = require('tailwindcss/plugin');
const uicolors = require('@tailwindcss/ui/colors');
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = plugin(
function () {
// function ({ addUtilities, e, theme, variants }) {
// add utilities would go here
},
{
purge: ['./src/**/*.{js,jsx,ts,tsx}'],
darkMode: 'class',
theme: {
colors: {
...uicolors,
dark: {
900: 'rgb(25,25,25)',
800: 'rgb(36,36,36)',
700: 'rgb(40,40,40)',
600: '#2D2D2D',
500: 'rgb(50,50,50)',
400: '#3d3d3d',
300: '#b2b2b2',
200: 'rgb(223,223,223)',
twilight: 'rgb(30, 30, 30)',
stacking: 'rgba(25,25,25,0.2)',
},
},
extend: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
minHeight: {
0: 0,
1: '0.25rem',
2: '0.5rem',
3: '0.75rem',
4: '1rem',
5: '1.25rem',
6: '1.5rem',
8: '2rem',
10: '2.5rem',
12: '3rem',
16: '4rem',
20: '5rem',
24: '6rem',
32: '8rem',
40: '10rem',
48: '12rem',
56: '14rem',
64: '16rem',
68: '17rem',
72: '18rem',
76: '19rem',
80: '20rem',
84: '21rem',
88: '22rem',
92: '23rem',
'5/6': '83vh',
},
minWidth: {
0: 0,
1: '0.25rem',
2: '0.5rem',
3: '0.75rem',
4: '1rem',
5: '1.25rem',
6: '1.5rem',
8: '2rem',
10: '2.5rem',
12: '3rem',
16: '4rem',
20: '5rem',
24: '6rem',
32: '8rem',
40: '10rem',
48: '12rem',
56: '14rem',
64: '16rem',
},
},
},
variants: {
textShadow: ['responsive', 'hover', 'focus'],
},
plugins: [
require('tailwindcss-textshadow'),
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
}
);