From 9b6ed7d36e60f220956afd1399fe186f98fac810 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 22 Oct 2020 18:11:33 +0100 Subject: [PATCH] Update page button styles --- .../components/userInterface/PagesList.svelte | 13 +- .../userInterface/UserInterfaceRoot.svelte | 193 ------------------ 2 files changed, 6 insertions(+), 200 deletions(-) delete mode 100644 packages/builder/src/components/userInterface/UserInterfaceRoot.svelte diff --git a/packages/builder/src/components/userInterface/PagesList.svelte b/packages/builder/src/components/userInterface/PagesList.svelte index df8bdf7d99..4cb1f7781b 100644 --- a/packages/builder/src/components/userInterface/PagesList.svelte +++ b/packages/builder/src/components/userInterface/PagesList.svelte @@ -21,7 +21,7 @@ if (!$store.currentPageName) store.setCurrentPage($params.page ? $params.page : "main") - const changePage = id => { + const changePage = (id) => { store.setCurrentPage(id) $goto(`./${id}/page-layout`) } @@ -43,20 +43,19 @@ button { cursor: pointer; - padding: 0px 16px; - height: 36px; + padding: 0 var(--spacing-m); + height: 32px; text-align: center; background: #ffffff; color: var(--grey-7); border-radius: 5px; - font-family: inter; - font-size: 14px; - font-weight: 400; + font-size: var(--font-size-xs); + font-weight: 500; transition: all 0.3s; text-rendering: optimizeLegibility; border: none !important; - transition: 0.2s; outline: none; + font-family: var(--font-sans); } .active { diff --git a/packages/builder/src/components/userInterface/UserInterfaceRoot.svelte b/packages/builder/src/components/userInterface/UserInterfaceRoot.svelte deleted file mode 100644 index 0bf8095e41..0000000000 --- a/packages/builder/src/components/userInterface/UserInterfaceRoot.svelte +++ /dev/null @@ -1,193 +0,0 @@ - - -
-
-
- - -
- -
- - -
-
-
- -
- {#if $store.currentFrontEndType === 'screen' || $store.currentFrontEndType === 'page'} -
- -
- {/if} -
- - - - - - - -