mirror of
https://github.com/mue/mue.git
synced 2026-07-13 12:07:45 +02:00
fix: missing theme on final welcome, improve hover on radio
This commit is contained in:
@@ -59,7 +59,7 @@ function Radio(props) {
|
||||
key={option.name}
|
||||
label={option.name}
|
||||
value={option.value}
|
||||
className="data-[checked]:bg-white/10 group relative flex cursor-pointer rounded-lg bg-white/5 data-[checked]:hover:bg-neutral-700 hover:bg-neutral-700 py-4 px-5 dark:text-white text-black shadow-md transition focus:outline-none data-[focus]:outline-1 data-[focus]:outline-white"
|
||||
className="data-[checked]:bg-white/10 group relative flex cursor-pointer rounded-lg bg-white/5 dark:data-[checked]:hover:bg-neutral-700 dark:hover:bg-neutral-700 dark:data-[checked]:hover:bg-neutral-700 hover:bg-neutral-200 py-4 px-5 dark:text-white text-black shadow-md transition focus:outline-none data-[focus]:outline-1 data-[focus]:outline-white"
|
||||
>
|
||||
<div className="flex w-full items-center justify-between">
|
||||
<div className="text-sm/6">
|
||||
|
||||
@@ -4,6 +4,8 @@ import defaults from 'config/default';
|
||||
|
||||
function Final(props) {
|
||||
const language = localStorage.getItem('language') || defaults.language;
|
||||
const theme = localStorage.getItem('theme') || defaults.theme;
|
||||
|
||||
return (
|
||||
<Content>
|
||||
<Header
|
||||
@@ -25,7 +27,7 @@ function Final(props) {
|
||||
<span>
|
||||
{variables.getMessage('settings:sections.appearance.theme.title')}:{' '}
|
||||
{variables.getMessage(
|
||||
'settings:sections.appearance.theme.' + localStorage.getItem('theme'),
|
||||
'settings:sections.appearance.theme.' + theme,
|
||||
)}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user