Skip to content

AI-native design editor. Open-source Figma alternative.

Always show visibility toggle on fill, stroke, and effect rows

Danila Poyarkova92315149aab
diff --git a/src/components/properties/EffectsSection.vue b/src/components/properties/EffectsSection.vue
index 67d22b216..3ba7522bd 100644
--- a/src/components/properties/EffectsSection.vue
+++ b/src/components/properties/EffectsSection.vue
@@ -182,7 +182,7 @@ function toggleExpand(index: number) {
/>
<button
- class="cursor-pointer border-none bg-transparent p-0 text-muted opacity-0 transition-opacity group-hover:opacity-100 hover:text-surface"
+ class="cursor-pointer border-none bg-transparent p-0 text-muted hover:text-surface"
@click="toggleVisibility(i)"
>
<icon-lucide-eye v-if="effect.visible" class="size-3.5" />
diff --git a/src/components/properties/FillSection.vue b/src/components/properties/FillSection.vue
index 416239ee0..f468318f1 100644
--- a/src/components/properties/FillSection.vue
+++ b/src/components/properties/FillSection.vue
@@ -173,7 +173,7 @@ const filteredVariables = computed(() => {
v-if="colorVariables.length > 0 && fill.type === 'SOLID' && !getBoundVariable(i)"
>
<PopoverTrigger
- class="cursor-pointer border-none bg-transparent p-0 text-muted opacity-0 transition-opacity group-hover:opacity-100 hover:text-surface"
+ class="cursor-pointer border-none bg-transparent p-0 text-muted hover:text-surface"
title="Apply variable"
>
<icon-lucide-link class="size-3.5" />
@@ -213,7 +213,7 @@ const filteredVariables = computed(() => {
</PopoverRoot>
<button
- class="cursor-pointer border-none bg-transparent p-0 text-muted opacity-0 transition-opacity group-hover:opacity-100 hover:text-surface"
+ class="cursor-pointer border-none bg-transparent p-0 text-muted hover:text-surface"
@click="toggleVisibility(i)"
>
<icon-lucide-eye v-if="fill.visible" class="size-3.5" />
diff --git a/src/components/properties/StrokeSection.vue b/src/components/properties/StrokeSection.vue
index 97a9a307b..83a3c362a 100644
--- a/src/components/properties/StrokeSection.vue
+++ b/src/components/properties/StrokeSection.vue
@@ -260,7 +260,7 @@ const borderWeights = computed(() => {
@update="updateColor(i, $event)"
/>
<button
- class="shrink-0 cursor-pointer border-none bg-transparent p-0 text-muted opacity-0 transition-opacity group-hover:opacity-100 hover:text-surface"
+ class="shrink-0 cursor-pointer border-none bg-transparent p-0 text-muted hover:text-surface"
@click="toggleVisibility(i)"
>
<icon-lucide-eye v-if="stroke.visible" class="size-3.5" />