-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
110 lines (109 loc) · 2.53 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
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
import type { Config } from 'tailwindcss';
import plugin from 'tailwindcss/plugin';
export default {
darkMode: ['class'],
content: ['./app/**/{**,.client,.server}/**/*.{js,jsx,ts,tsx}'],
theme: {
fontSize: {
xxs: '11px',
xs: '12px',
sm: '13px',
base: '14px',
lg: '16px',
xl: '20px',
'2xl': '24px'
},
extend: {
fontFamily: {
sans: ['Messina Sans', 'ui-sans-serif', 'system-ui', 'sans-serif']
},
fontWeight: {
light: '450',
regular: '550',
medium: '650',
bold: '750'
},
colors: {
slate: {
'12': '#FAFAFA',
'25': '#F4F4F6',
'50': '#EFEFF2',
'75': '#E4E4EB',
'100': '#D0CFDC',
'200': '#AAA9BF',
'300': '#8887A1',
'400': '#6B6A83',
'500': '#505066',
'600': '#383748',
'700': '#20202A',
'800': '#15151C',
'900': '#0A0A0D'
},
plum: {
'100': '#E6E6FF',
'200': '#B0ADFE',
'300': '#817DFC',
'400': '#5E59F5',
'500': '#4640EB',
'600': '#2F2BBE',
'700': '#1D1980'
},
'color-1': 'hsl(var(--color-1))',
'color-2': 'hsl(var(--color-2))',
'color-3': 'hsl(var(--color-3))',
'color-4': 'hsl(var(--color-4))',
'color-5': 'hsl(var(--color-5))'
},
animation: {
rainbow: 'rainbow var(--speed, 2s) infinite linear'
},
keyframes: {
rainbow: {
'0%': {
'background-position': '0%'
},
'100%': {
'background-position': '200%'
}
}
}
}
},
plugins: [
require('tailwindcss-animate'),
plugin(function ({ addComponents }) {
addComponents({
'.text-dark': {
'@apply text-slate-600 dark:text-slate-12': {},
},
'.text-light': {
'@apply text-slate-400 dark:text-slate-50': {},
},
'.text-lighter': {
'@apply text-slate-300 dark:text-slate-200': {},
},
'.icon-light': {
'@apply text-slate-300 dark:text-slate-200': {},
},
'.icon-lighter': {
'@apply text-slate-200 dark:text-slate-200': {},
},
'.icon-lightest': {
'@apply text-slate-100 dark:text-slate-200': {},
},
'.icon-white': {
'@apply text-white': {},
},
'.border-base': {
'@apply border-slate-50': {},
},
'.bg-subtle': {
'@apply bg-slate-12 dark:bg-slate-800': {},
},
'.bg-deep': {
'@apply bg-slate-25 dark:bg-slate-900': {},
},
});
}),
],
} satisfies Config;