-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
58 lines (55 loc) 路 1.48 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
const allThemes = {
"--rounded-box": "4px",
"--rounded-btn": "4px",
"--rounded-badge": "4px",
"--animation-btn": ".25s",
"--animation-input": ".2s",
"--btn-text-case": "uppercase",
"--border-btn": "1px",
};
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
// Default: 700
accents: {
50: "#faf5fe",
100: "#f5eafd",
200: "#ead5f9",
300: "#ddb4f3",
400: "#c987eb",
500: "#b058dd",
600: "#9539c0",
700: "#7d2ca0",
800: "#672682",
900: "#58246b",
950: "#370c46",
},
},
},
plugins: [
/** @type { import("daisyui").Config } */
require("daisyui"),
require("@tailwindcss/typography"),
],
daisyui: {
logs: false,
themes: [
{
light: {
primary: "#a21caf",
secondary: "#be185d",
accent: "#37cdbe",
neutral: "#3b424e",
"base-100": "#f5f1f1",
...allThemes,
},
dark: {
...require("daisyui/src/theming/themes")["dracula"],
...allThemes,
},
},
],
},
};