-
Notifications
You must be signed in to change notification settings - Fork 116
/
tailwind.config.cjs
40 lines (40 loc) · 1.37 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
/** @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: ["'Inter Tight Variable'", "Helvetica", "Verdana", "sans-serif"],
body: ["'Inter Tight 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",
},
},
},
plugins: [
require("@tailwindcss/container-queries"),
plugin(function ({ addBase }) {
addBase({
html: { fontSize: "16px" },
});
}),
],
};