-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
45 lines (44 loc) · 1012 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
const { fontFamily } = require(`tailwindcss/defaultTheme`)
const colors = require('tailwindcss/colors')
module.exports = {
content: ['./src/**/*.{html,js,jsx}'],
theme: {
extend: {
fontFamily: {
sans: ['Fira Sans', ...fontFamily.sans],
},
screens: {
xs: '420px',
sm: '576px',
md: '768px',
lg: '992px',
xl: '1280px',
'2xl': '1440px',
},
typography: (theme) => ({
DEFAULT: {
css: {
a: {
color: theme('colors.current'),
},
},
},
}),
},
colors: {
inherit: 'inherit',
transparent: 'transparent',
current: 'currentColor',
black: '#000000',
white: '#ffffff',
gray: colors.slate,
primary: colors.indigo,
secondary: colors.rose,
tertiary: colors.emerald,
},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
variants: {
extend: {},
},
}