@uni-design-system/uni-core 0.0.17 → 0.0.20
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/core/color/color.types.d.ts +5 -1
- package/dist/cjs/core/shadow/shadow.model.d.ts +1 -3
- package/dist/cjs/core/shadow/shadow.records.js +11 -92
- package/dist/cjs/core/shadow/shadow.records.js.map +1 -1
- package/dist/cjs/core/shadow/shadow.types.d.ts +1 -1
- package/dist/cjs/core/theme/themes/base.theme.js +57 -26
- package/dist/cjs/core/theme/themes/base.theme.js.map +1 -1
- package/dist/cjs/core/theme/themes/dark.theme.js +1 -1
- package/dist/cjs/core/theme/themes/dark.theme.js.map +1 -1
- package/dist/cjs/core/typography/text.model.d.ts +1 -1
- package/dist/cjs/core/typography/typography.types.d.ts +1 -1
- package/dist/esm/core/color/color.types.d.ts +5 -1
- package/dist/esm/core/shadow/shadow.model.d.ts +1 -3
- package/dist/esm/core/shadow/shadow.records.js +11 -92
- package/dist/esm/core/shadow/shadow.records.js.map +1 -1
- package/dist/esm/core/shadow/shadow.types.d.ts +1 -1
- package/dist/esm/core/theme/themes/base.theme.js +57 -26
- package/dist/esm/core/theme/themes/base.theme.js.map +1 -1
- package/dist/esm/core/theme/themes/dark.theme.js +1 -1
- package/dist/esm/core/theme/themes/dark.theme.js.map +1 -1
- package/dist/esm/core/typography/text.model.d.ts +1 -1
- package/dist/esm/core/typography/typography.types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -10,4 +10,8 @@ export declare type colorRoles = 'primary' | 'secondary' | 'tertiary' | 'inverse
|
|
|
10
10
|
export declare const roleHues: Record<colorRoles, Range>;
|
|
11
11
|
export declare const utilHues: Record<utilColorRoles, Range>;
|
|
12
12
|
export declare type ColorModes = 'base' | 'hover' | 'active' | 'disabled';
|
|
13
|
-
export declare type ColorToken =
|
|
13
|
+
export declare type ColorToken = ElementColorToken | ContainerColorToken | ContentColorToken | UtilityColorToken;
|
|
14
|
+
export declare type ElementColorToken = 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
15
|
+
export declare type ContainerColorToken = 'primary-container' | 'secondary-container' | 'tertiary-container' | 'error-container' | 'background' | 'surface' | 'surface-variant' | 'inverse-surface';
|
|
16
|
+
export declare type ContentColorToken = 'on-primary' | 'on-primary-container' | 'on-secondary' | 'on-secondary-container' | 'on-tertiary' | 'on-tertiary-container' | 'on-error' | 'on-error-container' | 'on-background' | 'on-surface' | 'on-surface-variant' | 'inverse-on-surface' | 'inverse-on-surface-primary';
|
|
17
|
+
export declare type UtilityColorToken = 'outline' | 'shadow' | 'surface-tint' | 'transparent';
|
|
@@ -1,134 +1,53 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ShadowMap = exports.ShadowCssMap = void 0;
|
|
4
|
+
// box-shadow: none|h-offset v-offset blur spread color
|
|
4
5
|
exports.ShadowCssMap = {
|
|
5
|
-
flat: 'none',
|
|
6
6
|
pressed: '0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)',
|
|
7
7
|
raised: '0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)',
|
|
8
8
|
focussed: '0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)',
|
|
9
9
|
navigation: '0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)',
|
|
10
10
|
modal: '0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22)'
|
|
11
11
|
};
|
|
12
|
-
// https://material.io/archive/guidelines/resources/shadows.html#shadows-sketch
|
|
13
12
|
exports.ShadowMap = {
|
|
14
|
-
flat: {
|
|
15
|
-
umbra: {
|
|
16
|
-
opacity: 14,
|
|
17
|
-
offset: 0,
|
|
18
|
-
blur: 2,
|
|
19
|
-
spread: 0
|
|
20
|
-
},
|
|
21
|
-
penumbra: {
|
|
22
|
-
opacity: 12,
|
|
23
|
-
offset: 2,
|
|
24
|
-
blur: 2,
|
|
25
|
-
spread: 0
|
|
26
|
-
},
|
|
27
|
-
ambient: {
|
|
28
|
-
opacity: 20,
|
|
29
|
-
offset: 1,
|
|
30
|
-
blur: 3,
|
|
31
|
-
spread: 0
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
13
|
pressed: {
|
|
35
14
|
umbra: {
|
|
36
|
-
opacity:
|
|
37
|
-
offset: 0,
|
|
38
|
-
blur: 4,
|
|
39
|
-
spread: 0
|
|
15
|
+
offset: 1, blur: 2, opacity: 24
|
|
40
16
|
},
|
|
41
17
|
penumbra: {
|
|
42
|
-
opacity: 12
|
|
43
|
-
offset: 3,
|
|
44
|
-
blur: 4,
|
|
45
|
-
spread: 0
|
|
46
|
-
},
|
|
47
|
-
ambient: {
|
|
48
|
-
opacity: 20,
|
|
49
|
-
offset: 1,
|
|
50
|
-
blur: 5,
|
|
51
|
-
spread: 0
|
|
18
|
+
offset: 1, blur: 3, opacity: 12
|
|
52
19
|
}
|
|
53
20
|
},
|
|
54
21
|
raised: {
|
|
55
22
|
umbra: {
|
|
56
|
-
opacity:
|
|
57
|
-
offset: 3,
|
|
58
|
-
blur: 3,
|
|
59
|
-
spread: 0
|
|
23
|
+
offset: 3, blur: 6, opacity: 23
|
|
60
24
|
},
|
|
61
25
|
penumbra: {
|
|
62
|
-
opacity:
|
|
63
|
-
offset: 3,
|
|
64
|
-
blur: 4,
|
|
65
|
-
spread: 0
|
|
66
|
-
},
|
|
67
|
-
ambient: {
|
|
68
|
-
opacity: 20,
|
|
69
|
-
offset: 1,
|
|
70
|
-
blur: 8,
|
|
71
|
-
spread: 0
|
|
26
|
+
offset: 3, blur: 6, opacity: 16
|
|
72
27
|
}
|
|
73
28
|
},
|
|
74
29
|
focussed: {
|
|
75
30
|
umbra: {
|
|
76
|
-
opacity:
|
|
77
|
-
offset: 2,
|
|
78
|
-
blur: 4,
|
|
79
|
-
spread: 0
|
|
31
|
+
offset: 6, blur: 6, opacity: 23
|
|
80
32
|
},
|
|
81
33
|
penumbra: {
|
|
82
|
-
opacity:
|
|
83
|
-
offset: 4,
|
|
84
|
-
blur: 5,
|
|
85
|
-
spread: 0
|
|
86
|
-
},
|
|
87
|
-
ambient: {
|
|
88
|
-
opacity: 20,
|
|
89
|
-
offset: 1,
|
|
90
|
-
blur: 10,
|
|
91
|
-
spread: 0
|
|
34
|
+
offset: 10, blur: 20, opacity: 19
|
|
92
35
|
}
|
|
93
36
|
},
|
|
94
37
|
navigation: {
|
|
95
38
|
umbra: {
|
|
96
|
-
opacity:
|
|
97
|
-
offset: 6,
|
|
98
|
-
blur: 10,
|
|
99
|
-
spread: 0
|
|
39
|
+
offset: 10, blur: 10, opacity: 22
|
|
100
40
|
},
|
|
101
41
|
penumbra: {
|
|
102
|
-
opacity:
|
|
103
|
-
offset: 1,
|
|
104
|
-
blur: 18,
|
|
105
|
-
spread: 0
|
|
106
|
-
},
|
|
107
|
-
ambient: {
|
|
108
|
-
opacity: 20,
|
|
109
|
-
offset: 3,
|
|
110
|
-
blur: 5,
|
|
111
|
-
spread: 0
|
|
42
|
+
offset: 14, blur: 28, opacity: 25
|
|
112
43
|
}
|
|
113
44
|
},
|
|
114
45
|
modal: {
|
|
115
46
|
umbra: {
|
|
116
|
-
opacity:
|
|
117
|
-
offset: 16,
|
|
118
|
-
blur: 24,
|
|
119
|
-
spread: 2
|
|
47
|
+
offset: 15, blur: 12, opacity: 22
|
|
120
48
|
},
|
|
121
49
|
penumbra: {
|
|
122
|
-
opacity:
|
|
123
|
-
offset: 6,
|
|
124
|
-
blur: 30,
|
|
125
|
-
spread: 5
|
|
126
|
-
},
|
|
127
|
-
ambient: {
|
|
128
|
-
opacity: 20,
|
|
129
|
-
offset: 8,
|
|
130
|
-
blur: 10,
|
|
131
|
-
spread: 0
|
|
50
|
+
offset: 19, blur: 38, opacity: 30
|
|
132
51
|
}
|
|
133
52
|
},
|
|
134
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow.records.js","sourceRoot":"","sources":["../../../../src/core/shadow/shadow.records.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"shadow.records.js","sourceRoot":"","sources":["../../../../src/core/shadow/shadow.records.ts"],"names":[],"mappings":";;;AAGA,uDAAuD;AAE1C,QAAA,YAAY,GAAoC;IAC3D,OAAO,EAAE,wDAAwD;IACjE,MAAM,EAAE,wDAAwD;IAChE,QAAQ,EAAE,0DAA0D;IACpE,UAAU,EAAE,4DAA4D;IACxE,KAAK,EAAE,4DAA4D;CACpE,CAAA;AAEY,QAAA,SAAS,GAA8C;IAClE,OAAO,EAAE;QACP,KAAK,EAAE;YACL,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE;SAAE;QACnC,QAAQ,EAAE;YACR,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE;SAAE;KACpC;IACD,MAAM,EAAE;QACN,KAAK,EAAE;YACL,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE;SAAE;QACnC,QAAQ,EAAE;YACR,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE;SAAE;KACpC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE;SAAE;QACnC,QAAQ,EAAE;YACR,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE;SAAE;KACtC;IACD,UAAU,EAAE;QACV,KAAK,EAAE;YACL,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE;SAAE;QACrC,QAAQ,EAAE;YACR,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE;SAAE;KACtC;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE;SAAE;QACrC,QAAQ,EAAE;YACR,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE;SAAE;KACtC;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type ShadowElevation = '
|
|
1
|
+
export declare type ShadowElevation = 'pressed' | 'raised' | 'focussed' | 'navigation' | 'modal';
|
|
@@ -32,41 +32,67 @@ exports.BaseTheme = {
|
|
|
32
32
|
'surface-tint': '#6750A4',
|
|
33
33
|
'inverse-surface': '#313033',
|
|
34
34
|
'inverse-on-surface': '#F4EFF4',
|
|
35
|
-
'inverse-primary': '#D0BCFF',
|
|
35
|
+
'inverse-on-surface-primary': '#D0BCFF',
|
|
36
36
|
'transparent': 'rgba(0,0,0,0)'
|
|
37
37
|
},
|
|
38
38
|
typography: {
|
|
39
|
-
'
|
|
39
|
+
'display-large': {
|
|
40
40
|
fontFamily: 'Red Hat Display',
|
|
41
|
-
fontSize:
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
fontSize: 57,
|
|
42
|
+
lineHeight: 64,
|
|
43
|
+
fontWeight: 'normal',
|
|
44
|
+
letterSpacing: -0.25
|
|
44
45
|
},
|
|
45
|
-
'
|
|
46
|
+
'display-medium': {
|
|
46
47
|
fontFamily: 'Red Hat Display',
|
|
47
|
-
fontSize:
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
fontSize: 45,
|
|
49
|
+
lineHeight: 52,
|
|
50
|
+
fontWeight: 'normal'
|
|
50
51
|
},
|
|
51
|
-
'
|
|
52
|
+
'display-small': {
|
|
52
53
|
fontFamily: 'Red Hat Display',
|
|
53
|
-
fontSize:
|
|
54
|
+
fontSize: 36,
|
|
55
|
+
lineHeight: 44,
|
|
56
|
+
fontWeight: 'normal'
|
|
54
57
|
},
|
|
55
|
-
'headline-
|
|
58
|
+
'headline-large': {
|
|
56
59
|
fontFamily: 'Red Hat Display',
|
|
57
|
-
fontSize:
|
|
58
|
-
|
|
60
|
+
fontSize: 32,
|
|
61
|
+
lineHeight: 40,
|
|
62
|
+
fontWeight: 'normal'
|
|
59
63
|
},
|
|
60
|
-
'headline-
|
|
64
|
+
'headline-medium': {
|
|
61
65
|
fontFamily: 'Red Hat Display',
|
|
62
|
-
fontSize:
|
|
66
|
+
fontSize: 28,
|
|
67
|
+
lineHeight: 36,
|
|
68
|
+
fontWeight: 'normal'
|
|
63
69
|
},
|
|
64
|
-
'headline-
|
|
70
|
+
'headline-small': {
|
|
65
71
|
fontFamily: 'Red Hat Display',
|
|
66
|
-
fontSize:
|
|
72
|
+
fontSize: 24,
|
|
73
|
+
lineHeight: 32,
|
|
74
|
+
fontWeight: 'normal'
|
|
75
|
+
},
|
|
76
|
+
'title-large': {
|
|
77
|
+
fontFamily: 'Red Hat Display',
|
|
78
|
+
fontSize: 22,
|
|
79
|
+
lineHeight: 28,
|
|
80
|
+
fontWeight: 'normal'
|
|
81
|
+
},
|
|
82
|
+
'title-medium': {
|
|
83
|
+
fontFamily: 'Red Hat Display',
|
|
84
|
+
fontSize: 16,
|
|
85
|
+
lineHeight: 24,
|
|
67
86
|
fontWeight: 'medium',
|
|
68
87
|
letterSpacing: 0.15
|
|
69
88
|
},
|
|
89
|
+
'title-small': {
|
|
90
|
+
fontFamily: 'Red Hat Display',
|
|
91
|
+
fontWeight: 'medium',
|
|
92
|
+
fontSize: 14,
|
|
93
|
+
lineHeight: 20,
|
|
94
|
+
letterSpacing: 0.1
|
|
95
|
+
},
|
|
70
96
|
'body-1-long': {
|
|
71
97
|
fontFamily: 'Roboto',
|
|
72
98
|
fontSize: 16,
|
|
@@ -87,53 +113,58 @@ exports.BaseTheme = {
|
|
|
87
113
|
fontSize: 14,
|
|
88
114
|
lineHeight: 20
|
|
89
115
|
},
|
|
90
|
-
title: {
|
|
91
|
-
fontFamily: 'Red Hat Display',
|
|
92
|
-
fontSize: 48
|
|
93
|
-
},
|
|
94
116
|
'subtitle-1': {
|
|
95
117
|
fontFamily: 'Red Hat Display',
|
|
96
118
|
fontSize: 16,
|
|
119
|
+
lineHeight: 24,
|
|
97
120
|
letterSpacing: 0.15
|
|
98
121
|
},
|
|
99
122
|
'subtitle-2': {
|
|
100
123
|
fontFamily: 'Red Hat Display',
|
|
101
124
|
fontSize: 14,
|
|
125
|
+
lineHeight: 20,
|
|
102
126
|
fontWeight: 'medium',
|
|
103
127
|
letterSpacing: 0.1
|
|
104
128
|
},
|
|
105
129
|
label: {
|
|
106
130
|
fontFamily: 'Roboto',
|
|
107
|
-
fontSize: 14
|
|
131
|
+
fontSize: 14,
|
|
132
|
+
lineHeight: 20
|
|
108
133
|
},
|
|
109
134
|
button: {
|
|
110
135
|
fontFamily: 'Red Hat Display',
|
|
111
136
|
fontSize: 14,
|
|
137
|
+
lineHeight: 20,
|
|
112
138
|
fontWeight: 'medium',
|
|
113
|
-
textTransform: '
|
|
139
|
+
textTransform: 'capitalize'
|
|
114
140
|
},
|
|
115
141
|
caption: {
|
|
116
142
|
fontFamily: 'Roboto',
|
|
117
143
|
fontSize: 12,
|
|
144
|
+
lineHeight: 18,
|
|
118
145
|
letterSpacing: 0.4
|
|
119
146
|
},
|
|
120
147
|
overline: {
|
|
121
148
|
fontFamily: 'Red Hat Display',
|
|
122
149
|
fontSize: 10,
|
|
150
|
+
lineHeight: 18,
|
|
123
151
|
letterSpacing: 1.5,
|
|
124
152
|
textTransform: 'uppercase'
|
|
125
153
|
},
|
|
126
154
|
paragraph: {
|
|
127
155
|
fontFamily: 'Roboto',
|
|
128
|
-
fontSize: 16
|
|
156
|
+
fontSize: 16,
|
|
157
|
+
lineHeight: 24
|
|
129
158
|
},
|
|
130
159
|
quote: {
|
|
131
160
|
fontFamily: 'Roboto',
|
|
132
|
-
fontSize: 16
|
|
161
|
+
fontSize: 16,
|
|
162
|
+
lineHeight: 24
|
|
133
163
|
},
|
|
134
164
|
note: {
|
|
135
165
|
fontFamily: 'Roboto',
|
|
136
166
|
fontSize: 14,
|
|
167
|
+
lineHeight: 22,
|
|
137
168
|
fontStyle: 'italic'
|
|
138
169
|
}
|
|
139
170
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/base.theme.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAU;IAC9B,EAAE,EAAE,WAAW;IACf,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE;QACN,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,mBAAmB,EAAE,SAAS;QAC9B,sBAAsB,EAAE,SAAS;QACjC,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE,SAAS;QACzB,qBAAqB,EAAE,SAAS;QAChC,wBAAwB,EAAE,SAAS;QACnC,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,oBAAoB,EAAE,SAAS;QAC/B,uBAAuB,EAAE,SAAS;QAClC,OAAO,EAAE,SAAS;QAClB,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,YAAY,EAAE,SAAS;QACvB,eAAe,EAAE,SAAS;QAC1B,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,SAAS;QACnB,cAAc,EAAE,SAAS;QACzB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,
|
|
1
|
+
{"version":3,"file":"base.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/base.theme.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAU;IAC9B,EAAE,EAAE,WAAW;IACf,IAAI,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9B;KACF;CACF,CAAA"}
|
|
@@ -30,7 +30,7 @@ exports.DarkTheme = Object.assign(Object.assign({}, base_theme_1.BaseTheme), { i
|
|
|
30
30
|
'surface-tint': '#D0BCFF',
|
|
31
31
|
'inverse-surface': '#E6E1E5',
|
|
32
32
|
'inverse-on-surface': '#313033',
|
|
33
|
-
'inverse-primary': '#6750A4',
|
|
33
|
+
'inverse-on-surface-primary': '#6750A4',
|
|
34
34
|
'transparent': 'rgba(0,0,0,0)'
|
|
35
35
|
} });
|
|
36
36
|
//# sourceMappingURL=dark.theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dark.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/dark.theme.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAE5B,QAAA,SAAS,mCACjB,sBAAS,KACZ,EAAE,EAAE,WAAW,EACf,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE;QACN,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,mBAAmB,EAAE,SAAS;QAC9B,sBAAsB,EAAE,SAAS;QACjC,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE,SAAS;QACzB,qBAAqB,EAAE,SAAS;QAChC,wBAAwB,EAAE,SAAS;QACnC,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,oBAAoB,EAAE,SAAS;QAC/B,uBAAuB,EAAE,SAAS;QAClC,OAAO,EAAE,SAAS;QAClB,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,YAAY,EAAE,SAAS;QACvB,eAAe,EAAE,SAAS;QAC1B,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,SAAS;QACnB,cAAc,EAAE,SAAS;QACzB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,
|
|
1
|
+
{"version":3,"file":"dark.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/dark.theme.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAE5B,QAAA,SAAS,mCACjB,sBAAS,KACZ,EAAE,EAAE,WAAW,EACf,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE;QACN,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,mBAAmB,EAAE,SAAS;QAC9B,sBAAsB,EAAE,SAAS;QACjC,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE,SAAS;QACzB,qBAAqB,EAAE,SAAS;QAChC,wBAAwB,EAAE,SAAS;QACnC,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,oBAAoB,EAAE,SAAS;QAC/B,uBAAuB,EAAE,SAAS;QAClC,OAAO,EAAE,SAAS;QAClB,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,YAAY,EAAE,SAAS;QACvB,eAAe,EAAE,SAAS;QAC1B,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,SAAS;QACnB,cAAc,EAAE,SAAS;QACzB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,4BAA4B,EAAE,SAAS;QACvC,aAAa,EAAE,eAAe;KAC/B,IACF"}
|
|
@@ -3,6 +3,7 @@ import { Size } from '../core.types';
|
|
|
3
3
|
export interface TextStyle {
|
|
4
4
|
fontFamily: string;
|
|
5
5
|
fontSize: number;
|
|
6
|
+
lineHeight: number;
|
|
6
7
|
fontScale?: Record<Size, number>;
|
|
7
8
|
fontWeight?: FontWeight;
|
|
8
9
|
fontStyle?: 'italic';
|
|
@@ -10,7 +11,6 @@ export interface TextStyle {
|
|
|
10
11
|
textDecoration?: TextDecoration;
|
|
11
12
|
letterSpacing?: number;
|
|
12
13
|
textIndent?: number;
|
|
13
|
-
lineHeight?: number;
|
|
14
14
|
wordSpacing?: number;
|
|
15
15
|
whiteSpace?: 'nowrap';
|
|
16
16
|
}
|
|
@@ -2,6 +2,6 @@ export declare type classes = 'sanserif' | 'serif' | 'slab' | 'script' | 'displa
|
|
|
2
2
|
export declare type families = 'Open-Sans' | 'Times-New-Roman' | 'Noto-Serif-Display';
|
|
3
3
|
export declare type FontWeight = 'thin' | 'extra-light' | 'light' | 'normal' | 'medium' | 'semi-bold' | 'bold' | 'extra-bold' | 'black' | 'extra-black' | number;
|
|
4
4
|
export declare type placement = 'overline' | 'title' | 'underline' | 'body' | 'label' | 'note' | 'footer';
|
|
5
|
-
export declare type TextRole = '
|
|
5
|
+
export declare type TextRole = 'display-large' | 'display-medium' | 'display-small' | 'headline-large' | 'headline-medium' | 'headline-small' | 'title-large' | 'title-medium' | 'title-small' | 'body-1-long' | 'body-1-short' | 'body-2-long' | 'body-2-short' | 'subtitle-1' | 'subtitle-2' | 'label' | 'button' | 'caption' | 'overline' | 'paragraph' | 'quote' | 'note';
|
|
6
6
|
export declare type TextDecoration = 'overline' | 'line-through' | 'underline' | 'overline-underline';
|
|
7
7
|
export declare type TextTransform = 'uppercase' | 'lowercase' | 'capitalize';
|
|
@@ -10,4 +10,8 @@ export declare type colorRoles = 'primary' | 'secondary' | 'tertiary' | 'inverse
|
|
|
10
10
|
export declare const roleHues: Record<colorRoles, Range>;
|
|
11
11
|
export declare const utilHues: Record<utilColorRoles, Range>;
|
|
12
12
|
export declare type ColorModes = 'base' | 'hover' | 'active' | 'disabled';
|
|
13
|
-
export declare type ColorToken =
|
|
13
|
+
export declare type ColorToken = ElementColorToken | ContainerColorToken | ContentColorToken | UtilityColorToken;
|
|
14
|
+
export declare type ElementColorToken = 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
15
|
+
export declare type ContainerColorToken = 'primary-container' | 'secondary-container' | 'tertiary-container' | 'error-container' | 'background' | 'surface' | 'surface-variant' | 'inverse-surface';
|
|
16
|
+
export declare type ContentColorToken = 'on-primary' | 'on-primary-container' | 'on-secondary' | 'on-secondary-container' | 'on-tertiary' | 'on-tertiary-container' | 'on-error' | 'on-error-container' | 'on-background' | 'on-surface' | 'on-surface-variant' | 'inverse-on-surface' | 'inverse-on-surface-primary';
|
|
17
|
+
export declare type UtilityColorToken = 'outline' | 'shadow' | 'surface-tint' | 'transparent';
|
|
@@ -1,131 +1,50 @@
|
|
|
1
|
+
// box-shadow: none|h-offset v-offset blur spread color
|
|
1
2
|
export const ShadowCssMap = {
|
|
2
|
-
flat: 'none',
|
|
3
3
|
pressed: '0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)',
|
|
4
4
|
raised: '0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)',
|
|
5
5
|
focussed: '0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)',
|
|
6
6
|
navigation: '0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)',
|
|
7
7
|
modal: '0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22)'
|
|
8
8
|
};
|
|
9
|
-
// https://material.io/archive/guidelines/resources/shadows.html#shadows-sketch
|
|
10
9
|
export const ShadowMap = {
|
|
11
|
-
flat: {
|
|
12
|
-
umbra: {
|
|
13
|
-
opacity: 14,
|
|
14
|
-
offset: 0,
|
|
15
|
-
blur: 2,
|
|
16
|
-
spread: 0
|
|
17
|
-
},
|
|
18
|
-
penumbra: {
|
|
19
|
-
opacity: 12,
|
|
20
|
-
offset: 2,
|
|
21
|
-
blur: 2,
|
|
22
|
-
spread: 0
|
|
23
|
-
},
|
|
24
|
-
ambient: {
|
|
25
|
-
opacity: 20,
|
|
26
|
-
offset: 1,
|
|
27
|
-
blur: 3,
|
|
28
|
-
spread: 0
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
10
|
pressed: {
|
|
32
11
|
umbra: {
|
|
33
|
-
opacity:
|
|
34
|
-
offset: 0,
|
|
35
|
-
blur: 4,
|
|
36
|
-
spread: 0
|
|
12
|
+
offset: 1, blur: 2, opacity: 24
|
|
37
13
|
},
|
|
38
14
|
penumbra: {
|
|
39
|
-
opacity: 12
|
|
40
|
-
offset: 3,
|
|
41
|
-
blur: 4,
|
|
42
|
-
spread: 0
|
|
43
|
-
},
|
|
44
|
-
ambient: {
|
|
45
|
-
opacity: 20,
|
|
46
|
-
offset: 1,
|
|
47
|
-
blur: 5,
|
|
48
|
-
spread: 0
|
|
15
|
+
offset: 1, blur: 3, opacity: 12
|
|
49
16
|
}
|
|
50
17
|
},
|
|
51
18
|
raised: {
|
|
52
19
|
umbra: {
|
|
53
|
-
opacity:
|
|
54
|
-
offset: 3,
|
|
55
|
-
blur: 3,
|
|
56
|
-
spread: 0
|
|
20
|
+
offset: 3, blur: 6, opacity: 23
|
|
57
21
|
},
|
|
58
22
|
penumbra: {
|
|
59
|
-
opacity:
|
|
60
|
-
offset: 3,
|
|
61
|
-
blur: 4,
|
|
62
|
-
spread: 0
|
|
63
|
-
},
|
|
64
|
-
ambient: {
|
|
65
|
-
opacity: 20,
|
|
66
|
-
offset: 1,
|
|
67
|
-
blur: 8,
|
|
68
|
-
spread: 0
|
|
23
|
+
offset: 3, blur: 6, opacity: 16
|
|
69
24
|
}
|
|
70
25
|
},
|
|
71
26
|
focussed: {
|
|
72
27
|
umbra: {
|
|
73
|
-
opacity:
|
|
74
|
-
offset: 2,
|
|
75
|
-
blur: 4,
|
|
76
|
-
spread: 0
|
|
28
|
+
offset: 6, blur: 6, opacity: 23
|
|
77
29
|
},
|
|
78
30
|
penumbra: {
|
|
79
|
-
opacity:
|
|
80
|
-
offset: 4,
|
|
81
|
-
blur: 5,
|
|
82
|
-
spread: 0
|
|
83
|
-
},
|
|
84
|
-
ambient: {
|
|
85
|
-
opacity: 20,
|
|
86
|
-
offset: 1,
|
|
87
|
-
blur: 10,
|
|
88
|
-
spread: 0
|
|
31
|
+
offset: 10, blur: 20, opacity: 19
|
|
89
32
|
}
|
|
90
33
|
},
|
|
91
34
|
navigation: {
|
|
92
35
|
umbra: {
|
|
93
|
-
opacity:
|
|
94
|
-
offset: 6,
|
|
95
|
-
blur: 10,
|
|
96
|
-
spread: 0
|
|
36
|
+
offset: 10, blur: 10, opacity: 22
|
|
97
37
|
},
|
|
98
38
|
penumbra: {
|
|
99
|
-
opacity:
|
|
100
|
-
offset: 1,
|
|
101
|
-
blur: 18,
|
|
102
|
-
spread: 0
|
|
103
|
-
},
|
|
104
|
-
ambient: {
|
|
105
|
-
opacity: 20,
|
|
106
|
-
offset: 3,
|
|
107
|
-
blur: 5,
|
|
108
|
-
spread: 0
|
|
39
|
+
offset: 14, blur: 28, opacity: 25
|
|
109
40
|
}
|
|
110
41
|
},
|
|
111
42
|
modal: {
|
|
112
43
|
umbra: {
|
|
113
|
-
opacity:
|
|
114
|
-
offset: 16,
|
|
115
|
-
blur: 24,
|
|
116
|
-
spread: 2
|
|
44
|
+
offset: 15, blur: 12, opacity: 22
|
|
117
45
|
},
|
|
118
46
|
penumbra: {
|
|
119
|
-
opacity:
|
|
120
|
-
offset: 6,
|
|
121
|
-
blur: 30,
|
|
122
|
-
spread: 5
|
|
123
|
-
},
|
|
124
|
-
ambient: {
|
|
125
|
-
opacity: 20,
|
|
126
|
-
offset: 8,
|
|
127
|
-
blur: 10,
|
|
128
|
-
spread: 0
|
|
47
|
+
offset: 19, blur: 38, opacity: 30
|
|
129
48
|
}
|
|
130
49
|
},
|
|
131
50
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow.records.js","sourceRoot":"","sources":["../../../../src/core/shadow/shadow.records.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,YAAY,GAAoC;IAC3D,
|
|
1
|
+
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AI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE;SAAE;QACrC,QAAQ,EAAE;YACR,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE;SAAE;KACtC;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type ShadowElevation = '
|
|
1
|
+
export declare type ShadowElevation = 'pressed' | 'raised' | 'focussed' | 'navigation' | 'modal';
|
|
@@ -29,41 +29,67 @@ export const BaseTheme = {
|
|
|
29
29
|
'surface-tint': '#6750A4',
|
|
30
30
|
'inverse-surface': '#313033',
|
|
31
31
|
'inverse-on-surface': '#F4EFF4',
|
|
32
|
-
'inverse-primary': '#D0BCFF',
|
|
32
|
+
'inverse-on-surface-primary': '#D0BCFF',
|
|
33
33
|
'transparent': 'rgba(0,0,0,0)'
|
|
34
34
|
},
|
|
35
35
|
typography: {
|
|
36
|
-
'
|
|
36
|
+
'display-large': {
|
|
37
37
|
fontFamily: 'Red Hat Display',
|
|
38
|
-
fontSize:
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
fontSize: 57,
|
|
39
|
+
lineHeight: 64,
|
|
40
|
+
fontWeight: 'normal',
|
|
41
|
+
letterSpacing: -0.25
|
|
41
42
|
},
|
|
42
|
-
'
|
|
43
|
+
'display-medium': {
|
|
43
44
|
fontFamily: 'Red Hat Display',
|
|
44
|
-
fontSize:
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
fontSize: 45,
|
|
46
|
+
lineHeight: 52,
|
|
47
|
+
fontWeight: 'normal'
|
|
47
48
|
},
|
|
48
|
-
'
|
|
49
|
+
'display-small': {
|
|
49
50
|
fontFamily: 'Red Hat Display',
|
|
50
|
-
fontSize:
|
|
51
|
+
fontSize: 36,
|
|
52
|
+
lineHeight: 44,
|
|
53
|
+
fontWeight: 'normal'
|
|
51
54
|
},
|
|
52
|
-
'headline-
|
|
55
|
+
'headline-large': {
|
|
53
56
|
fontFamily: 'Red Hat Display',
|
|
54
|
-
fontSize:
|
|
55
|
-
|
|
57
|
+
fontSize: 32,
|
|
58
|
+
lineHeight: 40,
|
|
59
|
+
fontWeight: 'normal'
|
|
56
60
|
},
|
|
57
|
-
'headline-
|
|
61
|
+
'headline-medium': {
|
|
58
62
|
fontFamily: 'Red Hat Display',
|
|
59
|
-
fontSize:
|
|
63
|
+
fontSize: 28,
|
|
64
|
+
lineHeight: 36,
|
|
65
|
+
fontWeight: 'normal'
|
|
60
66
|
},
|
|
61
|
-
'headline-
|
|
67
|
+
'headline-small': {
|
|
62
68
|
fontFamily: 'Red Hat Display',
|
|
63
|
-
fontSize:
|
|
69
|
+
fontSize: 24,
|
|
70
|
+
lineHeight: 32,
|
|
71
|
+
fontWeight: 'normal'
|
|
72
|
+
},
|
|
73
|
+
'title-large': {
|
|
74
|
+
fontFamily: 'Red Hat Display',
|
|
75
|
+
fontSize: 22,
|
|
76
|
+
lineHeight: 28,
|
|
77
|
+
fontWeight: 'normal'
|
|
78
|
+
},
|
|
79
|
+
'title-medium': {
|
|
80
|
+
fontFamily: 'Red Hat Display',
|
|
81
|
+
fontSize: 16,
|
|
82
|
+
lineHeight: 24,
|
|
64
83
|
fontWeight: 'medium',
|
|
65
84
|
letterSpacing: 0.15
|
|
66
85
|
},
|
|
86
|
+
'title-small': {
|
|
87
|
+
fontFamily: 'Red Hat Display',
|
|
88
|
+
fontWeight: 'medium',
|
|
89
|
+
fontSize: 14,
|
|
90
|
+
lineHeight: 20,
|
|
91
|
+
letterSpacing: 0.1
|
|
92
|
+
},
|
|
67
93
|
'body-1-long': {
|
|
68
94
|
fontFamily: 'Roboto',
|
|
69
95
|
fontSize: 16,
|
|
@@ -84,53 +110,58 @@ export const BaseTheme = {
|
|
|
84
110
|
fontSize: 14,
|
|
85
111
|
lineHeight: 20
|
|
86
112
|
},
|
|
87
|
-
title: {
|
|
88
|
-
fontFamily: 'Red Hat Display',
|
|
89
|
-
fontSize: 48
|
|
90
|
-
},
|
|
91
113
|
'subtitle-1': {
|
|
92
114
|
fontFamily: 'Red Hat Display',
|
|
93
115
|
fontSize: 16,
|
|
116
|
+
lineHeight: 24,
|
|
94
117
|
letterSpacing: 0.15
|
|
95
118
|
},
|
|
96
119
|
'subtitle-2': {
|
|
97
120
|
fontFamily: 'Red Hat Display',
|
|
98
121
|
fontSize: 14,
|
|
122
|
+
lineHeight: 20,
|
|
99
123
|
fontWeight: 'medium',
|
|
100
124
|
letterSpacing: 0.1
|
|
101
125
|
},
|
|
102
126
|
label: {
|
|
103
127
|
fontFamily: 'Roboto',
|
|
104
|
-
fontSize: 14
|
|
128
|
+
fontSize: 14,
|
|
129
|
+
lineHeight: 20
|
|
105
130
|
},
|
|
106
131
|
button: {
|
|
107
132
|
fontFamily: 'Red Hat Display',
|
|
108
133
|
fontSize: 14,
|
|
134
|
+
lineHeight: 20,
|
|
109
135
|
fontWeight: 'medium',
|
|
110
|
-
textTransform: '
|
|
136
|
+
textTransform: 'capitalize'
|
|
111
137
|
},
|
|
112
138
|
caption: {
|
|
113
139
|
fontFamily: 'Roboto',
|
|
114
140
|
fontSize: 12,
|
|
141
|
+
lineHeight: 18,
|
|
115
142
|
letterSpacing: 0.4
|
|
116
143
|
},
|
|
117
144
|
overline: {
|
|
118
145
|
fontFamily: 'Red Hat Display',
|
|
119
146
|
fontSize: 10,
|
|
147
|
+
lineHeight: 18,
|
|
120
148
|
letterSpacing: 1.5,
|
|
121
149
|
textTransform: 'uppercase'
|
|
122
150
|
},
|
|
123
151
|
paragraph: {
|
|
124
152
|
fontFamily: 'Roboto',
|
|
125
|
-
fontSize: 16
|
|
153
|
+
fontSize: 16,
|
|
154
|
+
lineHeight: 24
|
|
126
155
|
},
|
|
127
156
|
quote: {
|
|
128
157
|
fontFamily: 'Roboto',
|
|
129
|
-
fontSize: 16
|
|
158
|
+
fontSize: 16,
|
|
159
|
+
lineHeight: 24
|
|
130
160
|
},
|
|
131
161
|
note: {
|
|
132
162
|
fontFamily: 'Roboto',
|
|
133
163
|
fontSize: 14,
|
|
164
|
+
lineHeight: 22,
|
|
134
165
|
fontStyle: 'italic'
|
|
135
166
|
}
|
|
136
167
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/base.theme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,EAAE,EAAE,WAAW;IACf,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE;QACN,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,mBAAmB,EAAE,SAAS;QAC9B,sBAAsB,EAAE,SAAS;QACjC,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE,SAAS;QACzB,qBAAqB,EAAE,SAAS;QAChC,wBAAwB,EAAE,SAAS;QACnC,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,oBAAoB,EAAE,SAAS;QAC/B,uBAAuB,EAAE,SAAS;QAClC,OAAO,EAAE,SAAS;QAClB,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,YAAY,EAAE,SAAS;QACvB,eAAe,EAAE,SAAS;QAC1B,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,SAAS;QACnB,cAAc,EAAE,SAAS;QACzB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,
|
|
1
|
+
{"version":3,"file":"base.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/base.theme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,EAAE,EAAE,WAAW;IACf,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE;QACN,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAA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aseTheme), { id: 'Dark
|
|
|
27
27
|
'surface-tint': '#D0BCFF',
|
|
28
28
|
'inverse-surface': '#E6E1E5',
|
|
29
29
|
'inverse-on-surface': '#313033',
|
|
30
|
-
'inverse-primary': '#6750A4',
|
|
30
|
+
'inverse-on-surface-primary': '#6750A4',
|
|
31
31
|
'transparent': 'rgba(0,0,0,0)'
|
|
32
32
|
} });
|
|
33
33
|
//# sourceMappingURL=dark.theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dark.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/dark.theme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,CAAC,MAAM,SAAS,mCACjB,SAAS,KACZ,EAAE,EAAE,WAAW,EACf,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE;QACN,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,mBAAmB,EAAE,SAAS;QAC9B,sBAAsB,EAAE,SAAS;QACjC,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE,SAAS;QACzB,qBAAqB,EAAE,SAAS;QAChC,wBAAwB,EAAE,SAAS;QACnC,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,oBAAoB,EAAE,SAAS;QAC/B,uBAAuB,EAAE,SAAS;QAClC,OAAO,EAAE,SAAS;QAClB,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,YAAY,EAAE,SAAS;QACvB,eAAe,EAAE,SAAS;QAC1B,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,SAAS;QACnB,cAAc,EAAE,SAAS;QACzB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,
|
|
1
|
+
{"version":3,"file":"dark.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/dark.theme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,CAAC,MAAM,SAAS,mCACjB,SAAS,KACZ,EAAE,EAAE,WAAW,EACf,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE;QACN,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,mBAAmB,EAAE,SAAS;QAC9B,sBAAsB,EAAE,SAAS;QACjC,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE,SAAS;QACzB,qBAAqB,EAAE,SAAS;QAChC,wBAAwB,EAAE,SAAS;QACnC,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,oBAAoB,EAAE,SAAS;QAC/B,uBAAuB,EAAE,SAAS;QAClC,OAAO,EAAE,SAAS;QAClB,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,YAAY,EAAE,SAAS;QACvB,eAAe,EAAE,SAAS;QAC1B,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,SAAS;QACnB,cAAc,EAAE,SAAS;QACzB,iBAAiB,EAAE,SAAS;QAC5B,oBAAoB,EAAE,SAAS;QAC/B,4BAA4B,EAAE,SAAS;QACvC,aAAa,EAAE,eAAe;KAC/B,GACF,CAAA"}
|
|
@@ -3,6 +3,7 @@ import { Size } from '../core.types';
|
|
|
3
3
|
export interface TextStyle {
|
|
4
4
|
fontFamily: string;
|
|
5
5
|
fontSize: number;
|
|
6
|
+
lineHeight: number;
|
|
6
7
|
fontScale?: Record<Size, number>;
|
|
7
8
|
fontWeight?: FontWeight;
|
|
8
9
|
fontStyle?: 'italic';
|
|
@@ -10,7 +11,6 @@ export interface TextStyle {
|
|
|
10
11
|
textDecoration?: TextDecoration;
|
|
11
12
|
letterSpacing?: number;
|
|
12
13
|
textIndent?: number;
|
|
13
|
-
lineHeight?: number;
|
|
14
14
|
wordSpacing?: number;
|
|
15
15
|
whiteSpace?: 'nowrap';
|
|
16
16
|
}
|
|
@@ -2,6 +2,6 @@ export declare type classes = 'sanserif' | 'serif' | 'slab' | 'script' | 'displa
|
|
|
2
2
|
export declare type families = 'Open-Sans' | 'Times-New-Roman' | 'Noto-Serif-Display';
|
|
3
3
|
export declare type FontWeight = 'thin' | 'extra-light' | 'light' | 'normal' | 'medium' | 'semi-bold' | 'bold' | 'extra-bold' | 'black' | 'extra-black' | number;
|
|
4
4
|
export declare type placement = 'overline' | 'title' | 'underline' | 'body' | 'label' | 'note' | 'footer';
|
|
5
|
-
export declare type TextRole = '
|
|
5
|
+
export declare type TextRole = 'display-large' | 'display-medium' | 'display-small' | 'headline-large' | 'headline-medium' | 'headline-small' | 'title-large' | 'title-medium' | 'title-small' | 'body-1-long' | 'body-1-short' | 'body-2-long' | 'body-2-short' | 'subtitle-1' | 'subtitle-2' | 'label' | 'button' | 'caption' | 'overline' | 'paragraph' | 'quote' | 'note';
|
|
6
6
|
export declare type TextDecoration = 'overline' | 'line-through' | 'underline' | 'overline-underline';
|
|
7
7
|
export declare type TextTransform = 'uppercase' | 'lowercase' | 'capitalize';
|
package/package.json
CHANGED