-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
44 lines (43 loc) · 1.3 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
40
41
42
43
44
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.tsx', './src/**/*.mdx'],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-maison-neue)', ...defaultTheme.fontFamily.sans],
mono: ['var(--font-maison-neue-mono)', ...defaultTheme.fontFamily.mono],
pixel: ['var(--font-departure-mono)', ...defaultTheme.fontFamily.mono],
// sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
colors: {
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
gray: {...colors.neutral},
orange: {DEFAULT: '#FF5500'},
primary: '#FFA133',
green: {
DEFAULT: '#1D725C',
},
},
typography: (theme) => ({
DEFAULT: {
css: {
'*': {
color: theme('colors.foreground'),
},
a: {
color: theme('colors.foreground'),
'&:hover': {
color: theme('colors.foreground'),
},
},
// fontFamily: theme('fontFamily.mono').join(', '),
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
}