-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
90 lines (90 loc) · 2.61 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
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
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./styles/*.{js,ts}',
],
darkMode: 'class',
theme: {
screens: {
xs: '320px',
sm: '480px',
md: '768px',
lg: '976px',
xl: '1440px',
},
fontFamily: {
sans: ['inter'],
serif: ['inter'],
display: ['inter'],
body: ['inter'],
},
fontFeatureSettings: {
numeric: ['tnum', 'salt', 'ss02'],
},
extend: {
transitionProperty: {
height: 'height',
spacing: 'margin, padding',
},
spacing: {
xs: '4px',
sm: '8px',
md: '16px',
lg: '24px',
xl: '32px',
xxl: '64px',
128: '32rem',
136: '34rem',
144: '40rem',
},
colors: {
black: '#000000',
white: '#FFFFFF',
primaryActive: '#5A34BE',
primaryInactive: '#855EED',
// Light
primary: '#7041EE',
tertiary: '#E2D9FC',
secondary: '#EA7979',
alert: '#E77C40',
error: '#E0232E',
success: '#2DC071',
neutral: {
25: '#FCFCFC',
50: '#F4F4F4',
100: '#E5E5E5',
150: '#D8D8D8',
300: '#BFBFBF',
700: '#535353',
800: '#1A1A1A',
},
// Dark
primaryDark: '#7269FF',
secondaryDark: '#FB9393',
alertDark: '#FB8C4E',
errorDark: '#FA3541',
successDark: '#3DDE88',
neutralDark: {
50: '#E4E6EB',
150: '#B0B3B8',
300: '#3A3B3C',
400: '#2E2E2E',
500: '#242526',
600: '#18191A',
},
},
},
},
variants: {
backgroundColor: ['responsive', 'hover', 'focus', 'active', 'disabled'],
textColor: ['responsive', 'hover', 'focus', 'active', 'disabled'],
scrollbar: ['dark'],
},
plugins: [
require('tailwindcss-font-inter'),
require('tailwindcss-aria-attributes'),
require('tailwind-scrollbar-hide'),
require('tailwind-scrollbar'),
],
}