-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathtailwind.config.js
More file actions
33 lines (32 loc) · 882 Bytes
/
tailwind.config.js
File metadata and controls
33 lines (32 loc) · 882 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 { colors } = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
],
safelist: [
// Using cdn.tailwindcss.com so no need for config right now
// All styles - do not use!
// { pattern: /([a-zA-Z]+)-./ },
// Subset patters - really slow to compile
// { pattern: /(mt|mr|mb|ml|)-./ },
// { pattern: /(pt|pr|pb|pl|)-./ },
// {
// pattern: /(bg|text|border|w|h|opacity|font|leading)-./,
// },
// Much faster, but need to list every variation
// 'block',
// 'flex',
// 'grid',
// 'relative',
// 'absolute',
// 'sticky',
// 'uppercase',
// 'lowercase',
// 'capitalize',
// 'normal-case',
],
plugins: [],
};