From f49d66d9af822f04ff66018641303028e153f4f9 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 18 Nov 2021 10:36:12 +0100 Subject: [PATCH] fix(theme): chip color issues --- front/core/components/table/style.scss | 9 ++++++--- front/core/styles/variables.scss | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/front/core/components/table/style.scss b/front/core/components/table/style.scss index c73a7f0b0..edb40d385 100644 --- a/front/core/components/table/style.scss +++ b/front/core/components/table/style.scss @@ -132,23 +132,26 @@ vn-table { .chip { padding: 4px; border-radius: 4px; - color: $color-font-bg; &.notice { - background-color: $color-notice-medium + background-color: $color-notice-medium; + color: $color-font-bg; } &.success { background-color: $color-success-medium; + color: $color-font-bg; } &.warning { background-color: $color-main-medium; + color: $color-font-bg; } &.alert { background-color: $color-alert-medium; + color: $color-font-bg; } &.message { + background-color: $color-bg-dark; color: $color-font-dark; - background-color: $color-bg-dark } } vn-icon-menu { diff --git a/front/core/styles/variables.scss b/front/core/styles/variables.scss index 0c25aa873..4a00d716d 100644 --- a/front/core/styles/variables.scss +++ b/front/core/styles/variables.scss @@ -83,7 +83,7 @@ $color-font: #eee; $color-font-light: #aaa; $color-font-secondary: #777; $color-font-dark: white; -$color-font-link: $color-primary; +$color-font-link: #66bfff; $color-font-bg: rgba(0, 0, 0, .8); $color-font-bg-marginal: rgba(0, 0, 0, .4); $color-font-bg-dark: rgba(255, 255, 255, .7); @@ -100,7 +100,7 @@ $color-main: $color-primary; $color-marginal: #111; $color-success: #a3d131; $color-notice: #32b1ce; -$color-alert: #f42121; +$color-alert: #fa3939; $color-button: $color-secondary; $color-spacer: rgba(255, 255, 255, .3);