@vertigis/react-ui 8.15.1 → 8.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/package.json +1 -1
- package/styles/createTheme.js +2 -1
package/LICENSE
CHANGED
package/package.json
CHANGED
package/styles/createTheme.js
CHANGED
|
@@ -546,7 +546,8 @@ function getOverrides(theme) {
|
|
|
546
546
|
};
|
|
547
547
|
}
|
|
548
548
|
function createTheme(options) {
|
|
549
|
-
// Merge the
|
|
549
|
+
// Merge the VertiGIS Studio theme defaults with any user specified theme
|
|
550
|
+
// options
|
|
550
551
|
const mode = options && options.palette && options.palette.type === "dark" ? "dark" : "light";
|
|
551
552
|
// If we are using light mode, then we want to use our defined light theme palette
|
|
552
553
|
const themeTypeOptions = mode === "light" ? lightThemeOverrides : {};
|