-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
53 lines (46 loc) · 1.07 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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
export default {
content: [
'./templates/**/*.twig',
'./templates/**/*.svg',
],
theme: {
extend: {
screens: {
xl: '1200px',
},
colors: {
// set a brand color
brand: colors.slate,
// set the global gray flavor
gray: colors.slate,
// let colors match the text of the text color of the typography plugin
prose: colors.slate[900]
},
// make the list bullets a bit more visible
// https://tailwindcss.com/docs/typography-plugin#adding-custom-color-themes
typography: (theme) => ({
slate: {
css: {
'--tw-prose-bullets': theme('colors.gray[400]'),
}
}
}),
},
transitionDuration: {
DEFAULT: '400ms',
}
},
plugins: [
require('@tailwindcss/typography'),
],
safelist: [
{
pattern: /col-span-(1|2|3|4|5|6|7|8|9|10|11|12)/,
variants: ['lg'],
},
'bg-layout-light',
'bg-layout-dark',
]
}