-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
39 lines (38 loc) · 1.1 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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
fontFamily: {
sans: ["Work Sans", ...defaultTheme.fontFamily.sans],
},
extend: {
colors: {
"bg-primary": "#2a243c",
"fg-highlight": "#009d52",
"active-highlight": "#c78bff",
},
fontFamily: {
headline: ["Signika", ...defaultTheme.fontFamily.sans],
subheadline: ["Orienta", ...defaultTheme.fontFamily.sans],
code: ["Victor Mono", ...defaultTheme.fontFamily.mono],
},
animation: {
"gradient-xy": "gradient-xy 10s ease infinite",
},
keyframes: {
"gradient-xy": {
"from, to": {
"background-size": "500% 900%",
"background-position": "left bottom",
},
"50%": {
"background-size": "300% 300%",
"background-position": "right center",
},
},
},
},
},
plugins: [require("@tailwindcss/typography")],
};