forked from lukemcdonald/holly-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
34 lines (33 loc) · 820 Bytes
/
tailwind.config.js
File metadata and controls
34 lines (33 loc) · 820 Bytes
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
const { fontFamily } = require(`tailwindcss/defaultTheme`)
const colors = require('tailwindcss/colors')
module.exports = {
content: ['./src/**/*.{html,ts,tsx}'],
theme: {
extend: {
fontFamily: {
sans: ['Fira Sans', ...fontFamily.sans],
},
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')],
}