-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
52 lines (49 loc) · 1.22 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
const generateSizeClass = (upToSize, startAt = 80) => {
const classes = {}
for (let i = startAt; i < upToSize / 4; i += 4) {
classes[i] = `${(i * 4) / 16}rem`
}
return classes
}
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
screens: {
xxs: '300px',
xs: '475px',
...defaultTheme.screens,
},
extend: {
width: generateSizeClass(1024),
minHeight: generateSizeClass(1024, 0),
maxHeight: generateSizeClass(1024, 0),
maxWidth: generateSizeClass(1024, 0),
minWidth: generateSizeClass(1024, 0),
borderWidth: {
1: '1px',
},
fontFamily: {
sans: ['Figtree', ...defaultTheme.fontFamily.sans],
},
colors: {
froly: {
DEFAULT: '#F26A8D',
50: '#FAC8D5',
100: '#F9B5C6',
200: '#F590AA',
300: '#F26A8D',
400: '#ED3666',
500: '#D91346',
600: '#A50E35',
700: '#720A25',
800: '#3E0514',
900: '#0A0103',
950: '#000000',
},
},
},
},
plugins: [require('@tailwindcss/forms')],
}