Add 'Sync with computer' theme option (#4973)

This commit is contained in:
Alex Andreev authored and GitHub committed 2022-03-09 08:08:24 -05:00
1 parent a4954b9f8d
commit dd5dfb393d
12 files changed
+102 -3

No files matched your search

@@ -45,7 +45,10 @@ const NonInjectedApplication: React.FC<Dependencies> = ({ appPreferenceItems })
<section id="appearance">
<SubTitle title="Theme" />
<Select
options={themeStore.themeOptions}
options={[
{ label: "Sync with computer", value: "system" },
...themeStore.themeOptions,
]}
value={userStore.colorTheme}
onChange={({ value }) => userStore.colorTheme = value}
themeName="lens"