Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions examples/snowbox/GeoLocationMock.ce.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ const icon = computed(() =>
<style scoped>
.kern-btn {
background: var(--kern-color-layout-background-default);
box-shadow:
0 1px 1px 0 rgba(53, 57, 86, 0.16),
0 1px 2px 0 rgba(53, 57, 86, 0.25),
0 1px 6px 0 rgba(110, 117, 151, 0.25);
border: none;
pointer-events: all;

Expand Down
5 changes: 1 addition & 4 deletions src/components/PolarCard.ce.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
height: inherit;
min-width: 25rem;
border-radius: 0.5rem;
box-shadow:
0 1px 1px 0 rgba(53, 57, 86, 0.16),
0 1px 2px 0 rgba(53, 57, 86, 0.25),
0 1px 6px 0 rgba(110, 117, 151, 0.25);
box-shadow: var(--polar-shadow);

.kern-card__container {
padding: var(--kern-metric-space-small);
Expand Down
5 changes: 1 addition & 4 deletions src/components/PolarIconButton.ce.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ const { hasSmallDisplay } = storeToRefs(useCoreStore())
.polar-icon-button {
position: relative;
background: var(--kern-color-layout-background-default);
box-shadow:
0 1px 1px 0 rgba(53, 57, 86, 0.16),
0 1px 2px 0 rgba(53, 57, 86, 0.25),
0 1px 6px 0 rgba(110, 117, 151, 0.25);
box-shadow: var(--polar-shadow);
border: none;
pointer-events: all;

Expand Down
6 changes: 6 additions & 0 deletions src/core/components/PolarContainer.ce.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
resizeObserver.observe(polarWrapper.value as Element)
updateClientDimensions()

// FIXME: Improve types for lightElement

Check warning on line 122 in src/core/components/PolarContainer.ce.vue

View workflow job for this annotation

GitHub Actions / lint

Unexpected 'fixme' comment: 'FIXME: Improve types for lightElement'
// This is necessary for making `getStore` work
;(mainStore.lightElement as { store?: unknown }).store = useCoreStore()
})
Expand All @@ -140,6 +140,12 @@
--brand-color-l: v-bind('mainStore.configuration.theme?.brandColor?.l');
--brand-color-c: v-bind('mainStore.configuration.theme?.brandColor?.c');
--brand-color-h: v-bind('mainStore.configuration.theme?.brandColor?.h');
--polar-shadow-color: 0deg 0% 63%;
--polar-shadow:
0 0.5px 0.5px hsl(var(--polar-shadow-color) / 0.43),
0 1.5px 1.6px -1px hsl(var(--polar-shadow-color) / 0.4),
0 4px 4.2px -2px hsl(var(--polar-shadow-color) / 0.36),
-0.1px 10.1px 10.6px -3px hsl(var(--polar-shadow-color) / 0.32);
}

@layer polar-map {
Expand Down
5 changes: 1 addition & 4 deletions src/plugins/iconMenu/components/StandardFocusMenu.ce.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ function toggle(index: number) {
padding: 0;
border-radius: 0.5rem;
background: var(--kern-color-layout-background-default);
box-shadow:
0 1px 1px 0 rgba(53, 57, 86, 0.16),
0 1px 2px 0 rgba(53, 57, 86, 0.25),
0 1px 6px 0 rgba(110, 117, 151, 0.25);
box-shadow: var(--polar-shadow);
transition: bottom 0.25s ease;

.polar-plugin-icon-menu-focus-list-item {
Expand Down
5 changes: 1 addition & 4 deletions src/plugins/iconMenu/components/StandardMenuList.ce.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,7 @@ function toggle(index: number) {
padding: 0;
border-radius: 0.5rem;
background: var(--kern-color-layout-background-default);
box-shadow:
0 1px 1px 0 rgba(53, 57, 86, 0.16),
0 1px 2px 0 rgba(53, 57, 86, 0.25),
0 1px 6px 0 rgba(110, 117, 151, 0.25);
box-shadow: var(--polar-shadow);

.polar-plugin-icon-menu-list-item {
float: left;
Expand Down
Loading