|
1 | 1 | /** @type {import('tailwindcss').Config} */
|
2 |
| -const defaultTheme = require('tailwindcss/defaultTheme') |
| 2 | +const defaultTheme = require('tailwindcss/defaultTheme'); |
3 | 3 | export default {
|
4 |
| - content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}', './node_modules/flowbite/**/*.js'], |
5 |
| - daisyui: { |
6 |
| - themes: [ |
7 |
| - { |
8 |
| - lofi: { |
9 |
| - ...require("daisyui/src/theming/themes")["lofi"], |
10 |
| - "--rounded-box": "1rem", |
11 |
| - "--rounded-btn": "0.5rem", |
12 |
| - "--rounded-badge": "1.9rem" |
13 |
| - }, |
14 |
| - black: { |
15 |
| - ...require("daisyui/src/theming/themes")["black"], |
16 |
| - "--rounded-box": "1rem", |
17 |
| - "--rounded-btn": "0.5rem", |
18 |
| - "--rounded-badge": "1.9rem", |
19 |
| - "secondary": "#e5e5e5" |
20 |
| - } |
21 |
| - } |
22 |
| - ], |
23 |
| - }, |
24 |
| - theme: { |
25 |
| - extend: { |
26 |
| - fontFamily: { |
27 |
| - 'sans': ["DM Sans", "Inter", ...defaultTheme.fontFamily.sans], |
28 |
| - }, |
29 |
| - }, |
30 |
| - }, |
31 |
| - plugins: [require("@tailwindcss/typography"), require("daisyui")], |
32 |
| -} |
| 4 | + content: [ |
| 5 | + './src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}', |
| 6 | + './node_modules/flowbite/**/*.js', |
| 7 | + ], |
| 8 | + daisyui: { |
| 9 | + themes: [ |
| 10 | + { |
| 11 | + lofi: { |
| 12 | + ...require('daisyui/src/theming/themes')['lofi'], |
| 13 | + '--rounded-box': '1rem', |
| 14 | + '--rounded-btn': '0.5rem', |
| 15 | + '--rounded-badge': '1.9rem', |
| 16 | + }, |
| 17 | + black: { |
| 18 | + ...require('daisyui/src/theming/themes')['black'], |
| 19 | + '--rounded-box': '1rem', |
| 20 | + '--rounded-btn': '0.5rem', |
| 21 | + '--rounded-badge': '1.9rem', |
| 22 | + secondary: '#e5e5e5', |
| 23 | + }, |
| 24 | + }, |
| 25 | + ], |
| 26 | + }, |
| 27 | + theme: { |
| 28 | + extend: { |
| 29 | + fontFamily: { |
| 30 | + sans: ['DM Sans', 'Inter', ...defaultTheme.fontFamily.sans], |
| 31 | + }, |
| 32 | + }, |
| 33 | + }, |
| 34 | + plugins: [require('@tailwindcss/typography'), require('daisyui')], |
| 35 | +}; |
0 commit comments