primus-saas-react 1.0.6 → 1.0.8
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/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/styles.css +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -912,8 +912,8 @@ function usePrimusTheme() {
|
|
|
912
912
|
const context = (0, import_react12.useContext)(PrimusThemeContext);
|
|
913
913
|
if (!context) {
|
|
914
914
|
return {
|
|
915
|
-
theme: "
|
|
916
|
-
colors: themeColors.
|
|
915
|
+
theme: "light",
|
|
916
|
+
colors: themeColors.light,
|
|
917
917
|
setTheme: () => console.warn("PrimusThemeProvider not found"),
|
|
918
918
|
toggleTheme: () => console.warn("PrimusThemeProvider not found")
|
|
919
919
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -836,8 +836,8 @@ function usePrimusTheme() {
|
|
|
836
836
|
const context = useContext(PrimusThemeContext);
|
|
837
837
|
if (!context) {
|
|
838
838
|
return {
|
|
839
|
-
theme: "
|
|
840
|
-
colors: themeColors.
|
|
839
|
+
theme: "light",
|
|
840
|
+
colors: themeColors.light,
|
|
841
841
|
setTheme: () => console.warn("PrimusThemeProvider not found"),
|
|
842
842
|
toggleTheme: () => console.warn("PrimusThemeProvider not found")
|
|
843
843
|
};
|
package/dist/styles.css
CHANGED