-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
36 lines (34 loc) · 849 Bytes
/
tailwind.config.js
File metadata and controls
36 lines (34 loc) · 849 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
35
36
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
const { fontFamily } = require('tailwindcss/defaultTheme')
module.exports = {
mode: 'jit',
darkMode: 'class',
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}'
],
safelist: ['bg-yellow-500', 'bg-brown-500', 'bg-red-500'],
theme: {
extend: {
colors: {
gray: colors.gray,
dark: 'rgb(32, 32, 35)',
light: '#fcfefd'
},
fontFamily: {
mono: ['Berkeley Mono', ...fontFamily.mono],
sans: ['Plus Jakarta Sans', ...fontFamily.sans]
}
// fontFamily: {
// sans: ['Inter', ...fontFamily.sans]
// }
}
},
variants: {
extend: {
opacity: ['disabled']
}
},
plugins: [require('@tailwindcss/typography')]
}