@telefonica/mistica 10.19.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 +7 -0
- package/dist/button.js +24 -8
- package/dist/card.js +25 -28
- package/dist/header.d.ts +2 -0
- package/dist/header.js.flow +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js.flow +1 -0
- package/dist/package-version.js +1 -1
- 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.d.ts +4 -0
- package/dist/text.js +13 -6
- package/dist/text.js.flow +10 -0
- package/dist-es/button.js +24 -8
- package/dist-es/card.js +26 -29
- package/dist-es/package-version.js +1 -1
- 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.js +13 -6
- package/package.json +1 -1
|
@@ -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";
|
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
|
};
|