diff --git a/app/components/ClippingPlanes.vue b/app/components/ClippingPlanes.vue index 13ea9f71b..c3d30928d 100644 --- a/app/components/ClippingPlanes.vue +++ b/app/components/ClippingPlanes.vue @@ -246,7 +246,6 @@ onBeforeUnmount(cleanupLocalWidget); v-model="targetAllVisible" data-testid="targetAllVisibleSwitch" label="Apply to all visible datasets" - color="primary" density="compact" hide-details class="mb-2 text-caption" @@ -275,7 +274,6 @@ onBeforeUnmount(cleanupLocalWidget); v-model="sliceEnabled" data-testid="sliceSwitch" label="Slice" - color="primary" density="compact" hide-details class="mb-2 text-caption" diff --git a/app/components/FactorFilterPanel.vue b/app/components/FactorFilterPanel.vue index 24b30757f..81c2f6ac1 100644 --- a/app/components/FactorFilterPanel.vue +++ b/app/components/FactorFilterPanel.vue @@ -136,7 +136,6 @@ watch( v-model="targetAllVisible" :data-testid="`${testIdPrefix}TargetAllVisibleSwitch`" label="Apply to all visible datasets" - color="primary" density="compact" hide-details class="mb-2 text-caption" diff --git a/app/components/Ruler.vue b/app/components/Ruler.vue index aad33ad97..69d1a46d3 100644 --- a/app/components/Ruler.vue +++ b/app/components/Ruler.vue @@ -70,7 +70,6 @@ async function applyManualCoords(): Promise { v-model="hybridViewerStore.ruler_snap" data-testid="rulerSnapToggle" label="Snap to vertex" - color="primary" density="compact" hide-details class="mb-4" diff --git a/app/components/Screenshot.vue b/app/components/Screenshot.vue index 1710eab63..06d4c3dd9 100644 --- a/app/components/Screenshot.vue +++ b/app/components/Screenshot.vue @@ -306,8 +306,8 @@ function handleClose(): void { - - + + - + new Set(cropped.value).size > 1); label="Crop to data" data-testid="basemapCrop" density="compact" - color="primary" hide-details class="px-1" @update:model-value="(value) => basemapStore.setCrop(Boolean(value), mapStyles)" diff --git a/nuxt.config.ts b/nuxt.config.ts index 06425698b..e97a7b476 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -143,6 +143,10 @@ export default defineNuxtConfig({ VTooltip: { openDelay: 500, }, + // Without a color, the on track keeps the off track color. The apps can override it (Vease: success). + VSwitch: { + color: "primary", + }, }, }, },