-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.ts
50 lines (47 loc) · 1.24 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 { Config } from 'tailwindcss'
import { fontFamily } from 'tailwindcss/defaultTheme'
import containerQueriesPlugin from '@tailwindcss/container-queries'
import plugin from 'tailwindcss/plugin'
const safariVariant = plugin(function ({ addVariant }) {
addVariant(
'safari',
'@media not all and (min-resolution:.001dpcm) { @supports (-webkit-appearance:none) { & }}'
)
})
const config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/app/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
highlight: '#FFE221',
accent: '#B5C2FF',
},
textColor: {
default: '#000000',
subtle: '#313131',
placeholder: '#616161',
},
spacing: {
18: '4.5rem',
},
fontFamily: {
sans: ['var(--font-poppins)', ...fontFamily.sans],
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
},
},
plugins: [
containerQueriesPlugin,
require('@tailwindcss/typography'),
safariVariant,
],
} satisfies Config
export default config