-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
39 lines (37 loc) · 1.03 KB
/
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
const colors = require('tailwindcss/colors')
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}", ],
theme: {
fontFamily: {
'sans': ['Inter', 'system-ui', ],
'serif': ['Tinos', 'Georgia', ],
'mono': ['ui-monospace', 'SFMono-Regular', ],
"Quicksand": [ "Sora"],
'display': ['Oswald', ],
'body': ['"Open Sans"', ],
'Switzer': ['Switzer', "sans-serif"],
},
colors: {
"head": "#083040",
"bgLight": "#F8F4F1",
black: colors.black,
white: colors.white,
gray: colors.gray,
zinc: colors.zinc,
emerald: colors.emerald,
indigo: colors.indigo,
yellow: colors.yellow,
red: colors.red,
orange: colors.orange,
transparent: colors.transparent,
}
},
plugins: [// Or with a custom prefix:
require('@headlessui/tailwindcss')({ prefix: 'ui' }),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/typography'),
],
darkMode: ['class', '[data-theme="dark"]'],
corePlugins: { preflight: false }
};