-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
128 lines (126 loc) · 2.76 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{ts,tsx}'],
theme: {
colors: {
transparent: 'transparent',
asphalt: {
DEFAULT: '#1A2026',
},
neon: {
DEFAULT: '#4CFFB3',
},
green: {
DEFAULT: '#2EBE81',
700: '#345048',
100: '#00DDB4', // light
},
purple: {
DEFAULT: '#9747FF',
},
pink: {
DEFAULT: '#E75595',
700: '#7D4B93',
},
blue: {
DEFAULT: '#47BEFF',
},
orange: {
DEFAULT: '#FE872F',
},
yellow: {
DEFAULT: '#FEC42F',
},
magenta: {
DEFAULT: '#D355E7',
700: '#7D4B93',
},
white: {
DEFAULT: '#FFFFFF',
},
gray: {
900: '#13191B', // almost_black
950: '#232a30',
800: '#293139', // darker
700: '#333D46', // dark
600: '#42525C', // dark_mid
400: '#91abbc',
300: '#818D95', // mid
200: '#C5D0D5',
100: '#B0C0C8', //light
},
},
extend: {
minHeight: {
'drag-region': 'var(--drag-region-height)',
},
height: {
'screen-minus-drag-region': 'calc(100vh - var(--drag-region-height))',
'drag-region': 'var(--drag-region-height)',
},
inset: {
'drag-region': 'var(--drag-region-height)',
},
borderWidth: {
3: '3px',
},
fontFamily: {
sans: ['SofiaPro', 'sans-serif'],
},
backdropBlur: {
md: '10px',
},
opacity: {
15: '0.15',
},
maxWidth: {
14: '3.5rem',
},
minWidth: {
'1/2': '50%',
},
width: {
30: '7.5rem',
},
fontSize: {
'1xs': '0.625rem',
'2xs': '0.5rem',
},
spacing: {
15: '3.75rem',
0.75: '0.1875rem',
8.5: '2.125rem',
4.5: '1.125rem',
},
lineHeight: {
2: '0.625rem',
},
keyframes: {
'accordion-down': {
from: { height: '0' },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: '0' },
},
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
},
},
plugins: [
require('tailwindcss-animate'),
plugin(function ({ addUtilities }) {
const newUtilities = {
'.scrollbar-overlay': {
scrollbarGutter: 'stable both-edges',
},
}
addUtilities(newUtilities, ['responsive', 'hover'])
}),
],
}