From 9106ea17d5aeaaaa5f90b116a4098daf3a881be0 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 25 May 2024 11:54:52 +0300 Subject: [PATCH] Highlight selected surface --- layouts/AppConfigurator.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/AppConfigurator.vue b/layouts/AppConfigurator.vue index 154e4c393..fbc2dc93f 100755 --- a/layouts/AppConfigurator.vue +++ b/layouts/AppConfigurator.vue @@ -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']}` }" >