-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
50 lines (49 loc) · 1.25 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 type { Config } from 'tailwindcss'
const config: Config = {
content: ['./pages/**/*.{js,ts,jsx,tsx,mdx}', './components/**/*.{js,ts,jsx,tsx,mdx}', './app/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {
fontFamily: {
hn: 'Helvetica Neue',
montserrat: 'var(--montserrat)',
hlc: ['fontHlc', 'sans-serif'],
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
screens: {
ssm: { min: '900px', max: '1169px' },
mo: { max: '900px' },
md: [{ min: '900px', max: '1280px' }],
mmd: [{ min: '900px', max: '1480px' }],
sm: { min: '900px' },
},
width: {
container: '1280px',
},
textColor: {
primary: '#FC7823',
},
borderColor: {
primary: '#FC7823',
},
backgroundColor: {
primary: '#FC7823',
},
},
},
plugins: [
function ({ addComponents }: any) {
addComponents({
'.container': {
maxWidth: '100%',
'@screen xl': {
maxWidth: '1200px',
},
},
})
},
],
}
export default config