|
|
@ -1,7 +1,6 @@ |
|
|
<script> |
|
|
<script> |
|
|
import { Layout, Heading, Body, Divider, Label, Select } from "@budibase/bbui" |
|
|
import { Layout, Heading, Body, Divider, Label, Select } from "@budibase/bbui" |
|
|
import { themeStore } from "builderStore" |
|
|
import { themeStore } from "builderStore" |
|
|
import { capitalise } from "helpers" |
|
|
|
|
|
import { Constants } from "@budibase/frontend-core" |
|
|
import { Constants } from "@budibase/frontend-core" |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
@ -15,10 +14,11 @@ |
|
|
<div class="field"> |
|
|
<div class="field"> |
|
|
<Label size="L">Builder theme</Label> |
|
|
<Label size="L">Builder theme</Label> |
|
|
<Select |
|
|
<Select |
|
|
options={Constants.ThemeOptions} |
|
|
options={Constants.Themes} |
|
|
bind:value={$themeStore.theme} |
|
|
bind:value={$themeStore.theme} |
|
|
placeholder={null} |
|
|
placeholder={null} |
|
|
getOptionLabel={capitalise} |
|
|
getOptionLabel={x => x.name} |
|
|
|
|
|
getOptionValue={x => x.class} |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|