-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.ts
78 lines (76 loc) · 1.81 KB
/
tailwind.config.ts
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
import { Config } from 'tailwindcss'
import defaultTheme from 'tailwindcss/defaultTheme'
const pxToRem = (dest: number) => 1 / (16 / dest)
export default <Config>{
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
zIndex: {
min: '-1',
1: '1',
2: '2',
100: '100',
max: '9999',
},
},
// screens: {
// sm: `${pxToRem(375)}rem`,
// },
container: {
padding: `${pxToRem(76)}rem`,
},
colors: {
light: '#FFFFFF',
dark: '#000000',
darkblur: 'rgba(0,0,0,.6)',
grey: {
50: '#D4D4D4',
75: '#BDBDBD',
100: '#626262',
200: '#333333',
300: '#282828',
400: '#1B1B1B',
500: '#121212',
},
red: {
200: '#FFAEAE',
900: '#2A2222',
},
green: {
200: '#AEFFB6',
900: '#232A22',
},
transparent: 'transparent',
current: 'currentColor',
},
borderRadius: {
none: '0',
sm: `${pxToRem(8)}rem`,
DEFAULT: `${pxToRem(12)}rem`,
circle: '100%',
full: '9999px',
},
boxShadow: {
DEFAULT: '0px 16px 32px 0px rgba(0,0,0,0.1)px',
},
fontFamily: {
interVar: ['"Inter var"', defaultTheme.fontFamily.sans],
interNormal: ['Inter', defaultTheme.fontFamily.sans],
termina: ['Termina', defaultTheme.fontFamily.sans],
},
fontSize: {
0: '0',
50: `${pxToRem(11)}rem`,
100: `${pxToRem(13)}rem`,
200: `${pxToRem(17)}rem`,
300: `${pxToRem(21)}rem`,
400: `${pxToRem(26)}rem`,
500: `${pxToRem(32)}rem`,
600: `${pxToRem(40)}rem`,
700: `${pxToRem(56)}rem`,
800: `${pxToRem(76)}rem`,
900: `${pxToRem(96)}rem`,
},
},
plugins: [require('@tailwindcss/line-clamp')],
}