Skip to content

Commit 7d63074

Browse files
feat: update tokens for ar/he fonts
1 parent c00e1e5 commit 7d63074

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

2nd-gen/packages/swc/stylesheets/tokens.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2004,10 +2004,12 @@
20042004
adobe-clean-han-japanese, Adobe Clean Han, sans-serif;
20052005
--swc-code-font-family-stack: 'Source Code Pro', Monaco, monospace;
20062006
--swc-font-family: var(--swc-sans-font-family-stack);
2007-
--swc-font-family-ar: 'myriad-hebrew, adobe-clean, ' Source Sans Pro
2007+
--swc-font-family-ar: 'adobe-clean-arabic, ' Adobe Clean Arabic
2008+
', myriad-arabic, ' Source Sans Pro
20082009
', -apple-system, BlinkMacSystemFont, ' Segoe UI ', Roboto, Ubuntu, '
20092010
Trebuchet MS ', ' Lucida Grande ', sans-serif';
2010-
--swc-font-family-he: 'myriad-arabic, adobe-clean, ' Source Sans Pro
2011+
--swc-font-family-he: 'adobe-clean-hebrew, ' Adobe Clean Hebrew
2012+
', myriad-arabic, ' Source Sans Pro
20112013
', -apple-system, BlinkMacSystemFont, ' Segoe UI ', Roboto, Ubuntu, '
20122014
Trebuchet MS ', ' Lucida Grande ', sans-serif';
20132015
--swc-font-style: normal;

2nd-gen/packages/tools/swc-tokens/custom/typography.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
"value": "{sans-font-family-stack}"
1515
},
1616
"font-family-ar": {
17-
"value": "myriad-hebrew, adobe-clean, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif"
17+
"value": "adobe-clean-arabic, 'Adobe Clean Arabic', myriad-arabic, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif"
1818
},
1919
"font-family-he": {
20-
"value": "myriad-arabic, adobe-clean, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif"
20+
"value": "adobe-clean-hebrew, 'Adobe Clean Hebrew', myriad-arabic, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif"
2121
},
2222
"font-size": {
2323
"value": "{font-size-100}"

2nd-gen/packages/tools/swc-vscode-token/tokens.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6054,8 +6054,8 @@
60546054
"cjk-font-family-stack": "adobe-clean-han-japanese, Adobe Clean Han, sans-serif;",
60556055
"code-font-family-stack": "'Source Code Pro', Monaco, monospace",
60566056
"font-family": "var(--swc-sans-font-family-stack)",
6057-
"font-family-ar": "myriad-hebrew, adobe-clean, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif",
6058-
"font-family-he": "myriad-arabic, adobe-clean, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif",
6057+
"font-family-ar": "adobe-clean-arabic, 'Adobe Clean Arabic', myriad-arabic, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif",
6058+
"font-family-he": "adobe-clean-hebrew, 'Adobe Clean Hebrew', myriad-arabic, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif",
60596059
"font-size": {
60606060
"desktop": "14px",
60616061
"mobile": "17px"

0 commit comments

Comments
 (0)