-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
49 lines (46 loc) · 973 Bytes
/
tailwind.config.js
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
// @ts-check
const { colors, textColors } = require('./theme/colorNames')
/**
* @type {import('tailwindcss/tailwind-config').TailwindConfig}
*/
module.exports = {
content: ['./src/**/*.{tsx,css}'],
dark: 'class',
theme: {
colors: {
current: 'currentColor',
inherit: 'inherit',
transparent: 'transparent',
white: 'white',
black: 'black',
...colors,
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
textColor: {
current: 'currentColor',
inherit: 'inherit',
white: 'white',
black: 'black',
...textColors,
},
screens: {
phone: { max: '639px' },
tablet: '640px',
laptop: '1024px',
desktop: '1280px',
largeDesktop: '1536px',
allowsMotion: { raw: '(prefers-reduced-motion: no-preference)' },
},
extend: {
borderRadius: {
'4xl': '2rem',
},
},
},
variants: {
extend: {},
},
plugins: [],
}