-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
34 lines (34 loc) · 1016 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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: "class",
mode: "jit",
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
safelist: [
{
pattern:
/(bg|text|from|to|via|shadow|border)-(summer|monsoon|winter)(\/\d{2,3})*/,
},
{
pattern: /(bg|text|from|to|via|shadow|border)-season(\/\d{2,3})*/,
},
{
pattern: /(bg|text|from|to|via)-season-bg(\/\d{2,3})*/,
},
{
pattern: /(bg|text|from|to|via)-season-text(\/\d{2,3})*/,
},
],
theme: {
extend: {
colors: {
season: "rgba(var(--season-primary), <alpha-value>)",
"season-bg": "rgba(var(--season-bg), <alpha-value>)",
"season-text": "rgba(var(--season-text), <alpha-value>)",
summer: "rgba(var(--season-summer-primary), <alpha-value>)",
monsoon: "rgba(var(--season-monsoon-primary), <alpha-value>)",
winter: "rgba(var(--season-winter-primary), <alpha-value>)",
},
},
},
plugins: [],
};