Improve visually WorkerDateLabel
This commit is contained in:
parent
60b146196f
commit
0f6c6cde91
|
@ -18,15 +18,15 @@ defineEmits(['update:selected']);
|
|||
|
||||
<template>
|
||||
<QChip
|
||||
class="chip"
|
||||
class="chip glossy"
|
||||
:selected="selected"
|
||||
:style="selected ? { backgroundColor: color } : null"
|
||||
:text-color="selected ? 'white' : null"
|
||||
@update:selected="$emit('update:selected', $event)"
|
||||
>
|
||||
<QAvatar
|
||||
:color="color"
|
||||
:class="avatarClass"
|
||||
class="glossy"
|
||||
:style="{ backgroundColor: color }"
|
||||
/>
|
||||
<slot />
|
||||
|
@ -35,6 +35,6 @@ defineEmits(['update:selected']);
|
|||
|
||||
<style scoped lang="scss">
|
||||
.chip {
|
||||
background-color: var(--vn-light-gray);
|
||||
color: var(--vn-text-color);
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue