-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.cjs
53 lines (50 loc) · 1.34 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
47
48
49
50
51
52
53
const { fontFamily, ...rest } = require("tailwindcss/defaultTheme")
const colors = require("tailwindcss/colors")
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/**/*.{astro,html,js,svelte,ts}"],
theme: {
extend: {
colors: {
black: "#0D0E0F",
white: colors.slate[100],
// The 3 "brand" colors
deepCyan: "#0ee7f6",
deepPurple: "#512eff",
deepPink: "#FF1493",
},
screens: { "3xl": "2560px" },
fontFamily: {
...fontFamily,
sans: ["Work Sans Variable", ...fontFamily["sans"]],
mono: ["IBM Plex Mono", ...fontFamily["mono"]],
},
typography: {
DEFAULT: {
css: {
// Github like inline code blocks
code: {
padding: "0.2em 0.4em",
"background-color": colors.slate[800],
"border-radius": "6px",
"font-weight": "inherit",
},
"code::before": {
content: '""',
},
"code::after": {
content: '""',
},
},
},
},
},
},
plugins: [
require("@tailwindcss/container-queries"),
require("tailwindcss-elastic-easings"),
require("tailwindcss-animate"),
require("@tailwindcss/typography"),
],
safelist: [],
}