-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.cjs
74 lines (74 loc) · 1.95 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/** @type {import('tailwindcss').Config} */
module.exports = {
// mode: "jit",
content: [
"./index.html",
"./src/**/*.{js,jsx,ts,tsx,css,html,json,scss,md,mdx}",
"node_modules/daisyui/dist/**/*.js",
"node_modules/react-daisyui/dist/**/*.js",
],
// darkMode: "media",
theme: {
extend: {},
fontFamily: {
serif: ["novel", "serif"],
sans: ["sans-serif"],
mono: ["monospace"],
},
},
plugins: [
require("@tailwindcss/typography"),
require("daisyui"),
function ({ addVariant }) {
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
addVariant("child-before", "& > *:before");
addVariant("child-after", "& > *:after");
},
],
daisyui: {
logs: false,
themes: [
{
light: {
primary: "#e6bbbe",
// "primary-content": "#ffffff",
secondary: "#cbd3eb",
// "secondary-content": "#ffffff",
accent: "#b7aad2",
// "accent-content": "#d99c99",
neutral: "#292929",
// "neutral-content": "#415558",
"base-100": "#f9f9f9",
// "base-200": "#f9f9f9",
// "base-300": "#f9f9f9",
// "base-content": "#464841",
info: "#a5cec7",
success: "#b8d2aa",
warning: "#e4d7a4",
error: "#d9989c",
},
},
{
dark: {
primary: "#e6bbbe",
// "primary-content": "#ffffff",
secondary: "#cbd3eb",
// "secondary-content": "#ffffff",
accent: "#b7aad2",
// "accent-content": "#d99c99",
neutral: "#292929",
// "neutral-content": "#415558",
"base-100": "#46484e",
// "base-200": "#f9f9f9",
// "base-300": "#f9f9f9",
"base-content": "#edebef",
info: "#a5cec7",
success: "#b8d2aa",
warning: "#e4d7a4",
error: "#d9989c",
},
},
],
},
};