@telefonica/mistica 13.6.0 → 14.0.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.
@@ -1,2 +1,2 @@
1
- const o = "13.6.0";
1
+ const o = "14.0.0";
2
2
  export { o as PACKAGE_VERSION };
@@ -48,7 +48,7 @@ const e = {
48
48
  backgroundBrandSecondary: e.blauBluePrimary,
49
49
  backgroundOverlay: r(e.blauBlueSecondary, 0.75),
50
50
  backgroundSkeleton: e.grey2,
51
- backgroundSkeletonInverse: r(e.white, 0.2),
51
+ backgroundSkeletonInverse: r(e.white, 0.3),
52
52
  navigationBarBackground: e.blauBluePrimary,
53
53
  backgroundAlternative: e.blauBluePrimary20,
54
54
  backgroundFeedbackBottom: e.blauBluePrimary,
@@ -109,7 +109,7 @@ const e = {
109
109
  textPrimary: e.grey6,
110
110
  textPrimaryInverse: e.white,
111
111
  textSecondary: e.grey5,
112
- textSecondaryInverse: e.white,
112
+ textSecondaryInverse: e.blauBluePrimary20,
113
113
  error: e.blauRed,
114
114
  success: e.blauGreen,
115
115
  warning: e.blauYellow,
@@ -0,0 +1,247 @@
1
+ import { applyAlpha as r } from "../utils/color.js";
2
+ import { MOVISTAR_SKIN as n } from "./constants.js";
3
+ const e = {
4
+ movistarBlue: "#019DF4",
5
+ movistarBlue10: "#E6F5FD",
6
+ movistarBlue20: "#B3E1FB",
7
+ movistarBlue30: "#80CEF9",
8
+ movistarBlue40: "#4DBAF7",
9
+ movistarBlue55: "#008EDD",
10
+ movistarGreen: "#5CB615",
11
+ movistarGreen10: "#EFF8E8",
12
+ movistarGreen30: "#ADDA8A",
13
+ movistarGreen40: "#8DCC5B",
14
+ movistarGreen60: "#499110",
15
+ movistarGreen70: "#407F0F",
16
+ pepper: "#FF374A",
17
+ pepper10: "#FFEBED",
18
+ pepper20: "#FFC3C8",
19
+ pepper40: "#FF7380",
20
+ pepper55: "#D73241",
21
+ pepper70: "#B22634",
22
+ egg: "#F28D15",
23
+ egg10: "#FEF4E8",
24
+ egg40: "#F6AF5B",
25
+ egg80: "#6D3F09",
26
+ pink: "#E63780",
27
+ purple: "#A13EA1",
28
+ purple10: "#F6ECF6",
29
+ purple40: "#BD78BD",
30
+ purple70: "#712B71",
31
+ grey1: "#F6F6F6",
32
+ grey2: "#EEEEEE",
33
+ grey3: "#DDDDDD",
34
+ grey4: "#999999",
35
+ grey5: "#86888C",
36
+ grey6: "#313235",
37
+ white: "#FFFFFF",
38
+ movistarProminentBlue: "#0B2739",
39
+ movistarProminentBlueDark: "#081F2D",
40
+ movistarProminentBlueLight20: "#CED3D7",
41
+ movistarProminentBlueLight50: "#85939C",
42
+ movistarProminentBlueLight70: "#546874",
43
+ darkModeBlack: "#191919",
44
+ darkModeGrey: "#242424"
45
+ }, d = (o)=>{
46
+ const t = {
47
+ name: n,
48
+ colors: {
49
+ appBarBackground: e.white,
50
+ background: e.white,
51
+ backgroundContainer: e.white,
52
+ backgroundBrand: e.movistarBlue,
53
+ backgroundBrandSecondary: e.movistarBlue,
54
+ backgroundOverlay: r(e.grey6, 0.6),
55
+ backgroundSkeleton: e.grey2,
56
+ backgroundSkeletonInverse: e.movistarBlue55,
57
+ navigationBarBackground: e.movistarBlue,
58
+ backgroundAlternative: e.grey1,
59
+ backgroundFeedbackBottom: e.movistarBlue,
60
+ skeletonWave: e.grey2,
61
+ borderLow: e.grey1,
62
+ border: e.grey3,
63
+ borderHigh: e.grey5,
64
+ borderSelected: e.movistarBlue,
65
+ buttonDangerBackground: e.pepper,
66
+ buttonDangerBackgroundSelected: e.pepper55,
67
+ buttonDangerBackgroundHover: e.pepper55,
68
+ buttonLinkBackgroundSelected: e.movistarBlue10,
69
+ buttonLinkBackgroundInverseSelected: r(e.white, 0.2),
70
+ buttonPrimaryBackground: e.movistarBlue,
71
+ buttonPrimaryBackgroundInverse: e.white,
72
+ buttonPrimaryBackgroundSelected: e.movistarBlue55,
73
+ buttonPrimaryBackgroundHover: e.movistarBlue55,
74
+ buttonPrimaryBackgroundInverseSelected: e.movistarBlue30,
75
+ buttonSecondaryBorder: e.movistarBlue,
76
+ buttonSecondaryBorderSelected: e.movistarBlue55,
77
+ buttonSecondaryBorderInverse: e.white,
78
+ buttonSecondaryBorderInverseSelected: e.white,
79
+ buttonSecondaryBackgroundHover: e.movistarBlue10,
80
+ buttonSecondaryBackgroundSelected: e.movistarBlue10,
81
+ buttonSecondaryBackgroundInverseHover: r(e.white, 0.2),
82
+ buttonSecondaryBackgroundInverseSelected: r(e.white, 0.2),
83
+ textButtonPrimary: e.white,
84
+ textButtonPrimaryInverse: e.movistarBlue,
85
+ textButtonPrimaryInverseSelected: e.movistarBlue,
86
+ textButtonSecondary: e.movistarBlue,
87
+ textButtonSecondarySelected: e.movistarBlue55,
88
+ textButtonSecondaryInverse: e.white,
89
+ textButtonSecondaryInverseSelected: e.white,
90
+ textLink: e.movistarBlue,
91
+ textLinkInverse: e.white,
92
+ textLinkDanger: e.pepper,
93
+ textLinkSnackbar: e.movistarBlue30,
94
+ control: e.grey3,
95
+ controlActivated: e.movistarBlue,
96
+ controlError: e.pepper,
97
+ loadingBar: e.movistarBlue30,
98
+ loadingBarBackground: e.movistarBlue55,
99
+ toggleAndroidInactive: e.grey2,
100
+ toggleAndroidBackgroundActive: e.movistarBlue20,
101
+ iosControlKnob: e.white,
102
+ divider: e.grey2,
103
+ dividerInverse: e.movistarBlue55,
104
+ navigationBarDivider: e.movistarBlue,
105
+ badge: e.pepper55,
106
+ feedbackErrorBackground: e.pepper,
107
+ feedbackInfoBackground: e.grey6,
108
+ brand: e.movistarBlue,
109
+ brandHigh: e.movistarBlue55,
110
+ inverse: e.white,
111
+ neutralHigh: e.grey6,
112
+ neutralMedium: e.grey5,
113
+ neutralLow: e.grey1,
114
+ promo: e.purple,
115
+ highlight: e.pink,
116
+ textPrimary: e.grey6,
117
+ textPrimaryInverse: e.white,
118
+ textSecondary: e.grey5,
119
+ textSecondaryInverse: e.white,
120
+ error: e.pepper,
121
+ success: e.movistarGreen,
122
+ warning: e.egg,
123
+ textNavigationBarPrimary: e.white,
124
+ textNavigationBarSecondary: e.movistarBlue20,
125
+ textNavigationSearchBarHint: e.movistarBlue20,
126
+ textNavigationSearchBarText: e.white,
127
+ textAppBar: e.grey4,
128
+ textAppBarSelected: e.movistarBlue,
129
+ successLow: e.movistarGreen10,
130
+ warningLow: e.egg10,
131
+ errorLow: e.pepper10,
132
+ promoLow: e.purple10,
133
+ brandLow: e.movistarBlue10,
134
+ successHigh: e.movistarGreen70,
135
+ warningHigh: e.egg80,
136
+ errorHigh: e.pepper70,
137
+ promoHigh: e.purple70,
138
+ successHighInverse: e.movistarGreen70,
139
+ warningHighInverse: e.egg80,
140
+ errorHighInverse: e.pepper70,
141
+ promoHighInverse: e.purple70,
142
+ neutralMediumInverse: e.grey5
143
+ },
144
+ darkModeColors: {
145
+ brand: e.movistarBlue,
146
+ appBarBackground: e.darkModeGrey,
147
+ background: e.darkModeBlack,
148
+ backgroundContainer: e.darkModeGrey,
149
+ backgroundBrand: e.darkModeBlack,
150
+ backgroundBrandSecondary: e.darkModeBlack,
151
+ backgroundOverlay: r(e.darkModeGrey, 0.8),
152
+ backgroundSkeleton: e.grey6,
153
+ backgroundSkeletonInverse: e.grey6,
154
+ navigationBarBackground: e.darkModeBlack,
155
+ backgroundAlternative: e.darkModeGrey,
156
+ backgroundFeedbackBottom: e.darkModeBlack,
157
+ skeletonWave: e.grey5,
158
+ borderLow: e.darkModeBlack,
159
+ border: e.darkModeGrey,
160
+ buttonLinkBackgroundSelected: r(e.white, 0.05),
161
+ buttonLinkBackgroundInverseSelected: r(e.white, 0.05),
162
+ buttonPrimaryBackground: e.movistarBlue,
163
+ buttonPrimaryBackgroundInverse: e.movistarBlue,
164
+ buttonPrimaryBackgroundSelected: e.movistarBlue55,
165
+ buttonPrimaryBackgroundHover: e.movistarBlue55,
166
+ buttonPrimaryBackgroundInverseSelected: e.movistarBlue55,
167
+ buttonSecondaryBorder: e.white,
168
+ buttonSecondaryBorderSelected: e.white,
169
+ buttonSecondaryBorderInverse: e.white,
170
+ buttonSecondaryBorderInverseSelected: e.white,
171
+ buttonSecondaryBackgroundHover: r(e.white, 0.15),
172
+ buttonSecondaryBackgroundSelected: r(e.white, 0.15),
173
+ buttonSecondaryBackgroundInverseHover: r(e.white, 0.15),
174
+ buttonSecondaryBackgroundInverseSelected: r(e.white, 0.15),
175
+ textButtonPrimary: e.grey2,
176
+ textButtonPrimaryInverse: e.grey2,
177
+ textButtonPrimaryInverseSelected: e.grey2,
178
+ textButtonSecondary: e.grey2,
179
+ textButtonSecondarySelected: e.grey2,
180
+ textButtonSecondaryInverse: e.grey2,
181
+ textButtonSecondaryInverseSelected: e.grey2,
182
+ textLink: e.movistarBlue,
183
+ textLinkInverse: e.movistarBlue,
184
+ control: e.grey6,
185
+ controlActivated: e.movistarBlue,
186
+ loadingBar: e.movistarBlue,
187
+ loadingBarBackground: r(e.white, 0.05),
188
+ toggleAndroidInactive: e.grey4,
189
+ toggleAndroidBackgroundActive: e.movistarBlue20,
190
+ iosControlKnob: e.grey2,
191
+ divider: r(e.white, 0.05),
192
+ dividerInverse: r(e.white, 0.05),
193
+ navigationBarDivider: e.darkModeBlack,
194
+ brandHigh: e.grey6,
195
+ inverse: e.grey2,
196
+ neutralHigh: e.grey2,
197
+ neutralMedium: e.grey5,
198
+ neutralLow: e.grey6,
199
+ textPrimary: e.grey2,
200
+ textPrimaryInverse: e.grey2,
201
+ textSecondary: e.grey4,
202
+ textSecondaryInverse: e.grey4,
203
+ textNavigationBarPrimary: e.grey2,
204
+ textNavigationBarSecondary: e.grey4,
205
+ textNavigationSearchBarHint: e.grey4,
206
+ textNavigationSearchBarText: e.grey2,
207
+ textAppBar: e.grey5,
208
+ textAppBarSelected: e.grey2,
209
+ successLow: e.grey6,
210
+ warningLow: e.grey6,
211
+ errorLow: e.grey6,
212
+ promoLow: e.grey6,
213
+ brandLow: e.grey6,
214
+ successHigh: e.movistarGreen40,
215
+ warningHigh: e.egg40,
216
+ errorHigh: e.pepper40,
217
+ promoHigh: e.purple40,
218
+ successHighInverse: e.movistarGreen70,
219
+ warningHighInverse: e.egg80,
220
+ errorHighInverse: e.pepper70,
221
+ promoHighInverse: e.purple70,
222
+ neutralMediumInverse: e.grey5
223
+ },
224
+ textPresets: {
225
+ text5: {
226
+ weight: "bold"
227
+ },
228
+ text6: {
229
+ weight: "bold"
230
+ },
231
+ text7: {
232
+ weight: "bold"
233
+ },
234
+ text8: {
235
+ weight: "bold"
236
+ },
237
+ text9: {
238
+ weight: "bold"
239
+ },
240
+ text10: {
241
+ weight: "bold"
242
+ }
243
+ }
244
+ };
245
+ return o === "prominent" && (t.colors.brand = e.movistarProminentBlue, t.colors.brandHigh = e.movistarProminentBlueDark, t.colors.backgroundBrand = e.movistarProminentBlue, t.colors.navigationBarBackground = e.movistarProminentBlue, t.colors.backgroundFeedbackBottom = e.movistarProminentBlue, t.colors.controlActivated = e.movistarProminentBlue, t.colors.dividerInverse = e.movistarProminentBlueDark), t;
246
+ };
247
+ export { d as getMovistarLegacySkin, e as palette };
@@ -1,5 +1,5 @@
1
1
  import { applyAlpha as r } from "../utils/color.js";
2
- import { MOVISTAR_SKIN as n } from "./constants.js";
2
+ import { MOVISTAR_SKIN as t } from "./constants.js";
3
3
  const e = {
4
4
  movistarBlue: "#019DF4",
5
5
  movistarBlue10: "#E6F5FD",
@@ -7,6 +7,7 @@ const e = {
7
7
  movistarBlue30: "#80CEF9",
8
8
  movistarBlue40: "#4DBAF7",
9
9
  movistarBlue55: "#008EDD",
10
+ movistarBlueDark: "#0B2739",
10
11
  movistarGreen: "#5CB615",
11
12
  movistarGreen10: "#EFF8E8",
12
13
  movistarGreen30: "#ADDA8A",
@@ -40,20 +41,24 @@ const e = {
40
41
  movistarProminentBlueLight20: "#CED3D7",
41
42
  movistarProminentBlueLight50: "#85939C",
42
43
  movistarProminentBlueLight70: "#546874",
43
- darkModeBlack: "#191919",
44
- darkModeGrey: "#242424"
45
- }, d = (o)=>{
46
- const t = {
47
- name: n,
44
+ darkModeBlack: "#061824",
45
+ darkModeGrey: "#092130",
46
+ darkModeGrey2: "#EAEBEE",
47
+ darkModeGrey3: "#CED4D7",
48
+ darkModeGrey4: "#85939C",
49
+ darkModeGrey5: "#6D7D88",
50
+ darkModeGrey6: "#3C5261"
51
+ }, d = ()=>({
52
+ name: t,
48
53
  colors: {
49
54
  appBarBackground: e.white,
50
55
  background: e.white,
51
56
  backgroundContainer: e.white,
52
57
  backgroundBrand: e.movistarBlue,
53
- backgroundBrandSecondary: e.movistarBlue,
54
- backgroundOverlay: r(e.grey6, 0.6),
58
+ backgroundBrandSecondary: e.movistarBlueDark,
59
+ backgroundOverlay: r(e.movistarBlueDark, 0.6),
55
60
  backgroundSkeleton: e.grey2,
56
- backgroundSkeletonInverse: e.movistarBlue55,
61
+ backgroundSkeletonInverse: r(e.white, 0.2),
57
62
  navigationBarBackground: e.movistarBlue,
58
63
  backgroundAlternative: e.grey1,
59
64
  backgroundFeedbackBottom: e.movistarBlue,
@@ -104,19 +109,19 @@ const e = {
104
109
  navigationBarDivider: e.movistarBlue,
105
110
  badge: e.pepper55,
106
111
  feedbackErrorBackground: e.pepper,
107
- feedbackInfoBackground: e.grey6,
112
+ feedbackInfoBackground: e.movistarBlueDark,
108
113
  brand: e.movistarBlue,
109
114
  brandHigh: e.movistarBlue55,
110
115
  inverse: e.white,
111
- neutralHigh: e.grey6,
116
+ neutralHigh: e.movistarBlueDark,
112
117
  neutralMedium: e.grey5,
113
118
  neutralLow: e.grey1,
114
119
  promo: e.purple,
115
120
  highlight: e.pink,
116
- textPrimary: e.grey6,
121
+ textPrimary: e.movistarBlueDark,
117
122
  textPrimaryInverse: e.white,
118
123
  textSecondary: e.grey5,
119
- textSecondaryInverse: e.white,
124
+ textSecondaryInverse: e.movistarBlue10,
120
125
  error: e.pepper,
121
126
  success: e.movistarGreen,
122
127
  warning: e.egg,
@@ -142,19 +147,19 @@ const e = {
142
147
  neutralMediumInverse: e.grey5
143
148
  },
144
149
  darkModeColors: {
145
- brand: e.movistarBlue,
146
150
  appBarBackground: e.darkModeGrey,
147
151
  background: e.darkModeBlack,
148
152
  backgroundContainer: e.darkModeGrey,
149
153
  backgroundBrand: e.darkModeBlack,
150
154
  backgroundBrandSecondary: e.darkModeBlack,
151
155
  backgroundOverlay: r(e.darkModeGrey, 0.8),
152
- backgroundSkeleton: e.grey6,
153
- backgroundSkeletonInverse: e.grey6,
156
+ backgroundSkeleton: e.darkModeGrey6,
157
+ backgroundSkeletonInverse: e.darkModeGrey6,
154
158
  navigationBarBackground: e.darkModeBlack,
155
159
  backgroundAlternative: e.darkModeGrey,
156
160
  backgroundFeedbackBottom: e.darkModeBlack,
157
- skeletonWave: e.grey5,
161
+ skeletonWave: e.darkModeGrey5,
162
+ borderHigh: e.darkModeGrey4,
158
163
  borderLow: e.darkModeBlack,
159
164
  border: e.darkModeGrey,
160
165
  buttonLinkBackgroundSelected: r(e.white, 0.05),
@@ -172,40 +177,40 @@ const e = {
172
177
  buttonSecondaryBackgroundSelected: r(e.white, 0.15),
173
178
  buttonSecondaryBackgroundInverseHover: r(e.white, 0.15),
174
179
  buttonSecondaryBackgroundInverseSelected: r(e.white, 0.15),
175
- textButtonPrimary: e.grey2,
176
- textButtonPrimaryInverse: e.grey2,
177
- textButtonPrimaryInverseSelected: e.grey2,
178
- textButtonSecondary: e.grey2,
179
- textButtonSecondarySelected: e.grey2,
180
- textButtonSecondaryInverse: e.grey2,
181
- textButtonSecondaryInverseSelected: e.grey2,
180
+ textButtonPrimary: e.darkModeGrey2,
181
+ textButtonPrimaryInverse: e.darkModeGrey2,
182
+ textButtonPrimaryInverseSelected: e.darkModeGrey2,
183
+ textButtonSecondary: e.darkModeGrey2,
184
+ textButtonSecondarySelected: e.darkModeGrey2,
185
+ textButtonSecondaryInverse: e.darkModeGrey2,
186
+ textButtonSecondaryInverseSelected: e.darkModeGrey2,
182
187
  textLink: e.movistarBlue,
183
188
  textLinkInverse: e.movistarBlue,
184
- control: e.grey6,
189
+ control: e.darkModeGrey6,
185
190
  controlActivated: e.movistarBlue,
186
191
  loadingBar: e.movistarBlue,
187
192
  loadingBarBackground: r(e.white, 0.05),
188
- toggleAndroidInactive: e.grey4,
193
+ toggleAndroidInactive: e.darkModeGrey4,
189
194
  toggleAndroidBackgroundActive: e.movistarBlue20,
190
- iosControlKnob: e.grey2,
195
+ iosControlKnob: e.darkModeGrey2,
191
196
  divider: r(e.white, 0.05),
192
197
  dividerInverse: r(e.white, 0.05),
193
198
  navigationBarDivider: e.darkModeBlack,
194
- brandHigh: e.grey6,
195
- inverse: e.grey2,
196
- neutralHigh: e.grey2,
197
- neutralMedium: e.grey5,
198
- neutralLow: e.grey6,
199
- textPrimary: e.grey2,
200
- textPrimaryInverse: e.grey2,
201
- textSecondary: e.grey4,
202
- textSecondaryInverse: e.grey4,
203
- textNavigationBarPrimary: e.grey2,
204
- textNavigationBarSecondary: e.grey4,
205
- textNavigationSearchBarHint: e.grey4,
206
- textNavigationSearchBarText: e.grey2,
207
- textAppBar: e.grey5,
208
- textAppBarSelected: e.grey2,
199
+ brandHigh: e.darkModeGrey6,
200
+ inverse: e.darkModeGrey2,
201
+ neutralHigh: e.darkModeGrey2,
202
+ neutralMedium: e.darkModeGrey5,
203
+ neutralLow: e.darkModeGrey6,
204
+ textPrimary: e.darkModeGrey2,
205
+ textPrimaryInverse: e.darkModeGrey2,
206
+ textSecondary: e.darkModeGrey4,
207
+ textSecondaryInverse: e.darkModeGrey4,
208
+ textNavigationBarPrimary: e.darkModeGrey2,
209
+ textNavigationBarSecondary: e.darkModeGrey4,
210
+ textNavigationSearchBarHint: e.darkModeGrey4,
211
+ textNavigationSearchBarText: e.darkModeGrey2,
212
+ textAppBar: e.darkModeGrey5,
213
+ textAppBarSelected: e.darkModeGrey2,
209
214
  successLow: e.grey6,
210
215
  warningLow: e.grey6,
211
216
  errorLow: e.grey6,
@@ -239,9 +244,10 @@ const e = {
239
244
  },
240
245
  text10: {
241
246
  weight: "bold"
247
+ },
248
+ cardTitle: {
249
+ weight: "bold"
242
250
  }
243
251
  }
244
- };
245
- return o === "prominent" && (t.colors.brand = e.movistarProminentBlue, t.colors.brandHigh = e.movistarProminentBlueDark, t.colors.backgroundBrand = e.movistarProminentBlue, t.colors.navigationBarBackground = e.movistarProminentBlue, t.colors.backgroundFeedbackBottom = e.movistarProminentBlue, t.colors.controlActivated = e.movistarProminentBlue, t.colors.dividerInverse = e.movistarProminentBlueDark), t;
246
- };
252
+ });
247
253
  export { d as getMovistarSkin, e as palette };
@@ -123,7 +123,7 @@ const e = {
123
123
  textPrimary: e.grey6,
124
124
  textPrimaryInverse: e.white,
125
125
  textSecondary: e.grey5,
126
- textSecondaryInverse: e.white,
126
+ textSecondaryInverse: e.o2SkyBlueLight20,
127
127
  error: e.pepper,
128
128
  success: e.o2Green,
129
129
  warning: e.orange,
@@ -113,7 +113,7 @@ const e = {
113
113
  textPrimary: e.grey6,
114
114
  textPrimaryInverse: e.white,
115
115
  textSecondary: e.grey5,
116
- textSecondaryInverse: e.white,
116
+ textSecondaryInverse: e.o2BluePrimary15,
117
117
  error: e.pepper,
118
118
  success: e.o2Green,
119
119
  warning: e.o2Orange,
@@ -109,7 +109,7 @@ const e = {
109
109
  textPrimary: e.grey9,
110
110
  textPrimaryInverse: e.white,
111
111
  textSecondary: e.grey5,
112
- textSecondaryInverse: e.white,
112
+ textSecondaryInverse: e.telefonicaBlue10,
113
113
  error: e.coral,
114
114
  success: e.turquoise,
115
115
  warning: e.ambar,
@@ -1,4 +1,4 @@
1
- import * as o from "react";
1
+ import * as n from "react";
2
2
  import { MOVISTAR_SKIN as i, O2_CLASSIC_SKIN as a, O2_SKIN as c, VIVO_SKIN as m, TELEFONICA_SKIN as s, BLAU_SKIN as S } from "./constants.js";
3
3
  import { getBlauSkin as p } from "./blau.js";
4
4
  import { getTelefonicaSkin as u } from "./telefonica.js";
@@ -6,7 +6,7 @@ import { getVivoSkin as f } from "./vivo.js";
6
6
  import { getO2Skin as I } from "./o2.js";
7
7
  import { getO2ClassicSkin as k } from "./o2-classic.js";
8
8
  import { getMovistarSkin as g } from "./movistar.js";
9
- const C = (r, n)=>{
9
+ const C = (r, o)=>{
10
10
  switch(r){
11
11
  case S:
12
12
  return p();
@@ -19,9 +19,9 @@ const C = (r, n)=>{
19
19
  case a:
20
20
  return k();
21
21
  case i:
22
- return g(n);
22
+ return g();
23
23
  default:
24
24
  throw Error("Unknown skin name: " + r);
25
25
  }
26
- }, N = (r)=>o.Children.toArray(r).reduce((t, e)=>e.type === o.Fragment ? t.concat(N(e.props.children)) : (t.push(e), t), []);
26
+ }, N = (r)=>n.Children.toArray(r).reduce((t, e)=>e.type === n.Fragment ? t.concat(N(e.props.children)) : (t.push(e), t), []);
27
27
  export { N as flattenChildren, C as getSkinByName };
@@ -107,7 +107,7 @@ const e = {
107
107
  textPrimary: e.grey6,
108
108
  textPrimaryInverse: e.white,
109
109
  textSecondary: e.grey5,
110
- textSecondaryInverse: e.white,
110
+ textSecondaryInverse: e.vivoPurpleLight20,
111
111
  error: e.pepper,
112
112
  success: e.vivoGreen,
113
113
  warning: e.orange,