-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
51 lines (51 loc) · 1.33 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'selector',
content: [
'./templates/**/*.html.twig',
'./templates/*.html.twig',
'./src/**/*.{js,css}'
],
corePlugins: {
container: false
},
theme: {
extend: {
colors: {
background: 'hsl(var(--background) / <alpha-value>)',
primary: 'hsl(var(--primary) / <alpha-value>)',
secondary: 'hsl(var(--secondary) / <alpha-value>)',
accent: 'hsl(var(--background) / <alpha-value>)',
black: 'hsl(var(--black) / <alpha-value>)',
white: 'hsl(var(--white) / <alpha-value>)',
border: 'hsl(var(--border) / <alpha-value>)',
info: '#0369a1',
success: '#15803d',
warning: '#c2410c',
error: '#be123c'
},
fontFamily: {
primary: ['var(--font-primary)', 'serif'],
secondary: ['var(--font-secondary)', 'sans-serif']
}
}
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('./moz-blur-support'),
require('tailwind-bootstrap-grid')({
gridGutters: {
0: 0,
1: '.5rem',
2: '1rem',
3: '1.5rem',
4: '2rem',
5: '2.75rem',
6: '3.25rem'
}
})
],
safelist: ['fill-[#262626d9], size-6']
}