-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.ts
executable file
·55 lines (54 loc) · 1.84 KB
/
tailwind.config.ts
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
47
48
49
50
51
52
53
54
55
import { Config } from "tailwindcss";
const config: Config = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}", "index.html"],
theme: {
extend: {
colors: {
pagebg: "rgba(var(--color-pagebg) / <alpha-value>)",
floating: "rgba(var(--color-floating) / <alpha-value>)",
primary: {
DEFAULT: "rgba(var(--color-primary) / <alpha-value>)",
hover: "rgba(var(--color-primary-hover) / <alpha-value>)",
},
secondary: {
DEFAULT: "rgba(var(--color-secondary) / <alpha-value>)",
hover: "rgba(var(--color-secondary-hover) / <alpha-value>)",
},
inactive: "rgba(var(--color-inactive) / <alpha-value>)",
contrast: "rgba(var(--color-contrast) / <alpha-value>)",
brand: {
violet: "rgba(var(--color-brand-violet) / <alpha-value>)",
gradient: {
start: "rgba(var(--color-brand-gradient-start) / <alpha-value>)",
end: "rgba(var(--color-brand-gradient-end) / <alpha-value>)",
},
},
},
fontFamily: {
rubik: ["Rubik Variable", "sans-serif"],
handwritten: ["Fuzzy Bubbles", "sans-serif"],
},
screens: {
"lgw-smh": { raw: "(min-width: 1024px) and (min-height: 600px)" },
"4xl": { raw: "(min-width: 2048px)" },
},
typography: {
// Remove blockquote styling from Tailwind Typography
// Use as "prose-quoteless"
quoteless: {
css: {
"blockquote p:first-of-type::before": { content: "none" },
"blockquote p:first-of-type::after": { content: "none" },
},
},
},
},
},
darkMode: ["class"],
plugins: [
require("@iconify/tailwind").addDynamicIconSelectors(),
require("@tailwindcss/container-queries"),
require("@tailwindcss/typography"),
],
};
export default config;