-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
50 lines (48 loc) · 1.11 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
import { nextui } from '@nextui-org/theme';
import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: ['class'],
content: [
'./src/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@nextui-org/theme/dist/components/(breadcrumbs|button|card|checkbox|chip|dropdown|image|input|link|modal|navbar|pagination|progress|scroll-shadow|skeleton|tabs|ripple|spinner|menu|divider|popover).js',
],
theme: {
extend: {
content: {
link: 'url("/link.svg")',
},
translate: {
double: '200%',
},
screens: {
betterhover: { raw: '(hover: hover)' },
},
},
},
daisyui: {
base: false,
// styled: false,
},
plugins: [
require('daisyui'),
require('@tailwindcss/typography'),
nextui({
addCommonColors: true,
themes: {
light: {
colors: {
background: '#F7F7F7',
foreground: '#4B5563',
},
},
dark: {
colors: {
background: '#242629',
foreground: '#CBD2D9',
},
},
},
}),
],
};
export default config;