mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 15:10:57 -05:00
Fixed settings theme color
This commit is contained in:
parent
5b5ca47cb0
commit
cc78c7f434
2 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,7 @@ export function GenericSettings({
|
||||||
content={
|
content={
|
||||||
isTouchscreenDevice
|
isTouchscreenDevice
|
||||||
? theme["background"]
|
? theme["background"]
|
||||||
: theme["background"]
|
: theme["secondary-background"]
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</Helmet>
|
</Helmet>
|
||||||
|
|
|
@ -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" &&
|
||||||
|
|
Loading…
Reference in a new issue