From f31c6d5de285665aff508d15c6121653b274e09d Mon Sep 17 00:00:00 2001 From: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> Date: Mon, 20 Jun 2022 15:09:22 +0530 Subject: [PATCH] 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 --- .../assets/scss/_foundation-settings.scss | 4 +- .../dashboard/components/ui/Label.vue | 59 ++++++++++++++++--- .../components/widgets/LabelSelector.vue | 3 +- .../conversation/labels/LabelBox.vue | 3 +- .../shared/assets/stylesheets/colors.scss | 10 ++-- .../components/ui/dropdown/AddLabel.vue | 26 ++++---- 6 files changed, 71 insertions(+), 34 deletions(-) diff --git a/app/javascript/dashboard/assets/scss/_foundation-settings.scss b/app/javascript/dashboard/assets/scss/_foundation-settings.scss index c6b7f6fd3..d13dcbe5e 100644 --- a/app/javascript/dashboard/assets/scss/_foundation-settings.scss +++ b/app/javascript/dashboard/assets/scss/_foundation-settings.scss @@ -383,8 +383,8 @@ $form-button-radius: var(--border-radius-normal); // 20. Label // --------- -$label-background: $primary-color; -$label-color: $white; +$label-background: $white; +$label-color: $black; $label-color-alt: $black; $label-palette: $foundation-palette; $label-font-size: $font-size-mini; diff --git a/app/javascript/dashboard/components/ui/Label.vue b/app/javascript/dashboard/components/ui/Label.vue index 504f6fc9e..d4059d21c 100644 --- a/app/javascript/dashboard/components/ui/Label.vue +++ b/app/javascript/dashboard/components/ui/Label.vue @@ -1,13 +1,18 @@