Update reset theme button to use white for light theme

This commit is contained in:
Andrew Kingston 2022-01-13 10:26:05 +00:00
parent aa5762d6d7
commit 9f90bf3801
2 changed files with 14 additions and 1052 deletions

View File

@ -52,7 +52,14 @@
}
const resetTheme = () => {
store.actions.customTheme.save(null)
const theme = get(store).theme
store.actions.customTheme.save({
...defaultTheme,
navBackground:
theme === "spectrum--light"
? "var(--spectrum-global-color-gray-50)"
: "var(--spectrum-global-color-gray-100)",
})
}
</script>

File diff suppressed because it is too large Load Diff