-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
tailwind.config.cjs
46 lines (45 loc) · 1.42 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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
spacing: {
"page-top": "var(--page-top)",
"page-gutter": "var(--page-gutter)",
"banner-height": "var(--banner-height)",
"header-height": "var(--header-height)",
"footer-height": "var(--footer-height)",
},
maxWidth: {
content: "var(--content-width)",
},
minHeight: {
content: "var(--content-height)",
},
fontFamily: {
display: ["Pier Sans", ...defaultTheme.fontFamily.sans],
},
colors: {
base: "hsl(var(--color-base) / <alpha-value>)",
surface: "hsl(var(--color-surface) / <alpha-value>)",
overlay: "hsl(var(--color-overlay) / <alpha-value>)",
muted: "hsl(var(--color-muted) / <alpha-value>)",
subtle: "hsl(var(--color-subtle) / <alpha-value>)",
text: "hsl(var(--color-text) / <alpha-value>)",
love: "hsl(var(--color-love) / <alpha-value>)",
gold: "hsl(var(--color-gold) / <alpha-value>)",
rose: "hsl(var(--color-rose) / <alpha-value>)",
pine: "hsl(var(--color-pine) / <alpha-value>)",
foam: "hsl(var(--color-foam) / <alpha-value>)",
iris: "hsl(var(--color-iris) / <alpha-value>)",
},
borderColor: {
DEFAULT: "hsl(var(--color-muted) / 0.2)",
},
ringColor: {
DEFAULT: "hsl(var(--color-foam) / 0.2)",
},
},
},
};