-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtailwind.config.js
More file actions
33 lines (32 loc) · 874 Bytes
/
tailwind.config.js
File metadata and controls
33 lines (32 loc) · 874 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
const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
corePlugins: {
preflight: false, // Keep false to avoid conflicts with Docusaurus styles
},
important: true, // Make Tailwind utilities more specific
darkMode: ['class', '[data-theme="dark"]'],
content: ['./src/**/*.{js,jsx,ts,tsx,html}', './docs/**/*.{md,mdx}'],
theme: {
extend: {
fontFamily: {
sans: ['"DM Sans"', ...fontFamily.sans],
jakarta: ['"Plus Jakarta Sans"', ...fontFamily.sans],
mono: ['"Fira Code"', ...fontFamily.mono],
},
borderRadius: {
sm: '4px',
},
screens: {
xs: '480px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
},
colors: {},
},
},
plugins: [],
};