@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/movistar.d.ts
CHANGED
|
@@ -1,21 +1,32 @@
|
|
|
1
1
|
import type { GetSkin } from './types';
|
|
2
2
|
export declare const palette: {
|
|
3
3
|
readonly movistarBlue: "#019DF4";
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
4
|
+
readonly movistarBlue10: "#E6F5FD";
|
|
5
|
+
readonly movistarBlue20: "#B3E1FB";
|
|
6
|
+
readonly movistarBlue30: "#80CEF9";
|
|
7
|
+
readonly movistarBlue40: "#4DBAF7";
|
|
8
|
+
readonly movistarBlue55: "#008EDD";
|
|
8
9
|
readonly movistarGreen: "#5CB615";
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
10
|
+
readonly movistarGreen10: "#EFF8E8";
|
|
11
|
+
readonly movistarGreen30: "#ADDA8A";
|
|
12
|
+
readonly movistarGreen40: "#8DCC5B";
|
|
13
|
+
readonly movistarGreen60: "#499110";
|
|
14
|
+
readonly movistarGreen70: "#407F0F";
|
|
12
15
|
readonly pepper: "#FF374A";
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
16
|
+
readonly pepper10: "#FFEBED";
|
|
17
|
+
readonly pepper20: "#FFC3C8";
|
|
18
|
+
readonly pepper40: "#FF7380";
|
|
19
|
+
readonly pepper55: "#D73241";
|
|
20
|
+
readonly pepper70: "#B22634";
|
|
15
21
|
readonly egg: "#F28D15";
|
|
16
|
-
readonly
|
|
22
|
+
readonly egg10: "#FEF4E8";
|
|
23
|
+
readonly egg40: "#F6AF5B";
|
|
24
|
+
readonly egg80: "#6D3F09";
|
|
17
25
|
readonly pink: "#E63780";
|
|
18
26
|
readonly purple: "#A13EA1";
|
|
27
|
+
readonly purple10: "#F6ECF6";
|
|
28
|
+
readonly purple40: "#BD78BD";
|
|
29
|
+
readonly purple70: "#712B71";
|
|
19
30
|
readonly grey1: "#F6F6F6";
|
|
20
31
|
readonly grey2: "#EEEEEE";
|
|
21
32
|
readonly grey3: "#DDDDDD";
|
|
@@ -30,6 +41,5 @@ export declare const palette: {
|
|
|
30
41
|
readonly movistarProminentBlueLight70: "#546874";
|
|
31
42
|
readonly darkModeBlack: "#191919";
|
|
32
43
|
readonly darkModeGrey: "#242424";
|
|
33
|
-
readonly darkModeMovistarBlueDark: "#4C7389";
|
|
34
44
|
};
|
|
35
45
|
export declare const getMovistarSkin: GetSkin;
|
package/dist/skins/movistar.js
CHANGED
|
@@ -7,21 +7,32 @@ var _color = require("../utils/color");
|
|
|
7
7
|
var _constants = require("./constants");
|
|
8
8
|
var palette = {
|
|
9
9
|
movistarBlue: '#019DF4',
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
movistarBlue10: '#E6F5FD',
|
|
11
|
+
movistarBlue20: '#B3E1FB',
|
|
12
|
+
movistarBlue30: '#80CEF9',
|
|
13
|
+
movistarBlue40: '#4DBAF7',
|
|
14
|
+
movistarBlue55: '#008EDD',
|
|
14
15
|
movistarGreen: '#5CB615',
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
movistarGreen10: '#EFF8E8',
|
|
17
|
+
movistarGreen30: '#ADDA8A',
|
|
18
|
+
movistarGreen40: '#8DCC5B',
|
|
19
|
+
movistarGreen60: '#499110',
|
|
20
|
+
movistarGreen70: '#407F0F',
|
|
18
21
|
pepper: '#FF374A',
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
pepper10: '#FFEBED',
|
|
23
|
+
pepper20: '#FFC3C8',
|
|
24
|
+
pepper40: '#FF7380',
|
|
25
|
+
pepper55: '#D73241',
|
|
26
|
+
pepper70: '#B22634',
|
|
21
27
|
egg: '#F28D15',
|
|
22
|
-
|
|
28
|
+
egg10: '#FEF4E8',
|
|
29
|
+
egg40: '#F6AF5B',
|
|
30
|
+
egg80: '#6D3F09',
|
|
23
31
|
pink: '#E63780',
|
|
24
32
|
purple: '#A13EA1',
|
|
33
|
+
purple10: '#F6ECF6',
|
|
34
|
+
purple40: '#BD78BD',
|
|
35
|
+
purple70: '#712B71',
|
|
25
36
|
grey1: '#F6F6F6',
|
|
26
37
|
grey2: '#EEEEEE',
|
|
27
38
|
grey3: '#DDDDDD',
|
|
@@ -36,8 +47,7 @@ var palette = {
|
|
|
36
47
|
movistarProminentBlueLight70: '#546874',
|
|
37
48
|
// specific for dark mode:
|
|
38
49
|
darkModeBlack: '#191919',
|
|
39
|
-
darkModeGrey: '#242424'
|
|
40
|
-
darkModeMovistarBlueDark: '#4C7389'
|
|
50
|
+
darkModeGrey: '#242424'
|
|
41
51
|
};
|
|
42
52
|
exports.palette = palette;
|
|
43
53
|
var getMovistarSkin = function getMovistarSkin(variant) {
|
|
@@ -51,7 +61,7 @@ var getMovistarSkin = function getMovistarSkin(variant) {
|
|
|
51
61
|
backgroundBrand: palette.movistarBlue,
|
|
52
62
|
backgroundOverlay: (0, _color).applyAlpha(palette.grey6, 0.6),
|
|
53
63
|
backgroundSkeleton: palette.grey1,
|
|
54
|
-
backgroundSkeletonInverse: palette.
|
|
64
|
+
backgroundSkeletonInverse: palette.movistarBlue55,
|
|
55
65
|
navigationBarBackground: palette.movistarBlue,
|
|
56
66
|
backgroundAlternative: palette.grey1,
|
|
57
67
|
backgroundFeedbackBottom: palette.movistarBlue,
|
|
@@ -63,50 +73,50 @@ var getMovistarSkin = function getMovistarSkin(variant) {
|
|
|
63
73
|
borderSelected: palette.movistarGreen,
|
|
64
74
|
// BUTTONS
|
|
65
75
|
buttonDangerBackground: palette.pepper,
|
|
66
|
-
buttonDangerBackgroundSelected: palette.
|
|
67
|
-
buttonDangerBackgroundHover: palette.
|
|
68
|
-
buttonLinkBackgroundSelected: palette.
|
|
76
|
+
buttonDangerBackgroundSelected: palette.pepper55,
|
|
77
|
+
buttonDangerBackgroundHover: palette.pepper55,
|
|
78
|
+
buttonLinkBackgroundSelected: palette.movistarBlue10,
|
|
69
79
|
buttonLinkBackgroundSelectedInverse: (0, _color).applyAlpha(palette.white, 0.2),
|
|
70
80
|
buttonPrimaryBackground: palette.movistarGreen,
|
|
71
81
|
buttonPrimaryBackgroundInverse: palette.white,
|
|
72
|
-
buttonPrimaryBackgroundSelected: palette.
|
|
73
|
-
buttonPrimaryBackgroundHover: palette.
|
|
74
|
-
buttonPrimaryBackgroundSelectedInverse: palette.
|
|
82
|
+
buttonPrimaryBackgroundSelected: palette.movistarGreen60,
|
|
83
|
+
buttonPrimaryBackgroundHover: palette.movistarGreen60,
|
|
84
|
+
buttonPrimaryBackgroundSelectedInverse: palette.movistarBlue30,
|
|
75
85
|
buttonSecondaryBackground: palette.movistarGreen,
|
|
76
|
-
buttonSecondaryBackgroundSelected: palette.
|
|
86
|
+
buttonSecondaryBackgroundSelected: palette.movistarGreen60,
|
|
77
87
|
buttonSecondaryBorderInverse: palette.white,
|
|
78
|
-
buttonSecondaryBorderSelectedInverse: palette.
|
|
88
|
+
buttonSecondaryBorderSelectedInverse: palette.movistarBlue30,
|
|
79
89
|
textButtonPrimary: palette.white,
|
|
80
90
|
textButtonPrimaryInverse: palette.movistarBlue,
|
|
81
91
|
textButtonPrimaryInverseSelected: palette.movistarBlue,
|
|
82
92
|
textButtonSecondary: palette.movistarGreen,
|
|
83
|
-
textButtonSecondarySelected: palette.
|
|
93
|
+
textButtonSecondarySelected: palette.movistarGreen60,
|
|
84
94
|
textButtonSecondaryInverse: palette.white,
|
|
85
95
|
textButtonSecondaryInverseSelected: palette.white,
|
|
86
96
|
textLink: palette.movistarBlue,
|
|
87
97
|
textLinkInverse: palette.white,
|
|
88
98
|
textLinkDanger: palette.pepper,
|
|
89
|
-
textLinkSnackbar: palette.
|
|
99
|
+
textLinkSnackbar: palette.movistarBlue30,
|
|
90
100
|
// CONTROLS
|
|
91
101
|
control: palette.grey3,
|
|
92
102
|
controlActivated: palette.movistarBlue,
|
|
93
103
|
controlError: palette.pepper,
|
|
94
|
-
loadingBar: palette.
|
|
95
|
-
loadingBarBackground: palette.
|
|
104
|
+
loadingBar: palette.movistarBlue30,
|
|
105
|
+
loadingBarBackground: palette.movistarBlue55,
|
|
96
106
|
toggleAndroidInactive: palette.grey2,
|
|
97
|
-
toggleAndroidBackgroundActive: palette.
|
|
107
|
+
toggleAndroidBackgroundActive: palette.movistarBlue20,
|
|
98
108
|
iosControlKnob: palette.white,
|
|
99
109
|
// DIVIDERS
|
|
100
110
|
divider: palette.grey2,
|
|
101
|
-
dividerInverse: palette.
|
|
111
|
+
dividerInverse: palette.movistarBlue55,
|
|
102
112
|
navigationBarDivider: palette.movistarBlue,
|
|
103
113
|
// FEEDBACKS
|
|
104
|
-
badge: palette.
|
|
114
|
+
badge: palette.pepper55,
|
|
105
115
|
feedbackErrorBackground: palette.pepper,
|
|
106
116
|
feedbackInfoBackground: palette.grey6,
|
|
107
117
|
// GLOBAL
|
|
108
118
|
brand: palette.movistarBlue,
|
|
109
|
-
brandDark: palette.
|
|
119
|
+
brandDark: palette.movistarBlue55,
|
|
110
120
|
inverse: palette.white,
|
|
111
121
|
neutralHigh: palette.grey6,
|
|
112
122
|
neutralMedium: palette.grey5,
|
|
@@ -124,11 +134,24 @@ var getMovistarSkin = function getMovistarSkin(variant) {
|
|
|
124
134
|
warning: palette.egg,
|
|
125
135
|
// BARS TEXTS
|
|
126
136
|
textNavigationBarPrimary: palette.white,
|
|
127
|
-
textNavigationBarSecondary: palette.
|
|
128
|
-
textNavigationSearchBarHint: palette.
|
|
137
|
+
textNavigationBarSecondary: palette.movistarBlue20,
|
|
138
|
+
textNavigationSearchBarHint: palette.movistarBlue20,
|
|
129
139
|
textNavigationSearchBarText: palette.white,
|
|
130
140
|
textAppBar: palette.grey4,
|
|
131
|
-
textAppBarSelected: palette.movistarBlue
|
|
141
|
+
textAppBarSelected: palette.movistarBlue,
|
|
142
|
+
// TAGS
|
|
143
|
+
tagBackgroundSuccess: palette.movistarGreen10,
|
|
144
|
+
tagBackgroundWarning: palette.egg10,
|
|
145
|
+
tagBackgroundError: palette.pepper10,
|
|
146
|
+
tagBackgroundPromo: palette.purple10,
|
|
147
|
+
tagBackgroundActive: palette.movistarBlue10,
|
|
148
|
+
tagBackgroundInactive: palette.grey1,
|
|
149
|
+
textTagSuccess: palette.movistarGreen70,
|
|
150
|
+
textTagWarning: palette.egg80,
|
|
151
|
+
textTagError: palette.pepper70,
|
|
152
|
+
textTagPromo: palette.purple70,
|
|
153
|
+
textTagActive: palette.movistarBlue,
|
|
154
|
+
textTagInactive: palette.grey5
|
|
132
155
|
},
|
|
133
156
|
darkModeColors: {
|
|
134
157
|
brand: palette.movistarBlue,
|
|
@@ -149,13 +172,13 @@ var getMovistarSkin = function getMovistarSkin(variant) {
|
|
|
149
172
|
buttonLinkBackgroundSelectedInverse: (0, _color).applyAlpha(palette.white, 0.05),
|
|
150
173
|
buttonPrimaryBackground: palette.movistarGreen,
|
|
151
174
|
buttonPrimaryBackgroundInverse: palette.movistarGreen,
|
|
152
|
-
buttonPrimaryBackgroundSelected: palette.
|
|
153
|
-
buttonPrimaryBackgroundHover: palette.
|
|
154
|
-
buttonPrimaryBackgroundSelectedInverse: palette.
|
|
175
|
+
buttonPrimaryBackgroundSelected: palette.movistarGreen60,
|
|
176
|
+
buttonPrimaryBackgroundHover: palette.movistarGreen60,
|
|
177
|
+
buttonPrimaryBackgroundSelectedInverse: palette.movistarGreen60,
|
|
155
178
|
buttonSecondaryBackground: palette.movistarGreen,
|
|
156
|
-
buttonSecondaryBackgroundSelected: palette.
|
|
179
|
+
buttonSecondaryBackgroundSelected: palette.movistarGreen60,
|
|
157
180
|
buttonSecondaryBorderInverse: palette.movistarGreen,
|
|
158
|
-
buttonSecondaryBorderSelectedInverse: palette.
|
|
181
|
+
buttonSecondaryBorderSelectedInverse: palette.movistarGreen60,
|
|
159
182
|
textButtonPrimary: palette.grey2,
|
|
160
183
|
textButtonPrimaryInverse: palette.grey2,
|
|
161
184
|
textButtonPrimaryInverseSelected: palette.grey2,
|
|
@@ -170,7 +193,7 @@ var getMovistarSkin = function getMovistarSkin(variant) {
|
|
|
170
193
|
loadingBar: palette.movistarBlue,
|
|
171
194
|
loadingBarBackground: (0, _color).applyAlpha(palette.white, 0.05),
|
|
172
195
|
toggleAndroidInactive: palette.grey4,
|
|
173
|
-
toggleAndroidBackgroundActive: palette.
|
|
196
|
+
toggleAndroidBackgroundActive: palette.movistarBlue20,
|
|
174
197
|
iosControlKnob: palette.grey2,
|
|
175
198
|
divider: (0, _color).applyAlpha(palette.white, 0.05),
|
|
176
199
|
dividerInverse: (0, _color).applyAlpha(palette.white, 0.05),
|
|
@@ -184,13 +207,26 @@ var getMovistarSkin = function getMovistarSkin(variant) {
|
|
|
184
207
|
textPrimaryInverse: palette.grey2,
|
|
185
208
|
textSecondary: palette.grey4,
|
|
186
209
|
textSecondaryInverse: palette.grey4,
|
|
187
|
-
textAmount: palette.
|
|
210
|
+
textAmount: palette.movistarBlue30,
|
|
188
211
|
textNavigationBarPrimary: palette.grey2,
|
|
189
212
|
textNavigationBarSecondary: palette.grey4,
|
|
190
213
|
textNavigationSearchBarHint: palette.grey4,
|
|
191
214
|
textNavigationSearchBarText: palette.grey2,
|
|
192
215
|
textAppBar: palette.grey5,
|
|
193
|
-
textAppBarSelected: palette.grey2
|
|
216
|
+
textAppBarSelected: palette.grey2,
|
|
217
|
+
// TAGS
|
|
218
|
+
tagBackgroundSuccess: (0, _color).applyAlpha(palette.white, 0.05),
|
|
219
|
+
tagBackgroundWarning: (0, _color).applyAlpha(palette.white, 0.05),
|
|
220
|
+
tagBackgroundError: (0, _color).applyAlpha(palette.white, 0.05),
|
|
221
|
+
tagBackgroundPromo: (0, _color).applyAlpha(palette.white, 0.05),
|
|
222
|
+
tagBackgroundActive: (0, _color).applyAlpha(palette.white, 0.05),
|
|
223
|
+
tagBackgroundInactive: (0, _color).applyAlpha(palette.white, 0.05),
|
|
224
|
+
textTagSuccess: palette.movistarGreen40,
|
|
225
|
+
textTagWarning: palette.egg40,
|
|
226
|
+
textTagError: palette.pepper40,
|
|
227
|
+
textTagPromo: palette.purple40,
|
|
228
|
+
textTagActive: palette.movistarBlue40,
|
|
229
|
+
textTagInactive: palette.grey4
|
|
194
230
|
}
|
|
195
231
|
};
|
|
196
232
|
if (variant === 'prominent') {
|
|
@@ -3,21 +3,32 @@
|
|
|
3
3
|
import type { GetSkin } from "./types";
|
|
4
4
|
declare export var palette: {
|
|
5
5
|
+movistarBlue: "#019DF4",
|
|
6
|
-
+
|
|
7
|
-
+
|
|
8
|
-
+
|
|
9
|
-
+
|
|
6
|
+
+movistarBlue10: "#E6F5FD",
|
|
7
|
+
+movistarBlue20: "#B3E1FB",
|
|
8
|
+
+movistarBlue30: "#80CEF9",
|
|
9
|
+
+movistarBlue40: "#4DBAF7",
|
|
10
|
+
+movistarBlue55: "#008EDD",
|
|
10
11
|
+movistarGreen: "#5CB615",
|
|
11
|
-
+
|
|
12
|
-
+
|
|
13
|
-
+
|
|
12
|
+
+movistarGreen10: "#EFF8E8",
|
|
13
|
+
+movistarGreen30: "#ADDA8A",
|
|
14
|
+
+movistarGreen40: "#8DCC5B",
|
|
15
|
+
+movistarGreen60: "#499110",
|
|
16
|
+
+movistarGreen70: "#407F0F",
|
|
14
17
|
+pepper: "#FF374A",
|
|
15
|
-
+
|
|
16
|
-
+
|
|
18
|
+
+pepper10: "#FFEBED",
|
|
19
|
+
+pepper20: "#FFC3C8",
|
|
20
|
+
+pepper40: "#FF7380",
|
|
21
|
+
+pepper55: "#D73241",
|
|
22
|
+
+pepper70: "#B22634",
|
|
17
23
|
+egg: "#F28D15",
|
|
18
|
-
+
|
|
24
|
+
+egg10: "#FEF4E8",
|
|
25
|
+
+egg40: "#F6AF5B",
|
|
26
|
+
+egg80: "#6D3F09",
|
|
19
27
|
+pink: "#E63780",
|
|
20
28
|
+purple: "#A13EA1",
|
|
29
|
+
+purple10: "#F6ECF6",
|
|
30
|
+
+purple40: "#BD78BD",
|
|
31
|
+
+purple70: "#712B71",
|
|
21
32
|
+grey1: "#F6F6F6",
|
|
22
33
|
+grey2: "#EEEEEE",
|
|
23
34
|
+grey3: "#DDDDDD",
|
|
@@ -32,6 +43,5 @@ declare export var palette: {
|
|
|
32
43
|
+movistarProminentBlueLight70: "#546874",
|
|
33
44
|
+darkModeBlack: "#191919",
|
|
34
45
|
+darkModeGrey: "#242424",
|
|
35
|
-
+darkModeMovistarBlueDark: "#4C7389",
|
|
36
46
|
};
|
|
37
47
|
declare export var getMovistarSkin: GetSkin;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import type { GetSkin } from './types';
|
|
2
2
|
export declare const palette: {
|
|
3
3
|
readonly o2Blue: "#032B5A";
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
4
|
+
readonly o2Blue10: "#E6EAEE";
|
|
5
|
+
readonly o2Blue30: "#8195AC";
|
|
6
|
+
readonly o2Blue45: "#6C8BAF";
|
|
7
|
+
readonly o2Blue55: "#04264E";
|
|
6
8
|
readonly o2SkyBlue: "#0090D0";
|
|
7
|
-
readonly
|
|
9
|
+
readonly o2SkyBlue55: "#057DB2";
|
|
8
10
|
readonly o2SkyBlueLight: "#65B4E4";
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
+
readonly o2SkyBlueLight45: "#80C7E7";
|
|
12
|
+
readonly o2SkyBlueLight20: "#D0E8F6";
|
|
11
13
|
readonly o2SkyBlueLight10: "#E9F5FB";
|
|
12
14
|
readonly o2DeepSkyBlue: "#7FD4FE";
|
|
13
15
|
readonly o2Gem: "#01B7B4";
|
|
@@ -15,14 +17,24 @@ export declare const palette: {
|
|
|
15
17
|
readonly o2GemLight30: "#99E2E1";
|
|
16
18
|
readonly o2Yellow: "#FFCC00";
|
|
17
19
|
readonly o2Green: "#84B50F";
|
|
18
|
-
readonly
|
|
20
|
+
readonly o2Green10: "#F3F8E7";
|
|
21
|
+
readonly o2Green40: "#A9CB57";
|
|
22
|
+
readonly o2Green75: "#4D621D";
|
|
19
23
|
readonly pepper: "#FF374A";
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
24
|
+
readonly pepper10: "#FFEBED";
|
|
25
|
+
readonly pepper20: "#FFC3C8";
|
|
26
|
+
readonly pepper40: "#FF7380";
|
|
27
|
+
readonly pepper55: "#D73241";
|
|
28
|
+
readonly pepper70: "#B22634";
|
|
22
29
|
readonly orange: "#FF7F41";
|
|
23
|
-
readonly
|
|
30
|
+
readonly orange10: "#FFF2EC";
|
|
31
|
+
readonly orange40: "#FFA57A";
|
|
32
|
+
readonly orange80: "#73391D";
|
|
24
33
|
readonly coral: "#FF706E";
|
|
25
34
|
readonly pink: "#EB3C7D";
|
|
35
|
+
readonly pink10: "#FDEBF2";
|
|
36
|
+
readonly pink40: "#F59DBE";
|
|
37
|
+
readonly pink60: "#BC3064";
|
|
26
38
|
readonly o2GradientFirst: "#102550";
|
|
27
39
|
readonly o2GradientSecond: "#0B4680";
|
|
28
40
|
readonly o2GradientThird: "#0D71AD";
|
package/dist/skins/o2-classic.js
CHANGED
|
@@ -7,13 +7,15 @@ var _color = require("../utils/color");
|
|
|
7
7
|
var _constants = require("./constants");
|
|
8
8
|
var palette = {
|
|
9
9
|
o2Blue: '#032B5A',
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
o2Blue10: '#E6EAEE',
|
|
11
|
+
o2Blue30: '#8195AC',
|
|
12
|
+
o2Blue45: '#6C8BAF',
|
|
13
|
+
o2Blue55: '#04264E',
|
|
12
14
|
o2SkyBlue: '#0090D0',
|
|
13
|
-
|
|
15
|
+
o2SkyBlue55: '#057DB2',
|
|
14
16
|
o2SkyBlueLight: '#65B4E4',
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
o2SkyBlueLight45: '#80C7E7',
|
|
18
|
+
o2SkyBlueLight20: '#D0E8F6',
|
|
17
19
|
o2SkyBlueLight10: '#E9F5FB',
|
|
18
20
|
o2DeepSkyBlue: '#7FD4FE',
|
|
19
21
|
o2Gem: '#01B7B4',
|
|
@@ -21,14 +23,24 @@ var palette = {
|
|
|
21
23
|
o2GemLight30: '#99E2E1',
|
|
22
24
|
o2Yellow: '#FFCC00',
|
|
23
25
|
o2Green: '#84B50F',
|
|
24
|
-
|
|
26
|
+
o2Green10: '#F3F8E7',
|
|
27
|
+
o2Green40: '#A9CB57',
|
|
28
|
+
o2Green75: '#4D621D',
|
|
25
29
|
pepper: '#FF374A',
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
pepper10: '#FFEBED',
|
|
31
|
+
pepper20: '#FFC3C8',
|
|
32
|
+
pepper40: '#FF7380',
|
|
33
|
+
pepper55: '#D73241',
|
|
34
|
+
pepper70: '#B22634',
|
|
28
35
|
orange: '#FF7F41',
|
|
29
|
-
|
|
36
|
+
orange10: '#FFF2EC',
|
|
37
|
+
orange40: '#FFA57A',
|
|
38
|
+
orange80: '#73391D',
|
|
30
39
|
coral: '#FF706E',
|
|
31
40
|
pink: '#EB3C7D',
|
|
41
|
+
pink10: '#FDEBF2',
|
|
42
|
+
pink40: '#F59DBE',
|
|
43
|
+
pink60: '#BC3064',
|
|
32
44
|
o2GradientFirst: '#102550',
|
|
33
45
|
o2GradientSecond: '#0B4680',
|
|
34
46
|
o2GradientThird: '#0D71AD',
|
|
@@ -69,24 +81,24 @@ var getO2ClassicSkin = function getO2ClassicSkin() {
|
|
|
69
81
|
borderSelected: palette.o2Gem,
|
|
70
82
|
// BUTTONS
|
|
71
83
|
buttonDangerBackground: palette.pepper,
|
|
72
|
-
buttonDangerBackgroundSelected: palette.
|
|
73
|
-
buttonDangerBackgroundHover: palette.
|
|
84
|
+
buttonDangerBackgroundSelected: palette.pepper55,
|
|
85
|
+
buttonDangerBackgroundHover: palette.pepper55,
|
|
74
86
|
buttonLinkBackgroundSelected: palette.o2SkyBlueLight10,
|
|
75
87
|
buttonLinkBackgroundSelectedInverse: (0, _color).applyAlpha(palette.white, 0.2),
|
|
76
88
|
buttonPrimaryBackground: palette.o2SkyBlue,
|
|
77
89
|
buttonPrimaryBackgroundInverse: palette.white,
|
|
78
|
-
buttonPrimaryBackgroundSelected: palette.
|
|
79
|
-
buttonPrimaryBackgroundHover: palette.
|
|
80
|
-
buttonPrimaryBackgroundSelectedInverse: palette.
|
|
90
|
+
buttonPrimaryBackgroundSelected: palette.o2SkyBlue55,
|
|
91
|
+
buttonPrimaryBackgroundHover: palette.o2SkyBlue55,
|
|
92
|
+
buttonPrimaryBackgroundSelectedInverse: palette.o2SkyBlueLight45,
|
|
81
93
|
buttonSecondaryBackground: palette.o2SkyBlue,
|
|
82
|
-
buttonSecondaryBackgroundSelected: palette.
|
|
94
|
+
buttonSecondaryBackgroundSelected: palette.o2SkyBlue55,
|
|
83
95
|
buttonSecondaryBorderInverse: palette.white,
|
|
84
|
-
buttonSecondaryBorderSelectedInverse: palette.
|
|
96
|
+
buttonSecondaryBorderSelectedInverse: palette.o2SkyBlueLight45,
|
|
85
97
|
textButtonPrimary: palette.white,
|
|
86
98
|
textButtonPrimaryInverse: palette.o2SkyBlue,
|
|
87
99
|
textButtonPrimaryInverseSelected: palette.o2SkyBlue,
|
|
88
100
|
textButtonSecondary: palette.o2SkyBlue,
|
|
89
|
-
textButtonSecondarySelected: palette.
|
|
101
|
+
textButtonSecondarySelected: palette.o2SkyBlue55,
|
|
90
102
|
textButtonSecondaryInverse: palette.white,
|
|
91
103
|
textButtonSecondaryInverseSelected: palette.white,
|
|
92
104
|
textLink: palette.o2SkyBlue,
|
|
@@ -109,12 +121,12 @@ var getO2ClassicSkin = function getO2ClassicSkin() {
|
|
|
109
121
|
dividerInverse: (0, _color).applyAlpha(palette.white, 0.2),
|
|
110
122
|
navigationBarDivider: palette.o2Blue,
|
|
111
123
|
// FEEDBACKS
|
|
112
|
-
badge: palette.
|
|
124
|
+
badge: palette.pepper55,
|
|
113
125
|
feedbackErrorBackground: palette.pepper,
|
|
114
126
|
feedbackInfoBackground: palette.grey6,
|
|
115
127
|
// GLOBAL
|
|
116
128
|
brand: palette.o2Blue,
|
|
117
|
-
brandDark: palette.
|
|
129
|
+
brandDark: palette.o2Blue55,
|
|
118
130
|
inverse: palette.white,
|
|
119
131
|
neutralHigh: palette.grey6,
|
|
120
132
|
neutralLow: palette.grey3,
|
|
@@ -132,11 +144,24 @@ var getO2ClassicSkin = function getO2ClassicSkin() {
|
|
|
132
144
|
warning: palette.orange,
|
|
133
145
|
// BARS TEXTS
|
|
134
146
|
textNavigationBarPrimary: palette.white,
|
|
135
|
-
textNavigationBarSecondary: palette.
|
|
136
|
-
textNavigationSearchBarHint: palette.
|
|
147
|
+
textNavigationBarSecondary: palette.o2Blue45,
|
|
148
|
+
textNavigationSearchBarHint: palette.o2Blue45,
|
|
137
149
|
textNavigationSearchBarText: palette.white,
|
|
138
150
|
textAppBar: palette.grey4,
|
|
139
|
-
textAppBarSelected: palette.o2Blue
|
|
151
|
+
textAppBarSelected: palette.o2Blue,
|
|
152
|
+
// TAGS
|
|
153
|
+
tagBackgroundSuccess: palette.o2Green10,
|
|
154
|
+
tagBackgroundWarning: palette.orange10,
|
|
155
|
+
tagBackgroundError: palette.pepper10,
|
|
156
|
+
tagBackgroundPromo: palette.pink10,
|
|
157
|
+
tagBackgroundActive: palette.o2Blue10,
|
|
158
|
+
tagBackgroundInactive: palette.grey1,
|
|
159
|
+
textTagSuccess: palette.o2Green75,
|
|
160
|
+
textTagWarning: palette.orange80,
|
|
161
|
+
textTagError: palette.pepper70,
|
|
162
|
+
textTagPromo: palette.pink60,
|
|
163
|
+
textTagActive: palette.o2Blue,
|
|
164
|
+
textTagInactive: palette.grey5
|
|
140
165
|
},
|
|
141
166
|
darkModeColors: {
|
|
142
167
|
appBarBackground: palette.darkModeGrey,
|
|
@@ -157,9 +182,9 @@ var getO2ClassicSkin = function getO2ClassicSkin() {
|
|
|
157
182
|
buttonLinkBackgroundSelected: (0, _color).applyAlpha(palette.white, 0.05),
|
|
158
183
|
buttonLinkBackgroundSelectedInverse: (0, _color).applyAlpha(palette.white, 0.05),
|
|
159
184
|
buttonPrimaryBackgroundInverse: palette.o2SkyBlue,
|
|
160
|
-
buttonPrimaryBackgroundSelectedInverse: palette.
|
|
185
|
+
buttonPrimaryBackgroundSelectedInverse: palette.o2SkyBlue55,
|
|
161
186
|
buttonSecondaryBorderInverse: palette.o2SkyBlue,
|
|
162
|
-
buttonSecondaryBorderSelectedInverse: palette.
|
|
187
|
+
buttonSecondaryBorderSelectedInverse: palette.o2SkyBlue55,
|
|
163
188
|
textButtonPrimary: palette.grey2,
|
|
164
189
|
textButtonPrimaryInverse: palette.grey2,
|
|
165
190
|
textButtonPrimaryInverseSelected: palette.grey2,
|
|
@@ -193,13 +218,26 @@ var getO2ClassicSkin = function getO2ClassicSkin() {
|
|
|
193
218
|
textPrimaryInverse: palette.grey2,
|
|
194
219
|
textSecondary: palette.grey4,
|
|
195
220
|
textSecondaryInverse: palette.grey4,
|
|
196
|
-
textAmount: palette.
|
|
221
|
+
textAmount: palette.o2SkyBlueLight45,
|
|
197
222
|
textNavigationBarPrimary: palette.grey2,
|
|
198
223
|
textNavigationBarSecondary: palette.grey4,
|
|
199
224
|
textNavigationSearchBarHint: palette.grey4,
|
|
200
225
|
textNavigationSearchBarText: palette.grey2,
|
|
201
226
|
textAppBar: palette.grey5,
|
|
202
|
-
textAppBarSelected: palette.grey2
|
|
227
|
+
textAppBarSelected: palette.grey2,
|
|
228
|
+
// TAGS
|
|
229
|
+
tagBackgroundSuccess: (0, _color).applyAlpha(palette.white, 0.05),
|
|
230
|
+
tagBackgroundWarning: (0, _color).applyAlpha(palette.white, 0.05),
|
|
231
|
+
tagBackgroundError: (0, _color).applyAlpha(palette.white, 0.05),
|
|
232
|
+
tagBackgroundPromo: (0, _color).applyAlpha(palette.white, 0.05),
|
|
233
|
+
tagBackgroundActive: (0, _color).applyAlpha(palette.white, 0.05),
|
|
234
|
+
tagBackgroundInactive: (0, _color).applyAlpha(palette.white, 0.05),
|
|
235
|
+
textTagSuccess: palette.o2Green40,
|
|
236
|
+
textTagWarning: palette.orange40,
|
|
237
|
+
textTagError: palette.pepper40,
|
|
238
|
+
textTagPromo: palette.pink40,
|
|
239
|
+
textTagActive: palette.o2Blue30,
|
|
240
|
+
textTagInactive: palette.grey4
|
|
203
241
|
}
|
|
204
242
|
};
|
|
205
243
|
};
|
|
@@ -3,13 +3,15 @@
|
|
|
3
3
|
import type { GetSkin } from "./types";
|
|
4
4
|
declare export var palette: {
|
|
5
5
|
+o2Blue: "#032B5A",
|
|
6
|
-
+
|
|
7
|
-
+
|
|
6
|
+
+o2Blue10: "#E6EAEE",
|
|
7
|
+
+o2Blue30: "#8195AC",
|
|
8
|
+
+o2Blue45: "#6C8BAF",
|
|
9
|
+
+o2Blue55: "#04264E",
|
|
8
10
|
+o2SkyBlue: "#0090D0",
|
|
9
|
-
+
|
|
11
|
+
+o2SkyBlue55: "#057DB2",
|
|
10
12
|
+o2SkyBlueLight: "#65B4E4",
|
|
11
|
-
+
|
|
12
|
-
+
|
|
13
|
+
+o2SkyBlueLight45: "#80C7E7",
|
|
14
|
+
+o2SkyBlueLight20: "#D0E8F6",
|
|
13
15
|
+o2SkyBlueLight10: "#E9F5FB",
|
|
14
16
|
+o2DeepSkyBlue: "#7FD4FE",
|
|
15
17
|
+o2Gem: "#01B7B4",
|
|
@@ -17,14 +19,24 @@ declare export var palette: {
|
|
|
17
19
|
+o2GemLight30: "#99E2E1",
|
|
18
20
|
+o2Yellow: "#FFCC00",
|
|
19
21
|
+o2Green: "#84B50F",
|
|
20
|
-
+
|
|
22
|
+
+o2Green10: "#F3F8E7",
|
|
23
|
+
+o2Green40: "#A9CB57",
|
|
24
|
+
+o2Green75: "#4D621D",
|
|
21
25
|
+pepper: "#FF374A",
|
|
22
|
-
+
|
|
23
|
-
+
|
|
26
|
+
+pepper10: "#FFEBED",
|
|
27
|
+
+pepper20: "#FFC3C8",
|
|
28
|
+
+pepper40: "#FF7380",
|
|
29
|
+
+pepper55: "#D73241",
|
|
30
|
+
+pepper70: "#B22634",
|
|
24
31
|
+orange: "#FF7F41",
|
|
25
|
-
+
|
|
32
|
+
+orange10: "#FFF2EC",
|
|
33
|
+
+orange40: "#FFA57A",
|
|
34
|
+
+orange80: "#73391D",
|
|
26
35
|
+coral: "#FF706E",
|
|
27
36
|
+pink: "#EB3C7D",
|
|
37
|
+
+pink10: "#FDEBF2",
|
|
38
|
+
+pink40: "#F59DBE",
|
|
39
|
+
+pink60: "#BC3064",
|
|
28
40
|
+o2GradientFirst: "#102550",
|
|
29
41
|
+o2GradientSecond: "#0B4680",
|
|
30
42
|
+o2GradientThird: "#0D71AD",
|
package/dist/skins/o2.d.ts
CHANGED
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import type { GetSkin } from './types';
|
|
2
2
|
export declare const palette: {
|
|
3
3
|
readonly o2BluePrimary: "#0019A5";
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
4
|
+
readonly o2BluePrimary70: "#000066";
|
|
5
|
+
readonly o2BluePrimary30: "#808CD2";
|
|
6
|
+
readonly o2BluePrimary15: "#CCD1ED";
|
|
7
|
+
readonly o2BluePrimary10: "#E5E8F6";
|
|
8
|
+
readonly o2BlueMid: "#0090D0";
|
|
9
9
|
readonly o2BlueLight: "#41B6E6";
|
|
10
|
-
readonly o2BlueLight60: "#8DD3F0";
|
|
11
10
|
readonly o2BlueLight30: "#C6E9F7";
|
|
12
|
-
readonly o2BlueLight10: "#ECF7FC";
|
|
13
11
|
readonly o2Teal: "#01B7B4";
|
|
14
|
-
readonly o2TealDark: "#099E9B";
|
|
15
|
-
readonly o2TealLight: "#B1E4E3";
|
|
16
12
|
readonly o2Green: "#91C90E";
|
|
17
|
-
readonly
|
|
13
|
+
readonly o2Green10: "#F4FAE7";
|
|
14
|
+
readonly o2Green40: "#B2D956";
|
|
15
|
+
readonly o2Green80: "#415A06";
|
|
18
16
|
readonly o2Yellow: "#FEDB00";
|
|
19
|
-
readonly o2YellowLight: "#FEF6C3";
|
|
20
17
|
readonly o2Orange: "#FF7F41";
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
18
|
+
readonly o2Orange10: "#FFF2EC";
|
|
19
|
+
readonly o2Orange40: "#FFA57A";
|
|
20
|
+
readonly o2Orange75: "#A6522A";
|
|
21
|
+
readonly o2Pink: "#E45DBF";
|
|
22
|
+
readonly o2Purple: "#952D98";
|
|
23
|
+
readonly o2Purple10: "#F4EAF5";
|
|
24
|
+
readonly o2Purple30: "#CA9ACB";
|
|
25
25
|
readonly pepper: "#FF374A";
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
26
|
+
readonly pepper10: "#FEEBED";
|
|
27
|
+
readonly pepper20: "#FCC3C9";
|
|
28
|
+
readonly pepper40: "#FF7380";
|
|
29
|
+
readonly pepper60: "#C32B3D";
|
|
28
30
|
readonly grey1: "#F6F6F6";
|
|
29
31
|
readonly grey2: "#EEEEEE";
|
|
30
32
|
readonly grey3: "#DDDDDD";
|