Fixed settings theme color

This commit is contained in:
nizune 2021-07-10 18:39:01 +02:00
parent 5b5ca47cb0
commit cc78c7f434
2 changed files with 2 additions and 1 deletions

View file

@ -75,7 +75,7 @@ export function GenericSettings({
content={ content={
isTouchscreenDevice isTouchscreenDevice
? theme["background"] ? theme["background"]
: theme["background"] : theme["secondary-background"]
} }
/> />
</Helmet> </Helmet>

View file

@ -98,6 +98,7 @@ export function Component(props: Props) {
<div className={styles.theme}> <div className={styles.theme}>
<img <img
src={lightSVG} src={lightSVG}
draggable={false}
data-active={selected === "light"} data-active={selected === "light"}
onClick={() => onClick={() =>
selected !== "light" && selected !== "light" &&