-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
46 lines (45 loc) · 1.09 KB
/
tailwind.config.js
File metadata and controls
46 lines (45 loc) · 1.09 KB
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
45
46
// Example tailwind.config.js for a project that uses the preset locally.
const nonePreset = require('./src/presets/none-preset');
module.exports = {
content: ['./src/**/*.{html,js,ts,jsx,tsx}', './public/**/*.html'],
theme: {
extend: {
colors: {
primary: {
50: '#eef2ff',
100: '#e0e7ff',
200: '#c7d2fe',
300: '#a5b4fc',
400: '#818cf8',
500: '#6366f1',
600: 'var(--nc-primary, #2563eb)',
700: 'var(--nc-primary-dark, #1d4ed8)',
800: '#3730a3',
900: '#312e81'
},
slate: {
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
300: '#cbd5e1',
400: '#94a3b8',
500: '#64748b',
600: '#475569',
700: '#334155',
800: '#1e293b',
900: '#0f172a'
}
},
spacing: {
'9': '2.25rem',
'14': '3.5rem'
},
borderRadius: {
lg: '0.75rem'
}
}
},
plugins: [
nonePreset({ prefix: '' }) // default: no prefix (btn, card, ...)
]
};