-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
40 lines (40 loc) · 1.14 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,js,svelte,ts}"],
darkMode: "class",
theme: {
extend: {
colors: {
"dark-background": "#011423",
},
typography(theme) {
return {
DEFAULT: {
css: {
"code::before": {
content: "none" // don’t generate the pseudo-element
// content: '""', // this is an alternative: generate pseudo element using an empty string
},
"code::after": {
content: "none"
},
code: {
color: theme("colors.white"),
backgroundColor: "#143652",
borderRadius: theme("borderRadius.DEFAULT"),
paddingLeft: theme("spacing.1"),
paddingRight: theme("spacing.1"),
paddingTop: theme("spacing.1"),
paddingBottom: theme("spacing.1")
}
}
}
};
}
}
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/aspect-ratio")
]
};