-
Notifications
You must be signed in to change notification settings - Fork 16
/
tailwind.config.cjs
39 lines (39 loc) · 971 Bytes
/
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}",
"./node_modules/tw-elements/dist/js/**/*.js",
],
theme: {
...defaultTheme,
extend: {
colors: {
secondary: "rgb(87,87,87)",
light: "rgb(208, 238, 246)",
customgreen: "#33ab66",
customturquoise: "#0cb2dd",
accent: "#0cb2dd",
accentbg: "#d0eef6",
},
typography: (theme) => ({
DEFAULT: {
css: {
code: { color: theme("colors.red.600") },
pre: {
code: { color: "white" },
},
},
},
}),
},
fontFamily: {
sans: ["Lato", "system-ui", ...defaultTheme.fontFamily.sans],
},
},
plugins: [
require("@tailwindcss/typography"),
require("tw-elements/dist/plugin.cjs"),
// ...
],
};