Highlight selected surface

pull/5806/head
Cagatay Civici 2024-05-25 11:54:52 +03:00
parent 9d8923521d
commit 9106ea17d5
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
type="button"
:title="surface.name"
@click="updateColors('surface', surface)"
:class="{ 'active-color': selectedSurfaceColor === surface.name }"
:class="{ 'active-color': selectedSurfaceColor ? selectedSurfaceColor === surface.name : $appState.darkTheme ? surface.name === 'zinc' : surface.name === 'slate' }"
:style="{ backgroundColor: `${surface.palette['500']}` }"
></button>
</div>