@fluentui-react-native/apple-theme 0.16.11 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +55 -1
- package/CHANGELOG.md +22 -2
- package/lib/appleTypography.ios.d.ts.map +1 -1
- package/lib/appleTypography.ios.js +12 -0
- package/lib/appleTypography.ios.js.map +1 -1
- package/lib-commonjs/appleTypography.ios.d.ts.map +1 -1
- package/lib-commonjs/appleTypography.ios.js +12 -0
- package/lib-commonjs/appleTypography.ios.js.map +1 -1
- package/package.json +5 -5
- package/src/__tests__/__snapshots__/apple-theme.test.ts.snap +12 -0
- package/src/appleTypography.ios.ts +12 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,61 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 06 Dec 2022 16:57:13 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/apple-theme_v0.17.1",
|
|
7
|
+
"version": "0.17.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.16.15",
|
|
14
|
+
"commit": "fd3173a08209d19f2ba01d34348767dbf49624bd"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Tue, 06 Dec 2022 00:46:41 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/apple-theme_v0.17.0",
|
|
22
|
+
"version": "0.17.0",
|
|
23
|
+
"comments": {
|
|
24
|
+
"minor": [
|
|
25
|
+
{
|
|
26
|
+
"author": "adgleitm@microsoft.com",
|
|
27
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
28
|
+
"commit": "bb56215afebd2cadbe34da92ab4768c2d2a6b355",
|
|
29
|
+
"comment": "Allow V1 usage of V2 text variants"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.16.14",
|
|
35
|
+
"commit": "8e94deaeff8869396c506ca186a614eb0acd9f93"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/theme to v0.7.10",
|
|
41
|
+
"commit": "8e94deaeff8869396c506ca186a614eb0acd9f93"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/theme-types to v0.25.0",
|
|
47
|
+
"commit": "8e94deaeff8869396c506ca186a614eb0acd9f93"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
52
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.19.1",
|
|
53
|
+
"commit": "8e94deaeff8869396c506ca186a614eb0acd9f93"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"date": "Thu, 01 Dec 2022 03:12:19 GMT",
|
|
6
60
|
"tag": "@fluentui-react-native/apple-theme_v0.16.11",
|
|
7
61
|
"version": "0.16.11",
|
|
8
62
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/apple-theme
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 06 Dec 2022 16:57:13 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.17.1
|
|
8
|
+
|
|
9
|
+
Tue, 06 Dec 2022 16:57:13 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/default-theme to v0.16.15
|
|
14
|
+
|
|
15
|
+
## 0.17.0
|
|
16
|
+
|
|
17
|
+
Tue, 06 Dec 2022 00:46:41 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- Allow V1 usage of V2 text variants (adgleitm@microsoft.com)
|
|
22
|
+
- Bump @fluentui-react-native/default-theme to v0.16.14
|
|
23
|
+
- Bump @fluentui-react-native/theme to v0.7.10
|
|
24
|
+
- Bump @fluentui-react-native/theme-types to v0.25.0
|
|
25
|
+
- Bump @fluentui-react-native/theming-utils to v0.19.1
|
|
26
|
+
|
|
7
27
|
## 0.16.11
|
|
8
28
|
|
|
9
|
-
Thu, 01 Dec 2022 03:
|
|
29
|
+
Thu, 01 Dec 2022 03:12:19 GMT
|
|
10
30
|
|
|
11
31
|
### Patches
|
|
12
32
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTypography.ios.d.ts","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;AAKhH,wBAAgB,eAAe,IAAI,UAAU,
|
|
1
|
+
{"version":3,"file":"appleTypography.ios.d.ts","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;AAKhH,wBAAgB,eAAe,IAAI,UAAU,CAiJ5C"}
|
|
@@ -52,6 +52,7 @@ export function appleTypography() {
|
|
|
52
52
|
weight: fontTokens.weight.regular,
|
|
53
53
|
lineHeight: fontTokens.lineHeight100,
|
|
54
54
|
letterSpacing: 0,
|
|
55
|
+
dynamicTypeRamp: 'caption1', // Not a typo, this corresponds to UIFontTextStypeCaption1
|
|
55
56
|
},
|
|
56
57
|
caption1: {
|
|
57
58
|
face: fontTokens.family.base,
|
|
@@ -59,6 +60,7 @@ export function appleTypography() {
|
|
|
59
60
|
weight: fontTokens.weight.regular,
|
|
60
61
|
lineHeight: fontTokens.lineHeight200,
|
|
61
62
|
letterSpacing: -0.08,
|
|
63
|
+
dynamicTypeRamp: 'footnote',
|
|
62
64
|
},
|
|
63
65
|
caption1Strong: {
|
|
64
66
|
face: fontTokens.family.base,
|
|
@@ -66,6 +68,7 @@ export function appleTypography() {
|
|
|
66
68
|
weight: fontTokens.weight.semibold,
|
|
67
69
|
lineHeight: fontTokens.lineHeight200,
|
|
68
70
|
letterSpacing: -0.08,
|
|
71
|
+
dynamicTypeRamp: 'footnote',
|
|
69
72
|
},
|
|
70
73
|
body2: {
|
|
71
74
|
face: fontTokens.family.base,
|
|
@@ -73,6 +76,7 @@ export function appleTypography() {
|
|
|
73
76
|
weight: fontTokens.weight.regular,
|
|
74
77
|
lineHeight: fontTokens.lineHeight300,
|
|
75
78
|
letterSpacing: -0.23,
|
|
79
|
+
dynamicTypeRamp: 'subheadline',
|
|
76
80
|
},
|
|
77
81
|
body2Strong: {
|
|
78
82
|
face: fontTokens.family.base,
|
|
@@ -80,6 +84,7 @@ export function appleTypography() {
|
|
|
80
84
|
weight: fontTokens.weight.semibold,
|
|
81
85
|
lineHeight: fontTokens.lineHeight300,
|
|
82
86
|
letterSpacing: -0.23,
|
|
87
|
+
dynamicTypeRamp: 'subheadline',
|
|
83
88
|
},
|
|
84
89
|
body1: {
|
|
85
90
|
face: fontTokens.family.base,
|
|
@@ -87,6 +92,7 @@ export function appleTypography() {
|
|
|
87
92
|
weight: fontTokens.weight.regular,
|
|
88
93
|
lineHeight: fontTokens.lineHeight400,
|
|
89
94
|
letterSpacing: -0.43,
|
|
95
|
+
dynamicTypeRamp: 'body',
|
|
90
96
|
},
|
|
91
97
|
body1Strong: {
|
|
92
98
|
face: fontTokens.family.base,
|
|
@@ -94,6 +100,7 @@ export function appleTypography() {
|
|
|
94
100
|
weight: fontTokens.weight.semibold,
|
|
95
101
|
lineHeight: fontTokens.lineHeight400,
|
|
96
102
|
letterSpacing: -0.43,
|
|
103
|
+
dynamicTypeRamp: 'body',
|
|
97
104
|
},
|
|
98
105
|
title3: {
|
|
99
106
|
face: fontTokens.family.base,
|
|
@@ -101,6 +108,7 @@ export function appleTypography() {
|
|
|
101
108
|
weight: fontTokens.weight.semibold,
|
|
102
109
|
lineHeight: fontTokens.lineHeight500,
|
|
103
110
|
letterSpacing: -0.45,
|
|
111
|
+
dynamicTypeRamp: 'title3',
|
|
104
112
|
},
|
|
105
113
|
title2: {
|
|
106
114
|
face: fontTokens.family.base,
|
|
@@ -108,6 +116,7 @@ export function appleTypography() {
|
|
|
108
116
|
weight: fontTokens.weight.semibold,
|
|
109
117
|
lineHeight: fontTokens.lineHeight600,
|
|
110
118
|
letterSpacing: -0.26,
|
|
119
|
+
dynamicTypeRamp: 'title2',
|
|
111
120
|
},
|
|
112
121
|
title1: {
|
|
113
122
|
face: fontTokens.family.base,
|
|
@@ -115,6 +124,7 @@ export function appleTypography() {
|
|
|
115
124
|
weight: fontTokens.weight.bold,
|
|
116
125
|
lineHeight: fontTokens.lineHeight700,
|
|
117
126
|
letterSpacing: 0.38,
|
|
127
|
+
dynamicTypeRamp: 'title1',
|
|
118
128
|
},
|
|
119
129
|
largeTitle: {
|
|
120
130
|
face: fontTokens.family.base,
|
|
@@ -122,6 +132,7 @@ export function appleTypography() {
|
|
|
122
132
|
weight: fontTokens.weight.bold,
|
|
123
133
|
lineHeight: fontTokens.lineHeight800,
|
|
124
134
|
letterSpacing: 0.4,
|
|
135
|
+
dynamicTypeRamp: 'largeTitle',
|
|
125
136
|
},
|
|
126
137
|
display: {
|
|
127
138
|
face: fontTokens.family.base,
|
|
@@ -129,6 +140,7 @@ export function appleTypography() {
|
|
|
129
140
|
weight: fontTokens.weight.bold,
|
|
130
141
|
lineHeight: fontTokens.lineHeight900,
|
|
131
142
|
letterSpacing: 0.26,
|
|
143
|
+
dynamicTypeRamp: 'largeTitle',
|
|
132
144
|
},
|
|
133
145
|
},
|
|
134
146
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTypography.ios.js","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,mEAAmE,CAAC;AAI7F,IAAM,UAAU,GAAG,YAAY,CAAC,IAAI,CAAC;AAErC,qFAAqF;AACrF,MAAM,UAAU,eAAe;IAC7B,IAAM,SAAS,GAAG;QAChB,KAAK,EAAE;YACL,OAAO,EAAE,EAAc;YACvB,SAAS,EAAE,EAAc;YACzB,IAAI,EAAE,EAAc;YACpB,SAAS,EAAE,EAAc;YACzB,MAAM,EAAE,EAAc;YACtB,IAAI,EAAE,EAAc;YACpB,SAAS,EAAE,EAAc,EAAE,eAAe;SAC9B;QACd,OAAO,EAAE;YACP,UAAU,EAAE,KAAwB;YACpC,IAAI,EAAE,KAAwB;YAC9B,KAAK,EAAE,KAAwB;YAC/B,OAAO,EAAE,KAAwB;YACjC,MAAM,EAAE,KAAwB;YAChC,QAAQ,EAAE,KAAwB;YAClC,IAAI,EAAE,KAAwB;YAC9B,KAAK,EAAE,KAAwB;YAC/B,KAAK,EAAE,KAAwB;SAChC;QACD,QAAQ,EAAE;YACR,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;SAChB;QACD,QAAQ,EAAE;YACR,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE;YACpE,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAA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,CAAC,OAAO;gBACxB,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;gBAC9B,UAAU,EAAE,UAAU,CAAC,aAAa;gBACpC,aAAa,EAAE,GAAG;gBAClB,eAAe,EAAE,YAAY;aAC9B;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;gBAC5B,IAAI,EAAE,UAAU,CAAC,OAAO;gBACxB,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;gBAC9B,UAAU,EAAE,UAAU,CAAC,aAAa;gBACpC,aAAa,EAAE,IAAI;gBACnB,eAAe,EAAE,YAAY;aAC9B;SACU;KACd,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTypography.ios.d.ts","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;AAKhH,wBAAgB,eAAe,IAAI,UAAU,
|
|
1
|
+
{"version":3,"file":"appleTypography.ios.d.ts","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwC,UAAU,EAAY,MAAM,oCAAoC,CAAC;AAKhH,wBAAgB,eAAe,IAAI,UAAU,CAiJ5C"}
|
|
@@ -58,6 +58,7 @@ function appleTypography() {
|
|
|
58
58
|
weight: fontTokens.weight.regular,
|
|
59
59
|
lineHeight: fontTokens.lineHeight100,
|
|
60
60
|
letterSpacing: 0,
|
|
61
|
+
dynamicTypeRamp: 'caption1', // Not a typo, this corresponds to UIFontTextStypeCaption1
|
|
61
62
|
},
|
|
62
63
|
caption1: {
|
|
63
64
|
face: fontTokens.family.base,
|
|
@@ -65,6 +66,7 @@ function appleTypography() {
|
|
|
65
66
|
weight: fontTokens.weight.regular,
|
|
66
67
|
lineHeight: fontTokens.lineHeight200,
|
|
67
68
|
letterSpacing: -0.08,
|
|
69
|
+
dynamicTypeRamp: 'footnote',
|
|
68
70
|
},
|
|
69
71
|
caption1Strong: {
|
|
70
72
|
face: fontTokens.family.base,
|
|
@@ -72,6 +74,7 @@ function appleTypography() {
|
|
|
72
74
|
weight: fontTokens.weight.semibold,
|
|
73
75
|
lineHeight: fontTokens.lineHeight200,
|
|
74
76
|
letterSpacing: -0.08,
|
|
77
|
+
dynamicTypeRamp: 'footnote',
|
|
75
78
|
},
|
|
76
79
|
body2: {
|
|
77
80
|
face: fontTokens.family.base,
|
|
@@ -79,6 +82,7 @@ function appleTypography() {
|
|
|
79
82
|
weight: fontTokens.weight.regular,
|
|
80
83
|
lineHeight: fontTokens.lineHeight300,
|
|
81
84
|
letterSpacing: -0.23,
|
|
85
|
+
dynamicTypeRamp: 'subheadline',
|
|
82
86
|
},
|
|
83
87
|
body2Strong: {
|
|
84
88
|
face: fontTokens.family.base,
|
|
@@ -86,6 +90,7 @@ function appleTypography() {
|
|
|
86
90
|
weight: fontTokens.weight.semibold,
|
|
87
91
|
lineHeight: fontTokens.lineHeight300,
|
|
88
92
|
letterSpacing: -0.23,
|
|
93
|
+
dynamicTypeRamp: 'subheadline',
|
|
89
94
|
},
|
|
90
95
|
body1: {
|
|
91
96
|
face: fontTokens.family.base,
|
|
@@ -93,6 +98,7 @@ function appleTypography() {
|
|
|
93
98
|
weight: fontTokens.weight.regular,
|
|
94
99
|
lineHeight: fontTokens.lineHeight400,
|
|
95
100
|
letterSpacing: -0.43,
|
|
101
|
+
dynamicTypeRamp: 'body',
|
|
96
102
|
},
|
|
97
103
|
body1Strong: {
|
|
98
104
|
face: fontTokens.family.base,
|
|
@@ -100,6 +106,7 @@ function appleTypography() {
|
|
|
100
106
|
weight: fontTokens.weight.semibold,
|
|
101
107
|
lineHeight: fontTokens.lineHeight400,
|
|
102
108
|
letterSpacing: -0.43,
|
|
109
|
+
dynamicTypeRamp: 'body',
|
|
103
110
|
},
|
|
104
111
|
title3: {
|
|
105
112
|
face: fontTokens.family.base,
|
|
@@ -107,6 +114,7 @@ function appleTypography() {
|
|
|
107
114
|
weight: fontTokens.weight.semibold,
|
|
108
115
|
lineHeight: fontTokens.lineHeight500,
|
|
109
116
|
letterSpacing: -0.45,
|
|
117
|
+
dynamicTypeRamp: 'title3',
|
|
110
118
|
},
|
|
111
119
|
title2: {
|
|
112
120
|
face: fontTokens.family.base,
|
|
@@ -114,6 +122,7 @@ function appleTypography() {
|
|
|
114
122
|
weight: fontTokens.weight.semibold,
|
|
115
123
|
lineHeight: fontTokens.lineHeight600,
|
|
116
124
|
letterSpacing: -0.26,
|
|
125
|
+
dynamicTypeRamp: 'title2',
|
|
117
126
|
},
|
|
118
127
|
title1: {
|
|
119
128
|
face: fontTokens.family.base,
|
|
@@ -121,6 +130,7 @@ function appleTypography() {
|
|
|
121
130
|
weight: fontTokens.weight.bold,
|
|
122
131
|
lineHeight: fontTokens.lineHeight700,
|
|
123
132
|
letterSpacing: 0.38,
|
|
133
|
+
dynamicTypeRamp: 'title1',
|
|
124
134
|
},
|
|
125
135
|
largeTitle: {
|
|
126
136
|
face: fontTokens.family.base,
|
|
@@ -128,6 +138,7 @@ function appleTypography() {
|
|
|
128
138
|
weight: fontTokens.weight.bold,
|
|
129
139
|
lineHeight: fontTokens.lineHeight800,
|
|
130
140
|
letterSpacing: 0.4,
|
|
141
|
+
dynamicTypeRamp: 'largeTitle',
|
|
131
142
|
},
|
|
132
143
|
display: {
|
|
133
144
|
face: fontTokens.family.base,
|
|
@@ -135,6 +146,7 @@ function appleTypography() {
|
|
|
135
146
|
weight: fontTokens.weight.bold,
|
|
136
147
|
lineHeight: fontTokens.lineHeight900,
|
|
137
148
|
letterSpacing: 0.26,
|
|
149
|
+
dynamicTypeRamp: 'largeTitle',
|
|
138
150
|
},
|
|
139
151
|
},
|
|
140
152
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appleTypography.ios.js","sourceRoot":"","sources":["../src/appleTypography.ios.ts"],"names":[],"mapp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BAC9B,UAAU,EAAE,UAAU,CAAC,aAAa;gBACpC,aAAa,EAAE,IAAI;gBACnB,eAAe,EAAE,YAAY;aAC9B;SACU;KACd,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC;AAjJD,0CAiJC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "A FluentUI React Native theme that pulls constants from FluentUI Apple",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"directory": "packages/theming/apple-theme"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluentui-react-native/default-theme": ">=0.16.
|
|
30
|
+
"@fluentui-react-native/default-theme": ">=0.16.15 <1.0.0",
|
|
31
31
|
"@fluentui-react-native/design-tokens-ios": "^0.36.0",
|
|
32
32
|
"@fluentui-react-native/design-tokens-macos": "^0.36.0",
|
|
33
33
|
"@fluentui-react-native/memo-cache": "^1.1.7",
|
|
34
|
-
"@fluentui-react-native/theme": ">=0.7.
|
|
35
|
-
"@fluentui-react-native/theme-types": ">=0.
|
|
36
|
-
"@fluentui-react-native/theming-utils": "^0.19.
|
|
34
|
+
"@fluentui-react-native/theme": ">=0.7.10 <1.0.0",
|
|
35
|
+
"@fluentui-react-native/theme-types": ">=0.25.0 <1.0.0",
|
|
36
|
+
"@fluentui-react-native/theming-utils": "^0.19.1",
|
|
37
37
|
"assert-never": "^1.2.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -484,6 +484,7 @@ Object {
|
|
|
484
484
|
},
|
|
485
485
|
"variants": Object {
|
|
486
486
|
"body1": Object {
|
|
487
|
+
"dynamicTypeRamp": "body",
|
|
487
488
|
"face": "System",
|
|
488
489
|
"letterSpacing": -0.43,
|
|
489
490
|
"lineHeight": 22,
|
|
@@ -491,6 +492,7 @@ Object {
|
|
|
491
492
|
"weight": "400",
|
|
492
493
|
},
|
|
493
494
|
"body1Strong": Object {
|
|
495
|
+
"dynamicTypeRamp": "body",
|
|
494
496
|
"face": "System",
|
|
495
497
|
"letterSpacing": -0.43,
|
|
496
498
|
"lineHeight": 22,
|
|
@@ -498,6 +500,7 @@ Object {
|
|
|
498
500
|
"weight": "600",
|
|
499
501
|
},
|
|
500
502
|
"body2": Object {
|
|
503
|
+
"dynamicTypeRamp": "subheadline",
|
|
501
504
|
"face": "System",
|
|
502
505
|
"letterSpacing": -0.23,
|
|
503
506
|
"lineHeight": 20,
|
|
@@ -505,6 +508,7 @@ Object {
|
|
|
505
508
|
"weight": "400",
|
|
506
509
|
},
|
|
507
510
|
"body2Strong": Object {
|
|
511
|
+
"dynamicTypeRamp": "subheadline",
|
|
508
512
|
"face": "System",
|
|
509
513
|
"letterSpacing": -0.23,
|
|
510
514
|
"lineHeight": 20,
|
|
@@ -522,6 +526,7 @@ Object {
|
|
|
522
526
|
"weight": "400",
|
|
523
527
|
},
|
|
524
528
|
"caption1": Object {
|
|
529
|
+
"dynamicTypeRamp": "footnote",
|
|
525
530
|
"face": "System",
|
|
526
531
|
"letterSpacing": -0.08,
|
|
527
532
|
"lineHeight": 18,
|
|
@@ -529,6 +534,7 @@ Object {
|
|
|
529
534
|
"weight": "400",
|
|
530
535
|
},
|
|
531
536
|
"caption1Strong": Object {
|
|
537
|
+
"dynamicTypeRamp": "footnote",
|
|
532
538
|
"face": "System",
|
|
533
539
|
"letterSpacing": -0.08,
|
|
534
540
|
"lineHeight": 18,
|
|
@@ -536,6 +542,7 @@ Object {
|
|
|
536
542
|
"weight": "600",
|
|
537
543
|
},
|
|
538
544
|
"caption2": Object {
|
|
545
|
+
"dynamicTypeRamp": "caption1",
|
|
539
546
|
"face": "System",
|
|
540
547
|
"letterSpacing": 0,
|
|
541
548
|
"lineHeight": 16,
|
|
@@ -548,6 +555,7 @@ Object {
|
|
|
548
555
|
"weight": "400",
|
|
549
556
|
},
|
|
550
557
|
"display": Object {
|
|
558
|
+
"dynamicTypeRamp": "largeTitle",
|
|
551
559
|
"face": "System",
|
|
552
560
|
"letterSpacing": 0.26,
|
|
553
561
|
"lineHeight": 70,
|
|
@@ -585,6 +593,7 @@ Object {
|
|
|
585
593
|
"weight": "400",
|
|
586
594
|
},
|
|
587
595
|
"largeTitle": Object {
|
|
596
|
+
"dynamicTypeRamp": "largeTitle",
|
|
588
597
|
"face": "System",
|
|
589
598
|
"letterSpacing": 0.4,
|
|
590
599
|
"lineHeight": 41,
|
|
@@ -612,6 +621,7 @@ Object {
|
|
|
612
621
|
"weight": "400",
|
|
613
622
|
},
|
|
614
623
|
"title1": Object {
|
|
624
|
+
"dynamicTypeRamp": "title1",
|
|
615
625
|
"face": "System",
|
|
616
626
|
"letterSpacing": 0.38,
|
|
617
627
|
"lineHeight": 34,
|
|
@@ -619,6 +629,7 @@ Object {
|
|
|
619
629
|
"weight": "700",
|
|
620
630
|
},
|
|
621
631
|
"title2": Object {
|
|
632
|
+
"dynamicTypeRamp": "title2",
|
|
622
633
|
"face": "System",
|
|
623
634
|
"letterSpacing": -0.26,
|
|
624
635
|
"lineHeight": 28,
|
|
@@ -626,6 +637,7 @@ Object {
|
|
|
626
637
|
"weight": "600",
|
|
627
638
|
},
|
|
628
639
|
"title3": Object {
|
|
640
|
+
"dynamicTypeRamp": "title3",
|
|
629
641
|
"face": "System",
|
|
630
642
|
"letterSpacing": -0.45,
|
|
631
643
|
"lineHeight": 25,
|
|
@@ -56,6 +56,7 @@ export function appleTypography(): Typography {
|
|
|
56
56
|
weight: fontTokens.weight.regular,
|
|
57
57
|
lineHeight: fontTokens.lineHeight100,
|
|
58
58
|
letterSpacing: 0,
|
|
59
|
+
dynamicTypeRamp: 'caption1', // Not a typo, this corresponds to UIFontTextStypeCaption1
|
|
59
60
|
},
|
|
60
61
|
caption1: {
|
|
61
62
|
face: fontTokens.family.base,
|
|
@@ -63,6 +64,7 @@ export function appleTypography(): Typography {
|
|
|
63
64
|
weight: fontTokens.weight.regular,
|
|
64
65
|
lineHeight: fontTokens.lineHeight200,
|
|
65
66
|
letterSpacing: -0.08,
|
|
67
|
+
dynamicTypeRamp: 'footnote',
|
|
66
68
|
},
|
|
67
69
|
caption1Strong: {
|
|
68
70
|
face: fontTokens.family.base,
|
|
@@ -70,6 +72,7 @@ export function appleTypography(): Typography {
|
|
|
70
72
|
weight: fontTokens.weight.semibold,
|
|
71
73
|
lineHeight: fontTokens.lineHeight200,
|
|
72
74
|
letterSpacing: -0.08,
|
|
75
|
+
dynamicTypeRamp: 'footnote',
|
|
73
76
|
},
|
|
74
77
|
body2: {
|
|
75
78
|
face: fontTokens.family.base,
|
|
@@ -77,6 +80,7 @@ export function appleTypography(): Typography {
|
|
|
77
80
|
weight: fontTokens.weight.regular,
|
|
78
81
|
lineHeight: fontTokens.lineHeight300,
|
|
79
82
|
letterSpacing: -0.23,
|
|
83
|
+
dynamicTypeRamp: 'subheadline',
|
|
80
84
|
},
|
|
81
85
|
body2Strong: {
|
|
82
86
|
face: fontTokens.family.base,
|
|
@@ -84,6 +88,7 @@ export function appleTypography(): Typography {
|
|
|
84
88
|
weight: fontTokens.weight.semibold,
|
|
85
89
|
lineHeight: fontTokens.lineHeight300,
|
|
86
90
|
letterSpacing: -0.23,
|
|
91
|
+
dynamicTypeRamp: 'subheadline',
|
|
87
92
|
},
|
|
88
93
|
body1: {
|
|
89
94
|
face: fontTokens.family.base,
|
|
@@ -91,6 +96,7 @@ export function appleTypography(): Typography {
|
|
|
91
96
|
weight: fontTokens.weight.regular,
|
|
92
97
|
lineHeight: fontTokens.lineHeight400,
|
|
93
98
|
letterSpacing: -0.43,
|
|
99
|
+
dynamicTypeRamp: 'body',
|
|
94
100
|
},
|
|
95
101
|
body1Strong: {
|
|
96
102
|
face: fontTokens.family.base,
|
|
@@ -98,6 +104,7 @@ export function appleTypography(): Typography {
|
|
|
98
104
|
weight: fontTokens.weight.semibold,
|
|
99
105
|
lineHeight: fontTokens.lineHeight400,
|
|
100
106
|
letterSpacing: -0.43,
|
|
107
|
+
dynamicTypeRamp: 'body',
|
|
101
108
|
},
|
|
102
109
|
title3: {
|
|
103
110
|
face: fontTokens.family.base,
|
|
@@ -105,6 +112,7 @@ export function appleTypography(): Typography {
|
|
|
105
112
|
weight: fontTokens.weight.semibold,
|
|
106
113
|
lineHeight: fontTokens.lineHeight500,
|
|
107
114
|
letterSpacing: -0.45,
|
|
115
|
+
dynamicTypeRamp: 'title3',
|
|
108
116
|
},
|
|
109
117
|
title2: {
|
|
110
118
|
face: fontTokens.family.base,
|
|
@@ -112,6 +120,7 @@ export function appleTypography(): Typography {
|
|
|
112
120
|
weight: fontTokens.weight.semibold,
|
|
113
121
|
lineHeight: fontTokens.lineHeight600,
|
|
114
122
|
letterSpacing: -0.26,
|
|
123
|
+
dynamicTypeRamp: 'title2',
|
|
115
124
|
},
|
|
116
125
|
title1: {
|
|
117
126
|
face: fontTokens.family.base,
|
|
@@ -119,6 +128,7 @@ export function appleTypography(): Typography {
|
|
|
119
128
|
weight: fontTokens.weight.bold,
|
|
120
129
|
lineHeight: fontTokens.lineHeight700,
|
|
121
130
|
letterSpacing: 0.38,
|
|
131
|
+
dynamicTypeRamp: 'title1',
|
|
122
132
|
},
|
|
123
133
|
largeTitle: {
|
|
124
134
|
face: fontTokens.family.base,
|
|
@@ -126,6 +136,7 @@ export function appleTypography(): Typography {
|
|
|
126
136
|
weight: fontTokens.weight.bold,
|
|
127
137
|
lineHeight: fontTokens.lineHeight800,
|
|
128
138
|
letterSpacing: 0.4,
|
|
139
|
+
dynamicTypeRamp: 'largeTitle',
|
|
129
140
|
},
|
|
130
141
|
display: {
|
|
131
142
|
face: fontTokens.family.base,
|
|
@@ -133,6 +144,7 @@ export function appleTypography(): Typography {
|
|
|
133
144
|
weight: fontTokens.weight.bold,
|
|
134
145
|
lineHeight: fontTokens.lineHeight900,
|
|
135
146
|
letterSpacing: 0.26,
|
|
147
|
+
dynamicTypeRamp: 'largeTitle',
|
|
136
148
|
},
|
|
137
149
|
} as Variants,
|
|
138
150
|
};
|