forked from event-catalog/eventcatalog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
42 lines (41 loc) · 991 Bytes
/
tailwind.config.mjs
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
/** @type {import('tailwindcss').Config} */
import config from './eventcatalog.config.js';
const theme = config.theme || {};
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
screens: {
xxl: '1990px',
},
colors: {
primary: {
DEFAULT: '#a855f7',
},
secondary: {
light: '#ff9980',
DEFAULT: '#ff6633',
dark: '#cc3300',
},
...theme
},
},
},
safelist: [
{ pattern: /border-.*-(200|400|500)/ },
{ pattern: /bg-.*-(100|200|400|500)/ },
{ pattern: /from-.*-(100|200|400|500|700)/ },
{ pattern: /text-.*-(400|500|800)/ },
'border-blue-200',
'border-green-300',
'bg-blue-600',
'bg-orange-600',
'bg-red-50',
'bg-yellow-50',
'bg-indigo-50',
'border-l-red-500',
'border-l-yellow-500',
'border-l-blue-500',
],
plugins: [require('@tailwindcss/typography')],
};