-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.ts
31 lines (30 loc) · 959 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
import { nextui } from '@nextui-org/react';
import type { Config } from 'tailwindcss';
import defaultTheme from 'tailwindcss/defaultTheme';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
],
theme: {
fontFamily: {
sans: ['var(--f-montserrat)', 'var(--f-zenkaku)', ...defaultTheme.fontFamily.sans],
mono: ['var(--f-jetbrains-mono)', ...defaultTheme.fontFamily.mono],
},
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
screens: {
tablet: '768px',
desktop: '1280px',
},
},
},
darkMode: 'class',
plugins: [nextui()],
};
export default config;