-
Notifications
You must be signed in to change notification settings - Fork 62
/
tailwind.config.cjs
46 lines (45 loc) · 1.46 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
40
41
42
43
44
45
46
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
darkMode: ["class", '[data-theme="dark"]'],
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
primary: "rgb(var(--color-primary) / <alpha-value>)",
secondary: "rgb(var(--color-secondary) / <alpha-value>)",
accent: "rgb(var(--color-accent) / <alpha-value>)",
warning: "rgb(var(--color-warning) / <alpha-value>)",
danger: "rgb(var(--color-danger) / <alpha-value>)",
success: "rgb(var(--color-success) / <alpha-value>)",
light: "rgb(var(--color-light) / <alpha-value>)",
dark: "rgb(var(--color-dark) / <alpha-value>)",
info: "rgb(var(--color-info) / <alpha-value>)",
},
fontFamily: {
sans: ["'DM Sans Variable'", "Helvetica", "Verdana", "sans-serif"],
body: ["'DM Sans Variable'", "Helvetica", "Verdana", "sans-serif"],
},
boxShadow: {
inset: " inset 2px 2px 40px -20px rgba(0, 0, 0, 0.3)",
"inset-s": " inset 2px 2px 30px -10px rgba(0, 0, 0, 0.4)",
},
screens: {
xs: "500px",
},
aspectRatio: {
"5/4": "5 / 4",
"4/5": "4 / 5",
"9/16": "9 / 16",
},
},
},
plugins: [
require("@tailwindcss/container-queries"),
plugin(function ({ addBase }) {
addBase({
html: { fontSize: "16px" },
});
}),
],
};