diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-07-09 02:15:46 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-07-27 16:38:28 +0300 |
commit | d388a28b478bf0224e37e292f8bc30fabe2c7059 (patch) | |
tree | ce816f9b249b1eb6ebcf6448d18752f12cbaf9de /src/views/Control | |
parent | 6534e58bc4c46165d846f786804f534aab29912d (diff) | |
download | webui-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/views/Control')
-rw-r--r-- | src/views/Control/Kvm/KvmConsole.vue | 1 | ||||
-rw-r--r-- | src/views/Control/ServerPowerOperations/BootSettings.vue | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/views/Control/Kvm/KvmConsole.vue b/src/views/Control/Kvm/KvmConsole.vue index 080f72e8..6881b690 100644 --- a/src/views/Control/Kvm/KvmConsole.vue +++ b/src/views/Control/Kvm/KvmConsole.vue @@ -57,7 +57,6 @@ export default { </script> <style scoped lang="scss"> -@import 'src/assets/styles/helpers'; #terminal { height: calc(100vh - 42px); } diff --git a/src/views/Control/ServerPowerOperations/BootSettings.vue b/src/views/Control/ServerPowerOperations/BootSettings.vue index 16d567a7..8f54cbb8 100644 --- a/src/views/Control/ServerPowerOperations/BootSettings.vue +++ b/src/views/Control/ServerPowerOperations/BootSettings.vue @@ -147,8 +147,6 @@ export default { </script> <style lang="scss" scoped> -@import 'src/assets/styles/helpers'; - .boot-settings { background-color: gray('200'); } |