-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
48 lines (44 loc) · 1.26 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 {defaultColors, customColors, customFonts} from "./app/theme";
const lightTheme = {
bgColor: customColors.melon[800],
textColor: customColors.rosy_brown[200],
linkColor: customColors.melon[300],
focusRingColor: customColors.melon[500],
primary: customColors.melon[400],
secondary: customColors.salmon_pink[400],
}
const darkTheme = {
bgColor: customColors.charcoal[200],
textColor: customColors.rosy_brown[800],
linkColor: customColors.melon[600],
focusRingColor: customColors.melon[500],
primary: customColors.melon[400],
secondary: customColors.salmon_pink[400],
}
const config: import('tailwindcss').Config = {
content: [
"./app/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./hooks/**/*.{ts,tsx}",
"./hooks/**/**/*.{ts,tsx}",
"./modules/**/*.{ts,tsx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
colors: defaultColors,
extend: {
fontFamily: customFonts,
colors: {
charcoal: customColors.charcoal,
melon: customColors.melon,
rosy_brown: customColors.rosy_brown,
salmon_pink: customColors.salmon_pink,
light: lightTheme,
dark: darkTheme,
},
},
},
darkMode: ["selector"],
plugins: []
}
export default config;