generated from mattiapomelli/frontend-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
43 lines (42 loc) · 1000 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
32
33
34
35
36
37
38
39
40
41
42
43
const { fontFamily } = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/layouts/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
main: ["Inter", ...fontFamily.sans],
},
colors: {
"base-content-neutral": "hsl(var(--bc) / 0.6)",
},
},
},
plugins: [
require("@tailwindcss/forms"),
require("tailwindcss-radix")(),
require("daisyui"),
],
daisyui: {
themes: [
{
light: {
...require("daisyui/src/colors/themes")["[data-theme=light]"],
"--btn-text-case": "none",
"--rounded-btn": "0.75rem",
},
},
{
dark: {
...require("daisyui/src/colors/themes")["[data-theme=dark]"],
"--btn-text-case": "none",
"--rounded-btn": "0.75rem",
},
},
],
},
};