@telefonica/mistica 10.16.0 → 10.20.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/CHANGELOG.md +36 -0
- package/dist/button.js +24 -8
- package/dist/card.d.ts +10 -1
- package/dist/card.js +29 -29
- package/dist/card.js.flow +16 -1
- package/dist/credit-card-expiration-field.js +2 -7
- package/dist/credit-card-number-field.js +2 -2
- package/dist/cvv-field.js +2 -2
- package/dist/date-field.js +2 -2
- package/dist/date-time-field.js +2 -2
- package/dist/date-time-picker.js +2 -2
- package/dist/decimal-field.js +2 -7
- package/dist/email-field.js +2 -7
- package/dist/feedback.js +5 -8
- package/dist/header.d.ts +2 -0
- package/dist/header.js.flow +5 -0
- package/dist/iban-field.js +2 -7
- package/dist/icons/icon-success.js +14 -6
- package/dist/image.d.ts +25 -4
- package/dist/image.js +67 -9
- package/dist/image.js.flow +33 -4
- package/dist/index.d.ts +3 -0
- package/dist/index.js +14 -0
- package/dist/index.js.flow +3 -0
- package/dist/integer-field.js +2 -7
- package/dist/menu.js +34 -27
- package/dist/month-field.js +2 -2
- package/dist/package-version.js +1 -1
- package/dist/password-field.js +2 -2
- package/dist/phone-number-field.js +2 -7
- package/dist/search-field.js +2 -2
- package/dist/section-title.d.ts +1 -3
- package/dist/section-title.js.flow +1 -2
- package/dist/select.js +2 -2
- package/dist/skins/blau.d.ts +6 -3
- package/dist/skins/blau.js +34 -5
- package/dist/skins/blau.js.flow +6 -3
- package/dist/skins/movistar.d.ts +21 -11
- package/dist/skins/movistar.js +76 -40
- package/dist/skins/movistar.js.flow +21 -11
- package/dist/skins/o2-classic.d.ts +21 -9
- package/dist/skins/o2-classic.js +64 -26
- package/dist/skins/o2-classic.js.flow +21 -9
- package/dist/skins/o2.d.ts +19 -17
- package/dist/skins/o2.js +68 -40
- package/dist/skins/o2.js.flow +19 -17
- package/dist/skins/telefonica.d.ts +18 -13
- package/dist/skins/telefonica.js +76 -45
- package/dist/skins/telefonica.js.flow +18 -13
- package/dist/skins/types.d.ts +12 -0
- package/dist/skins/types.js.flow +12 -0
- package/dist/skins/vivo.d.ts +9 -4
- package/dist/skins/vivo.js +37 -6
- package/dist/skins/vivo.js.flow +9 -4
- package/dist/tag.d.ts +6 -1
- package/dist/tag.js +133 -24
- package/dist/tag.js.flow +15 -1
- package/dist/text-field-base.d.ts +3 -2
- package/dist/text-field-base.js +8 -8
- package/dist/text-field-base.js.flow +6 -2
- package/dist/text-field.js +2 -7
- package/dist/text.d.ts +4 -0
- package/dist/text.js +13 -6
- package/dist/text.js.flow +10 -0
- package/dist/video.d.ts +32 -0
- package/dist/video.js +161 -0
- package/dist/video.js.flow +50 -0
- package/dist-es/button.js +24 -8
- package/dist-es/card.js +30 -30
- package/dist-es/credit-card-expiration-field.js +2 -2
- package/dist-es/credit-card-number-field.js +2 -2
- package/dist-es/cvv-field.js +2 -2
- package/dist-es/date-field.js +2 -2
- package/dist-es/date-time-field.js +2 -2
- package/dist-es/date-time-picker.js +2 -2
- package/dist-es/decimal-field.js +2 -2
- package/dist-es/email-field.js +2 -2
- package/dist-es/feedback.js +5 -8
- package/dist-es/iban-field.js +2 -2
- package/dist-es/icons/icon-success.js +14 -6
- package/dist-es/image.js +41 -8
- package/dist-es/index.js +2 -0
- package/dist-es/integer-field.js +2 -2
- package/dist-es/menu.js +35 -28
- package/dist-es/month-field.js +2 -2
- package/dist-es/package-version.js +1 -1
- package/dist-es/password-field.js +2 -2
- package/dist-es/phone-number-field.js +2 -2
- package/dist-es/search-field.js +2 -2
- package/dist-es/select.js +2 -2
- package/dist-es/skins/blau.js +36 -5
- package/dist-es/skins/movistar.js +78 -40
- package/dist-es/skins/o2-classic.js +66 -26
- package/dist-es/skins/o2.js +70 -40
- package/dist-es/skins/telefonica.js +78 -45
- package/dist-es/skins/vivo.js +39 -6
- package/dist-es/tag.js +130 -26
- package/dist-es/text-field-base.js +7 -6
- package/dist-es/text-field.js +2 -2
- package/dist-es/text.js +13 -6
- package/dist-es/video.js +123 -0
- package/package.json +1 -1
package/dist/skins/o2.js
CHANGED
|
@@ -7,30 +7,32 @@ var _color = require("../utils/color");
|
|
|
7
7
|
var _constants = require("./constants");
|
|
8
8
|
var palette = {
|
|
9
9
|
o2BluePrimary: '#0019A5',
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
o2BluePrimary70: '#000066',
|
|
11
|
+
o2BluePrimary30: '#808CD2',
|
|
12
|
+
o2BluePrimary15: '#CCD1ED',
|
|
13
|
+
o2BluePrimary10: '#E5E8F6',
|
|
14
|
+
o2BlueMid: '#0090D0',
|
|
15
15
|
o2BlueLight: '#41B6E6',
|
|
16
|
-
o2BlueLight60: '#8DD3F0',
|
|
17
16
|
o2BlueLight30: '#C6E9F7',
|
|
18
|
-
o2BlueLight10: '#ECF7FC',
|
|
19
17
|
o2Teal: '#01B7B4',
|
|
20
|
-
o2TealDark: '#099E9B',
|
|
21
|
-
o2TealLight: '#B1E4E3',
|
|
22
18
|
o2Green: '#91C90E',
|
|
23
|
-
|
|
19
|
+
o2Green10: '#F4FAE7',
|
|
20
|
+
o2Green40: '#B2D956',
|
|
21
|
+
o2Green80: '#415A06',
|
|
24
22
|
o2Yellow: '#FEDB00',
|
|
25
|
-
o2YellowLight: '#FEF6C3',
|
|
26
23
|
o2Orange: '#FF7F41',
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
o2Orange10: '#FFF2EC',
|
|
25
|
+
o2Orange40: '#FFA57A',
|
|
26
|
+
o2Orange75: '#A6522A',
|
|
27
|
+
o2Pink: '#E45DBF',
|
|
28
|
+
o2Purple: '#952D98',
|
|
29
|
+
o2Purple10: '#F4EAF5',
|
|
30
|
+
o2Purple30: '#CA9ACB',
|
|
31
31
|
pepper: '#FF374A',
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
pepper10: '#FEEBED',
|
|
33
|
+
pepper20: '#FCC3C9',
|
|
34
|
+
pepper40: '#FF7380',
|
|
35
|
+
pepper60: '#C32B3D',
|
|
34
36
|
grey1: '#F6F6F6',
|
|
35
37
|
grey2: '#EEEEEE',
|
|
36
38
|
grey3: '#DDDDDD',
|
|
@@ -69,30 +71,30 @@ var getO2Skin = function getO2Skin() {
|
|
|
69
71
|
borderSelected: palette.o2BluePrimary,
|
|
70
72
|
// BUTTONS
|
|
71
73
|
buttonDangerBackground: palette.pepper,
|
|
72
|
-
buttonDangerBackgroundSelected: palette.
|
|
73
|
-
buttonDangerBackgroundHover: palette.
|
|
74
|
-
buttonLinkBackgroundSelected: palette.
|
|
74
|
+
buttonDangerBackgroundSelected: palette.pepper60,
|
|
75
|
+
buttonDangerBackgroundHover: palette.pepper60,
|
|
76
|
+
buttonLinkBackgroundSelected: palette.o2BluePrimary15,
|
|
75
77
|
buttonLinkBackgroundSelectedInverse: (0, _color).applyAlpha(palette.white, 0.2),
|
|
76
78
|
buttonPrimaryBackground: palette.o2BluePrimary,
|
|
77
79
|
buttonPrimaryBackgroundInverse: palette.white,
|
|
78
|
-
buttonPrimaryBackgroundSelected: palette.
|
|
79
|
-
buttonPrimaryBackgroundHover: palette.
|
|
80
|
-
buttonPrimaryBackgroundSelectedInverse: palette.
|
|
80
|
+
buttonPrimaryBackgroundSelected: palette.o2BluePrimary70,
|
|
81
|
+
buttonPrimaryBackgroundHover: palette.o2BluePrimary70,
|
|
82
|
+
buttonPrimaryBackgroundSelectedInverse: palette.o2BluePrimary30,
|
|
81
83
|
buttonSecondaryBackground: palette.o2BluePrimary,
|
|
82
|
-
buttonSecondaryBackgroundSelected: palette.
|
|
84
|
+
buttonSecondaryBackgroundSelected: palette.o2BluePrimary70,
|
|
83
85
|
buttonSecondaryBorderInverse: palette.white,
|
|
84
|
-
buttonSecondaryBorderSelectedInverse: palette.
|
|
86
|
+
buttonSecondaryBorderSelectedInverse: palette.o2BluePrimary30,
|
|
85
87
|
textButtonPrimary: palette.white,
|
|
86
88
|
textButtonPrimaryInverse: palette.o2BluePrimary,
|
|
87
|
-
textButtonPrimaryInverseSelected: palette.
|
|
89
|
+
textButtonPrimaryInverseSelected: palette.o2BluePrimary70,
|
|
88
90
|
textButtonSecondary: palette.o2BluePrimary,
|
|
89
|
-
textButtonSecondarySelected: palette.
|
|
91
|
+
textButtonSecondarySelected: palette.o2BluePrimary70,
|
|
90
92
|
textButtonSecondaryInverse: palette.white,
|
|
91
93
|
textButtonSecondaryInverseSelected: palette.white,
|
|
92
94
|
textLink: palette.o2BluePrimary,
|
|
93
95
|
textLinkInverse: palette.white,
|
|
94
96
|
textLinkDanger: palette.pepper,
|
|
95
|
-
textLinkSnackbar: palette.
|
|
97
|
+
textLinkSnackbar: palette.o2BluePrimary30,
|
|
96
98
|
// CONTROLS
|
|
97
99
|
control: palette.grey3,
|
|
98
100
|
controlActivated: palette.o2BluePrimary,
|
|
@@ -102,19 +104,19 @@ var getO2Skin = function getO2Skin() {
|
|
|
102
104
|
loadingBarBackgroundInverse: palette.grey1,
|
|
103
105
|
loadingBarInverse: palette.o2BluePrimary,
|
|
104
106
|
toggleAndroidInactive: palette.grey2,
|
|
105
|
-
toggleAndroidBackgroundActive: palette.
|
|
107
|
+
toggleAndroidBackgroundActive: palette.o2BluePrimary15,
|
|
106
108
|
iosControlKnob: palette.white,
|
|
107
109
|
// DIVIDERS
|
|
108
110
|
divider: palette.grey2,
|
|
109
111
|
dividerInverse: (0, _color).applyAlpha(palette.white, 0.2),
|
|
110
112
|
navigationBarDivider: palette.o2BluePrimary,
|
|
111
113
|
// FEEDBACKS
|
|
112
|
-
badge: palette.
|
|
114
|
+
badge: palette.pepper60,
|
|
113
115
|
feedbackErrorBackground: palette.pepper,
|
|
114
116
|
feedbackInfoBackground: palette.grey6,
|
|
115
117
|
// GLOBAL
|
|
116
118
|
brand: palette.o2BluePrimary,
|
|
117
|
-
brandDark: palette.
|
|
119
|
+
brandDark: palette.o2BluePrimary70,
|
|
118
120
|
inverse: palette.white,
|
|
119
121
|
neutralHigh: palette.grey6,
|
|
120
122
|
neutralMedium: palette.grey5,
|
|
@@ -132,11 +134,24 @@ var getO2Skin = function getO2Skin() {
|
|
|
132
134
|
warning: palette.o2Orange,
|
|
133
135
|
// BARS TEXTS
|
|
134
136
|
textNavigationBarPrimary: palette.white,
|
|
135
|
-
textNavigationBarSecondary: palette.
|
|
136
|
-
textNavigationSearchBarHint: palette.
|
|
137
|
+
textNavigationBarSecondary: palette.o2BluePrimary30,
|
|
138
|
+
textNavigationSearchBarHint: palette.o2BluePrimary30,
|
|
137
139
|
textNavigationSearchBarText: palette.white,
|
|
138
140
|
textAppBar: palette.grey4,
|
|
139
|
-
textAppBarSelected: palette.o2BluePrimary
|
|
141
|
+
textAppBarSelected: palette.o2BluePrimary,
|
|
142
|
+
// TAGS
|
|
143
|
+
tagBackgroundSuccess: palette.o2Green10,
|
|
144
|
+
tagBackgroundWarning: palette.o2Orange10,
|
|
145
|
+
tagBackgroundError: palette.pepper10,
|
|
146
|
+
tagBackgroundPromo: palette.o2Purple10,
|
|
147
|
+
tagBackgroundActive: palette.o2BluePrimary10,
|
|
148
|
+
tagBackgroundInactive: palette.grey1,
|
|
149
|
+
textTagSuccess: palette.o2Green80,
|
|
150
|
+
textTagWarning: palette.o2Orange75,
|
|
151
|
+
textTagError: palette.pepper60,
|
|
152
|
+
textTagPromo: palette.o2Purple,
|
|
153
|
+
textTagActive: palette.o2BluePrimary,
|
|
154
|
+
textTagInactive: palette.grey5
|
|
140
155
|
},
|
|
141
156
|
darkModeColors: {
|
|
142
157
|
appBarBackground: palette.darkModeGrey,
|
|
@@ -172,10 +187,10 @@ var getO2Skin = function getO2Skin() {
|
|
|
172
187
|
textButtonSecondarySelected: palette.grey4,
|
|
173
188
|
textButtonSecondaryInverse: palette.grey2,
|
|
174
189
|
textButtonSecondaryInverseSelected: palette.grey4,
|
|
175
|
-
textLink: palette.
|
|
176
|
-
textLinkInverse: palette.
|
|
190
|
+
textLink: palette.o2BluePrimary30,
|
|
191
|
+
textLinkInverse: palette.o2BluePrimary30,
|
|
177
192
|
control: palette.darkModeGrey6,
|
|
178
|
-
controlActivated: palette.
|
|
193
|
+
controlActivated: palette.o2BluePrimary30,
|
|
179
194
|
loadingBar: palette.darkModeO2BluePrimary,
|
|
180
195
|
loadingBarBackground: palette.darkModeGrey6,
|
|
181
196
|
loadingBarBackgroundInverse: palette.grey1,
|
|
@@ -187,7 +202,7 @@ var getO2Skin = function getO2Skin() {
|
|
|
187
202
|
dividerInverse: (0, _color).applyAlpha(palette.white, 0.05),
|
|
188
203
|
navigationBarDivider: palette.darkModeBlack,
|
|
189
204
|
feedbackInfoBackground: palette.darkModeGrey6,
|
|
190
|
-
brand: palette.
|
|
205
|
+
brand: palette.o2BluePrimary30,
|
|
191
206
|
brandDark: palette.darkModeGrey6,
|
|
192
207
|
inverse: palette.grey2,
|
|
193
208
|
neutralHigh: palette.grey2,
|
|
@@ -197,13 +212,26 @@ var getO2Skin = function getO2Skin() {
|
|
|
197
212
|
textPrimaryInverse: palette.grey2,
|
|
198
213
|
textSecondary: palette.grey4,
|
|
199
214
|
textSecondaryInverse: palette.grey4,
|
|
200
|
-
textAmount: palette.
|
|
215
|
+
textAmount: palette.o2BluePrimary15,
|
|
201
216
|
textNavigationBarPrimary: palette.grey2,
|
|
202
217
|
textNavigationBarSecondary: palette.grey4,
|
|
203
218
|
textNavigationSearchBarHint: palette.grey4,
|
|
204
219
|
textNavigationSearchBarText: palette.grey2,
|
|
205
220
|
textAppBar: palette.grey5,
|
|
206
|
-
textAppBarSelected: palette.grey2
|
|
221
|
+
textAppBarSelected: palette.grey2,
|
|
222
|
+
// TAGS
|
|
223
|
+
tagBackgroundSuccess: (0, _color).applyAlpha(palette.white, 0.05),
|
|
224
|
+
tagBackgroundWarning: (0, _color).applyAlpha(palette.white, 0.05),
|
|
225
|
+
tagBackgroundError: (0, _color).applyAlpha(palette.white, 0.05),
|
|
226
|
+
tagBackgroundPromo: (0, _color).applyAlpha(palette.white, 0.05),
|
|
227
|
+
tagBackgroundActive: (0, _color).applyAlpha(palette.white, 0.05),
|
|
228
|
+
tagBackgroundInactive: (0, _color).applyAlpha(palette.white, 0.05),
|
|
229
|
+
textTagSuccess: palette.o2Green40,
|
|
230
|
+
textTagWarning: palette.o2Orange40,
|
|
231
|
+
textTagError: palette.pepper40,
|
|
232
|
+
textTagPromo: palette.o2Purple30,
|
|
233
|
+
textTagActive: palette.o2BluePrimary15,
|
|
234
|
+
textTagInactive: palette.grey4
|
|
207
235
|
}
|
|
208
236
|
};
|
|
209
237
|
};
|
package/dist/skins/o2.js.flow
CHANGED
|
@@ -3,30 +3,32 @@
|
|
|
3
3
|
import type { GetSkin } from "./types";
|
|
4
4
|
declare export var palette: {
|
|
5
5
|
+o2BluePrimary: "#0019A5",
|
|
6
|
-
+
|
|
7
|
-
+
|
|
8
|
-
+
|
|
9
|
-
+
|
|
10
|
-
+
|
|
6
|
+
+o2BluePrimary70: "#000066",
|
|
7
|
+
+o2BluePrimary30: "#808CD2",
|
|
8
|
+
+o2BluePrimary15: "#CCD1ED",
|
|
9
|
+
+o2BluePrimary10: "#E5E8F6",
|
|
10
|
+
+o2BlueMid: "#0090D0",
|
|
11
11
|
+o2BlueLight: "#41B6E6",
|
|
12
|
-
+o2BlueLight60: "#8DD3F0",
|
|
13
12
|
+o2BlueLight30: "#C6E9F7",
|
|
14
|
-
+o2BlueLight10: "#ECF7FC",
|
|
15
13
|
+o2Teal: "#01B7B4",
|
|
16
|
-
+o2TealDark: "#099E9B",
|
|
17
|
-
+o2TealLight: "#B1E4E3",
|
|
18
14
|
+o2Green: "#91C90E",
|
|
19
|
-
+
|
|
15
|
+
+o2Green10: "#F4FAE7",
|
|
16
|
+
+o2Green40: "#B2D956",
|
|
17
|
+
+o2Green80: "#415A06",
|
|
20
18
|
+o2Yellow: "#FEDB00",
|
|
21
|
-
+o2YellowLight: "#FEF6C3",
|
|
22
19
|
+o2Orange: "#FF7F41",
|
|
23
|
-
+
|
|
24
|
-
+
|
|
25
|
-
+
|
|
26
|
-
+
|
|
20
|
+
+o2Orange10: "#FFF2EC",
|
|
21
|
+
+o2Orange40: "#FFA57A",
|
|
22
|
+
+o2Orange75: "#A6522A",
|
|
23
|
+
+o2Pink: "#E45DBF",
|
|
24
|
+
+o2Purple: "#952D98",
|
|
25
|
+
+o2Purple10: "#F4EAF5",
|
|
26
|
+
+o2Purple30: "#CA9ACB",
|
|
27
27
|
+pepper: "#FF374A",
|
|
28
|
-
+
|
|
29
|
-
+
|
|
28
|
+
+pepper10: "#FEEBED",
|
|
29
|
+
+pepper20: "#FCC3C9",
|
|
30
|
+
+pepper40: "#FF7380",
|
|
31
|
+
+pepper60: "#C32B3D",
|
|
30
32
|
+grey1: "#F6F6F6",
|
|
31
33
|
+grey2: "#EEEEEE",
|
|
32
34
|
+grey3: "#DDDDDD",
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import type { GetSkin } from './types';
|
|
2
2
|
export declare const palette: {
|
|
3
3
|
readonly telefonicaBlue: "#0066FF";
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
4
|
+
readonly telefonicaBlue10: "#E5F0FF";
|
|
5
|
+
readonly telefonicaBlue20: "#B2D1FF";
|
|
6
|
+
readonly telefonicaBlue30: "#80B3FF";
|
|
7
|
+
readonly telefonicaBlue70: "#0356C9";
|
|
8
8
|
readonly ambar: "#EAC344";
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
9
|
+
readonly ambar10: "#FDF9EC";
|
|
10
|
+
readonly ambar40: "#F0D57C";
|
|
11
|
+
readonly ambar70: "#69581F";
|
|
11
12
|
readonly coral: "#E66C64";
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
13
|
+
readonly coral10: "#FDF0EF";
|
|
14
|
+
readonly coral40: "#E3A19A";
|
|
15
|
+
readonly coral70: "#D50000";
|
|
16
|
+
readonly coral80: "#912C31";
|
|
14
17
|
readonly orchid: "#C466EF";
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
18
|
+
readonly orchid10: "#F9F0FD";
|
|
19
|
+
readonly orchid40: "#D694F4";
|
|
20
|
+
readonly orchid70: "#8947A7";
|
|
17
21
|
readonly turquoise: "#59C2C9";
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
22
|
+
readonly turquoise10: "#EEF9FA";
|
|
23
|
+
readonly turquoise40: "#8BD4D9";
|
|
24
|
+
readonly turquoise70: "#3E888D";
|
|
21
25
|
readonly grey1: "#F2F4FF";
|
|
22
26
|
readonly grey2: "#D1D5E4";
|
|
23
27
|
readonly grey3: "#B0B6CA";
|
|
@@ -27,6 +31,7 @@ export declare const palette: {
|
|
|
27
31
|
readonly grey7: "#414B61";
|
|
28
32
|
readonly grey8: "#2B3447";
|
|
29
33
|
readonly grey9: "#031A34";
|
|
34
|
+
readonly white: "#FFFFFF";
|
|
30
35
|
readonly darkModeBlack: "#191919";
|
|
31
36
|
readonly darkModeGrey: "#242424";
|
|
32
37
|
};
|
package/dist/skins/telefonica.js
CHANGED
|
@@ -7,23 +7,27 @@ var _color = require("../utils/color");
|
|
|
7
7
|
var _constants = require("./constants");
|
|
8
8
|
var palette = {
|
|
9
9
|
telefonicaBlue: '#0066FF',
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
telefonicaBlue10: '#E5F0FF',
|
|
11
|
+
telefonicaBlue20: '#B2D1FF',
|
|
12
|
+
telefonicaBlue30: '#80B3FF',
|
|
13
|
+
telefonicaBlue70: '#0356C9',
|
|
14
14
|
ambar: '#EAC344',
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
ambar10: '#FDF9EC',
|
|
16
|
+
ambar40: '#F0D57C',
|
|
17
|
+
ambar70: '#69581F',
|
|
17
18
|
coral: '#E66C64',
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
coral10: '#FDF0EF',
|
|
20
|
+
coral40: '#E3A19A',
|
|
21
|
+
coral70: '#D50000',
|
|
22
|
+
coral80: '#912C31',
|
|
20
23
|
orchid: '#C466EF',
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
orchid10: '#F9F0FD',
|
|
25
|
+
orchid40: '#D694F4',
|
|
26
|
+
orchid70: '#8947A7',
|
|
23
27
|
turquoise: '#59C2C9',
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
turquoise10: '#EEF9FA',
|
|
29
|
+
turquoise40: '#8BD4D9',
|
|
30
|
+
turquoise70: '#3E888D',
|
|
27
31
|
grey1: '#F2F4FF',
|
|
28
32
|
grey2: '#D1D5E4',
|
|
29
33
|
grey3: '#B0B6CA',
|
|
@@ -33,6 +37,7 @@ var palette = {
|
|
|
33
37
|
grey7: '#414B61',
|
|
34
38
|
grey8: '#2B3447',
|
|
35
39
|
grey9: '#031A34',
|
|
40
|
+
white: '#FFFFFF',
|
|
36
41
|
// specific for dark mode:
|
|
37
42
|
darkModeBlack: '#191919',
|
|
38
43
|
darkModeGrey: '#242424'
|
|
@@ -49,7 +54,7 @@ var getTelefonicaSkin = function getTelefonicaSkin() {
|
|
|
49
54
|
backgroundBrand: palette.telefonicaBlue,
|
|
50
55
|
backgroundOverlay: (0, _color).applyAlpha(palette.grey6, 0.6),
|
|
51
56
|
backgroundSkeleton: palette.grey1,
|
|
52
|
-
backgroundSkeletonInverse: palette.
|
|
57
|
+
backgroundSkeletonInverse: palette.telefonicaBlue70,
|
|
53
58
|
navigationBarBackground: palette.telefonicaBlue,
|
|
54
59
|
backgroundAlternative: palette.grey1,
|
|
55
60
|
backgroundFeedbackBottom: palette.telefonicaBlue,
|
|
@@ -62,48 +67,48 @@ var getTelefonicaSkin = function getTelefonicaSkin() {
|
|
|
62
67
|
// BUTTONS
|
|
63
68
|
buttonDangerBackground: palette.coral,
|
|
64
69
|
buttonDangerBackgroundDisabled: palette.grey2,
|
|
65
|
-
buttonDangerBackgroundSelected: palette.
|
|
66
|
-
buttonDangerBackgroundHover: palette.
|
|
70
|
+
buttonDangerBackgroundSelected: palette.coral80,
|
|
71
|
+
buttonDangerBackgroundHover: palette.coral80,
|
|
67
72
|
buttonLinkBackgroundSelected: palette.grey1,
|
|
68
73
|
buttonLinkBackgroundSelectedInverse: (0, _color).applyAlpha(palette.white, 0.2),
|
|
69
74
|
buttonPrimaryBackground: palette.telefonicaBlue,
|
|
70
75
|
buttonPrimaryBackgroundDisabled: palette.grey2,
|
|
71
|
-
buttonPrimaryBackgroundDisabledInverse: palette.
|
|
76
|
+
buttonPrimaryBackgroundDisabledInverse: palette.telefonicaBlue30,
|
|
72
77
|
buttonPrimaryBackgroundInverse: palette.white,
|
|
73
|
-
buttonPrimaryBackgroundSelected: palette.
|
|
74
|
-
buttonPrimaryBackgroundHover: palette.
|
|
75
|
-
buttonPrimaryBackgroundSelectedInverse: palette.
|
|
78
|
+
buttonPrimaryBackgroundSelected: palette.telefonicaBlue70,
|
|
79
|
+
buttonPrimaryBackgroundHover: palette.telefonicaBlue70,
|
|
80
|
+
buttonPrimaryBackgroundSelectedInverse: palette.telefonicaBlue30,
|
|
76
81
|
buttonSecondaryBackground: palette.telefonicaBlue,
|
|
77
82
|
buttonSecondaryBackgroundDisabled: palette.grey2,
|
|
78
|
-
buttonSecondaryBackgroundSelected: palette.
|
|
79
|
-
buttonSecondaryBorderDisabledInverse: palette.
|
|
83
|
+
buttonSecondaryBackgroundSelected: palette.telefonicaBlue70,
|
|
84
|
+
buttonSecondaryBorderDisabledInverse: palette.telefonicaBlue30,
|
|
80
85
|
buttonSecondaryBorderInverse: palette.white,
|
|
81
|
-
buttonSecondaryBorderSelectedInverse: palette.
|
|
86
|
+
buttonSecondaryBorderSelectedInverse: palette.telefonicaBlue30,
|
|
82
87
|
textButtonPrimary: palette.white,
|
|
83
88
|
textButtonPrimaryDisabled: palette.white,
|
|
84
89
|
textButtonPrimaryInverse: palette.telefonicaBlue,
|
|
85
|
-
textButtonPrimaryInverseDisabled: palette.
|
|
90
|
+
textButtonPrimaryInverseDisabled: palette.telefonicaBlue20,
|
|
86
91
|
textButtonPrimaryInverseSelected: palette.telefonicaBlue,
|
|
87
92
|
textButtonSecondary: palette.telefonicaBlue,
|
|
88
93
|
textButtonSecondaryDisabled: palette.grey2,
|
|
89
|
-
textButtonSecondarySelected: palette.
|
|
94
|
+
textButtonSecondarySelected: palette.telefonicaBlue70,
|
|
90
95
|
textButtonSecondaryInverse: palette.white,
|
|
91
|
-
textButtonSecondaryInverseDisabled: palette.
|
|
92
|
-
textButtonSecondaryInverseSelected: palette.
|
|
96
|
+
textButtonSecondaryInverseDisabled: palette.telefonicaBlue30,
|
|
97
|
+
textButtonSecondaryInverseSelected: palette.telefonicaBlue30,
|
|
93
98
|
textLink: palette.telefonicaBlue,
|
|
94
99
|
textLinkInverse: palette.white,
|
|
95
100
|
textLinkDanger: palette.coral,
|
|
96
101
|
textLinkDangerDisabled: palette.grey2,
|
|
97
102
|
textLinkDisabled: palette.grey2,
|
|
98
|
-
textLinkSnackbar: palette.
|
|
103
|
+
textLinkSnackbar: palette.telefonicaBlue30,
|
|
99
104
|
// CONTROLS
|
|
100
105
|
control: palette.grey3,
|
|
101
106
|
controlActivated: palette.telefonicaBlue,
|
|
102
107
|
controlError: palette.coral,
|
|
103
|
-
loadingBar: palette.
|
|
104
|
-
loadingBarBackground: palette.
|
|
105
|
-
loadingBarBackgroundInverse: palette.
|
|
106
|
-
loadingBarInverse: palette.
|
|
108
|
+
loadingBar: palette.telefonicaBlue30,
|
|
109
|
+
loadingBarBackground: palette.telefonicaBlue70,
|
|
110
|
+
loadingBarBackgroundInverse: palette.telefonicaBlue70,
|
|
111
|
+
loadingBarInverse: palette.telefonicaBlue30,
|
|
107
112
|
toggleAndroidInactive: palette.grey2,
|
|
108
113
|
toggleAndroidBackgroundActive: palette.grey2,
|
|
109
114
|
iosControlKnob: palette.white,
|
|
@@ -112,18 +117,18 @@ var getTelefonicaSkin = function getTelefonicaSkin() {
|
|
|
112
117
|
dividerInverse: (0, _color).applyAlpha(palette.white, 0.2),
|
|
113
118
|
navigationBarDivider: palette.telefonicaBlue,
|
|
114
119
|
// FEEDBACKS
|
|
115
|
-
badge: palette.
|
|
120
|
+
badge: palette.coral80,
|
|
116
121
|
feedbackErrorBackground: palette.coral,
|
|
117
122
|
feedbackInfoBackground: palette.grey9,
|
|
118
123
|
// GLOBAL
|
|
119
124
|
brand: palette.telefonicaBlue,
|
|
120
|
-
brandDark: palette.
|
|
125
|
+
brandDark: palette.telefonicaBlue70,
|
|
121
126
|
inverse: palette.white,
|
|
122
127
|
neutralHigh: palette.grey9,
|
|
123
128
|
neutralMedium: palette.grey5,
|
|
124
129
|
neutralLow: palette.grey1,
|
|
125
130
|
promo: palette.orchid,
|
|
126
|
-
highlight: palette.
|
|
131
|
+
highlight: palette.coral40,
|
|
127
132
|
textPrimary: palette.grey9,
|
|
128
133
|
textPrimaryInverse: palette.white,
|
|
129
134
|
textSecondary: palette.grey5,
|
|
@@ -140,7 +145,20 @@ var getTelefonicaSkin = function getTelefonicaSkin() {
|
|
|
140
145
|
textNavigationSearchBarHint: palette.grey1,
|
|
141
146
|
textNavigationSearchBarText: palette.white,
|
|
142
147
|
textAppBar: palette.grey4,
|
|
143
|
-
textAppBarSelected: palette.telefonicaBlue
|
|
148
|
+
textAppBarSelected: palette.telefonicaBlue,
|
|
149
|
+
// TAGS
|
|
150
|
+
tagBackgroundSuccess: palette.turquoise10,
|
|
151
|
+
tagBackgroundWarning: palette.ambar10,
|
|
152
|
+
tagBackgroundError: palette.coral10,
|
|
153
|
+
tagBackgroundPromo: palette.orchid10,
|
|
154
|
+
tagBackgroundActive: palette.grey1,
|
|
155
|
+
tagBackgroundInactive: palette.grey1,
|
|
156
|
+
textTagSuccess: palette.turquoise70,
|
|
157
|
+
textTagWarning: palette.ambar70,
|
|
158
|
+
textTagError: palette.coral70,
|
|
159
|
+
textTagPromo: palette.orchid70,
|
|
160
|
+
textTagActive: palette.telefonicaBlue,
|
|
161
|
+
textTagInactive: palette.grey6
|
|
144
162
|
},
|
|
145
163
|
darkModeColors: {
|
|
146
164
|
appBarBackground: palette.darkModeGrey,
|
|
@@ -163,15 +181,15 @@ var getTelefonicaSkin = function getTelefonicaSkin() {
|
|
|
163
181
|
buttonPrimaryBackgroundDisabled: (0, _color).applyAlpha(palette.white, 0.05),
|
|
164
182
|
buttonPrimaryBackgroundDisabledInverse: (0, _color).applyAlpha(palette.white, 0.05),
|
|
165
183
|
buttonPrimaryBackgroundInverse: palette.telefonicaBlue,
|
|
166
|
-
buttonPrimaryBackgroundSelected: palette.
|
|
167
|
-
buttonPrimaryBackgroundHover: palette.
|
|
168
|
-
buttonPrimaryBackgroundSelectedInverse: palette.
|
|
184
|
+
buttonPrimaryBackgroundSelected: palette.telefonicaBlue70,
|
|
185
|
+
buttonPrimaryBackgroundHover: palette.telefonicaBlue70,
|
|
186
|
+
buttonPrimaryBackgroundSelectedInverse: palette.telefonicaBlue70,
|
|
169
187
|
buttonSecondaryBackground: palette.telefonicaBlue,
|
|
170
188
|
buttonSecondaryBackgroundDisabled: (0, _color).applyAlpha(palette.white, 0.05),
|
|
171
|
-
buttonSecondaryBackgroundSelected: palette.
|
|
189
|
+
buttonSecondaryBackgroundSelected: palette.telefonicaBlue70,
|
|
172
190
|
buttonSecondaryBorderDisabledInverse: (0, _color).applyAlpha(palette.white, 0.05),
|
|
173
191
|
buttonSecondaryBorderInverse: palette.telefonicaBlue,
|
|
174
|
-
buttonSecondaryBorderSelectedInverse: palette.
|
|
192
|
+
buttonSecondaryBorderSelectedInverse: palette.telefonicaBlue70,
|
|
175
193
|
textButtonPrimary: palette.grey2,
|
|
176
194
|
textButtonPrimaryDisabled: palette.grey7,
|
|
177
195
|
textButtonPrimaryInverse: palette.grey2,
|
|
@@ -190,8 +208,8 @@ var getTelefonicaSkin = function getTelefonicaSkin() {
|
|
|
190
208
|
controlActivated: palette.telefonicaBlue,
|
|
191
209
|
loadingBar: palette.telefonicaBlue,
|
|
192
210
|
loadingBarBackground: (0, _color).applyAlpha(palette.white, 0.05),
|
|
193
|
-
loadingBarBackgroundInverse: palette.
|
|
194
|
-
loadingBarInverse: palette.
|
|
211
|
+
loadingBarBackgroundInverse: palette.telefonicaBlue70,
|
|
212
|
+
loadingBarInverse: palette.telefonicaBlue30,
|
|
195
213
|
toggleAndroidInactive: palette.grey4,
|
|
196
214
|
toggleAndroidBackgroundActive: palette.grey1,
|
|
197
215
|
iosControlKnob: palette.grey2,
|
|
@@ -209,13 +227,26 @@ var getTelefonicaSkin = function getTelefonicaSkin() {
|
|
|
209
227
|
textSecondary: palette.grey4,
|
|
210
228
|
textSecondaryInverse: palette.grey4,
|
|
211
229
|
textDisabled: palette.grey5,
|
|
212
|
-
textAmount: palette.
|
|
230
|
+
textAmount: palette.telefonicaBlue30,
|
|
213
231
|
textNavigationBarPrimary: palette.grey2,
|
|
214
232
|
textNavigationBarSecondary: palette.grey4,
|
|
215
233
|
textNavigationSearchBarHint: palette.grey4,
|
|
216
234
|
textNavigationSearchBarText: palette.grey2,
|
|
217
235
|
textAppBar: palette.grey5,
|
|
218
|
-
textAppBarSelected: palette.grey2
|
|
236
|
+
textAppBarSelected: palette.grey2,
|
|
237
|
+
// TAGS
|
|
238
|
+
tagBackgroundSuccess: (0, _color).applyAlpha(palette.white, 0.05),
|
|
239
|
+
tagBackgroundWarning: (0, _color).applyAlpha(palette.white, 0.05),
|
|
240
|
+
tagBackgroundError: (0, _color).applyAlpha(palette.white, 0.05),
|
|
241
|
+
tagBackgroundPromo: (0, _color).applyAlpha(palette.white, 0.05),
|
|
242
|
+
tagBackgroundActive: (0, _color).applyAlpha(palette.white, 0.05),
|
|
243
|
+
tagBackgroundInactive: (0, _color).applyAlpha(palette.white, 0.05),
|
|
244
|
+
textTagSuccess: palette.turquoise40,
|
|
245
|
+
textTagWarning: palette.ambar40,
|
|
246
|
+
textTagError: palette.coral40,
|
|
247
|
+
textTagPromo: palette.orchid40,
|
|
248
|
+
textTagActive: palette.telefonicaBlue30,
|
|
249
|
+
textTagInactive: palette.grey4
|
|
219
250
|
}
|
|
220
251
|
};
|
|
221
252
|
};
|
|
@@ -3,23 +3,27 @@
|
|
|
3
3
|
import type { GetSkin } from "./types";
|
|
4
4
|
declare export var palette: {
|
|
5
5
|
+telefonicaBlue: "#0066FF",
|
|
6
|
-
+
|
|
7
|
-
+
|
|
8
|
-
+
|
|
9
|
-
+
|
|
6
|
+
+telefonicaBlue10: "#E5F0FF",
|
|
7
|
+
+telefonicaBlue20: "#B2D1FF",
|
|
8
|
+
+telefonicaBlue30: "#80B3FF",
|
|
9
|
+
+telefonicaBlue70: "#0356C9",
|
|
10
10
|
+ambar: "#EAC344",
|
|
11
|
-
+
|
|
12
|
-
+
|
|
11
|
+
+ambar10: "#FDF9EC",
|
|
12
|
+
+ambar40: "#F0D57C",
|
|
13
|
+
+ambar70: "#69581F",
|
|
13
14
|
+coral: "#E66C64",
|
|
14
|
-
+
|
|
15
|
-
+
|
|
15
|
+
+coral10: "#FDF0EF",
|
|
16
|
+
+coral40: "#E3A19A",
|
|
17
|
+
+coral70: "#D50000",
|
|
18
|
+
+coral80: "#912C31",
|
|
16
19
|
+orchid: "#C466EF",
|
|
17
|
-
+
|
|
18
|
-
+
|
|
20
|
+
+orchid10: "#F9F0FD",
|
|
21
|
+
+orchid40: "#D694F4",
|
|
22
|
+
+orchid70: "#8947A7",
|
|
19
23
|
+turquoise: "#59C2C9",
|
|
20
|
-
+
|
|
21
|
-
+
|
|
22
|
-
+
|
|
24
|
+
+turquoise10: "#EEF9FA",
|
|
25
|
+
+turquoise40: "#8BD4D9",
|
|
26
|
+
+turquoise70: "#3E888D",
|
|
23
27
|
+grey1: "#F2F4FF",
|
|
24
28
|
+grey2: "#D1D5E4",
|
|
25
29
|
+grey3: "#B0B6CA",
|
|
@@ -29,6 +33,7 @@ declare export var palette: {
|
|
|
29
33
|
+grey7: "#414B61",
|
|
30
34
|
+grey8: "#2B3447",
|
|
31
35
|
+grey9: "#031A34",
|
|
36
|
+
+white: "#FFFFFF",
|
|
32
37
|
+darkModeBlack: "#191919",
|
|
33
38
|
+darkModeGrey: "#242424",
|
|
34
39
|
};
|
package/dist/skins/types.d.ts
CHANGED
|
@@ -83,4 +83,16 @@ export declare type Colors = {
|
|
|
83
83
|
textNavigationSearchBarText: string;
|
|
84
84
|
textAppBar: string;
|
|
85
85
|
textAppBarSelected: string;
|
|
86
|
+
tagBackgroundSuccess: string;
|
|
87
|
+
tagBackgroundWarning: string;
|
|
88
|
+
tagBackgroundError: string;
|
|
89
|
+
tagBackgroundPromo: string;
|
|
90
|
+
tagBackgroundActive: string;
|
|
91
|
+
tagBackgroundInactive: string;
|
|
92
|
+
textTagSuccess: string;
|
|
93
|
+
textTagWarning: string;
|
|
94
|
+
textTagError: string;
|
|
95
|
+
textTagPromo: string;
|
|
96
|
+
textTagActive: string;
|
|
97
|
+
textTagInactive: string;
|
|
86
98
|
};
|
package/dist/skins/types.js.flow
CHANGED
|
@@ -91,4 +91,16 @@ export type Colors = {
|
|
|
91
91
|
textNavigationSearchBarText: string,
|
|
92
92
|
textAppBar: string,
|
|
93
93
|
textAppBarSelected: string,
|
|
94
|
+
tagBackgroundSuccess: string,
|
|
95
|
+
tagBackgroundWarning: string,
|
|
96
|
+
tagBackgroundError: string,
|
|
97
|
+
tagBackgroundPromo: string,
|
|
98
|
+
tagBackgroundActive: string,
|
|
99
|
+
tagBackgroundInactive: string,
|
|
100
|
+
textTagSuccess: string,
|
|
101
|
+
textTagWarning: string,
|
|
102
|
+
textTagError: string,
|
|
103
|
+
textTagPromo: string,
|
|
104
|
+
textTagActive: string,
|
|
105
|
+
textTagInactive: string,
|
|
94
106
|
};
|
package/dist/skins/vivo.d.ts
CHANGED
|
@@ -8,16 +8,21 @@ export declare const palette: {
|
|
|
8
8
|
readonly vivoPurpleLight20: "#E0CCEB";
|
|
9
9
|
readonly vivoPurpleLight10: "#EFE5F4";
|
|
10
10
|
readonly vivoGreen: "#99CC33";
|
|
11
|
-
readonly vivoGreenDark: "#
|
|
12
|
-
readonly
|
|
11
|
+
readonly vivoGreenDark: "#225C3D";
|
|
12
|
+
readonly vivoGreenLight30: "#91AE9E";
|
|
13
|
+
readonly vivoGreenLight10: "#EDF8E8";
|
|
13
14
|
readonly vivoBlue: "#00ABDB";
|
|
14
15
|
readonly orange: "#FF9900";
|
|
15
|
-
readonly orangeDark: "#
|
|
16
|
-
readonly
|
|
16
|
+
readonly orangeDark: "#972A1D";
|
|
17
|
+
readonly orangeLight10: "#FFEFE1";
|
|
18
|
+
readonly orangeLight40: "#FFB84C";
|
|
17
19
|
readonly pink: "#EB3D7D";
|
|
18
20
|
readonly pepper: "#CC1F59";
|
|
19
21
|
readonly pepperDark: "#B71D63";
|
|
22
|
+
readonly pepperDark80: "#8F2052";
|
|
23
|
+
readonly pepperLight40: "#DB628B";
|
|
20
24
|
readonly pepperLight30: "#F7B1CB";
|
|
25
|
+
readonly pepperLight10: "#FCE4EF";
|
|
21
26
|
readonly grey1: "#F6F6F6";
|
|
22
27
|
readonly grey2: "#EEEEEE";
|
|
23
28
|
readonly grey3: "#DDDDDD";
|