-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
48 lines (47 loc) · 1.13 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
import defaultTheme from 'tailwindcss/defaultTheme'
import plugin from 'tailwindcss/plugin'
import type { Config } from 'tailwindcss'
export default {
content: ['index.html', 'src/**/*.tsx'],
theme: {
extend: {
screens: {
'2xs': '340px',
xs: '480px',
rxs: { max: '480px' },
},
fontFamily: {
sans: ['Rubik', ...defaultTheme.fontFamily.sans],
bree: ['Bree', 'sans-serif'],
rubik: ['Rubik', 'sans-serif'],
tajawal: ['Tajawal', 'sans-serif'],
titillium: ['Titillium Web', 'sans-serif'],
},
colors: {
grad: {
100: '#080A0D',
200: '#151515',
300: '#1B292E',
400: '#01514E',
500: '#1E6972',
600: '#018480',
700: '#01A8A1',
DEFAULT: '#01A8A1',
},
},
transitionDuration: {
250: '250ms',
},
borderRadius: {
inherit: 'inherit',
'4xl': '34px',
'5xl': '46px',
},
},
},
plugins: [
plugin(({ addVariant }) => {
addVariant('hocus', ['&:hover', '&:focus-visible'])
}),
],
} satisfies Config