mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Highlight selected surface
This commit is contained in:
parent
9d8923521d
commit
9106ea17d5
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
type="button"
|
type="button"
|
||||||
:title="surface.name"
|
:title="surface.name"
|
||||||
@click="updateColors('surface', surface)"
|
@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']}` }"
|
:style="{ backgroundColor: `${surface.palette['500']}` }"
|
||||||
></button>
|
></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue