-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.ts
38 lines (36 loc) · 1.33 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
import {Config} from 'tailwindcss'
import plugin from 'tailwindcss/plugin'
const config: Config = {
mode: 'jit',
content: ['./src/pages/**/*.{js,ts,jsx,tsx,mdx}', './src/components/**/*.{js,ts,jsx,tsx,mdx}', './src/app/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {
fontWeight: {
book: '450',
},
colors: {
custom: {
black: '#090909',
gray: '#191919',
},
gradient: {
gray: '#33333350',
black: '#10101050',
},
},
},
screens: {
xl: {max: '1536px'},
lg: {max: '1024px'},
sm: {max: '768px'},
xs: {max: '350px'},
},
},
safelist: ['hover:from-[rgba(102_102_102/0)]', 'hover:from-[rgba(252_112_143/0.4)]', 'hover:from-[rgba(74_123_86/0.4)]', 'hover:from-[rgba(102_102_102/0.4)]', 'hover:from-[rgba(245_253_90/0.4)]', 'hover:from-[rgba(204_204_204/0.4)]', 'hover:from-[rgba(203_251_69/0.4)]', 'hover:from-[rgba(68_68_68/0.4)]', 'hover:from-[rgba(153_28_47/0.4)]', 'hover:from-[rgba(125_117_111/0.4)]', 'hover:from-[rgba(163_139_244/0.4)]', 'hover:from-[rgba(200_42_34/0.4)]', 'hover:from-[rgba(251_107_179/0.4)]'],
plugins: [
plugin(function sizePlugin(api) {
api.matchUtilities({s: (value: string) => ({width: value, height: value})}, {values: api.theme('width')})
}),
],
}
export default config