fix: some themes is overriding global font-family

This commit is contained in:
kunish 2023-09-02 02:22:01 +08:00
parent d4aa983b6e
commit c8a41bd29f
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430
2 changed files with 4 additions and 34 deletions

View File

@ -10,7 +10,9 @@
src: url('assets/Twemoji.Mozilla.ttf') format('truetype'); src: url('assets/Twemoji.Mozilla.ttf') format('truetype');
} }
:root { :root,
[data-theme='wireframe'],
[data-theme='cyberpunk'] {
font-family: 'Fira Sans', 'Twemoji Mozilla'; font-family: 'Fira Sans', 'Twemoji Mozilla';
} }

View File

@ -1,37 +1,5 @@
export default { export default {
content: ['./src/**/*.{css,tsx}'], content: ['./src/**/*.{css,tsx}'],
plugins: [require('daisyui')], plugins: [require('daisyui')],
daisyui: { daisyui: { themes: true },
themes: [
'light',
'dark',
'cupcake',
'bumblebee',
'emerald',
'corporate',
'synthwave',
'retro',
'cyberpunk',
'valentine',
'halloween',
'garden',
'forest',
'aqua',
'lofi',
'pastel',
'fantasy',
'wireframe',
'black',
'luxury',
'dracula',
'cmyk',
'autumn',
'business',
'acid',
'lemonade',
'night',
'coffee',
'winter',
],
},
} }