@atb-as/theme 5.0.1 → 6.0.0-alpha.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/lib/index.d.ts +3 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/lib/sizes.d.ts +22 -0
- package/lib/sizes.js +25 -0
- package/lib/sizes.js.map +1 -0
- package/lib/theme.d.ts +128 -0
- package/lib/theme.js +80 -0
- package/lib/theme.js.map +1 -0
- package/lib/themes/atb-theme/theme.css +522 -0
- package/lib/themes/atb-theme/theme.d.ts +109 -0
- package/lib/themes/atb-theme/theme.js +301 -0
- package/lib/themes/atb-theme/theme.js.map +1 -0
- package/lib/themes/atb-theme/theme.module.css +522 -0
- package/lib/themes/index.d.ts +2 -0
- package/lib/themes/index.js +11 -0
- package/lib/themes/index.js.map +1 -0
- package/lib/themes/nfk-theme/theme.css +522 -0
- package/lib/themes/nfk-theme/theme.d.ts +3 -0
- package/lib/themes/nfk-theme/theme.js +197 -0
- package/lib/themes/nfk-theme/theme.js.map +1 -0
- package/lib/themes/nfk-theme/theme.module.css +522 -0
- package/lib/typography/android.d.ts +3 -0
- package/lib/typography/android.js +65 -0
- package/lib/typography/android.js.map +1 -0
- package/lib/typography/index.d.ts +63 -0
- package/lib/typography/index.js +94 -0
- package/lib/typography/index.js.map +1 -0
- package/lib/typography/ios.d.ts +3 -0
- package/lib/typography/ios.js +64 -0
- package/lib/typography/ios.js.map +1 -0
- package/lib/typography/types.d.ts +21 -0
- package/lib/typography/types.js +19 -0
- package/lib/typography/types.js.map +1 -0
- package/lib/typography.css +166 -0
- package/lib/typography.module.css +166 -0
- package/lib/utils/override-config.d.ts +8 -0
- package/lib/utils/override-config.js +38 -0
- package/lib/utils/override-config.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.extendTextTypeStyles = exports.createTextTypeStyles = exports.getFontBook = exports.fonts = exports.textTypeStyles = void 0;
|
|
17
|
+
var ts_deepmerge_1 = __importDefault(require("ts-deepmerge"));
|
|
18
|
+
var override_config_1 = require("../utils/override-config");
|
|
19
|
+
var android_1 = require("./android");
|
|
20
|
+
var ios_1 = require("./ios");
|
|
21
|
+
var mapType = function (a) {
|
|
22
|
+
return a === 'ios' ? 'ios' : 'android';
|
|
23
|
+
};
|
|
24
|
+
__exportStar(require("./types"), exports);
|
|
25
|
+
exports.textTypeStyles = {
|
|
26
|
+
android: android_1.androidTextTypeStyles,
|
|
27
|
+
ios: ios_1.iosTextTypeStyles,
|
|
28
|
+
};
|
|
29
|
+
exports.fonts = {
|
|
30
|
+
android: android_1.androidFontData,
|
|
31
|
+
ios: ios_1.iosFontData,
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Get fonts for platform. Web should use Android as platform.
|
|
35
|
+
*
|
|
36
|
+
* @param overrides - Properties to override base config with
|
|
37
|
+
* @returns text type styles
|
|
38
|
+
*/
|
|
39
|
+
function getFontBook(type) {
|
|
40
|
+
return exports.fonts[mapType(type)];
|
|
41
|
+
}
|
|
42
|
+
exports.getFontBook = getFontBook;
|
|
43
|
+
/**
|
|
44
|
+
* Create new text type style with optinally overriden defaults.
|
|
45
|
+
*
|
|
46
|
+
* @example extending nested features
|
|
47
|
+
* ```ts
|
|
48
|
+
* createTextTypeStyles({
|
|
49
|
+
* paragraphHeadline: {
|
|
50
|
+
* fontWeight: Platform.select({ios: '600', android: 'bold'})
|
|
51
|
+
* }
|
|
52
|
+
* })
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param type - What platform to fetch text styles from (Android, iOS, Web)
|
|
56
|
+
* @param overrides - Properties to override base config with
|
|
57
|
+
* @returns text type styles
|
|
58
|
+
*/
|
|
59
|
+
function createTextTypeStyles(type, overrides) {
|
|
60
|
+
if (!overrides)
|
|
61
|
+
return exports.textTypeStyles[mapType(type)];
|
|
62
|
+
return (0, override_config_1.overrideConfig)(exports.textTypeStyles[mapType(type)], overrides);
|
|
63
|
+
}
|
|
64
|
+
exports.createTextTypeStyles = createTextTypeStyles;
|
|
65
|
+
/**
|
|
66
|
+
* Use text type style as base and extend with new properties. Properties
|
|
67
|
+
* can be nested and will be deep merged.
|
|
68
|
+
*
|
|
69
|
+
* @example extending nested features
|
|
70
|
+
* ```ts
|
|
71
|
+
* type Foo = {
|
|
72
|
+
* paragraphHeadline: {
|
|
73
|
+
* additional: boolean;
|
|
74
|
+
* };
|
|
75
|
+
* };
|
|
76
|
+
* const foo = extendTextTypeStyles<Foo>({
|
|
77
|
+
* paragraphHeadline: {
|
|
78
|
+
* additional: true,
|
|
79
|
+
* },
|
|
80
|
+
* });
|
|
81
|
+
*
|
|
82
|
+
* console.log(foo.paragraphHeadline.additional);
|
|
83
|
+
* //=> (property) additional: boolean
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param type - What platform to fetch text styles from (Android, iOS, Web)
|
|
87
|
+
* @param extension - Object to extend original text type style. Can be nested with same keys as style
|
|
88
|
+
* @returns new deep merged intersection
|
|
89
|
+
*/
|
|
90
|
+
function extendTextTypeStyles(type, extension) {
|
|
91
|
+
return (0, ts_deepmerge_1.default)(exports.textTypeStyles[mapType(type)], extension);
|
|
92
|
+
}
|
|
93
|
+
exports.extendTextTypeStyles = extendTextTypeStyles;
|
|
94
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typography/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAAiC;AAEjC,4DAA+E;AAE/E,qCAAiE;AACjE,6BAAqD;AAIrD,IAAM,OAAO,GAAG,UAAC,CAAgB;IAC/B,OAAA,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;AAA/B,CAA+B,CAAC;AAElC,0CAAwB;AAEX,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,+BAAqB;IAC9B,GAAG,EAAE,uBAAiB;CACvB,CAAC;AAEW,QAAA,KAAK,GAAG;IACnB,OAAO,EAAE,yBAAe;IACxB,GAAG,EAAE,iBAAW;CACjB,CAAC;AAEF;;;;;GAKG;AACH,SAAgB,WAAW,CAAC,IAAmB;IAC7C,OAAO,aAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9B,CAAC;AAFD,kCAEC;AAED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oBAAoB,CAClC,IAAmB,EACnB,SAAiD;IAEjD,IAAI,CAAC,SAAS;QAAE,OAAO,sBAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;IACrD,OAAO,IAAA,gCAAc,EAAC,sBAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAClE,CAAC;AAND,oDAMC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,oBAAoB,CAAI,IAAmB,EAAE,SAAY;IACvE,OAAO,IAAA,sBAAK,EAAC,sBAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AACzD,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.iosTextTypeStyles = exports.iosFontData = void 0;
|
|
15
|
+
var primaryBase = {
|
|
16
|
+
fontSize: 16,
|
|
17
|
+
lineHeight: 20,
|
|
18
|
+
letterSpacing: -0.31,
|
|
19
|
+
};
|
|
20
|
+
var secondaryBase = {
|
|
21
|
+
fontSize: 14,
|
|
22
|
+
lineHeight: 20,
|
|
23
|
+
letterSpacing: -0.15,
|
|
24
|
+
};
|
|
25
|
+
var tertiaryBase = {
|
|
26
|
+
fontSize: 12,
|
|
27
|
+
lineHeight: 16,
|
|
28
|
+
letterSpacing: 0,
|
|
29
|
+
};
|
|
30
|
+
var labelBase = {
|
|
31
|
+
fontSize: 8,
|
|
32
|
+
lineHeight: 16,
|
|
33
|
+
letterSpacing: 0,
|
|
34
|
+
};
|
|
35
|
+
exports.iosFontData = {
|
|
36
|
+
main: {
|
|
37
|
+
fontFamily: "'SF Pro Text', -apple-system, BlinkMacSystemFont",
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
exports.iosTextTypeStyles = {
|
|
41
|
+
body__primary: primaryBase,
|
|
42
|
+
'body__primary--bold': __assign(__assign({}, primaryBase), { fontWeight: '600' }),
|
|
43
|
+
'body__primary--underline': __assign(__assign({}, primaryBase), { textDecorationLine: 'underline' }),
|
|
44
|
+
'body__primary--jumbo': {
|
|
45
|
+
fontSize: 36,
|
|
46
|
+
lineHeight: 40,
|
|
47
|
+
letterSpacing: 0.41,
|
|
48
|
+
},
|
|
49
|
+
'body__primary--jumbo--bold': {
|
|
50
|
+
fontSize: 36,
|
|
51
|
+
lineHeight: 40,
|
|
52
|
+
letterSpacing: 0.41,
|
|
53
|
+
fontWeight: 'bold'
|
|
54
|
+
},
|
|
55
|
+
body__secondary: secondaryBase,
|
|
56
|
+
'body__secondary--bold': __assign(__assign({}, secondaryBase), { fontWeight: '600' }),
|
|
57
|
+
body__tertiary: tertiaryBase,
|
|
58
|
+
'body__tertiary--strike': __assign(__assign({}, tertiaryBase), { textDecorationLine: 'line-through' }),
|
|
59
|
+
heading__title: __assign(__assign({}, primaryBase), { fontWeight: 'bold' }),
|
|
60
|
+
heading__component: __assign(__assign({}, primaryBase), { fontWeight: '600' }),
|
|
61
|
+
heading__paragraph: __assign(__assign({}, primaryBase), { fontWeight: '600' }),
|
|
62
|
+
label__uppercase: __assign(__assign({}, labelBase), { textTransform: 'uppercase' }),
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ios.js","sourceRoot":"","sources":["../../src/typography/ios.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,IAAM,WAAW,GAAc;IAC7B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,IAAI;CACrB,CAAC;AACF,IAAM,aAAa,GAAc;IAC/B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,IAAI;CACrB,CAAC;AACF,IAAM,YAAY,GAAc;IAC9B,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC;CACjB,CAAC;AACF,IAAM,SAAS,GAAc;IAC3B,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC;CACjB,CAAC;AAEW,QAAA,WAAW,GAAa;IACnC,IAAI,EAAE;QACJ,UAAU,EAAE,kDAAkD;KAC/D;CACF,CAAC;AAEW,QAAA,iBAAiB,GAAmB;IAC/C,aAAa,EAAE,WAAW;IAC1B,qBAAqB,wBAChB,WAAW,KACd,UAAU,EAAE,KAAK,GAClB;IACD,0BAA0B,wBACrB,WAAW,KACd,kBAAkB,EAAE,WAAW,GAChC;IACD,sBAAsB,EAAE;QACtB,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAI;KACpB;IACD,4BAA4B,EAAE;QAC5B,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAI;QACnB,UAAU,EAAE,MAAM;KACnB;IACD,eAAe,EAAE,aAAa;IAC9B,uBAAuB,wBAClB,aAAa,KAChB,UAAU,EAAE,KAAK,GAClB;IACD,cAAc,EAAE,YAAY;IAC5B,wBAAwB,wBACnB,YAAY,KACf,kBAAkB,EAAE,cAAc,GACnC;IACD,cAAc,wBACT,WAAW,KACd,UAAU,EAAE,MAAM,GACnB;IACD,kBAAkB,wBACb,WAAW,KACd,UAAU,EAAE,KAAK,GAClB;IACD,kBAAkB,wBACb,WAAW,KACd,UAAU,EAAE,KAAK,GAClB;IACD,gBAAgB,wBACX,SAAS,KACZ,aAAa,EAAE,WAAW,GAC3B;CACF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const textNames: readonly ["body__primary", "body__primary--bold", "body__primary--underline", "body__primary--jumbo", "body__primary--jumbo--bold", "body__secondary", "body__secondary--bold", "body__tertiary", "body__tertiary--strike", "heading__title", "heading__component", "heading__paragraph", "label__uppercase"];
|
|
2
|
+
export declare type FontMetadata = {
|
|
3
|
+
url?: string;
|
|
4
|
+
fontFamily: string;
|
|
5
|
+
};
|
|
6
|
+
export declare type FontBook = {
|
|
7
|
+
main: FontMetadata;
|
|
8
|
+
[fontName: string]: FontMetadata;
|
|
9
|
+
};
|
|
10
|
+
export declare type TextNames = typeof textNames[number];
|
|
11
|
+
export declare type TextStyle = {
|
|
12
|
+
fontSize: number;
|
|
13
|
+
letterSpacing: number;
|
|
14
|
+
lineHeight: number;
|
|
15
|
+
textDecorationLine?: 'none' | 'underline' | 'line-through' | 'underline line-through';
|
|
16
|
+
fontWeight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
17
|
+
textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';
|
|
18
|
+
};
|
|
19
|
+
export declare type TextTypeStyles = {
|
|
20
|
+
[key in TextNames]: TextStyle;
|
|
21
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.textNames = void 0;
|
|
4
|
+
exports.textNames = [
|
|
5
|
+
'body__primary',
|
|
6
|
+
'body__primary--bold',
|
|
7
|
+
'body__primary--underline',
|
|
8
|
+
'body__primary--jumbo',
|
|
9
|
+
'body__primary--jumbo--bold',
|
|
10
|
+
'body__secondary',
|
|
11
|
+
'body__secondary--bold',
|
|
12
|
+
'body__tertiary',
|
|
13
|
+
'body__tertiary--strike',
|
|
14
|
+
'heading__title',
|
|
15
|
+
'heading__component',
|
|
16
|
+
'heading__paragraph',
|
|
17
|
+
'label__uppercase',
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/typography/types.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,eAAe;IACf,qBAAqB;IACrB,0BAA0B;IAC1B,sBAAsB;IACtB,4BAA4B;IAC5B,iBAAiB;IACjB,uBAAuB;IACvB,gBAAgB;IAChB,wBAAwB;IACxB,gBAAgB;IAChB,oBAAoB;IACpB,oBAAoB;IACpB,kBAAkB;CACV,CAAC"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
|
|
2
|
+
/* Require included fonts. Fetched from URLs and not locally
|
|
3
|
+
to leverage better CDN caching. */
|
|
4
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
|
|
5
|
+
|
|
6
|
+
/* Base Typgraphy Custom Properties */
|
|
7
|
+
:root {
|
|
8
|
+
/* Definitions for body__primary */
|
|
9
|
+
--baseTypo-body__primary-fontSize: 1rem;
|
|
10
|
+
--baseTypo-body__primary-lineHeight: 1.25rem;
|
|
11
|
+
--baseTypo-body__primary-letterSpacing: 0.03125rem;
|
|
12
|
+
|
|
13
|
+
/* Definitions for body__primary--bold */
|
|
14
|
+
--baseTypo-body__primary--bold-fontSize: 1rem;
|
|
15
|
+
--baseTypo-body__primary--bold-lineHeight: 1.25rem;
|
|
16
|
+
--baseTypo-body__primary--bold-letterSpacing: 0.03125rem;
|
|
17
|
+
--baseTypo-body__primary--bold-fontWeight: 500;
|
|
18
|
+
|
|
19
|
+
/* Definitions for body__primary--underline */
|
|
20
|
+
--baseTypo-body__primary--underline-fontSize: 1rem;
|
|
21
|
+
--baseTypo-body__primary--underline-lineHeight: 1.25rem;
|
|
22
|
+
--baseTypo-body__primary--underline-letterSpacing: 0.03125rem;
|
|
23
|
+
--baseTypo-body__primary--underline-textDecorationLine: underline;
|
|
24
|
+
|
|
25
|
+
/* Definitions for body__primary--jumbo */
|
|
26
|
+
--baseTypo-body__primary--jumbo-fontSize: 2.25rem;
|
|
27
|
+
--baseTypo-body__primary--jumbo-lineHeight: 2.5rem;
|
|
28
|
+
--baseTypo-body__primary--jumbo-letterSpacing: 0.015625rem;
|
|
29
|
+
|
|
30
|
+
/* Definitions for body__primary--jumbo--bold */
|
|
31
|
+
--baseTypo-body__primary--jumbo--bold-fontSize: 2.25rem;
|
|
32
|
+
--baseTypo-body__primary--jumbo--bold-lineHeight: 2.5rem;
|
|
33
|
+
--baseTypo-body__primary--jumbo--bold-letterSpacing: 0.015625rem;
|
|
34
|
+
--baseTypo-body__primary--jumbo--bold-fontWeight: bold;
|
|
35
|
+
|
|
36
|
+
/* Definitions for body__secondary */
|
|
37
|
+
--baseTypo-body__secondary-fontSize: 0.875rem;
|
|
38
|
+
--baseTypo-body__secondary-lineHeight: 1.25rem;
|
|
39
|
+
--baseTypo-body__secondary-letterSpacing: 0.015625rem;
|
|
40
|
+
|
|
41
|
+
/* Definitions for body__secondary--bold */
|
|
42
|
+
--baseTypo-body__secondary--bold-fontSize: 0.875rem;
|
|
43
|
+
--baseTypo-body__secondary--bold-lineHeight: 1.25rem;
|
|
44
|
+
--baseTypo-body__secondary--bold-letterSpacing: 0.015625rem;
|
|
45
|
+
--baseTypo-body__secondary--bold-fontWeight: 500;
|
|
46
|
+
|
|
47
|
+
/* Definitions for body__tertiary */
|
|
48
|
+
--baseTypo-body__tertiary-fontSize: 0.75rem;
|
|
49
|
+
--baseTypo-body__tertiary-lineHeight: 1rem;
|
|
50
|
+
--baseTypo-body__tertiary-letterSpacing: 0.025rem;
|
|
51
|
+
|
|
52
|
+
/* Definitions for body__tertiary--strike */
|
|
53
|
+
--baseTypo-body__tertiary--strike-fontSize: 0.75rem;
|
|
54
|
+
--baseTypo-body__tertiary--strike-lineHeight: 1rem;
|
|
55
|
+
--baseTypo-body__tertiary--strike-letterSpacing: 0.025rem;
|
|
56
|
+
--baseTypo-body__tertiary--strike-textDecorationLine: line-through;
|
|
57
|
+
|
|
58
|
+
/* Definitions for heading__title */
|
|
59
|
+
--baseTypo-heading__title-fontSize: 1rem;
|
|
60
|
+
--baseTypo-heading__title-lineHeight: 1.25rem;
|
|
61
|
+
--baseTypo-heading__title-letterSpacing: 0.03125rem;
|
|
62
|
+
--baseTypo-heading__title-fontWeight: bold;
|
|
63
|
+
|
|
64
|
+
/* Definitions for heading__component */
|
|
65
|
+
--baseTypo-heading__component-fontSize: 1rem;
|
|
66
|
+
--baseTypo-heading__component-lineHeight: 1.25rem;
|
|
67
|
+
--baseTypo-heading__component-letterSpacing: 0.03125rem;
|
|
68
|
+
--baseTypo-heading__component-fontWeight: 500;
|
|
69
|
+
|
|
70
|
+
/* Definitions for heading__paragraph */
|
|
71
|
+
--baseTypo-heading__paragraph-fontSize: 1rem;
|
|
72
|
+
--baseTypo-heading__paragraph-lineHeight: 1.25rem;
|
|
73
|
+
--baseTypo-heading__paragraph-letterSpacing: 0.03125rem;
|
|
74
|
+
--baseTypo-heading__paragraph-fontWeight: 500;
|
|
75
|
+
|
|
76
|
+
/* Definitions for label__uppercase */
|
|
77
|
+
--baseTypo-label__uppercase-fontSize: 0.5rem;
|
|
78
|
+
--baseTypo-label__uppercase-lineHeight: 1rem;
|
|
79
|
+
--baseTypo-label__uppercase-textTransform: uppercase;
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/* Included font types */
|
|
83
|
+
--font-main: 'Roboto', sans-serif;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Main setup, base size and main font */
|
|
87
|
+
html {
|
|
88
|
+
font-family: var(--font-main);
|
|
89
|
+
/* Default base size. */
|
|
90
|
+
font-size: 100%;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Typography definitions */
|
|
94
|
+
.typo-body__primary {
|
|
95
|
+
font-size: var(--baseTypo-body__primary-fontSize, 1rem);
|
|
96
|
+
line-height: var(--baseTypo-body__primary-lineHeight, 1.25rem);
|
|
97
|
+
letter-spacing: var(--baseTypo-body__primary-letterSpacing, 0.03125rem);
|
|
98
|
+
}
|
|
99
|
+
.typo-body__primary--bold {
|
|
100
|
+
font-size: var(--baseTypo-body__primary--bold-fontSize, 1rem);
|
|
101
|
+
line-height: var(--baseTypo-body__primary--bold-lineHeight, 1.25rem);
|
|
102
|
+
letter-spacing: var(--baseTypo-body__primary--bold-letterSpacing, 0.03125rem);
|
|
103
|
+
font-weight: var(--baseTypo-body__primary--bold-fontWeight, 500);
|
|
104
|
+
}
|
|
105
|
+
.typo-body__primary--underline {
|
|
106
|
+
font-size: var(--baseTypo-body__primary--underline-fontSize, 1rem);
|
|
107
|
+
line-height: var(--baseTypo-body__primary--underline-lineHeight, 1.25rem);
|
|
108
|
+
letter-spacing: var(--baseTypo-body__primary--underline-letterSpacing, 0.03125rem);
|
|
109
|
+
text-decoration: var(--baseTypo-body__primary--underline-textDecorationLine, underline);
|
|
110
|
+
}
|
|
111
|
+
.typo-body__primary--jumbo {
|
|
112
|
+
font-size: var(--baseTypo-body__primary--jumbo-fontSize, 2.25rem);
|
|
113
|
+
line-height: var(--baseTypo-body__primary--jumbo-lineHeight, 2.5rem);
|
|
114
|
+
letter-spacing: var(--baseTypo-body__primary--jumbo-letterSpacing, 0.015625rem);
|
|
115
|
+
}
|
|
116
|
+
.typo-body__primary--jumbo--bold {
|
|
117
|
+
font-size: var(--baseTypo-body__primary--jumbo--bold-fontSize, 2.25rem);
|
|
118
|
+
line-height: var(--baseTypo-body__primary--jumbo--bold-lineHeight, 2.5rem);
|
|
119
|
+
letter-spacing: var(--baseTypo-body__primary--jumbo--bold-letterSpacing, 0.015625rem);
|
|
120
|
+
font-weight: var(--baseTypo-body__primary--jumbo--bold-fontWeight, bold);
|
|
121
|
+
}
|
|
122
|
+
.typo-body__secondary {
|
|
123
|
+
font-size: var(--baseTypo-body__secondary-fontSize, 0.875rem);
|
|
124
|
+
line-height: var(--baseTypo-body__secondary-lineHeight, 1.25rem);
|
|
125
|
+
letter-spacing: var(--baseTypo-body__secondary-letterSpacing, 0.015625rem);
|
|
126
|
+
}
|
|
127
|
+
.typo-body__secondary--bold {
|
|
128
|
+
font-size: var(--baseTypo-body__secondary--bold-fontSize, 0.875rem);
|
|
129
|
+
line-height: var(--baseTypo-body__secondary--bold-lineHeight, 1.25rem);
|
|
130
|
+
letter-spacing: var(--baseTypo-body__secondary--bold-letterSpacing, 0.015625rem);
|
|
131
|
+
font-weight: var(--baseTypo-body__secondary--bold-fontWeight, 500);
|
|
132
|
+
}
|
|
133
|
+
.typo-body__tertiary {
|
|
134
|
+
font-size: var(--baseTypo-body__tertiary-fontSize, 0.75rem);
|
|
135
|
+
line-height: var(--baseTypo-body__tertiary-lineHeight, 1rem);
|
|
136
|
+
letter-spacing: var(--baseTypo-body__tertiary-letterSpacing, 0.025rem);
|
|
137
|
+
}
|
|
138
|
+
.typo-body__tertiary--strike {
|
|
139
|
+
font-size: var(--baseTypo-body__tertiary--strike-fontSize, 0.75rem);
|
|
140
|
+
line-height: var(--baseTypo-body__tertiary--strike-lineHeight, 1rem);
|
|
141
|
+
letter-spacing: var(--baseTypo-body__tertiary--strike-letterSpacing, 0.025rem);
|
|
142
|
+
text-decoration: var(--baseTypo-body__tertiary--strike-textDecorationLine, line-through);
|
|
143
|
+
}
|
|
144
|
+
.typo-heading__title {
|
|
145
|
+
font-size: var(--baseTypo-heading__title-fontSize, 1rem);
|
|
146
|
+
line-height: var(--baseTypo-heading__title-lineHeight, 1.25rem);
|
|
147
|
+
letter-spacing: var(--baseTypo-heading__title-letterSpacing, 0.03125rem);
|
|
148
|
+
font-weight: var(--baseTypo-heading__title-fontWeight, bold);
|
|
149
|
+
}
|
|
150
|
+
.typo-heading__component {
|
|
151
|
+
font-size: var(--baseTypo-heading__component-fontSize, 1rem);
|
|
152
|
+
line-height: var(--baseTypo-heading__component-lineHeight, 1.25rem);
|
|
153
|
+
letter-spacing: var(--baseTypo-heading__component-letterSpacing, 0.03125rem);
|
|
154
|
+
font-weight: var(--baseTypo-heading__component-fontWeight, 500);
|
|
155
|
+
}
|
|
156
|
+
.typo-heading__paragraph {
|
|
157
|
+
font-size: var(--baseTypo-heading__paragraph-fontSize, 1rem);
|
|
158
|
+
line-height: var(--baseTypo-heading__paragraph-lineHeight, 1.25rem);
|
|
159
|
+
letter-spacing: var(--baseTypo-heading__paragraph-letterSpacing, 0.03125rem);
|
|
160
|
+
font-weight: var(--baseTypo-heading__paragraph-fontWeight, 500);
|
|
161
|
+
}
|
|
162
|
+
.typo-label__uppercase {
|
|
163
|
+
font-size: var(--baseTypo-label__uppercase-fontSize, 0.5rem);
|
|
164
|
+
line-height: var(--baseTypo-label__uppercase-lineHeight, 1rem);
|
|
165
|
+
text-transform: var(--baseTypo-label__uppercase-textTransform, uppercase);
|
|
166
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
|
|
2
|
+
/* Require included fonts. Fetched from URLs and not locally
|
|
3
|
+
to leverage better CDN caching. */
|
|
4
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
|
|
5
|
+
|
|
6
|
+
/* Base Typgraphy Custom Properties */
|
|
7
|
+
:root {
|
|
8
|
+
/* Definitions for body__primary */
|
|
9
|
+
--baseTypo-body__primary-fontSize: 1rem;
|
|
10
|
+
--baseTypo-body__primary-lineHeight: 1.25rem;
|
|
11
|
+
--baseTypo-body__primary-letterSpacing: 0.03125rem;
|
|
12
|
+
|
|
13
|
+
/* Definitions for body__primary--bold */
|
|
14
|
+
--baseTypo-body__primary--bold-fontSize: 1rem;
|
|
15
|
+
--baseTypo-body__primary--bold-lineHeight: 1.25rem;
|
|
16
|
+
--baseTypo-body__primary--bold-letterSpacing: 0.03125rem;
|
|
17
|
+
--baseTypo-body__primary--bold-fontWeight: 500;
|
|
18
|
+
|
|
19
|
+
/* Definitions for body__primary--underline */
|
|
20
|
+
--baseTypo-body__primary--underline-fontSize: 1rem;
|
|
21
|
+
--baseTypo-body__primary--underline-lineHeight: 1.25rem;
|
|
22
|
+
--baseTypo-body__primary--underline-letterSpacing: 0.03125rem;
|
|
23
|
+
--baseTypo-body__primary--underline-textDecorationLine: underline;
|
|
24
|
+
|
|
25
|
+
/* Definitions for body__primary--jumbo */
|
|
26
|
+
--baseTypo-body__primary--jumbo-fontSize: 2.25rem;
|
|
27
|
+
--baseTypo-body__primary--jumbo-lineHeight: 2.5rem;
|
|
28
|
+
--baseTypo-body__primary--jumbo-letterSpacing: 0.015625rem;
|
|
29
|
+
|
|
30
|
+
/* Definitions for body__primary--jumbo--bold */
|
|
31
|
+
--baseTypo-body__primary--jumbo--bold-fontSize: 2.25rem;
|
|
32
|
+
--baseTypo-body__primary--jumbo--bold-lineHeight: 2.5rem;
|
|
33
|
+
--baseTypo-body__primary--jumbo--bold-letterSpacing: 0.015625rem;
|
|
34
|
+
--baseTypo-body__primary--jumbo--bold-fontWeight: bold;
|
|
35
|
+
|
|
36
|
+
/* Definitions for body__secondary */
|
|
37
|
+
--baseTypo-body__secondary-fontSize: 0.875rem;
|
|
38
|
+
--baseTypo-body__secondary-lineHeight: 1.25rem;
|
|
39
|
+
--baseTypo-body__secondary-letterSpacing: 0.015625rem;
|
|
40
|
+
|
|
41
|
+
/* Definitions for body__secondary--bold */
|
|
42
|
+
--baseTypo-body__secondary--bold-fontSize: 0.875rem;
|
|
43
|
+
--baseTypo-body__secondary--bold-lineHeight: 1.25rem;
|
|
44
|
+
--baseTypo-body__secondary--bold-letterSpacing: 0.015625rem;
|
|
45
|
+
--baseTypo-body__secondary--bold-fontWeight: 500;
|
|
46
|
+
|
|
47
|
+
/* Definitions for body__tertiary */
|
|
48
|
+
--baseTypo-body__tertiary-fontSize: 0.75rem;
|
|
49
|
+
--baseTypo-body__tertiary-lineHeight: 1rem;
|
|
50
|
+
--baseTypo-body__tertiary-letterSpacing: 0.025rem;
|
|
51
|
+
|
|
52
|
+
/* Definitions for body__tertiary--strike */
|
|
53
|
+
--baseTypo-body__tertiary--strike-fontSize: 0.75rem;
|
|
54
|
+
--baseTypo-body__tertiary--strike-lineHeight: 1rem;
|
|
55
|
+
--baseTypo-body__tertiary--strike-letterSpacing: 0.025rem;
|
|
56
|
+
--baseTypo-body__tertiary--strike-textDecorationLine: line-through;
|
|
57
|
+
|
|
58
|
+
/* Definitions for heading__title */
|
|
59
|
+
--baseTypo-heading__title-fontSize: 1rem;
|
|
60
|
+
--baseTypo-heading__title-lineHeight: 1.25rem;
|
|
61
|
+
--baseTypo-heading__title-letterSpacing: 0.03125rem;
|
|
62
|
+
--baseTypo-heading__title-fontWeight: bold;
|
|
63
|
+
|
|
64
|
+
/* Definitions for heading__component */
|
|
65
|
+
--baseTypo-heading__component-fontSize: 1rem;
|
|
66
|
+
--baseTypo-heading__component-lineHeight: 1.25rem;
|
|
67
|
+
--baseTypo-heading__component-letterSpacing: 0.03125rem;
|
|
68
|
+
--baseTypo-heading__component-fontWeight: 500;
|
|
69
|
+
|
|
70
|
+
/* Definitions for heading__paragraph */
|
|
71
|
+
--baseTypo-heading__paragraph-fontSize: 1rem;
|
|
72
|
+
--baseTypo-heading__paragraph-lineHeight: 1.25rem;
|
|
73
|
+
--baseTypo-heading__paragraph-letterSpacing: 0.03125rem;
|
|
74
|
+
--baseTypo-heading__paragraph-fontWeight: 500;
|
|
75
|
+
|
|
76
|
+
/* Definitions for label__uppercase */
|
|
77
|
+
--baseTypo-label__uppercase-fontSize: 0.5rem;
|
|
78
|
+
--baseTypo-label__uppercase-lineHeight: 1rem;
|
|
79
|
+
--baseTypo-label__uppercase-textTransform: uppercase;
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/* Included font types */
|
|
83
|
+
--font-main: 'Roboto', sans-serif;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Main setup, base size and main font */
|
|
87
|
+
:global(html) {
|
|
88
|
+
font-family: var(--font-main);
|
|
89
|
+
/* Default base size. */
|
|
90
|
+
font-size: 100%;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Typography definitions */
|
|
94
|
+
.typo-body__primary {
|
|
95
|
+
font-size: var(--baseTypo-body__primary-fontSize, 1rem);
|
|
96
|
+
line-height: var(--baseTypo-body__primary-lineHeight, 1.25rem);
|
|
97
|
+
letter-spacing: var(--baseTypo-body__primary-letterSpacing, 0.03125rem);
|
|
98
|
+
}
|
|
99
|
+
.typo-body__primary--bold {
|
|
100
|
+
font-size: var(--baseTypo-body__primary--bold-fontSize, 1rem);
|
|
101
|
+
line-height: var(--baseTypo-body__primary--bold-lineHeight, 1.25rem);
|
|
102
|
+
letter-spacing: var(--baseTypo-body__primary--bold-letterSpacing, 0.03125rem);
|
|
103
|
+
font-weight: var(--baseTypo-body__primary--bold-fontWeight, 500);
|
|
104
|
+
}
|
|
105
|
+
.typo-body__primary--underline {
|
|
106
|
+
font-size: var(--baseTypo-body__primary--underline-fontSize, 1rem);
|
|
107
|
+
line-height: var(--baseTypo-body__primary--underline-lineHeight, 1.25rem);
|
|
108
|
+
letter-spacing: var(--baseTypo-body__primary--underline-letterSpacing, 0.03125rem);
|
|
109
|
+
text-decoration: var(--baseTypo-body__primary--underline-textDecorationLine, underline);
|
|
110
|
+
}
|
|
111
|
+
.typo-body__primary--jumbo {
|
|
112
|
+
font-size: var(--baseTypo-body__primary--jumbo-fontSize, 2.25rem);
|
|
113
|
+
line-height: var(--baseTypo-body__primary--jumbo-lineHeight, 2.5rem);
|
|
114
|
+
letter-spacing: var(--baseTypo-body__primary--jumbo-letterSpacing, 0.015625rem);
|
|
115
|
+
}
|
|
116
|
+
.typo-body__primary--jumbo--bold {
|
|
117
|
+
font-size: var(--baseTypo-body__primary--jumbo--bold-fontSize, 2.25rem);
|
|
118
|
+
line-height: var(--baseTypo-body__primary--jumbo--bold-lineHeight, 2.5rem);
|
|
119
|
+
letter-spacing: var(--baseTypo-body__primary--jumbo--bold-letterSpacing, 0.015625rem);
|
|
120
|
+
font-weight: var(--baseTypo-body__primary--jumbo--bold-fontWeight, bold);
|
|
121
|
+
}
|
|
122
|
+
.typo-body__secondary {
|
|
123
|
+
font-size: var(--baseTypo-body__secondary-fontSize, 0.875rem);
|
|
124
|
+
line-height: var(--baseTypo-body__secondary-lineHeight, 1.25rem);
|
|
125
|
+
letter-spacing: var(--baseTypo-body__secondary-letterSpacing, 0.015625rem);
|
|
126
|
+
}
|
|
127
|
+
.typo-body__secondary--bold {
|
|
128
|
+
font-size: var(--baseTypo-body__secondary--bold-fontSize, 0.875rem);
|
|
129
|
+
line-height: var(--baseTypo-body__secondary--bold-lineHeight, 1.25rem);
|
|
130
|
+
letter-spacing: var(--baseTypo-body__secondary--bold-letterSpacing, 0.015625rem);
|
|
131
|
+
font-weight: var(--baseTypo-body__secondary--bold-fontWeight, 500);
|
|
132
|
+
}
|
|
133
|
+
.typo-body__tertiary {
|
|
134
|
+
font-size: var(--baseTypo-body__tertiary-fontSize, 0.75rem);
|
|
135
|
+
line-height: var(--baseTypo-body__tertiary-lineHeight, 1rem);
|
|
136
|
+
letter-spacing: var(--baseTypo-body__tertiary-letterSpacing, 0.025rem);
|
|
137
|
+
}
|
|
138
|
+
.typo-body__tertiary--strike {
|
|
139
|
+
font-size: var(--baseTypo-body__tertiary--strike-fontSize, 0.75rem);
|
|
140
|
+
line-height: var(--baseTypo-body__tertiary--strike-lineHeight, 1rem);
|
|
141
|
+
letter-spacing: var(--baseTypo-body__tertiary--strike-letterSpacing, 0.025rem);
|
|
142
|
+
text-decoration: var(--baseTypo-body__tertiary--strike-textDecorationLine, line-through);
|
|
143
|
+
}
|
|
144
|
+
.typo-heading__title {
|
|
145
|
+
font-size: var(--baseTypo-heading__title-fontSize, 1rem);
|
|
146
|
+
line-height: var(--baseTypo-heading__title-lineHeight, 1.25rem);
|
|
147
|
+
letter-spacing: var(--baseTypo-heading__title-letterSpacing, 0.03125rem);
|
|
148
|
+
font-weight: var(--baseTypo-heading__title-fontWeight, bold);
|
|
149
|
+
}
|
|
150
|
+
.typo-heading__component {
|
|
151
|
+
font-size: var(--baseTypo-heading__component-fontSize, 1rem);
|
|
152
|
+
line-height: var(--baseTypo-heading__component-lineHeight, 1.25rem);
|
|
153
|
+
letter-spacing: var(--baseTypo-heading__component-letterSpacing, 0.03125rem);
|
|
154
|
+
font-weight: var(--baseTypo-heading__component-fontWeight, 500);
|
|
155
|
+
}
|
|
156
|
+
.typo-heading__paragraph {
|
|
157
|
+
font-size: var(--baseTypo-heading__paragraph-fontSize, 1rem);
|
|
158
|
+
line-height: var(--baseTypo-heading__paragraph-lineHeight, 1.25rem);
|
|
159
|
+
letter-spacing: var(--baseTypo-heading__paragraph-letterSpacing, 0.03125rem);
|
|
160
|
+
font-weight: var(--baseTypo-heading__paragraph-fontWeight, 500);
|
|
161
|
+
}
|
|
162
|
+
.typo-label__uppercase {
|
|
163
|
+
font-size: var(--baseTypo-label__uppercase-fontSize, 0.5rem);
|
|
164
|
+
line-height: var(--baseTypo-label__uppercase-lineHeight, 1rem);
|
|
165
|
+
text-transform: var(--baseTypo-label__uppercase-textTransform, uppercase);
|
|
166
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface Configuration {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare type ConfigurationOverride<T> = {
|
|
5
|
+
[P in keyof T]?: ConfigurationOverride<T[P]>;
|
|
6
|
+
};
|
|
7
|
+
export declare function overrideConfig<T extends Configuration>(base: T, overrides: ConfigurationOverride<T>): T;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.overrideConfig = void 0;
|
|
15
|
+
function overrideConfig(base, overrides) {
|
|
16
|
+
var result = __assign({}, base);
|
|
17
|
+
for (var key in base) {
|
|
18
|
+
if (isObject(result[key]) && isObject(overrides[key])) {
|
|
19
|
+
result[key] = overrideConfig(result[key], overrides[key]);
|
|
20
|
+
}
|
|
21
|
+
else if (overrides[key] && !isObject(overrides[key])) {
|
|
22
|
+
result[key] = overrides[key];
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return result;
|
|
26
|
+
}
|
|
27
|
+
exports.overrideConfig = overrideConfig;
|
|
28
|
+
function isObject(obj) {
|
|
29
|
+
if (typeof obj === 'object' && obj !== null) {
|
|
30
|
+
if (typeof Object.getPrototypeOf === 'function') {
|
|
31
|
+
var prototype = Object.getPrototypeOf(obj);
|
|
32
|
+
return prototype === Object.prototype || prototype === null;
|
|
33
|
+
}
|
|
34
|
+
return Object.prototype.toString.call(obj) === '[object Object]';
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=override-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"override-config.js","sourceRoot":"","sources":["../../src/utils/override-config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA,SAAgB,cAAc,CAC5B,IAAO,EACP,SAAmC;IAEnC,IAAI,MAAM,gBAAU,IAAI,CAAC,CAAC;IAC1B,KAAK,IAAI,GAAG,IAAI,IAAI,EAAE;QACpB,IAAI,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE;YACrD,MAAM,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,GAAG,CAAE,CAAC,CAAC;SAC5D;aAAM,IAAI,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE;YACtD,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAiC,CAAC;SAC9D;KACF;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAbD,wCAaC;AAED,SAAS,QAAQ,CAAC,GAAQ;IACxB,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,EAAE;QAC3C,IAAI,OAAO,MAAM,CAAC,cAAc,KAAK,UAAU,EAAE;YAC/C,IAAM,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;YAC7C,OAAO,SAAS,KAAK,MAAM,CAAC,SAAS,IAAI,SAAS,KAAK,IAAI,CAAC;SAC7D;QAED,OAAO,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,iBAAiB,CAAC;KAClE;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atb-as/theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "AtB Design System Colors",
|
|
6
6
|
"license": "EUPL-1.2",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "710e85db095e6f10d80a67e9d963ee97389f3f69"
|
|
35
35
|
}
|