-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
52 lines (50 loc) · 1.18 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
import type { Config } from 'tailwindcss';
import { nextui } from '@nextui-org/theme';
import colors from 'tailwindcss/colors';
const config: Config = {
content: [
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@nextui-org/theme/dist/components/(button|card|image|navbar|modal).js',
],
// safelist: ["sm:hidden ssm:flex"],
darkMode: 'class',
theme: {
extend: {
height: {
hero: 'calc(100vh - 5rem)',
},
colors: {
gold: colors.amber[400],
silver: colors.gray[300],
bronze: colors.amber[600],
fourth: colors.cyan[500],
},
},
},
plugins: [
nextui({
addCommonColors: true,
themes: {
dark: {
colors: {
primary: '#0e3882',
secondary: colors.amber[400],
},
},
light: {
colors: {
primary: '#2E3192',
secondary: colors.amber[400],
},
},
},
}),
require('@tailwindcss/aspect-ratio'),
// @ts-ignore
function ({ addVariant, addComponents }) {
addVariant('child', '& > *');
},
],
};
export default config;