-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
128 lines (121 loc) · 2.9 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
primary: {
DEFAULT: "#E43030",
"orange": "#D48D3B",
"green": "#3E9242"
},
secondary: "#282828",
"gray-200": "#EAECF0",
"gray-300": "D0D5DD",
"gray-500": "#667085",
"gray-600": "#475467",
"gray-700": "#344054",
"gray-900": "#101828",
"white-100": "#F4F4F4",
"white-200": "#EDF0F8",
"black-100": "#3D4258",
"neutral-black": "#23263B",
},
boxShadow: {
xs: "0px 1px 2px 0px rgba(16, 24, 40, 0.05)",
},
maxWidth: {
"10xl": '1440px'
},
fontFamily: {
inter: ['Inter', 'sans-serif'],
spaceGrotesk: ['Space Grotesk', 'sans-serif'],
},
borderRadius: {
10: "10px"
}
},
},
plugins:[],
};
import type { Config } from 'tailwindcss'
import { nextui } from '@nextui-org/react'
import { url } from 'inspector'
const config: Config = {
content: [
'./pages//*.{js,ts,jsx,tsx,mdx}',
'./components//*.{js,ts,jsx,tsx,mdx}',
'./app//*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@nextui-org/theme/dist//*.{js,ts,jsx,tsx}'
],
darkMode: 'class',
theme: {
// extend:{
// backgroundImage:{
// 'hero':"url('../public/heroimg.png')"
// }
// },
container: {
center: true,
padding: {
DEFAULT: '1rem',
md: '1.5rem',
lg: '2rem'
}
}
},
plugins: [
nextui({
themes: {
light: {
layout: {}, // light theme layout tokens
colors: {} // light theme colors
},
dark: {
layout: {}, // dark theme layout tokens
colors: {} // dark theme colors
},
modern: {
extend: 'dark', // <- inherit default values from dark theme
colors: {
background: '#0D001A',
foreground: '#ffffff',
primary: {
50: '#3B096C',
100: '#520F83',
200: '#7318A2',
300: '#9823C2',
400: '#c031e2',
500: '#DD62ED',
600: '#F182F6',
700: '#FCADF9',
800: '#FDD5F9',
900: '#FEECFE',
DEFAULT: '#DD62ED',
foreground: '#ffffff'
},
focus: '#F182F6'
},
layout: {
disabledOpacity: '0.3',
radius: {
small: '1px',
medium: '2px',
large: '4px'
},
borderWidth: {
small: '1px',
medium: '2px',
large: '3px'
}
}
}
}
})
]
}
export default config