-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
65 lines (63 loc) · 1.72 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
import type {Config} from 'tailwindcss'
import plugin from 'tailwindcss/plugin'
const config = {
mode: 'jit',
darkMode: ['class'],
content: ['./src/pages/**/*.{js,ts,jsx,tsx,mdx}', './src/components/**/*.{js,ts,jsx,tsx,mdx}', './src/app/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
screens: {
xl: {max: '1536px'},
lg: {max: '1280px'},
sm: {max: '768px'},
xs: {max: '350px'},
},
extend: {
colors: {
custom: {
grey: '#444444',
grey2: '#666666',
area: '#7D756F',
nav: '#DDDDDD',
blue: '#2F495A',
hytec: '#0B599E',
},
},
boxShadow: {
nav: '0px 13px 32px -19px #000',
nav_mobile: '0px 3px 12px 2px #00000050;',
hytec: '0px -7px 32px -19px #000',
hytec_mobile: '0px -3px 12px 2px #00000050;',
cart: '0px 5px 15px -3px #00000040',
},
keyframes: {
'accordion-down': {
from: {height: '0'},
to: {height: 'var(--radix-accordion-content-height)'},
},
'accordion-up': {
from: {height: 'var(--radix-accordion-content-height)'},
to: {height: '0'},
},
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
},
},
plugins: [
plugin(function sizePlugin(api) {
api.matchUtilities({s: (value: string) => ({width: value, height: value})}, {values: api.theme('width')})
}),
require('tailwindcss-animate'),
require('@tailwindcss/typography'),
],
} satisfies Config
export default config