feat(fs.dev): MDX styling
This commit is contained in:
parent
334a6933fd
commit
99393b8629
10 changed files with 137 additions and 67 deletions
|
@ -1,8 +1,11 @@
|
|||
import themes from 'shared/themes/index.js'
|
||||
|
||||
const ThemePicker = ({ app }) => {
|
||||
const ThemePicker = ({ app, className='' }) => {
|
||||
return (
|
||||
<select className="select select-bordered w-full max-w-xs" onChange={evt => app.setTheme(evt.target.value)}>
|
||||
<select
|
||||
className={`select select-bordered w-full max-w-sm text-base-content ${className}`}
|
||||
onChange={evt => app.setTheme(evt.target.value)}
|
||||
>
|
||||
{Object.keys(themes).map(theme => (
|
||||
<option>{theme}</option>
|
||||
))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue