-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
87 lines (83 loc) · 2.14 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
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
import type { Config } from 'tailwindcss';
import plugin from 'tailwindcss/plugin';
const { nextui } = require('@nextui-org/theme');
const config: Config = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
],
theme: {
container: {
center: true,
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
},
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'gradient-2': 'linear-gradient(270deg, #f55925 0%, #D75986 100%)',
},
gridTemplateColumns: {
// Coffee column grid
'2CoffeeLg': '1fr 380px',
'2CoffeeMd': '1fr 330px',
// Mint colum grid
'2mint': '420px 1fr',
},
colors: {
primary: '#f45f2d',
'monarch-primary': '#f45f2d',
},
fontFamily: {
inter: ['var(--font-inter)'],
zen: ['var(--font-zen)'],
monospace: ['var(--font-monospace)'],
},
fontWeight: {
normal: '400',
bold: '700',
},
},
},
darkMode: 'class',
plugins: [
nextui({
themes: {
light: {
layout: {
radius: {
small: '0.375rem', // rounded
medium: '0.375rem', // rounded
large: '0.375rem', // rounded
},
},
},
dark: {
layout: {
radius: {
small: '0.375rem', // rounded
medium: '0.375rem', // rounded
large: '0.375rem', // rounded
},
},
},
},
}),
plugin(function ({ addBase }) {
addBase({
'button, .nextui-button': {
'@apply rounded': {}, // This makes all buttons rounded by default
},
});
}),
],
};
export default config;