generated from webbertakken/simple-react-app
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.ts
39 lines (37 loc) · 907 Bytes
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss'
const singleFont = [
'"Fira Mono"', // Imported in custom.css
'SFMono-Regular', // ... fallbacks
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace',
]
export default {
corePlugins: {
preflight: false,
container: false,
},
darkMode: ['class', '[data-theme="dark"]'], // Backwards compatibility with Docusaurus theme
content: ['./src/**/*.{js,jsx,ts,tsx,md,mdx}', './notes/**/*.{js,jsx,ts,tsx,md,mdx}'],
theme: {
fontFamily: {
sans: singleFont,
mono: singleFont,
},
extend: {
colors: {
pink: '#e6006b',
'pink-dark': '#cf0060',
'pink-darker': '#c4005b',
'pink-darkest': '#a1004b',
'pink-light': '#fd0076',
'pink-lighter': '#ff0a7c',
'pink-lightest': '#ff2c8e',
},
},
},
plugins: [],
} satisfies Config