diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-07-09 01:46:43 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-07-21 01:28:16 +0300 |
commit | 01da81870818c364a67d9ba97ca84aec9afbcc4d (patch) | |
tree | 5962f489c9f86a46b3dab40734b882723a347f42 /src/assets/styles/bmc/custom/_alert.scss | |
parent | 330585760167d233a67a9301be991ba26b8e57df (diff) | |
download | webui-vue-01da81870818c364a67d9ba97ca84aec9afbcc4d.tar.xz |
Update use of Sass variables for better theming
Use Bootstrap color functions for theme-colors and grays instead
of directly referencing Sass variable to allow more flexible
theming.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: Id08b77ff6df3bdf99400dcdfe964853706f1070f
Diffstat (limited to 'src/assets/styles/bmc/custom/_alert.scss')
-rw-r--r-- | src/assets/styles/bmc/custom/_alert.scss | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/assets/styles/bmc/custom/_alert.scss b/src/assets/styles/bmc/custom/_alert.scss index 0b7b518a..1d28f2ae 100644 --- a/src/assets/styles/bmc/custom/_alert.scss +++ b/src/assets/styles/bmc/custom/_alert.scss @@ -2,7 +2,7 @@ display: flex; padding: $spacer; border-width: 0 0 0 3px; - color: $gray-800; + color: gray("800"); margin-bottom: $spacer; &.small { @@ -45,20 +45,20 @@ } &.alert-info { - border-left-color: $info; + border-left-color: theme-color("info"); background-color: $info-light; - fill: $info; + fill: theme-color("info"); } &.alert-danger { - border-left-color: $danger; + border-left-color: theme-color("danger"); background-color: $danger-light; - fill: $danger; + fill: theme-color("danger"); } &.alert-warning { - border-left-color: $warning; + border-left-color: theme-color("warning"); background-color: $warning-light; - fill: $warning; + fill: theme-color("warning"); } }
\ No newline at end of file |