feat: Update the design of labels to use a smooth
theme (#4325)
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
parent
a8c6cd729b
commit
f31c6d5de2
6 changed files with 71 additions and 34 deletions
|
@ -1,10 +1,12 @@
|
|||
<template>
|
||||
<woot-button variant="link" class="label--add" @click="addLabel">
|
||||
<woot-label
|
||||
color-scheme="secondary"
|
||||
:title="$t('CONTACT_PANEL.LABELS.CONVERSATION.ADD_BUTTON')"
|
||||
icon="add-circle"
|
||||
/>
|
||||
<woot-button
|
||||
variant="smooth"
|
||||
class="label--add"
|
||||
icon="add"
|
||||
size="tiny"
|
||||
@click="addLabel"
|
||||
>
|
||||
{{ $t('CONTACT_PANEL.LABELS.CONVERSATION.ADD_BUTTON') }}
|
||||
</woot-button>
|
||||
</template>
|
||||
|
||||
|
@ -20,15 +22,7 @@ export default {
|
|||
|
||||
<style lang="scss" scoped>
|
||||
.label--add {
|
||||
&::v-deep .label {
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border-color: var(--s-600);
|
||||
margin: 0;
|
||||
|
||||
&:hover {
|
||||
background: var(--s-50);
|
||||
}
|
||||
}
|
||||
margin-bottom: var(--space-micro);
|
||||
margin-right: var(--space-micro);
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue