forked from midudev/la-velada-web-oficial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
35 lines (34 loc) · 816 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
import animations from "@midudev/tailwind-animations"
import defaultTheme from "tailwindcss/defaultTheme"
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
fontFamily: {
atomic: ["Atomic", "cursive"],
},
colors: {
primary: "var(--color-primary)",
secondary: "var(--color-secondary)",
accent: "var(--color-accent)",
twitch: "var(--color-twitch)",
ice: "var(--color-twitch-ice)",
},
screens: {
xs: "360px",
...defaultTheme.screens,
"3xl": "1650px",
},
},
},
plugins: [
animations,
function ({
addVariant
}) {
addVariant("any-hover", "@media (any-hover: hover) { &:hover }")
addVariant("mobile", "@media (any-hover: none) { & }")
},
],
}