-
Notifications
You must be signed in to change notification settings - Fork 63
/
tailwind.config.mjs
93 lines (84 loc) · 2.5 KB
/
tailwind.config.mjs
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
colors: {
black: "#000",
white: "#fff",
text: "var(--color-text)",
transparent: "transparent",
current: "currentColor",
inherit: "inherit",
"text-inverted": "var(--color-text-inverted)",
"body-inverted": "#001c13",
"body-background": "var(--color-body-background)",
"body-light": "#888",
"hero-primary": "var(--color-hero-primary)",
"hero-secondary": "var(--color-hero-secondary)",
primary: "var(--color-primary)",
"primary-hover": "var(--color-primary-hover)",
"primary-active": "var(--color-primary-active)",
button: "var(--color-button)",
"button-hover": "var(--color-button-hover)",
secondary: "var(--color-secondary)",
"secondary-dark": "var(--color-secondary-dark)",
"secondary-darkest": "var(--color-secondary-darkest)",
"secondary-light": "var(--color-secondary-light)",
"session-beginner": "#63d451",
"session-intermediate": "#ffcd45",
"session-advanced": "#d34848",
"session-none": "var(--color-secondary-light)",
"sponsor-keystone": "#5c9f92",
"sponsor-diamond": "#568497",
"sponsor-platinum": "#6b6c6e",
"sponsor-gold": "#f5c251",
"sponsor-silver": "#707172",
"sponsor-bronze": "#6e6151",
"sponsor-patron": "#a11217",
red: "#ce3333",
"keynoter-info": "hsla(0,0%,100%,.85)",
},
extend: {
aspectRatio: {
hero: "2.4380530973",
},
fontFamily: {
system: ["system-ui", "sans-serif"],
title: [
"Inter Variable",
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Helvetica",
"Arial",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
],
sans: [
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Helvetica",
"Arial",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
],
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme("colors.text"),
"--tw-prose-headings": theme("colors.white"),
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};