Skip to content

Commit ad8b84f

Browse files
leonardo-costa-IBMkodiakhq[bot]Palke
authored
feat(type-scale): update type specs UI page (#1353)
* feat(type-scale): add type scale page's imagery * feat(type-scale): update page's content & file name * feat(type-scale): add adjusted scale table styles * feat(type-scale): update side navigation bar title * fix: add missing content & images * feat: type scale picker * feat: add images alternative-texts * chore: minor content update * fix: typo fix --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Pavol Meszaros <[email protected]>
1 parent da5f904 commit ad8b84f

15 files changed

+3244
-332
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# TypeTester
2+
3+
## To add a new language
4+
5+
- Add a new object to the `languageDropdownContent` array:
6+
7+
```javascript
8+
const languageDropdownContent = [
9+
...,
10+
,
11+
{
12+
label: 'IBM Plex Sans Arabic',
13+
language: 'arabic',
14+
className: 'bx--type-arabic',
15+
weights: commonFontWeights,
16+
}
17+
].map(...)
18+
```
19+
20+
- Add a new display text object to `languageSample` array:
21+
22+
```javascript
23+
const languageSample = [
24+
...,
25+
{
26+
language: 'arabic',
27+
content:
28+
'ऋषियों को सताने वाले दुष्ट राक्षसों के राजा रावण का सर्वनाश',
29+
}
30+
]
31+
```

0 commit comments

Comments
 (0)