Skip to content

Commit

Permalink
Really migrate to esm
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodevx committed Aug 27, 2024
1 parent a04edd6 commit 75d0156
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { addIconSelectors } from '@iconify/tailwind'
import typography from '@tailwindcss/typography'
import daisyui from 'daisyui'
import dt from 'tailwindcss/defaultTheme'
import themes from 'daisyui/src/theming/themes'

/** @type {import('tailwindcss').Config} */
export default {
Expand All @@ -11,22 +14,11 @@ export default {
}
}
},
plugins: [addIconSelectors(['mdi']), require('@tailwindcss/typography'), require('daisyui')],
plugins: [addIconSelectors(['mdi']), typography, daisyui],
daisyui: {
themes: [
{
light: {
...require('daisyui/src/theming/themes')['light'],
primary: '#1C75BC',
'primary-content': 'white'
}
},
{
dark: {
...require('daisyui/src/theming/themes')['dark'],
primary: '#1C75BC'
}
}
{ light: { ...themes['light'], primary: '#1C75BC', 'primary-content': 'white' } },
{ dark: { ...themes['dark'], primary: '#1C75BC' } }
]
}
}

0 comments on commit 75d0156

Please sign in to comment.