diff --git a/packages/builder/src/builderStore/store/theme.js b/packages/builder/src/builderStore/store/theme.js index 90f0b556db..cb4d0a2774 100644 --- a/packages/builder/src/builderStore/store/theme.js +++ b/packages/builder/src/builderStore/store/theme.js @@ -5,19 +5,8 @@ export const getThemeStore = () => { const initialValue = { darkMode: true, } - const store = localStorageStore("bb-theme", initialValue) - // Resets the custom theme to the default dark theme. - // The reset option is only available when dark theme is on, which is why it - // sets dark mode to true here - store.reset = () => { - store.set({ - ...initialValue, - darkMode: true, - }) - } - // Update theme when store changes store.subscribe(theme => { themeElement.classList.toggle("spectrum--darkest", theme.darkMode) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/PropertyControl.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/PropertyControl.svelte index 45624ced59..95d4c76414 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/PropertyControl.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/PropertyControl.svelte @@ -138,18 +138,19 @@ } .icon { - right: 2px; - top: 2px; - bottom: 2px; + right: 1px; + top: 1px; + bottom: 1px; position: absolute; align-items: center; display: flex; box-sizing: border-box; - padding-left: 7px; - border-left: 1px solid var(--grey-4); - background-color: var(--grey-2); - border-top-right-radius: var(--border-radius-m); - border-bottom-right-radius: var(--border-radius-m); + padding-left: 4px; + padding-right: 2px; + border-left: 1px solid var(--spectrum-alias-border-color); + background-color: var(--spectrum-global-color-gray-50); + border-top-right-radius: var(--spectrum-alias-border-radius-regular); + border-bottom-right-radius: var(--spectrum-alias-border-radius-regular); color: var(--grey-7); font-size: 14px; } diff --git a/packages/builder/src/components/settings/ThemeEditor.svelte b/packages/builder/src/components/settings/ThemeEditor.svelte index 8230d79c64..d715a17d70 100644 --- a/packages/builder/src/components/settings/ThemeEditor.svelte +++ b/packages/builder/src/components/settings/ThemeEditor.svelte @@ -7,7 +7,7 @@