2024-02-03 20:23:14 +01:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
export default {
|
|
|
|
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
|
|
|
|
theme: {
|
|
|
|
fontFamily: {
|
|
|
|
display: "var(--font-display)",
|
|
|
|
body: "var(--font-body)",
|
|
|
|
},
|
|
|
|
fontSize: {
|
|
|
|
xs: ["0.75rem", { lineHeight: "calc(var(--line-height-factor) * 1rem)" }],
|
|
|
|
sm: ["0.875rem", { lineHeight: "calc(var(--line-height-factor) * 1.25rem)" }],
|
|
|
|
base: ["1rem", { lineHeight: "calc(var(--line-height-factor) * 1.5rem)" }],
|
|
|
|
lg: ["1.125rem", { lineHeight: "calc(var(--line-height-factor) * 1.75rem)" }],
|
2024-02-21 21:00:16 +01:00
|
|
|
xl: ["1.25rem", { lineHeight: "calc(var(--line-height-factor) * 1.875rem)" }],
|
|
|
|
"2xl": ["1.5rem", { lineHeight: "calc(var(--line-height-factor) * 2.125rem)" }],
|
2024-02-03 20:23:14 +01:00
|
|
|
"3xl": ["1.875rem", { lineHeight: "calc(var(--line-height-factor) * 2.25rem)" }],
|
|
|
|
"4xl": ["2.25rem", { lineHeight: "calc(var(--line-height-factor) * 2.5rem)" }],
|
|
|
|
"5xl": ["3rem", { lineHeight: "calc(var(--line-height-factor) * 1)" }],
|
|
|
|
"6xl": ["3.75rem", { lineHeight: "calc(var(--line-height-factor) * 1)" }],
|
|
|
|
"7xl": ["4.5rem", { lineHeight: "calc(var(--line-height-factor) * 1)" }],
|
|
|
|
"8xl": ["6rem", { lineHeight: "calc(var(--line-height-factor) * 1)" }],
|
|
|
|
"9xl": ["8rem", { lineHeight: "calc(var(--line-height-factor) * 1)" }],
|
|
|
|
},
|
|
|
|
extend: {
|
|
|
|
colors: {
|
|
|
|
accent: "var(--color-accent)",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [],
|
|
|
|
};
|