-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
79 lines (73 loc) · 1.75 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
// /** @type {import('tailwindcss').Config} */
// module.exports = {
// content: [],
// theme: {
// extend: {},
// },
// plugins: [],
// }
// tailwind.config.js
import type { Config } from 'tailwindcss';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { nextui } = require('@nextui-org/react');
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}',
],
theme: {
container: {
center: true,
},
screens: {
xs: '320px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
xll: '1536px',
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
extend: {
colors: {
primary: '#ffc7df',
primary_yellow: '#f6f5de',
primary_orange: '#fae4d8',
primary_pink: '#ffe0ed',
primary_white: '#f8f6f1',
primary_orange_deep: '#ef9d7c',
primary_gray: '#ecf1f4',
secondary: '#000000',
dark: '#181818',
warning: '#F2A80A',
success: '#1DCE64',
danger: '#F50057',
},
layout: {
disabledOpacity: '0.3',
radius: {
small: '4px',
medium: '6px',
large: '8px',
},
borders: {
small: '1px',
medium: '2px',
large: '3px',
},
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
},
},
darkMode: 'class',
plugins: [nextui()],
};
export default config;