@newskit-render/shared-components 3.2.1-alpha.0 → 3.2.2-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/dist/cjs/theme/sunTheme/index.js +4 -57
- package/dist/cjs/theme/sunTheme/index.js.map +1 -1
- package/dist/cjs/theme/sunTheme/stylePresets.d.ts +73 -0
- package/dist/cjs/theme/sunTheme/stylePresets.js +77 -0
- package/dist/cjs/theme/sunTheme/stylePresets.js.map +1 -0
- package/dist/cjs/theme/timesTheme/componentDefaults.d.ts +0 -3
- package/dist/cjs/theme/timesTheme/componentDefaults.js +0 -3
- package/dist/cjs/theme/timesTheme/componentDefaults.js.map +1 -1
- package/dist/cjs/theme/timesTheme/index.js +3 -2
- package/dist/cjs/theme/timesTheme/index.js.map +1 -1
- package/dist/cjs/theme/timesTheme/stylePresets.d.ts +43 -0
- package/dist/cjs/theme/timesTheme/stylePresets.js +43 -0
- package/dist/cjs/theme/timesTheme/stylePresets.js.map +1 -1
- package/dist/cjs/theme/tlsTheme/index.js +3 -4
- package/dist/cjs/theme/tlsTheme/index.js.map +1 -1
- package/dist/cjs/theme/tlsTheme/stylePresets.d.ts +43 -0
- package/dist/cjs/theme/tlsTheme/stylePresets.js +43 -0
- package/dist/cjs/theme/tlsTheme/stylePresets.js.map +1 -1
- package/dist/cjs/theme/virginTheme/index.js +3 -2
- package/dist/cjs/theme/virginTheme/index.js.map +1 -1
- package/dist/esm/theme/sunTheme/index.js +4 -57
- package/dist/esm/theme/sunTheme/index.js.map +1 -1
- package/dist/esm/theme/sunTheme/stylePresets.d.ts +73 -0
- package/dist/esm/theme/sunTheme/stylePresets.js +74 -0
- package/dist/esm/theme/sunTheme/stylePresets.js.map +1 -0
- package/dist/esm/theme/timesTheme/componentDefaults.d.ts +0 -3
- package/dist/esm/theme/timesTheme/componentDefaults.js +0 -3
- package/dist/esm/theme/timesTheme/componentDefaults.js.map +1 -1
- package/dist/esm/theme/timesTheme/index.js +3 -2
- package/dist/esm/theme/timesTheme/index.js.map +1 -1
- package/dist/esm/theme/timesTheme/stylePresets.d.ts +43 -0
- package/dist/esm/theme/timesTheme/stylePresets.js +43 -0
- package/dist/esm/theme/timesTheme/stylePresets.js.map +1 -1
- package/dist/esm/theme/tlsTheme/index.js +3 -4
- package/dist/esm/theme/tlsTheme/index.js.map +1 -1
- package/dist/esm/theme/tlsTheme/stylePresets.d.ts +43 -0
- package/dist/esm/theme/tlsTheme/stylePresets.js +43 -0
- package/dist/esm/theme/tlsTheme/stylePresets.js.map +1 -1
- package/dist/esm/theme/virginTheme/index.js +3 -2
- package/dist/esm/theme/virginTheme/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -19,9 +19,11 @@ var overlays_1 = require("./overlays");
|
|
|
19
19
|
var fonts_1 = require("./fonts");
|
|
20
20
|
var shadows_1 = require("./shadows");
|
|
21
21
|
var typography_presets_1 = require("./typography-presets");
|
|
22
|
-
var
|
|
22
|
+
var stylePresets_1 = require("./stylePresets");
|
|
23
|
+
var __1 = require("../");
|
|
23
24
|
exports.theSunTheme = (0, newskit_1.createTheme)({
|
|
24
25
|
name: 'The-Sun',
|
|
26
|
+
baseTheme: __1.sharedTheme,
|
|
25
27
|
overrides: {
|
|
26
28
|
borders: border_radius_1.borders,
|
|
27
29
|
colors: colors_1.colors,
|
|
@@ -29,62 +31,7 @@ exports.theSunTheme = (0, newskit_1.createTheme)({
|
|
|
29
31
|
shadows: shadows_1.shadows,
|
|
30
32
|
typographyPresets: typography_presets_1.typographyPresets,
|
|
31
33
|
fonts: fonts_1.fonts,
|
|
32
|
-
stylePresets: __assign({
|
|
33
|
-
base: {
|
|
34
|
-
backgroundColor: '{{colors.interfaceBackground}}',
|
|
35
|
-
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
36
|
-
// maxWidth: '460px',
|
|
37
|
-
// overflowY: 'auto',
|
|
38
|
-
},
|
|
39
|
-
}, modalContainerMobile: {
|
|
40
|
-
base: {
|
|
41
|
-
backgroundColor: '{{colors.interfaceBackground}}',
|
|
42
|
-
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
43
|
-
// maxWidth: '460px',
|
|
44
|
-
// height: '100vh',
|
|
45
|
-
// overflowY: 'auto',
|
|
46
|
-
},
|
|
47
|
-
}, fullWidth: {
|
|
48
|
-
base: {
|
|
49
|
-
// width: '100%',
|
|
50
|
-
},
|
|
51
|
-
}, emailInputWidth: {
|
|
52
|
-
base: {
|
|
53
|
-
// width: '70%',
|
|
54
|
-
},
|
|
55
|
-
}, emailInputColor: {
|
|
56
|
-
disabled: {
|
|
57
|
-
// WebkitTextFillColor: '{{colors.neutral040}}',
|
|
58
|
-
},
|
|
59
|
-
}, boldText: {
|
|
60
|
-
base: {
|
|
61
|
-
// fontWeight: '700',
|
|
62
|
-
},
|
|
63
|
-
}, lightGreyButton: {
|
|
64
|
-
base: {
|
|
65
|
-
backgroundColor: '{{colors.neutral010}}',
|
|
66
|
-
borderRadius: '32px',
|
|
67
|
-
},
|
|
68
|
-
hover: {
|
|
69
|
-
backgroundColor: '{{colors.neutral020}}',
|
|
70
|
-
},
|
|
71
|
-
}, lightGreyButtonMargin: {
|
|
72
|
-
base: {
|
|
73
|
-
// marginLeft: '12px',
|
|
74
|
-
},
|
|
75
|
-
}, backgroundInfo: {
|
|
76
|
-
base: {
|
|
77
|
-
backgroundColor: '{{colors.blue010}}',
|
|
78
|
-
color: '{{colors.blue060}}',
|
|
79
|
-
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
80
|
-
},
|
|
81
|
-
}, navigationPrimaryDivider: {
|
|
82
|
-
base: {
|
|
83
|
-
borderStyle: 'solid',
|
|
84
|
-
borderColor: '{{colors.neutral010}}',
|
|
85
|
-
borderWidth: '{{borders.borderWidth020}}',
|
|
86
|
-
},
|
|
87
|
-
} }, sharedPresets_1.sharedPresets),
|
|
34
|
+
stylePresets: __assign({}, stylePresets_1.stylePresets),
|
|
88
35
|
},
|
|
89
36
|
});
|
|
90
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AACrC,iDAAyC;AACzC,mCAAiC;AACjC,uCAAqC;AACrC,iCAA+B;AAC/B,qCAAmC;AACnC,2DAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AACrC,iDAAyC;AACzC,mCAAiC;AACjC,uCAAqC;AACrC,iCAA+B;AAC/B,qCAAmC;AACnC,2DAAwD;AACxD,+CAA6C;AAC7C,yBAAiC;AAEpB,QAAA,WAAW,GAAG,IAAA,qBAAW,EAAC;IACrC,IAAI,EAAE,SAAS;IACf,SAAS,EAAE,eAAW;IACtB,SAAS,EAAE;QACT,OAAO,yBAAA;QACP,MAAM,iBAAA;QACN,QAAQ,qBAAA;QACR,OAAO,mBAAA;QACP,iBAAiB,wCAAA;QACjB,KAAK,eAAA;QACL,YAAY,eACP,2BAAY,CAChB;KACF;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export declare const stylePresets: {
|
|
2
|
+
modalContainer: {
|
|
3
|
+
base: {
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
modalContainerMobile: {
|
|
9
|
+
base: {
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
lightGreyButton: {
|
|
15
|
+
base: {
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
borderRadius: string;
|
|
18
|
+
};
|
|
19
|
+
hover: {
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
backgroundInfo: {
|
|
24
|
+
base: {
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
color: string;
|
|
27
|
+
borderRadius: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
calendarBorderStyle: {
|
|
31
|
+
base: {
|
|
32
|
+
borderColor: string;
|
|
33
|
+
borderRadius: string;
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
borderStyle: string;
|
|
36
|
+
borderWidth: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
monthNavigationButtons: {
|
|
40
|
+
base: {
|
|
41
|
+
borderColor: string;
|
|
42
|
+
borderRadius: string;
|
|
43
|
+
backgroundColor: string;
|
|
44
|
+
borderStyle: string;
|
|
45
|
+
borderWidth: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
dateInputStylePreset: {
|
|
49
|
+
base: {
|
|
50
|
+
backgroundColor: string;
|
|
51
|
+
borderStyle: string;
|
|
52
|
+
borderColor: string;
|
|
53
|
+
borderWidth: string;
|
|
54
|
+
borderRadius: string;
|
|
55
|
+
};
|
|
56
|
+
focus: {
|
|
57
|
+
outlineColor: string;
|
|
58
|
+
outlineStyle: string;
|
|
59
|
+
outlineWidth: string;
|
|
60
|
+
safariOutlineStyle: string;
|
|
61
|
+
borderColor: string;
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
};
|
|
64
|
+
hover: {
|
|
65
|
+
backgroundColor: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
iconCustom: {
|
|
69
|
+
base: {
|
|
70
|
+
iconColor: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stylePresets = void 0;
|
|
4
|
+
exports.stylePresets = {
|
|
5
|
+
modalContainer: {
|
|
6
|
+
base: {
|
|
7
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
8
|
+
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
modalContainerMobile: {
|
|
12
|
+
base: {
|
|
13
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
14
|
+
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
lightGreyButton: {
|
|
18
|
+
base: {
|
|
19
|
+
backgroundColor: '{{colors.neutral010}}',
|
|
20
|
+
borderRadius: '32px',
|
|
21
|
+
},
|
|
22
|
+
hover: {
|
|
23
|
+
backgroundColor: '{{colors.neutral020}}',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
backgroundInfo: {
|
|
27
|
+
base: {
|
|
28
|
+
backgroundColor: '{{colors.blue010}}',
|
|
29
|
+
color: '{{colors.blue060}}',
|
|
30
|
+
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
calendarBorderStyle: {
|
|
34
|
+
base: {
|
|
35
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
36
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
37
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
38
|
+
borderStyle: 'solid',
|
|
39
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
monthNavigationButtons: {
|
|
43
|
+
base: {
|
|
44
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
45
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
46
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
47
|
+
borderStyle: 'solid',
|
|
48
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
dateInputStylePreset: {
|
|
52
|
+
base: {
|
|
53
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
54
|
+
borderStyle: 'solid',
|
|
55
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
56
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
57
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
58
|
+
},
|
|
59
|
+
focus: {
|
|
60
|
+
outlineColor: '{{outlines.outlineColorDefault}}',
|
|
61
|
+
outlineStyle: '{{outlines.outlineStyleDefault}}',
|
|
62
|
+
outlineWidth: '{{outlines.outlineWidthDefault}}',
|
|
63
|
+
safariOutlineStyle: '{{outlines.safariOutlineStyleDefault}}',
|
|
64
|
+
borderColor: '{{colors.transparent}}',
|
|
65
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
66
|
+
},
|
|
67
|
+
hover: {
|
|
68
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
iconCustom: {
|
|
72
|
+
base: {
|
|
73
|
+
iconColor: '{{colors.inkBase}}',
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=stylePresets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/stylePresets.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,cAAc,EAAE;QACd,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,YAAY,EAAE,iCAAiC;SAChD;KACF;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,YAAY,EAAE,iCAAiC;SAChD;KACF;IACD,eAAe,EAAE;QACf,IAAI,EAAE;YACJ,eAAe,EAAE,uBAAuB;YACxC,YAAY,EAAE,MAAM;SACrB;QACD,KAAK,EAAE;YACL,eAAe,EAAE,uBAAuB;SACzC;KACF;IACD,cAAc,EAAE;QACd,IAAI,EAAE;YACJ,eAAe,EAAE,oBAAoB;YACrC,KAAK,EAAE,oBAAoB;YAC3B,YAAY,EAAE,iCAAiC;SAChD;KACF;IACD,mBAAmB,EAAE;QACnB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,sBAAsB,EAAE;QACtB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,gCAAgC;YAC7C,WAAW,EACT,6GAA6G;YAC/G,YAAY,EAAE,oCAAoC;SACnD;QACD,KAAK,EAAE;YACL,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,kBAAkB,EAAE,wCAAwC;YAC5D,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,gCAAgC;SAClD;QACD,KAAK,EAAE;YACL,eAAe,EAAE,gCAAgC;SAClD;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,SAAS,EAAE,oBAAoB;SAChC;KACF;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentDefaults.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/componentDefaults.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,MAAM,EAAE;QACN,MAAM,EAAE;YACN,WAAW,EAAE,oBAAoB;YACjC,gBAAgB,EAAE,gBAAgB;SACnC;KACF;IACD,IAAI,EAAE;QACJ,gBAAgB,EAAE,gBAAgB;KACnC;IACD,KAAK,EAAE;QACL,gBAAgB,EAAE,oCAAoC;KACvD;IACD,KAAK,EAAE;QACL,gBAAgB,EAAE,gBAAgB;KACnC;IACD,SAAS,EAAE;QACT,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,gBAAgB,EAAE,gBAAgB;aACnC;SACF;QACD,MAAM,EAAE;YACN,KAAK,EAAE;gBACL,cAAc,EAAE,UAAU;gBAC1B,WAAW,EAAE,UAAU;gBACvB,gBAAgB,EAAE,gBAAgB;aACnC;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,gBAAgB,EAAE,gBAAgB;aACnC;SACF;KACF;
|
|
1
|
+
{"version":3,"file":"componentDefaults.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/componentDefaults.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,MAAM,EAAE;QACN,MAAM,EAAE;YACN,WAAW,EAAE,oBAAoB;YACjC,gBAAgB,EAAE,gBAAgB;SACnC;KACF;IACD,IAAI,EAAE;QACJ,gBAAgB,EAAE,gBAAgB;KACnC;IACD,KAAK,EAAE;QACL,gBAAgB,EAAE,oCAAoC;KACvD;IACD,KAAK,EAAE;QACL,gBAAgB,EAAE,gBAAgB;KACnC;IACD,SAAS,EAAE;QACT,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,gBAAgB,EAAE,gBAAgB;aACnC;SACF;QACD,MAAM,EAAE;YACN,KAAK,EAAE;gBACL,cAAc,EAAE,UAAU;gBAC1B,WAAW,EAAE,UAAU;gBACvB,gBAAgB,EAAE,gBAAgB;aACnC;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,gBAAgB,EAAE,gBAAgB;aACnC;SACF;KACF;CACF,CAAA"}
|
|
@@ -13,7 +13,6 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.timesTheme = void 0;
|
|
15
15
|
var newskit_1 = require("newskit");
|
|
16
|
-
var sharedPresets_1 = require("../sharedPresets");
|
|
17
16
|
var colors_1 = require("./colors");
|
|
18
17
|
var borders_1 = require("./borders");
|
|
19
18
|
var fonts_1 = require("./fonts");
|
|
@@ -22,8 +21,10 @@ var shadows_1 = require("./shadows");
|
|
|
22
21
|
var typographyPresets_1 = require("./typographyPresets");
|
|
23
22
|
var componentDefaults_1 = require("./componentDefaults");
|
|
24
23
|
var stylePresets_1 = require("./stylePresets");
|
|
24
|
+
var __1 = require("../");
|
|
25
25
|
exports.timesTheme = (0, newskit_1.createTheme)({
|
|
26
26
|
name: 'The-Times',
|
|
27
|
+
baseTheme: __1.sharedTheme,
|
|
27
28
|
overrides: {
|
|
28
29
|
breakpoints: {
|
|
29
30
|
xs: 0,
|
|
@@ -39,7 +40,7 @@ exports.timesTheme = (0, newskit_1.createTheme)({
|
|
|
39
40
|
componentDefaults: componentDefaults_1.componentDefaults,
|
|
40
41
|
overlays: overlays_1.overlays,
|
|
41
42
|
shadows: shadows_1.shadows,
|
|
42
|
-
stylePresets: __assign(
|
|
43
|
+
stylePresets: __assign({}, stylePresets_1.stylePresets),
|
|
43
44
|
},
|
|
44
45
|
});
|
|
45
46
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AACrC,mCAAiC;AACjC,qCAAmC;AACnC,iCAA+B;AAC/B,uCAAqC;AACrC,qCAAmC;AACnC,yDAAuD;AACvD,yDAAuD;AACvD,+CAA6C;AAC7C,yBAAiC;AAEpB,QAAA,UAAU,GAAG,IAAA,qBAAW,EAAC;IACpC,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,eAAW;IACtB,SAAS,EAAE;QACT,WAAW,EAAE;YACX,EAAE,EAAE,CAAC;YACL,EAAE,EAAE,GAAG;YACP,EAAE,EAAE,GAAG;YACP,EAAE,EAAE,IAAI;YACR,EAAE,EAAE,IAAI;SACT;QACD,OAAO,mBAAA;QACP,MAAM,iBAAA;QACN,KAAK,eAAA;QACL,iBAAiB,uCAAA;QACjB,iBAAiB,uCAAA;QACjB,QAAQ,qBAAA;QACR,OAAO,mBAAA;QACP,YAAY,eACP,2BAAY,CAChB;KACF;CACF,CAAC,CAAA"}
|
|
@@ -66,4 +66,47 @@ export declare const stylePresets: {
|
|
|
66
66
|
borderColor: string;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
+
calendarBorderStyle: {
|
|
70
|
+
base: {
|
|
71
|
+
borderColor: string;
|
|
72
|
+
borderRadius: string;
|
|
73
|
+
backgroundColor: string;
|
|
74
|
+
borderStyle: string;
|
|
75
|
+
borderWidth: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
monthNavigationButtons: {
|
|
79
|
+
base: {
|
|
80
|
+
borderColor: string;
|
|
81
|
+
borderRadius: string;
|
|
82
|
+
backgroundColor: string;
|
|
83
|
+
borderStyle: string;
|
|
84
|
+
borderWidth: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
dateInputStylePreset: {
|
|
88
|
+
base: {
|
|
89
|
+
backgroundColor: string;
|
|
90
|
+
borderStyle: string;
|
|
91
|
+
borderColor: string;
|
|
92
|
+
borderWidth: string;
|
|
93
|
+
borderRadius: string;
|
|
94
|
+
};
|
|
95
|
+
focus: {
|
|
96
|
+
outlineColor: string;
|
|
97
|
+
outlineStyle: string;
|
|
98
|
+
outlineWidth: string;
|
|
99
|
+
safariOutlineStyle: string;
|
|
100
|
+
borderColor: string;
|
|
101
|
+
backgroundColor: string;
|
|
102
|
+
};
|
|
103
|
+
hover: {
|
|
104
|
+
backgroundColor: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
iconCustom: {
|
|
108
|
+
base: {
|
|
109
|
+
iconColor: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
69
112
|
};
|
|
@@ -69,5 +69,48 @@ exports.stylePresets = {
|
|
|
69
69
|
borderColor: '{{colors.transparent}}',
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
|
+
calendarBorderStyle: {
|
|
73
|
+
base: {
|
|
74
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
75
|
+
borderRadius: '{{borders.borderRadiusRounded000}}',
|
|
76
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
77
|
+
borderStyle: 'solid',
|
|
78
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
monthNavigationButtons: {
|
|
82
|
+
base: {
|
|
83
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
84
|
+
borderRadius: '{{borders.borderRadiusRounded000}}',
|
|
85
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
86
|
+
borderStyle: 'solid',
|
|
87
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
dateInputStylePreset: {
|
|
91
|
+
base: {
|
|
92
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
93
|
+
borderStyle: 'solid',
|
|
94
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
95
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
96
|
+
borderRadius: '{{borders.borderRadiusRounded000}}',
|
|
97
|
+
},
|
|
98
|
+
focus: {
|
|
99
|
+
outlineColor: '{{outlines.outlineColorDefault}}',
|
|
100
|
+
outlineStyle: '{{outlines.outlineStyleDefault}}',
|
|
101
|
+
outlineWidth: '{{outlines.outlineWidthDefault}}',
|
|
102
|
+
safariOutlineStyle: '{{outlines.safariOutlineStyleDefault}}',
|
|
103
|
+
borderColor: '{{colors.transparent}}',
|
|
104
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
105
|
+
},
|
|
106
|
+
hover: {
|
|
107
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
iconCustom: {
|
|
111
|
+
base: {
|
|
112
|
+
iconColor: '{{colors.inkBase}}',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
72
115
|
};
|
|
73
116
|
//# sourceMappingURL=stylePresets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/stylePresets.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,eAAe,EAAE,oCAAoC;YACrD,YAAY,EAAE,iCAAiC;YAC/C,SAAS,EAAE,uBAAuB;SACnC;QACD,KAAK,EAAE;YACL,eAAe,EAAE,kCAAkC;SACpD;QACD,MAAM,EAAE;YACN,eAAe,EAAE,kCAAkC;SACpD;QACD,QAAQ,EAAE;YACR,eAAe,EAAE,mCAAmC;YACpD,KAAK,EAAE,4BAA4B;YACnC,SAAS,EAAE,4BAA4B;SACxC;QACD,OAAO,EAAE;YACP,eAAe,EAAE,kCAAkC;YACnD,KAAK,EAAE,wBAAwB;YAC/B,SAAS,EAAE,wBAAwB;SACpC;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,KAAK,EAAE;YACL,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,MAAM,EAAE;YACN,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,OAAO,EAAE;YACP,KAAK,EAAE,kCAAkC;YACzC,SAAS,EAAE,kCAAkC;SAC9C;KACF;IACD,wBAAwB,EAAE;QACxB,IAAI,EAAE;YACJ,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,uBAAuB;YACpC,WAAW,EAAE,4BAA4B;SAC1C;KACF;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;KACF;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;KACF;CACF,CAAA"}
|
|
1
|
+
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/stylePresets.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,eAAe,EAAE,oCAAoC;YACrD,YAAY,EAAE,iCAAiC;YAC/C,SAAS,EAAE,uBAAuB;SACnC;QACD,KAAK,EAAE;YACL,eAAe,EAAE,kCAAkC;SACpD;QACD,MAAM,EAAE;YACN,eAAe,EAAE,kCAAkC;SACpD;QACD,QAAQ,EAAE;YACR,eAAe,EAAE,mCAAmC;YACpD,KAAK,EAAE,4BAA4B;YACnC,SAAS,EAAE,4BAA4B;SACxC;QACD,OAAO,EAAE;YACP,eAAe,EAAE,kCAAkC;YACnD,KAAK,EAAE,wBAAwB;YAC/B,SAAS,EAAE,wBAAwB;SACpC;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,KAAK,EAAE;YACL,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,MAAM,EAAE;YACN,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,OAAO,EAAE;YACP,KAAK,EAAE,kCAAkC;YACzC,SAAS,EAAE,kCAAkC;SAC9C;KACF;IACD,wBAAwB,EAAE;QACxB,IAAI,EAAE;YACJ,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,uBAAuB;YACpC,WAAW,EAAE,4BAA4B;SAC1C;KACF;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;KACF;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;KACF;IACD,mBAAmB,EAAE;QACnB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,sBAAsB,EAAE;QACtB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,gCAAgC;YAC7C,WAAW,EACT,6GAA6G;YAC/G,YAAY,EAAE,oCAAoC;SACnD;QACD,KAAK,EAAE;YACL,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,kBAAkB,EAAE,wCAAwC;YAC5D,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,gCAAgC;SAClD;QACD,KAAK,EAAE;YACL,eAAe,EAAE,gCAAgC;SAClD;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,SAAS,EAAE,oBAAoB;SAChC;KACF;CACF,CAAA"}
|
|
@@ -13,7 +13,6 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.tlsTheme = void 0;
|
|
15
15
|
var newskit_1 = require("newskit");
|
|
16
|
-
var sharedPresets_1 = require("../sharedPresets");
|
|
17
16
|
var colors_1 = require("./colors");
|
|
18
17
|
var fonts_1 = require("./fonts");
|
|
19
18
|
var overlays_1 = require("./overlays");
|
|
@@ -21,10 +20,10 @@ var shadows_1 = require("./shadows");
|
|
|
21
20
|
var typographyPresets_1 = require("./typographyPresets");
|
|
22
21
|
var borders_1 = require("./borders");
|
|
23
22
|
var stylePresets_1 = require("./stylePresets");
|
|
24
|
-
var
|
|
25
|
-
var NavigationFooter_1 = require("../../NavigationFooter");
|
|
23
|
+
var __1 = require("../");
|
|
26
24
|
exports.tlsTheme = (0, newskit_1.createTheme)({
|
|
27
25
|
name: 'TLS',
|
|
26
|
+
baseTheme: __1.sharedTheme,
|
|
28
27
|
overrides: {
|
|
29
28
|
colors: colors_1.colors,
|
|
30
29
|
fonts: fonts_1.fonts,
|
|
@@ -32,7 +31,7 @@ exports.tlsTheme = (0, newskit_1.createTheme)({
|
|
|
32
31
|
shadows: shadows_1.shadows,
|
|
33
32
|
typographyPresets: typographyPresets_1.typographyPresets,
|
|
34
33
|
borders: borders_1.borders,
|
|
35
|
-
stylePresets: __assign(
|
|
34
|
+
stylePresets: __assign({}, stylePresets_1.stylePresets),
|
|
36
35
|
},
|
|
37
36
|
});
|
|
38
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/tlsTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/tlsTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AACrC,mCAAiC;AACjC,iCAA+B;AAC/B,uCAAqC;AACrC,qCAAmC;AACnC,yDAAuD;AACvD,qCAAmC;AACnC,+CAA6C;AAC7C,yBAAiC;AAEpB,QAAA,QAAQ,GAAG,IAAA,qBAAW,EAAC;IAClC,IAAI,EAAE,KAAK;IACX,SAAS,EAAE,eAAW;IACtB,SAAS,EAAE;QACT,MAAM,iBAAA;QACN,KAAK,eAAA;QACL,QAAQ,qBAAA;QACR,OAAO,mBAAA;QACP,iBAAiB,uCAAA;QACjB,OAAO,mBAAA;QACP,YAAY,eACP,2BAAY,CAChB;KACF;CACF,CAAC,CAAA"}
|
|
@@ -34,4 +34,47 @@ export declare const stylePresets: {
|
|
|
34
34
|
borderColor: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
+
calendarBorderStyle: {
|
|
38
|
+
base: {
|
|
39
|
+
borderColor: string;
|
|
40
|
+
borderRadius: string;
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
borderStyle: string;
|
|
43
|
+
borderWidth: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
monthNavigationButtons: {
|
|
47
|
+
base: {
|
|
48
|
+
borderColor: string;
|
|
49
|
+
borderRadius: string;
|
|
50
|
+
backgroundColor: string;
|
|
51
|
+
borderStyle: string;
|
|
52
|
+
borderWidth: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
dateInputStylePreset: {
|
|
56
|
+
base: {
|
|
57
|
+
backgroundColor: string;
|
|
58
|
+
borderStyle: string;
|
|
59
|
+
borderColor: string;
|
|
60
|
+
borderWidth: string;
|
|
61
|
+
borderRadius: string;
|
|
62
|
+
};
|
|
63
|
+
focus: {
|
|
64
|
+
outlineColor: string;
|
|
65
|
+
outlineStyle: string;
|
|
66
|
+
outlineWidth: string;
|
|
67
|
+
safariOutlineStyle: string;
|
|
68
|
+
borderColor: string;
|
|
69
|
+
backgroundColor: string;
|
|
70
|
+
};
|
|
71
|
+
hover: {
|
|
72
|
+
backgroundColor: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
iconCustom: {
|
|
76
|
+
base: {
|
|
77
|
+
iconColor: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
37
80
|
};
|
|
@@ -37,5 +37,48 @@ exports.stylePresets = {
|
|
|
37
37
|
borderColor: '{{colors.transparent}}',
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
|
+
calendarBorderStyle: {
|
|
41
|
+
base: {
|
|
42
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
43
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
44
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
45
|
+
borderStyle: 'solid',
|
|
46
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
monthNavigationButtons: {
|
|
50
|
+
base: {
|
|
51
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
52
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
53
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
54
|
+
borderStyle: 'solid',
|
|
55
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
dateInputStylePreset: {
|
|
59
|
+
base: {
|
|
60
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
61
|
+
borderStyle: 'solid',
|
|
62
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
63
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
64
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
65
|
+
},
|
|
66
|
+
focus: {
|
|
67
|
+
outlineColor: '{{outlines.outlineColorDefault}}',
|
|
68
|
+
outlineStyle: '{{outlines.outlineStyleDefault}}',
|
|
69
|
+
outlineWidth: '{{outlines.outlineWidthDefault}}',
|
|
70
|
+
safariOutlineStyle: '{{outlines.safariOutlineStyleDefault}}',
|
|
71
|
+
borderColor: '{{colors.transparent}}',
|
|
72
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
73
|
+
},
|
|
74
|
+
hover: {
|
|
75
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
iconCustom: {
|
|
79
|
+
base: {
|
|
80
|
+
iconColor: '{{colors.inkBase}}',
|
|
81
|
+
},
|
|
82
|
+
},
|
|
40
83
|
};
|
|
41
84
|
//# sourceMappingURL=stylePresets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/tlsTheme/stylePresets.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;YACpB,KAAK,EAAE,oBAAoB;SAC5B;QACD,MAAM,EAAE;YACN,KAAK,EAAE,oBAAoB;SAC5B;QACD,KAAK,EAAE;YACL,KAAK,EAAE,oBAAoB;SAC5B;QACD,KAAK,EAAE;YACL,KAAK,EAAE,oBAAoB;SAC5B;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,oBAAoB;SAC5B;QACD,gBAAgB,EAAE;YAChB,KAAK,EAAE,oBAAoB;SAC5B;KACF;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;KACF;CACF,CAAA"}
|
|
1
|
+
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/tlsTheme/stylePresets.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;YACpB,KAAK,EAAE,oBAAoB;SAC5B;QACD,MAAM,EAAE;YACN,KAAK,EAAE,oBAAoB;SAC5B;QACD,KAAK,EAAE;YACL,KAAK,EAAE,oBAAoB;SAC5B;QACD,KAAK,EAAE;YACL,KAAK,EAAE,oBAAoB;SAC5B;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,oBAAoB;SAC5B;QACD,gBAAgB,EAAE;YAChB,KAAK,EAAE,oBAAoB;SAC5B;KACF;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;KACF;IACD,mBAAmB,EAAE;QACnB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,sBAAsB,EAAE;QACtB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,gCAAgC;YAC7C,WAAW,EACT,6GAA6G;YAC/G,YAAY,EAAE,oCAAoC;SACnD;QACD,KAAK,EAAE;YACL,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,kBAAkB,EAAE,wCAAwC;YAC5D,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,gCAAgC;SAClD;QACD,KAAK,EAAE;YACL,eAAe,EAAE,gCAAgC;SAClD;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,SAAS,EAAE,oBAAoB;SAChC;KACF;CACF,CAAA"}
|
|
@@ -13,7 +13,6 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.virginRadioTheme = void 0;
|
|
15
15
|
var newskit_1 = require("newskit");
|
|
16
|
-
var sharedPresets_1 = require("../sharedPresets");
|
|
17
16
|
var colors_1 = require("./colors");
|
|
18
17
|
var fonts_1 = require("./fonts");
|
|
19
18
|
var overlays_1 = require("./overlays");
|
|
@@ -21,8 +20,10 @@ var shadows_1 = require("./shadows");
|
|
|
21
20
|
var typographyPresets_1 = require("./typographyPresets");
|
|
22
21
|
var borders_1 = require("./borders");
|
|
23
22
|
var stylePresets_1 = require("./stylePresets");
|
|
23
|
+
var __1 = require("../");
|
|
24
24
|
exports.virginRadioTheme = (0, newskit_1.createTheme)({
|
|
25
25
|
name: 'Virgin-Radio',
|
|
26
|
+
baseTheme: __1.sharedTheme,
|
|
26
27
|
overrides: {
|
|
27
28
|
colors: colors_1.colors,
|
|
28
29
|
fonts: fonts_1.fonts,
|
|
@@ -30,7 +31,7 @@ exports.virginRadioTheme = (0, newskit_1.createTheme)({
|
|
|
30
31
|
shadows: shadows_1.shadows,
|
|
31
32
|
typographyPresets: typographyPresets_1.typographyPresets,
|
|
32
33
|
borders: borders_1.borders,
|
|
33
|
-
stylePresets: __assign(
|
|
34
|
+
stylePresets: __assign({}, stylePresets_1.stylePresets),
|
|
34
35
|
},
|
|
35
36
|
});
|
|
36
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/virginTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/virginTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AACrC,mCAAiC;AACjC,iCAA+B;AAC/B,uCAAqC;AACrC,qCAAmC;AACnC,yDAAuD;AACvD,qCAAmC;AACnC,+CAA6C;AAC7C,yBAAiC;AAEpB,QAAA,gBAAgB,GAAG,IAAA,qBAAW,EAAC;IAC1C,IAAI,EAAE,cAAc;IACpB,SAAS,EAAE,eAAW;IACtB,SAAS,EAAE;QACT,MAAM,iBAAA;QACN,KAAK,eAAA;QACL,QAAQ,qBAAA;QACR,OAAO,mBAAA;QACP,iBAAiB,uCAAA;QACjB,OAAO,mBAAA;QACP,YAAY,eACP,2BAAY,CAChB;KACF;CACF,CAAC,CAAA"}
|
|
@@ -16,9 +16,11 @@ import { overlays } from './overlays';
|
|
|
16
16
|
import { fonts } from './fonts';
|
|
17
17
|
import { shadows } from './shadows';
|
|
18
18
|
import { typographyPresets } from './typography-presets';
|
|
19
|
-
import {
|
|
19
|
+
import { stylePresets } from './stylePresets';
|
|
20
|
+
import { sharedTheme } from '../';
|
|
20
21
|
export var theSunTheme = createTheme({
|
|
21
22
|
name: 'The-Sun',
|
|
23
|
+
baseTheme: sharedTheme,
|
|
22
24
|
overrides: {
|
|
23
25
|
borders: borders,
|
|
24
26
|
colors: colors,
|
|
@@ -26,62 +28,7 @@ export var theSunTheme = createTheme({
|
|
|
26
28
|
shadows: shadows,
|
|
27
29
|
typographyPresets: typographyPresets,
|
|
28
30
|
fonts: fonts,
|
|
29
|
-
stylePresets: __assign({
|
|
30
|
-
base: {
|
|
31
|
-
backgroundColor: '{{colors.interfaceBackground}}',
|
|
32
|
-
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
33
|
-
// maxWidth: '460px',
|
|
34
|
-
// overflowY: 'auto',
|
|
35
|
-
},
|
|
36
|
-
}, modalContainerMobile: {
|
|
37
|
-
base: {
|
|
38
|
-
backgroundColor: '{{colors.interfaceBackground}}',
|
|
39
|
-
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
40
|
-
// maxWidth: '460px',
|
|
41
|
-
// height: '100vh',
|
|
42
|
-
// overflowY: 'auto',
|
|
43
|
-
},
|
|
44
|
-
}, fullWidth: {
|
|
45
|
-
base: {
|
|
46
|
-
// width: '100%',
|
|
47
|
-
},
|
|
48
|
-
}, emailInputWidth: {
|
|
49
|
-
base: {
|
|
50
|
-
// width: '70%',
|
|
51
|
-
},
|
|
52
|
-
}, emailInputColor: {
|
|
53
|
-
disabled: {
|
|
54
|
-
// WebkitTextFillColor: '{{colors.neutral040}}',
|
|
55
|
-
},
|
|
56
|
-
}, boldText: {
|
|
57
|
-
base: {
|
|
58
|
-
// fontWeight: '700',
|
|
59
|
-
},
|
|
60
|
-
}, lightGreyButton: {
|
|
61
|
-
base: {
|
|
62
|
-
backgroundColor: '{{colors.neutral010}}',
|
|
63
|
-
borderRadius: '32px',
|
|
64
|
-
},
|
|
65
|
-
hover: {
|
|
66
|
-
backgroundColor: '{{colors.neutral020}}',
|
|
67
|
-
},
|
|
68
|
-
}, lightGreyButtonMargin: {
|
|
69
|
-
base: {
|
|
70
|
-
// marginLeft: '12px',
|
|
71
|
-
},
|
|
72
|
-
}, backgroundInfo: {
|
|
73
|
-
base: {
|
|
74
|
-
backgroundColor: '{{colors.blue010}}',
|
|
75
|
-
color: '{{colors.blue060}}',
|
|
76
|
-
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
77
|
-
},
|
|
78
|
-
}, navigationPrimaryDivider: {
|
|
79
|
-
base: {
|
|
80
|
-
borderStyle: 'solid',
|
|
81
|
-
borderColor: '{{colors.neutral010}}',
|
|
82
|
-
borderWidth: '{{borders.borderWidth020}}',
|
|
83
|
-
},
|
|
84
|
-
} }, sharedPresets),
|
|
31
|
+
stylePresets: __assign({}, stylePresets),
|
|
85
32
|
},
|
|
86
33
|
});
|
|
87
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAEjC,MAAM,CAAC,IAAM,WAAW,GAAG,WAAW,CAAC;IACrC,IAAI,EAAE,SAAS;IACf,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE;QACT,OAAO,SAAA;QACP,MAAM,QAAA;QACN,QAAQ,UAAA;QACR,OAAO,SAAA;QACP,iBAAiB,mBAAA;QACjB,KAAK,OAAA;QACL,YAAY,eACP,YAAY,CAChB;KACF;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export declare const stylePresets: {
|
|
2
|
+
modalContainer: {
|
|
3
|
+
base: {
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
modalContainerMobile: {
|
|
9
|
+
base: {
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
lightGreyButton: {
|
|
15
|
+
base: {
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
borderRadius: string;
|
|
18
|
+
};
|
|
19
|
+
hover: {
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
backgroundInfo: {
|
|
24
|
+
base: {
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
color: string;
|
|
27
|
+
borderRadius: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
calendarBorderStyle: {
|
|
31
|
+
base: {
|
|
32
|
+
borderColor: string;
|
|
33
|
+
borderRadius: string;
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
borderStyle: string;
|
|
36
|
+
borderWidth: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
monthNavigationButtons: {
|
|
40
|
+
base: {
|
|
41
|
+
borderColor: string;
|
|
42
|
+
borderRadius: string;
|
|
43
|
+
backgroundColor: string;
|
|
44
|
+
borderStyle: string;
|
|
45
|
+
borderWidth: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
dateInputStylePreset: {
|
|
49
|
+
base: {
|
|
50
|
+
backgroundColor: string;
|
|
51
|
+
borderStyle: string;
|
|
52
|
+
borderColor: string;
|
|
53
|
+
borderWidth: string;
|
|
54
|
+
borderRadius: string;
|
|
55
|
+
};
|
|
56
|
+
focus: {
|
|
57
|
+
outlineColor: string;
|
|
58
|
+
outlineStyle: string;
|
|
59
|
+
outlineWidth: string;
|
|
60
|
+
safariOutlineStyle: string;
|
|
61
|
+
borderColor: string;
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
};
|
|
64
|
+
hover: {
|
|
65
|
+
backgroundColor: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
iconCustom: {
|
|
69
|
+
base: {
|
|
70
|
+
iconColor: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export var stylePresets = {
|
|
2
|
+
modalContainer: {
|
|
3
|
+
base: {
|
|
4
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
5
|
+
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
6
|
+
},
|
|
7
|
+
},
|
|
8
|
+
modalContainerMobile: {
|
|
9
|
+
base: {
|
|
10
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
11
|
+
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
lightGreyButton: {
|
|
15
|
+
base: {
|
|
16
|
+
backgroundColor: '{{colors.neutral010}}',
|
|
17
|
+
borderRadius: '32px',
|
|
18
|
+
},
|
|
19
|
+
hover: {
|
|
20
|
+
backgroundColor: '{{colors.neutral020}}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
backgroundInfo: {
|
|
24
|
+
base: {
|
|
25
|
+
backgroundColor: '{{colors.blue010}}',
|
|
26
|
+
color: '{{colors.blue060}}',
|
|
27
|
+
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
calendarBorderStyle: {
|
|
31
|
+
base: {
|
|
32
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
33
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
34
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
35
|
+
borderStyle: 'solid',
|
|
36
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
monthNavigationButtons: {
|
|
40
|
+
base: {
|
|
41
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
42
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
43
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
44
|
+
borderStyle: 'solid',
|
|
45
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
dateInputStylePreset: {
|
|
49
|
+
base: {
|
|
50
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
51
|
+
borderStyle: 'solid',
|
|
52
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
53
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
54
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
55
|
+
},
|
|
56
|
+
focus: {
|
|
57
|
+
outlineColor: '{{outlines.outlineColorDefault}}',
|
|
58
|
+
outlineStyle: '{{outlines.outlineStyleDefault}}',
|
|
59
|
+
outlineWidth: '{{outlines.outlineWidthDefault}}',
|
|
60
|
+
safariOutlineStyle: '{{outlines.safariOutlineStyleDefault}}',
|
|
61
|
+
borderColor: '{{colors.transparent}}',
|
|
62
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
63
|
+
},
|
|
64
|
+
hover: {
|
|
65
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
iconCustom: {
|
|
69
|
+
base: {
|
|
70
|
+
iconColor: '{{colors.inkBase}}',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=stylePresets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/sunTheme/stylePresets.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,YAAY,GAAG;IAC1B,cAAc,EAAE;QACd,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,YAAY,EAAE,iCAAiC;SAChD;KACF;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,YAAY,EAAE,iCAAiC;SAChD;KACF;IACD,eAAe,EAAE;QACf,IAAI,EAAE;YACJ,eAAe,EAAE,uBAAuB;YACxC,YAAY,EAAE,MAAM;SACrB;QACD,KAAK,EAAE;YACL,eAAe,EAAE,uBAAuB;SACzC;KACF;IACD,cAAc,EAAE;QACd,IAAI,EAAE;YACJ,eAAe,EAAE,oBAAoB;YACrC,KAAK,EAAE,oBAAoB;YAC3B,YAAY,EAAE,iCAAiC;SAChD;KACF;IACD,mBAAmB,EAAE;QACnB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,sBAAsB,EAAE;QACtB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,gCAAgC;YAC7C,WAAW,EACT,6GAA6G;YAC/G,YAAY,EAAE,oCAAoC;SACnD;QACD,KAAK,EAAE;YACL,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,kBAAkB,EAAE,wCAAwC;YAC5D,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,gCAAgC;SAClD;QACD,KAAK,EAAE;YACL,eAAe,EAAE,gCAAgC;SAClD;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,SAAS,EAAE,oBAAoB;SAChC;KACF;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentDefaults.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/componentDefaults.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC/B,MAAM,EAAE;QACN,MAAM,EAAE;YACN,WAAW,EAAE,oBAAoB;YACjC,gBAAgB,EAAE,gBAAgB;SACnC;KACF;IACD,IAAI,EAAE;QACJ,gBAAgB,EAAE,gBAAgB;KACnC;IACD,KAAK,EAAE;QACL,gBAAgB,EAAE,oCAAoC;KACvD;IACD,KAAK,EAAE;QACL,gBAAgB,EAAE,gBAAgB;KACnC;IACD,SAAS,EAAE;QACT,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,gBAAgB,EAAE,gBAAgB;aACnC;SACF;QACD,MAAM,EAAE;YACN,KAAK,EAAE;gBACL,cAAc,EAAE,UAAU;gBAC1B,WAAW,EAAE,UAAU;gBACvB,gBAAgB,EAAE,gBAAgB;aACnC;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,gBAAgB,EAAE,gBAAgB;aACnC;SACF;KACF;
|
|
1
|
+
{"version":3,"file":"componentDefaults.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/componentDefaults.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC/B,MAAM,EAAE;QACN,MAAM,EAAE;YACN,WAAW,EAAE,oBAAoB;YACjC,gBAAgB,EAAE,gBAAgB;SACnC;KACF;IACD,IAAI,EAAE;QACJ,gBAAgB,EAAE,gBAAgB;KACnC;IACD,KAAK,EAAE;QACL,gBAAgB,EAAE,oCAAoC;KACvD;IACD,KAAK,EAAE;QACL,gBAAgB,EAAE,gBAAgB;KACnC;IACD,SAAS,EAAE;QACT,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,gBAAgB,EAAE,gBAAgB;aACnC;SACF;QACD,MAAM,EAAE;YACN,KAAK,EAAE;gBACL,cAAc,EAAE,UAAU;gBAC1B,WAAW,EAAE,UAAU;gBACvB,gBAAgB,EAAE,gBAAgB;aACnC;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,gBAAgB,EAAE,gBAAgB;aACnC;SACF;KACF;CACF,CAAA"}
|
|
@@ -10,7 +10,6 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { createTheme } from 'newskit';
|
|
13
|
-
import { sharedPresets } from '../sharedPresets';
|
|
14
13
|
import { colors } from './colors';
|
|
15
14
|
import { borders } from './borders';
|
|
16
15
|
import { fonts } from './fonts';
|
|
@@ -19,8 +18,10 @@ import { shadows } from './shadows';
|
|
|
19
18
|
import { typographyPresets } from './typographyPresets';
|
|
20
19
|
import { componentDefaults } from './componentDefaults';
|
|
21
20
|
import { stylePresets } from './stylePresets';
|
|
21
|
+
import { sharedTheme } from '../';
|
|
22
22
|
export var timesTheme = createTheme({
|
|
23
23
|
name: 'The-Times',
|
|
24
|
+
baseTheme: sharedTheme,
|
|
24
25
|
overrides: {
|
|
25
26
|
breakpoints: {
|
|
26
27
|
xs: 0,
|
|
@@ -36,7 +37,7 @@ export var timesTheme = createTheme({
|
|
|
36
37
|
componentDefaults: componentDefaults,
|
|
37
38
|
overlays: overlays,
|
|
38
39
|
shadows: shadows,
|
|
39
|
-
stylePresets: __assign(
|
|
40
|
+
stylePresets: __assign({}, stylePresets),
|
|
40
41
|
},
|
|
41
42
|
});
|
|
42
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAEjC,MAAM,CAAC,IAAM,UAAU,GAAG,WAAW,CAAC;IACpC,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE;QACT,WAAW,EAAE;YACX,EAAE,EAAE,CAAC;YACL,EAAE,EAAE,GAAG;YACP,EAAE,EAAE,GAAG;YACP,EAAE,EAAE,IAAI;YACR,EAAE,EAAE,IAAI;SACT;QACD,OAAO,SAAA;QACP,MAAM,QAAA;QACN,KAAK,OAAA;QACL,iBAAiB,mBAAA;QACjB,iBAAiB,mBAAA;QACjB,QAAQ,UAAA;QACR,OAAO,SAAA;QACP,YAAY,eACP,YAAY,CAChB;KACF;CACF,CAAC,CAAA"}
|
|
@@ -66,4 +66,47 @@ export declare const stylePresets: {
|
|
|
66
66
|
borderColor: string;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
+
calendarBorderStyle: {
|
|
70
|
+
base: {
|
|
71
|
+
borderColor: string;
|
|
72
|
+
borderRadius: string;
|
|
73
|
+
backgroundColor: string;
|
|
74
|
+
borderStyle: string;
|
|
75
|
+
borderWidth: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
monthNavigationButtons: {
|
|
79
|
+
base: {
|
|
80
|
+
borderColor: string;
|
|
81
|
+
borderRadius: string;
|
|
82
|
+
backgroundColor: string;
|
|
83
|
+
borderStyle: string;
|
|
84
|
+
borderWidth: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
dateInputStylePreset: {
|
|
88
|
+
base: {
|
|
89
|
+
backgroundColor: string;
|
|
90
|
+
borderStyle: string;
|
|
91
|
+
borderColor: string;
|
|
92
|
+
borderWidth: string;
|
|
93
|
+
borderRadius: string;
|
|
94
|
+
};
|
|
95
|
+
focus: {
|
|
96
|
+
outlineColor: string;
|
|
97
|
+
outlineStyle: string;
|
|
98
|
+
outlineWidth: string;
|
|
99
|
+
safariOutlineStyle: string;
|
|
100
|
+
borderColor: string;
|
|
101
|
+
backgroundColor: string;
|
|
102
|
+
};
|
|
103
|
+
hover: {
|
|
104
|
+
backgroundColor: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
iconCustom: {
|
|
108
|
+
base: {
|
|
109
|
+
iconColor: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
69
112
|
};
|
|
@@ -66,5 +66,48 @@ export var stylePresets = {
|
|
|
66
66
|
borderColor: '{{colors.transparent}}',
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
|
+
calendarBorderStyle: {
|
|
70
|
+
base: {
|
|
71
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
72
|
+
borderRadius: '{{borders.borderRadiusRounded000}}',
|
|
73
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
74
|
+
borderStyle: 'solid',
|
|
75
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
monthNavigationButtons: {
|
|
79
|
+
base: {
|
|
80
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
81
|
+
borderRadius: '{{borders.borderRadiusRounded000}}',
|
|
82
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
83
|
+
borderStyle: 'solid',
|
|
84
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
dateInputStylePreset: {
|
|
88
|
+
base: {
|
|
89
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
90
|
+
borderStyle: 'solid',
|
|
91
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
92
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
93
|
+
borderRadius: '{{borders.borderRadiusRounded000}}',
|
|
94
|
+
},
|
|
95
|
+
focus: {
|
|
96
|
+
outlineColor: '{{outlines.outlineColorDefault}}',
|
|
97
|
+
outlineStyle: '{{outlines.outlineStyleDefault}}',
|
|
98
|
+
outlineWidth: '{{outlines.outlineWidthDefault}}',
|
|
99
|
+
safariOutlineStyle: '{{outlines.safariOutlineStyleDefault}}',
|
|
100
|
+
borderColor: '{{colors.transparent}}',
|
|
101
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
102
|
+
},
|
|
103
|
+
hover: {
|
|
104
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
iconCustom: {
|
|
108
|
+
base: {
|
|
109
|
+
iconColor: '{{colors.inkBase}}',
|
|
110
|
+
},
|
|
111
|
+
},
|
|
69
112
|
};
|
|
70
113
|
//# sourceMappingURL=stylePresets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/stylePresets.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,YAAY,GAAG;IAC1B,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,eAAe,EAAE,oCAAoC;YACrD,YAAY,EAAE,iCAAiC;YAC/C,SAAS,EAAE,uBAAuB;SACnC;QACD,KAAK,EAAE;YACL,eAAe,EAAE,kCAAkC;SACpD;QACD,MAAM,EAAE;YACN,eAAe,EAAE,kCAAkC;SACpD;QACD,QAAQ,EAAE;YACR,eAAe,EAAE,mCAAmC;YACpD,KAAK,EAAE,4BAA4B;YACnC,SAAS,EAAE,4BAA4B;SACxC;QACD,OAAO,EAAE;YACP,eAAe,EAAE,kCAAkC;YACnD,KAAK,EAAE,wBAAwB;YAC/B,SAAS,EAAE,wBAAwB;SACpC;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,KAAK,EAAE;YACL,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,MAAM,EAAE;YACN,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,OAAO,EAAE;YACP,KAAK,EAAE,kCAAkC;YACzC,SAAS,EAAE,kCAAkC;SAC9C;KACF;IACD,wBAAwB,EAAE;QACxB,IAAI,EAAE;YACJ,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,uBAAuB;YACpC,WAAW,EAAE,4BAA4B;SAC1C;KACF;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;KACF;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;KACF;CACF,CAAA"}
|
|
1
|
+
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/timesTheme/stylePresets.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,YAAY,GAAG;IAC1B,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,eAAe,EAAE,oCAAoC;YACrD,YAAY,EAAE,iCAAiC;YAC/C,SAAS,EAAE,uBAAuB;SACnC;QACD,KAAK,EAAE;YACL,eAAe,EAAE,kCAAkC;SACpD;QACD,MAAM,EAAE;YACN,eAAe,EAAE,kCAAkC;SACpD;QACD,QAAQ,EAAE;YACR,eAAe,EAAE,mCAAmC;YACpD,KAAK,EAAE,4BAA4B;YACnC,SAAS,EAAE,4BAA4B;SACxC;QACD,OAAO,EAAE;YACP,eAAe,EAAE,kCAAkC;YACnD,KAAK,EAAE,wBAAwB;YAC/B,SAAS,EAAE,wBAAwB;SACpC;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,KAAK,EAAE;YACL,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,MAAM,EAAE;YACN,KAAK,EAAE,+BAA+B;YACtC,SAAS,EAAE,+BAA+B;SAC3C;QACD,OAAO,EAAE;YACP,KAAK,EAAE,kCAAkC;YACzC,SAAS,EAAE,kCAAkC;SAC9C;KACF;IACD,wBAAwB,EAAE;QACxB,IAAI,EAAE;YACJ,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,uBAAuB;YACpC,WAAW,EAAE,4BAA4B;SAC1C;KACF;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;KACF;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;KACF;IACD,mBAAmB,EAAE;QACnB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,sBAAsB,EAAE;QACtB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,gCAAgC;YAC7C,WAAW,EACT,6GAA6G;YAC/G,YAAY,EAAE,oCAAoC;SACnD;QACD,KAAK,EAAE;YACL,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,kBAAkB,EAAE,wCAAwC;YAC5D,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,gCAAgC;SAClD;QACD,KAAK,EAAE;YACL,eAAe,EAAE,gCAAgC;SAClD;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,SAAS,EAAE,oBAAoB;SAChC;KACF;CACF,CAAA"}
|
|
@@ -10,7 +10,6 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { createTheme } from 'newskit';
|
|
13
|
-
import { sharedPresets } from '../sharedPresets';
|
|
14
13
|
import { colors } from './colors';
|
|
15
14
|
import { fonts } from './fonts';
|
|
16
15
|
import { overlays } from './overlays';
|
|
@@ -18,10 +17,10 @@ import { shadows } from './shadows';
|
|
|
18
17
|
import { typographyPresets } from './typographyPresets';
|
|
19
18
|
import { borders } from './borders';
|
|
20
19
|
import { stylePresets } from './stylePresets';
|
|
21
|
-
import {
|
|
22
|
-
import { navigationFooterPresets } from '../../NavigationFooter';
|
|
20
|
+
import { sharedTheme } from '../';
|
|
23
21
|
export var tlsTheme = createTheme({
|
|
24
22
|
name: 'TLS',
|
|
23
|
+
baseTheme: sharedTheme,
|
|
25
24
|
overrides: {
|
|
26
25
|
colors: colors,
|
|
27
26
|
fonts: fonts,
|
|
@@ -29,7 +28,7 @@ export var tlsTheme = createTheme({
|
|
|
29
28
|
shadows: shadows,
|
|
30
29
|
typographyPresets: typographyPresets,
|
|
31
30
|
borders: borders,
|
|
32
|
-
stylePresets: __assign(
|
|
31
|
+
stylePresets: __assign({}, stylePresets),
|
|
33
32
|
},
|
|
34
33
|
});
|
|
35
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/tlsTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/tlsTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAEjC,MAAM,CAAC,IAAM,QAAQ,GAAG,WAAW,CAAC;IAClC,IAAI,EAAE,KAAK;IACX,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE;QACT,MAAM,QAAA;QACN,KAAK,OAAA;QACL,QAAQ,UAAA;QACR,OAAO,SAAA;QACP,iBAAiB,mBAAA;QACjB,OAAO,SAAA;QACP,YAAY,eACP,YAAY,CAChB;KACF;CACF,CAAC,CAAA"}
|
|
@@ -34,4 +34,47 @@ export declare const stylePresets: {
|
|
|
34
34
|
borderColor: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
+
calendarBorderStyle: {
|
|
38
|
+
base: {
|
|
39
|
+
borderColor: string;
|
|
40
|
+
borderRadius: string;
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
borderStyle: string;
|
|
43
|
+
borderWidth: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
monthNavigationButtons: {
|
|
47
|
+
base: {
|
|
48
|
+
borderColor: string;
|
|
49
|
+
borderRadius: string;
|
|
50
|
+
backgroundColor: string;
|
|
51
|
+
borderStyle: string;
|
|
52
|
+
borderWidth: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
dateInputStylePreset: {
|
|
56
|
+
base: {
|
|
57
|
+
backgroundColor: string;
|
|
58
|
+
borderStyle: string;
|
|
59
|
+
borderColor: string;
|
|
60
|
+
borderWidth: string;
|
|
61
|
+
borderRadius: string;
|
|
62
|
+
};
|
|
63
|
+
focus: {
|
|
64
|
+
outlineColor: string;
|
|
65
|
+
outlineStyle: string;
|
|
66
|
+
outlineWidth: string;
|
|
67
|
+
safariOutlineStyle: string;
|
|
68
|
+
borderColor: string;
|
|
69
|
+
backgroundColor: string;
|
|
70
|
+
};
|
|
71
|
+
hover: {
|
|
72
|
+
backgroundColor: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
iconCustom: {
|
|
76
|
+
base: {
|
|
77
|
+
iconColor: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
37
80
|
};
|
|
@@ -34,5 +34,48 @@ export var stylePresets = {
|
|
|
34
34
|
borderColor: '{{colors.transparent}}',
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
|
+
calendarBorderStyle: {
|
|
38
|
+
base: {
|
|
39
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
40
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
41
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
42
|
+
borderStyle: 'solid',
|
|
43
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
monthNavigationButtons: {
|
|
47
|
+
base: {
|
|
48
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
49
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
50
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
51
|
+
borderStyle: 'solid',
|
|
52
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
dateInputStylePreset: {
|
|
56
|
+
base: {
|
|
57
|
+
backgroundColor: '{{colors.interfaceBackground}}',
|
|
58
|
+
borderStyle: 'solid',
|
|
59
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
60
|
+
borderWidth: '{{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}} {{borders.borderWidth010}}',
|
|
61
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
62
|
+
},
|
|
63
|
+
focus: {
|
|
64
|
+
outlineColor: '{{outlines.outlineColorDefault}}',
|
|
65
|
+
outlineStyle: '{{outlines.outlineStyleDefault}}',
|
|
66
|
+
outlineWidth: '{{outlines.outlineWidthDefault}}',
|
|
67
|
+
safariOutlineStyle: '{{outlines.safariOutlineStyleDefault}}',
|
|
68
|
+
borderColor: '{{colors.transparent}}',
|
|
69
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
70
|
+
},
|
|
71
|
+
hover: {
|
|
72
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
iconCustom: {
|
|
76
|
+
base: {
|
|
77
|
+
iconColor: '{{colors.inkBase}}',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
37
80
|
};
|
|
38
81
|
//# sourceMappingURL=stylePresets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/tlsTheme/stylePresets.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,YAAY,GAAG;IAC1B,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;YACpB,KAAK,EAAE,oBAAoB;SAC5B;QACD,MAAM,EAAE;YACN,KAAK,EAAE,oBAAoB;SAC5B;QACD,KAAK,EAAE;YACL,KAAK,EAAE,oBAAoB;SAC5B;QACD,KAAK,EAAE;YACL,KAAK,EAAE,oBAAoB;SAC5B;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,oBAAoB;SAC5B;QACD,gBAAgB,EAAE;YAChB,KAAK,EAAE,oBAAoB;SAC5B;KACF;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;KACF;CACF,CAAA"}
|
|
1
|
+
{"version":3,"file":"stylePresets.js","sourceRoot":"","sources":["../../../../src/theme/tlsTheme/stylePresets.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,YAAY,GAAG;IAC1B,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;YACpB,KAAK,EAAE,oBAAoB;SAC5B;QACD,MAAM,EAAE;YACN,KAAK,EAAE,oBAAoB;SAC5B;QACD,KAAK,EAAE;YACL,KAAK,EAAE,oBAAoB;SAC5B;QACD,KAAK,EAAE;YACL,KAAK,EAAE,oBAAoB;SAC5B;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,oBAAoB;SAC5B;QACD,gBAAgB,EAAE;YAChB,KAAK,EAAE,oBAAoB;SAC5B;KACF;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,QAAQ;SACrB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,wBAAwB;SACtC;KACF;IACD,mBAAmB,EAAE;QACnB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,sBAAsB,EAAE;QACtB,IAAI,EAAE;YACJ,WAAW,EAAE,gCAAgC;YAC7C,YAAY,EAAE,oCAAoC;YAClD,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,6GAA6G;SAChH;KACF;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE;YACJ,eAAe,EAAE,gCAAgC;YACjD,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,gCAAgC;YAC7C,WAAW,EACT,6GAA6G;YAC/G,YAAY,EAAE,oCAAoC;SACnD;QACD,KAAK,EAAE;YACL,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,YAAY,EAAE,kCAAkC;YAChD,kBAAkB,EAAE,wCAAwC;YAC5D,WAAW,EAAE,wBAAwB;YACrC,eAAe,EAAE,gCAAgC;SAClD;QACD,KAAK,EAAE;YACL,eAAe,EAAE,gCAAgC;SAClD;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,SAAS,EAAE,oBAAoB;SAChC;KACF;CACF,CAAA"}
|
|
@@ -10,7 +10,6 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { createTheme } from 'newskit';
|
|
13
|
-
import { sharedPresets } from '../sharedPresets';
|
|
14
13
|
import { colors } from './colors';
|
|
15
14
|
import { fonts } from './fonts';
|
|
16
15
|
import { overlays } from './overlays';
|
|
@@ -18,8 +17,10 @@ import { shadows } from './shadows';
|
|
|
18
17
|
import { typographyPresets } from './typographyPresets';
|
|
19
18
|
import { borders } from './borders';
|
|
20
19
|
import { stylePresets } from './stylePresets';
|
|
20
|
+
import { sharedTheme } from '../';
|
|
21
21
|
export var virginRadioTheme = createTheme({
|
|
22
22
|
name: 'Virgin-Radio',
|
|
23
|
+
baseTheme: sharedTheme,
|
|
23
24
|
overrides: {
|
|
24
25
|
colors: colors,
|
|
25
26
|
fonts: fonts,
|
|
@@ -27,7 +28,7 @@ export var virginRadioTheme = createTheme({
|
|
|
27
28
|
shadows: shadows,
|
|
28
29
|
typographyPresets: typographyPresets,
|
|
29
30
|
borders: borders,
|
|
30
|
-
stylePresets: __assign(
|
|
31
|
+
stylePresets: __assign({}, stylePresets),
|
|
31
32
|
},
|
|
32
33
|
});
|
|
33
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/virginTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/virginTheme/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAEjC,MAAM,CAAC,IAAM,gBAAgB,GAAG,WAAW,CAAC;IAC1C,IAAI,EAAE,cAAc;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE;QACT,MAAM,QAAA;QACN,KAAK,OAAA;QACL,QAAQ,UAAA;QACR,OAAO,SAAA;QACP,iBAAiB,mBAAA;QACjB,OAAO,SAAA;QACP,YAAY,eACP,YAAY,CAChB;KACF;CACF,CAAC,CAAA"}
|