Skip to content

Commit

Permalink
feat: is adding structure for font families
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Bleuer committed Jul 28, 2021
1 parent 7ebdfa0 commit de5bad0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
3 changes: 2 additions & 1 deletion designTokens/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ module.exports = {
iconSize: require('./icon-size'),
shadow: require('./shadow'),
spacing: require('./spacing'),
touch: require('./touch')
touch: require('./touch'),
typo: require('./typo')
};
31 changes: 31 additions & 0 deletions designTokens/typo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/* eslint-disable sort-keys */

module.exports = {
fontFamily: {
fallback: {
value: '\'Helvetica Neue\', Helvetica, Arial, sans-serif'
},
sbbRoman: {
value: '\'SBBWeb Roman\', {typo.fontFamily.fallback.value}'
},
sbbBold: {
value: '\'SBBWeb Bold\', {typo.fontFamily.fallback.value}'
},
sbbLight: {
value: '\'SBBWeb Light\', {typo.fontFamily.fallback.value}'
},
sbbUltraLight: {
value: '\'SBBWeb Ultralight\', {typo.fontFamily.fallback.value}'
},
sbbThin: {
value: '\'SBBWeb Thin\', {typo.fontFamily.fallback.value}'
},
i18n: {
traditionalChinese: {
value: '\'Example for possible i18n structure\''
}
}
}
};

/* eslint-enable sort-keys */

0 comments on commit de5bad0

Please sign in to comment.