This repository has been archived by the owner on Aug 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually revert changes made in 5.0.0
- Loading branch information
1 parent
55dc7b2
commit 6ff00d9
Showing
7 changed files
with
332 additions
and
4,476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,28 @@ | ||
/* eslint-disable import/no-duplicates */ | ||
import arabic from './scripts/arabic'; | ||
|
||
import bengali from './scripts/bengali'; | ||
|
||
import burmese from './scripts/burmese'; | ||
|
||
import devanagariAndGurmukhi from './scripts/devanagari-and-gurmukhi'; | ||
import hindi from './scripts/devanagari-and-gurmukhi'; | ||
import nepali from './scripts/devanagari-and-gurmukhi'; | ||
|
||
import cyrillic from './scripts/latin-and-cyrillic'; | ||
import cyrillicAndLatin from './scripts/latin-and-cyrillic'; | ||
import latin from './scripts/latin-and-cyrillic'; | ||
|
||
import latinDiacritics from './scripts/latin-with-diacritics'; | ||
|
||
import chinese from './scripts/no-ascenders-or-descenders'; | ||
import ethiopic from './scripts/no-ascenders-or-descenders'; | ||
import korean from './scripts/no-ascenders-or-descenders'; | ||
import noAscendersOrDescenders from './scripts/no-ascenders-or-descenders'; | ||
|
||
import sinhalese from './scripts/sinhalese'; | ||
|
||
import tamil from './scripts/tamil'; | ||
|
||
import thai from './scripts/thai'; | ||
|
||
export { | ||
arabic, | ||
bengali, | ||
burmese, | ||
devanagariAndGurmukhi, | ||
hindi, | ||
nepali, | ||
cyrillic, | ||
cyrillicAndLatin, | ||
latin, | ||
latinDiacritics, | ||
chinese, | ||
ethiopic, | ||
korean, | ||
noAscendersOrDescenders, | ||
sinhalese, | ||
tamil, | ||
thai, | ||
}; | ||
export arabic from './scripts/arabic'; | ||
|
||
export arabicPashto from './scripts/arabic-pashto'; | ||
|
||
export bengali from './scripts/bengali'; | ||
|
||
export burmese from './scripts/burmese'; | ||
|
||
export devanagariAndGurmukhi from './scripts/devanagari-and-gurmukhi'; | ||
export hindi from './scripts/devanagari-and-gurmukhi'; | ||
export nepali from './scripts/devanagari-and-gurmukhi'; | ||
|
||
export cyrillic from './scripts/latin-and-cyrillic'; | ||
export cyrillicAndLatin from './scripts/latin-and-cyrillic'; | ||
export latin from './scripts/latin-and-cyrillic'; | ||
|
||
export latinDiacritics from './scripts/latin-with-diacritics'; | ||
|
||
export chinese from './scripts/no-ascenders-or-descenders'; | ||
export ethiopic from './scripts/no-ascenders-or-descenders'; | ||
export korean from './scripts/no-ascenders-or-descenders'; | ||
export noAscendersOrDescenders from './scripts/no-ascenders-or-descenders'; | ||
|
||
export sinhalese from './scripts/sinhalese'; | ||
|
||
export tamil from './scripts/tamil'; | ||
|
||
export thai from './scripts/thai'; |
214 changes: 214 additions & 0 deletions
214
packages/utilities/gel-foundations/src/scripts/arabic-pashto.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,214 @@ | ||
const arabicPashtoTypography = { | ||
atlas: { | ||
groupA: { | ||
fontSize: '78', | ||
lineHeight: '84', | ||
}, | ||
groupB: { | ||
fontSize: '96', | ||
lineHeight: '104', | ||
}, | ||
groupD: { | ||
fontSize: '140', | ||
lineHeight: '148', | ||
}, | ||
}, | ||
elephant: { | ||
groupA: { | ||
fontSize: '60', | ||
lineHeight: '64', | ||
}, | ||
groupB: { | ||
fontSize: '78', | ||
lineHeight: '84', | ||
}, | ||
groupD: { | ||
fontSize: '116', | ||
lineHeight: '124', | ||
}, | ||
}, | ||
imperial: { | ||
groupA: { | ||
fontSize: '50', | ||
lineHeight: '54', | ||
}, | ||
groupB: { | ||
fontSize: '64', | ||
lineHeight: '72', | ||
}, | ||
groupD: { | ||
fontSize: '96', | ||
lineHeight: '104', | ||
}, | ||
}, | ||
royal: { | ||
groupA: { | ||
fontSize: '40', | ||
lineHeight: '44', | ||
}, | ||
groupB: { | ||
fontSize: '52', | ||
lineHeight: '60', | ||
}, | ||
groupD: { | ||
fontSize: '76', | ||
lineHeight: '84', | ||
}, | ||
}, | ||
foolscap: { | ||
groupA: { | ||
fontSize: '32', | ||
lineHeight: '36', | ||
}, | ||
groupB: { | ||
fontSize: '40', | ||
lineHeight: '44', | ||
}, | ||
groupD: { | ||
fontSize: '56', | ||
lineHeight: '60', | ||
}, | ||
}, | ||
canon: { | ||
groupA: { | ||
fontSize: '32', | ||
lineHeight: '42', | ||
}, | ||
groupB: { | ||
fontSize: '38', | ||
lineHeight: '46', | ||
}, | ||
groupD: { | ||
fontSize: '44', | ||
lineHeight: '54', | ||
}, | ||
}, | ||
trafalgar: { | ||
groupA: { | ||
fontSize: '24', | ||
lineHeight: '34', | ||
}, | ||
groupB: { | ||
fontSize: '32', | ||
lineHeight: '38', | ||
}, | ||
groupD: { | ||
fontSize: '36', | ||
lineHeight: '50', | ||
}, | ||
}, | ||
paragon: { | ||
groupA: { | ||
fontSize: '24', | ||
lineHeight: '24', | ||
}, | ||
groupB: { | ||
fontSize: '28', | ||
lineHeight: '40', | ||
}, | ||
groupD: { | ||
fontSize: '32', | ||
lineHeight: '40', | ||
}, | ||
}, | ||
doublePica: { | ||
groupA: { | ||
fontSize: '24', | ||
lineHeight: '32', | ||
}, | ||
groupB: { | ||
fontSize: '26', | ||
lineHeight: '36', | ||
}, | ||
groupD: { | ||
fontSize: '28', | ||
lineHeight: '36', | ||
}, | ||
}, | ||
greatPrimer: { | ||
groupA: { | ||
fontSize: '22', | ||
lineHeight: '28', | ||
}, | ||
groupB: { | ||
fontSize: '24', | ||
lineHeight: '32', | ||
}, | ||
groupD: { | ||
fontSize: '26', | ||
lineHeight: '34', | ||
}, | ||
}, | ||
bodyCopy: { | ||
groupA: { | ||
fontSize: '18', | ||
lineHeight: '28', | ||
}, | ||
groupB: { | ||
fontSize: '20', | ||
lineHeight: '32', | ||
}, | ||
groupD: { | ||
fontSize: '22', | ||
lineHeight: '32', | ||
}, | ||
}, | ||
pica: { | ||
groupA: { | ||
fontSize: '16', | ||
lineHeight: '26', | ||
}, | ||
groupB: { | ||
fontSize: '20', | ||
lineHeight: '26', | ||
}, | ||
groupD: { | ||
fontSize: '20', | ||
lineHeight: '26', | ||
}, | ||
}, | ||
longPrimer: { | ||
groupA: { | ||
fontSize: '17', | ||
lineHeight: '24', | ||
}, | ||
groupB: { | ||
fontSize: '18', | ||
lineHeight: '24', | ||
}, | ||
groupD: { | ||
fontSize: '18', | ||
lineHeight: '24', | ||
}, | ||
}, | ||
brevier: { | ||
groupA: { | ||
fontSize: '16', | ||
lineHeight: '20', | ||
}, | ||
groupB: { | ||
fontSize: '18', | ||
lineHeight: '24', | ||
}, | ||
groupD: { | ||
fontSize: '18', | ||
lineHeight: '24', | ||
}, | ||
}, | ||
minion: { | ||
groupA: { | ||
fontSize: '12', | ||
lineHeight: '16', | ||
}, | ||
groupB: { | ||
fontSize: '12', | ||
lineHeight: '16', | ||
}, | ||
groupD: { | ||
fontSize: '12', | ||
lineHeight: '16', | ||
}, | ||
}, | ||
}; | ||
|
||
export default arabicPashtoTypography; |
Oops, something went wrong.