summaryrefslogtreecommitdiff
path: root/src/assets
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-07-09 02:15:46 +0300
committerDerick Montague <derick.montague@ibm.com>2020-07-27 16:38:28 +0300
commitd388a28b478bf0224e37e292f8bc30fabe2c7059 (patch)
treece816f9b249b1eb6ebcf6448d18752f12cbaf9de /src/assets
parent6534e58bc4c46165d846f786804f534aab29912d (diff)
downloadwebui-vue-d388a28b478bf0224e37e292f8bc30fabe2c7059.tar.xz
Add ability to customize theme styles
Showcases how different themes/styles can be supported using .env variables. If an environemnt name is specified during the build process, an overrides file will be pulled in to allow modifications to color and font definitions. This commit includes possible style modifications with the openpower env name as an example. To see the openpower changes, add the variable definition VUE_APP_NAME="openpower" to your .env.development.local file or build using 'npm run build -- --mode openpower' - Moves helper imports into vue config to allow for specific import order - Removed helper imports in SFCs Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iaf7a59c24fda06a7b74e23f2f042fb3300cb2056
Diffstat (limited to 'src/assets')
-rw-r--r--src/assets/styles/_obmc-custom.scss7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/assets/styles/_obmc-custom.scss b/src/assets/styles/_obmc-custom.scss
index c063458c..068364cf 100644
--- a/src/assets/styles/_obmc-custom.scss
+++ b/src/assets/styles/_obmc-custom.scss
@@ -1,10 +1,3 @@
-// BMC Helpers must be imported before Bootstrap helpers to
-// take advantage of Bootstrap's use of the Sass !default
-// statement. Moving this helper after results in Bootstrap
-// variables taking precedence over BMC's
-@import "./bmc/helpers";
-@import "./bootstrap/helpers";
-
// Vendor styles
@import "./bootstrap";
@import "~bootstrap-vue/src/index";