-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
49 lines (44 loc) · 1008 Bytes
/
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
import type { Config } from 'tailwindcss'
import type { CustomThemeConfig } from 'tailwindcss/types/config'
import { nextui } from '@nextui-org/react'
import { themeColorsLight, themeColorsDark, brandColors } from './theme-colors'
const fontSize: CustomThemeConfig['fontSize'] = {
mini: ['0.6875rem', '0.875rem'],
}
const size: CustomThemeConfig['width' | 'height'] = {
mini: fontSize.mini[0],
tiny: '0.75rem',
small: '0.875rem',
medium: '1rem',
large: '1.125rem',
}
export default {
content: [
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
'./src/**/*.{js,ts,jsx,tsx}',
],
darkMode: 'class',
theme: {
extend: {
colors: {
...brandColors,
},
fontSize,
width: size,
height: size,
size: size,
},
},
plugins: [
nextui({
themes: {
light: {
colors: themeColorsLight,
},
dark: {
colors: themeColorsDark,
},
},
}),
],
} satisfies Config