Skip to content

Commit

Permalink
fix: some themes is overriding global font-family
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish committed Sep 1, 2023
1 parent d4aa983 commit c8a41bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
4 changes: 3 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
src: url('assets/Twemoji.Mozilla.ttf') format('truetype');
}

:root {
:root,
[data-theme='wireframe'],
[data-theme='cyberpunk'] {
font-family: 'Fira Sans', 'Twemoji Mozilla';
}

Expand Down
34 changes: 1 addition & 33 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,37 +1,5 @@
export default {
content: ['./src/**/*.{css,tsx}'],
plugins: [require('daisyui')],
daisyui: {
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',
],
},
daisyui: { themes: true },
}

0 comments on commit c8a41bd

Please sign in to comment.