|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
import { uiPageSizeKey } from "@/utilities/storage";
|
|
|
|
|
import { FunctionComponent } from "react";
|
|
|
|
|
import { Layout, Section, Selector } from "../components";
|
|
|
|
|
import { pageSizeOptions } from "./options";
|
|
|
|
|
import { colorSchemeOptions, pageSizeOptions } from "./options";
|
|
|
|
|
|
|
|
|
|
const SettingsUIView: FunctionComponent = () => {
|
|
|
|
|
return (
|
|
|
|
|
<Layout name="Interface">
|
|
|
|
|
<Section header="UI">
|
|
|
|
|
<Section header="List View">
|
|
|
|
|
<Selector
|
|
|
|
|
label="Page Size"
|
|
|
|
|
options={pageSizeOptions}
|
|
|
|
@ -14,6 +14,14 @@ const SettingsUIView: FunctionComponent = () => {
|
|
|
|
|
defaultValue={50}
|
|
|
|
|
></Selector>
|
|
|
|
|
</Section>
|
|
|
|
|
<Section header="Style">
|
|
|
|
|
<Selector
|
|
|
|
|
label="Theme"
|
|
|
|
|
options={colorSchemeOptions}
|
|
|
|
|
settingKey="settings-general-theme"
|
|
|
|
|
defaultValue={"auto"}
|
|
|
|
|
></Selector>
|
|
|
|
|
</Section>
|
|
|
|
|
</Layout>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|