-
Notifications
You must be signed in to change notification settings - Fork 261
/
tailwind.config.js
91 lines (90 loc) · 3.1 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
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
const colors = require('tailwindcss/colors')
const { fontFamily } = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./config/markdown.php',
'./resources/**/*.{js,blade.php}',
'./vendor/filament/**/*.blade.php',
],
theme: {
extend: {
colors: {
danger: colors.rose,
primary: colors.amber,
success: colors.green,
warning: colors.amber,
cream: '#FFF9F5',
butter: '#FDAE4B',
'burnt-butter': '#f2911b',
midnight: '#0F033A',
evening: '#251A4D',
merino: '#F2E7DD',
hurricane: '#807575',
dolphin: '#6C6489',
'burnt-dolphin': '#454059',
'peach-orange': '#FFC497',
'seashell-peach': '#FFF0E8',
'dawn-pink': '#F1E5E4',
salmon: '#F89377',
'fair-pink': '#FFEAE4',
},
fontFamily: {
cursive: ['Kalam', ...fontFamily.serif],
heading: ['Lexend', ...fontFamily.sans],
mono: ['JetBrains Mono', ...fontFamily.sans],
sans: ['DM Sans', ...fontFamily.sans],
vietnam: ['Be Vietnam Pro', ...fontFamily.sans],
'roboto-mono': ['Roboto Mono', ...fontFamily.sans],
},
maxWidth: {
'8xl': '88rem',
},
typography: (theme) => ({
DEFAULT: {
css: {
a: {
'&:hover': {
color: theme('colors.primary.600'),
},
'&:focus': {
color: theme('colors.primary.600'),
},
},
blockquote: {
fontStyle: 'normal',
},
'blockquote p:first-of-type::before': {
content: 'none',
},
'blockquote p:first-of-type::after': {
content: 'none',
},
code: {
fontWeight: theme('fontWeight.normal'),
},
},
},
invert: {
css: {
a: {
'&:hover': {
color: theme('colors.primary.500'),
},
'&:focus': {
color: theme('colors.primary.500'),
},
},
},
},
}),
zIndex: {
'-1': '-1',
},
},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
}