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/_buttons.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/_buttons.scss')
-rw-r--r-- | src/assets/styles/bmc/custom/_buttons.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/assets/styles/bmc/custom/_buttons.scss b/src/assets/styles/bmc/custom/_buttons.scss index b9b8073b..3f111302 100644 --- a/src/assets/styles/bmc/custom/_buttons.scss +++ b/src/assets/styles/bmc/custom/_buttons.scss @@ -21,23 +21,23 @@ } .btn-link { - fill: $primary; + fill: theme-color("primary"); text-decoration: none !important; &:focus { box-shadow: $btn-focus-box-shadow; } &:hover { - fill: darken($primary, 15%); + fill: darken(theme-color("primary"), 15%); } } .btn:disabled { - color: $gray-600; + color: gray("600"); fill: currentColor; &:not(.btn-link) { - border-color: $gray-400; - background-color: $gray-400; + border-color: gray("400"); + background-color: gray("400"); } }
\ No newline at end of file |