-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
57 lines (56 loc) · 1.32 KB
/
tailwind.config.js
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
47
48
49
50
51
52
53
54
55
56
57
const colors = require('tailwindcss/colors')
const { fontFamily } = require('tailwindcss/defaultTheme')
module.exports = {
purge: {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
},
darkMode: 'class',
theme: {
nightwind: {
typography: true,
colorClasses: ['placeholder', 'divide', 'ring', 'ring-offset'],
},
fontFamily: {
sans: ['Inter', ...fontFamily.sans],
},
extend: {
spacing: {
13: '3.25rem',
26: '6.5rem',
100: '25rem',
150: '37.5rem',
},
colors: {
blueGray: colors.blueGray,
coolGray: colors.coolGray,
brand: colors.indigo,
success: colors.green,
danger: colors.red,
warning: colors.yellow,
info: colors.blue,
normal: colors.gray,
lightSurface: 'hsl(210, 20%, 98%)',
},
typography: (theme) => ({
DEFAULT: {
css: {
code: {
// For inline codes
// Ex: `Coderplex`
padding: '3px 5px',
borderRadius: 5,
},
},
},
}),
},
},
variants: {},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/line-clamp'),
require('nightwind'),
],
}