-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
31 lines (31 loc) · 1013 Bytes
/
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
/* eslint-disable @typescript-eslint/no-var-requires */
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
extend: {},
},
// hack-ish to work with modules
darkMode: ["variant", ["&:is(:global(.dark) *)", "&:is(.dark *)"]],
daisyui: {
themes: [
{
light: {
...require("daisyui/src/theming/themes")[
"[data-theme=light]"
],
primary: "#1d4ed8",
// "primary-focus": "mediumblue",
},
dark: {
...require("daisyui/src/theming/themes")[
"[data-theme=dark]"
],
primary: "#1d4ed8", // blue-700
// "primary-focus": "mediumblue",
},
},
],
},
content: ["./src/**/*.{js,ts,jsx,tsx}"],
plugins: [require("daisyui"), require("@tailwindcss/typography")],
};