2021-01-04 17:13:18 +01:00
|
|
|
<script>
|
2021-04-28 15:23:03 +02:00
|
|
|
import { Icon, Label, Modal, ModalContent } from "@budibase/bbui"
|
2021-01-04 17:13:18 +01:00
|
|
|
import ThemeEditor from "./ThemeEditor.svelte"
|
|
|
|
|
2021-04-28 15:23:03 +02:00
|
|
|
let modal
|
2021-01-04 17:13:18 +01:00
|
|
|
</script>
|
|
|
|
|
2021-04-28 15:23:03 +02:00
|
|
|
<div class="topnavitemright" on:click={modal.show}>
|
2021-04-23 11:55:27 +02:00
|
|
|
<Icon hoverable name="ColorFill" />
|
2021-01-04 17:13:18 +01:00
|
|
|
</div>
|
2021-04-28 15:23:03 +02:00
|
|
|
<Modal bind:this={modal}>
|
|
|
|
<ModalContent
|
|
|
|
title="Builder Theme"
|
|
|
|
confirmText="Done"
|
|
|
|
showCancelButton={false}>
|
|
|
|
<ThemeEditor />
|
|
|
|
</ModalContent>
|
|
|
|
</Modal>
|
2021-01-04 17:13:18 +01:00
|
|
|
|
|
|
|
<style>
|
|
|
|
.topnavitemright {
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--grey-7);
|
|
|
|
margin: 0 12px 0 0;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
</style>
|