-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathtailwind.config.js
More file actions
94 lines (92 loc) · 2.16 KB
/
tailwind.config.js
File metadata and controls
94 lines (92 loc) · 2.16 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
module.exports = {
darkMode: 'class',
content: [
'./app/react/**/*.{js,jsx,ts,tsx}',
'./app/react/stories/**/*.{js,jsx,ts,tsx}',
'node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}',
'node_modules/flowbite-datepicker/**/*.{js,jsx,ts,tsx,css}',
],
theme: {
fontFamily: {
sans: [
'Inter',
'ui-sans-serif',
'system-ui',
'-apple-system',
'Segoe UI',
'Helvetica Neue',
'Arial',
'Noto Sans',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
body: [
'Inter',
'ui-sans-serif',
'system-ui',
'-apple-system',
'Segoe UI',
'Helvetica Neue',
'Arial',
'Noto Sans',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
mono: [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'Liberation Mono',
'Courier New',
'monospace',
],
},
colors: {
...colors,
primary: colors.indigo,
success: colors.green,
error: colors.pink,
warning: colors.yellow,
blue: colors.blue,
},
extend: {
colors: {
blue: colors.indigo,
alert: {
50: 'var(--color-alert-50)',
100: 'var(--color-alert-100)',
200: 'var(--color-alert-200)',
300: 'var(--color-alert-300)',
400: 'var(--color-alert-400)',
500: 'var(--color-alert-500)',
600: 'var(--color-alert-600)',
700: 'var(--color-alert-700)',
800: 'var(--color-alert-800)',
900: 'var(--color-alert-900)',
},
},
minWidth: {
56: '14rem',
},
},
},
corePlugins: {
preflight: true,
},
plugins: [
// eslint-disable-next-line global-require
require('flowbite/plugin'),
// eslint-disable-next-line global-require
require('flowbite-typography'),
],
};