fix(dev): Force color of theme picker. Closes #1814
This is a bit of a hack because I can't seem to get to the root cause, so this just adds CSS specificity so that the dropdown is styled as it should.
This commit is contained in:
parent
c70775b873
commit
84dce24c55
1 changed files with 7 additions and 5 deletions
|
@ -23,12 +23,14 @@ const ThemePicker = ({ app, className }) => {
|
|||
<li key={theme}>
|
||||
<button
|
||||
onClick={() => app.setTheme(theme)}
|
||||
className="btn btn-ghost text-base-content hover:bg-base-200"
|
||||
className="btn btn-ghost hover:bg-base-200"
|
||||
>
|
||||
{app.i18n
|
||||
? app.t(`${theme}Theme`)
|
||||
: `${theme} Theme`
|
||||
}
|
||||
<span className="text-base-content">
|
||||
{app.i18n
|
||||
? app.t(`${theme}Theme`)
|
||||
: `${theme} Theme`
|
||||
}
|
||||
</span>
|
||||
</button>
|
||||
</li>
|
||||
))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue