user themePreviewColor in ThemeSwitchMenu
This commit is contained in:
parent
ce4aab7c09
commit
40118990a7
@ -22,7 +22,7 @@ const ThemeSwitchMenu: FunctionComponent<{ context: Context, textColor: string }
|
|||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
onMouseOut={(event) => (event.target.style.background = "transparent")}
|
onMouseOut={(event) => (event.target.style.background = "transparent")}
|
||||||
onClick={() => (context.themeManager.theme = theme)}>
|
onClick={() => (context.themeManager.theme = theme)}>
|
||||||
<div style={{ background: theme.boardColor }} className="theme-color-circle" />
|
<div style={{ background: theme.themePreviewColor }} className="theme-color-circle" />
|
||||||
{theme.name}
|
{theme.name}
|
||||||
<style jsx>{`
|
<style jsx>{`
|
||||||
.theme-color-circle {
|
.theme-color-circle {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user