-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathtailwind.config.js
50 lines (49 loc) · 974 Bytes
/
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
const colors = require('tailwindcss/colors');
const plugin = require('tailwindcss/plugin');
module.exports = {
content: ["./src/**/*.php", "./assets/src/js/admin/*.js"],
theme: {
extend: {},
},
darkMode: 'class',
theme: {
container: {
center: true,
padding: '1rem',
},
extend: {
colors: {
yellow: colors.amber, // We started using `yellow` in v2 but it was renamed to `amber` in v3 https://tailwindcss.com/docs/upgrade-guide#removed-color-aliases
gray: colors.slate,
'gray-950': 'rgb(13, 18, 30)',
'gray-850': 'rgb(26, 32, 44)',
'gray-825': 'rgb(37, 47, 63)',
},
spacing: {
44: '11rem',
},
width: {
content: 'fit-content',
},
opacity: {
15: '0.15',
},
zIndex: {
9: 9,
},
maxWidth: {
'2xs': '15rem',
'3xs': '12rem',
},
transitionProperty: {
padding: 'padding',
},
},
},
plugins: [
require('@tailwindcss/forms'),
],
corePlugins: {
preflight: false,
},
};