-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.cjs
39 lines (38 loc) · 1.06 KB
/
tailwind.config.cjs
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
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
const plugin = require("tailwindcss/plugin")
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
screens: {
"xs": "475px",
...defaultTheme.screens,
},
extend: {
colors: {
app: {
DEFAULT: colors.red[500],
...colors.red
}
},
fontFamily: {
rubik: ["RubikVariable", ...defaultTheme.fontFamily.sans],
"roboto-slab": ["Roboto SlabVariable", "Roboto Slab", ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [
require("@tailwindcss/typography"),
plugin(function ({ addComponents }) {
addComponents({
".bg-sun-tornado": {
backgroundColor: "#09090b",
backgroundImage: "url('/sun-tornado.svg')",
backgroundAttachment: "fixed",
backgroundSize: "cover",
}
})
})
],
}