sapo-components-ui-rn 1.0.20 → 1.0.21
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.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +7 -0
- package/package.json +1 -1
- package/src/core/theming.tsx +1 -1
- package/src/types.ts +7 -1
package/dist/index.esm.js
CHANGED
|
@@ -1431,7 +1431,7 @@ var getTheme = function (isDark) {
|
|
|
1431
1431
|
function adaptNavigationTheme(themes) {
|
|
1432
1432
|
var reactNavigationLight = themes.reactNavigationLight, reactNavigationDark = themes.reactNavigationDark, materialLight = themes.materialLight, materialDark = themes.materialDark;
|
|
1433
1433
|
var getAdaptedTheme = function (navigationTheme, AppTheme) {
|
|
1434
|
-
return __assign(__assign({}, navigationTheme), { colors: __assign(__assign({}, navigationTheme.colors), { primary: AppTheme.colors.surfaceBrandDefault, background: AppTheme.colors.backgroundPrimary, card: AppTheme.colors.
|
|
1434
|
+
return __assign(__assign({}, navigationTheme), { colors: __assign(__assign({}, navigationTheme.colors), { primary: AppTheme.colors.surfaceBrandDefault, background: AppTheme.colors.backgroundPrimary, card: AppTheme.colors.card, text: AppTheme.colors.backgroundPrimary, border: AppTheme.colors.borderPrimaryDefault, notification: AppTheme.colors.surfaceErrorDefault }) });
|
|
1435
1435
|
};
|
|
1436
1436
|
var AppThemes = {
|
|
1437
1437
|
light: materialLight || LightTheme,
|