Switch between dark and light mode
Overview
OnSphere currently supports two display mode :
dark-mode
light-mode
Note
The display mode is saved in the user preference.
Usage
You can specify which theme mode to use for front-end:
light: Uses light theme
dark: Uses dark theme (default)
You can also specify if the user can change the theme manually by using the icon in the dashboard header which is enabled by default. To disable this functionality, set modeIsLocked to true in stack.cfg file :
{
"theme": {
"mode": "dark",
"modeIsLocked": false
}
}