-
-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathtailwind.config.mjs
35 lines (35 loc) · 1.01 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
/** @type {import('tailwindcss').Config} */
import colors from "tailwindcss/colors";
export default {
content: [
"./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}",
"./node_modules/preline/preline.js",
],
darkMode: "class",
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
black: "#000000",
white: "#ffffff",
gray: colors.gray,
indigo: colors.indigo,
neutral: colors.neutral, // Used mainly for text color
yellow: colors.yellow, // Accent colors, used mainly for star color, heading and buttons
orange: {
...colors.orange,
300: "#fb713b",
400: "#fa5a15",
500: "#e14d0b",
}, // Primary colors, used mainly for links, buttons and svg icons
red: colors.red, // Used for bookmark icon
zinc: colors.zinc, // Used mainly for box-shadow
},
extend: {},
},
plugins: [
require("tailwindcss/nesting"),
require("preline/plugin"),
require("@tailwindcss/forms"),
],
};