Skip to content

Commit

Permalink
feat(data): finalising type tokens for profile comp
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Sep 11, 2024
1 parent 472cdf3 commit f64eb8d
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 16 deletions.
2 changes: 0 additions & 2 deletions data/tokens/$themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -5479,14 +5479,12 @@
"global.typography.responsive.component.underlined.moderate.S": "S:2357cfab5c58051300b6a2953b6b7f5e81d0e237,",
"global.typography.responsive.component.underlined.moderate.M": "S:f48943cd46e656925738e4bb71b3fe86f5ca060d,",
"global.typography.responsive.component.underlined.moderate.L": "S:035f217f328c26819d756948ad524f729c783ad2,",
"profile.typography.adaptive.initials.XS": "S:cec76b894db4384f9304bfea20c468e7baf3e0a8,",
"profile.typography.adaptive.initials.S": "S:1ff5a5316adba1d943742c553ddb21ded34051d7,",
"profile.typography.adaptive.initials.M": "S:54284c29a8ca9cb3bbea580793789dbdb87d6116,",
"profile.typography.adaptive.initials.ML": "S:09c6214f281489d0c4194eaf64011f0fa6a5483c,",
"profile.typography.adaptive.initials.L": "S:b36d1cd642db9a72132b9176e5e1a0ae8bfd9604,",
"profile.typography.adaptive.initials.XL": "S:00956de1f632f305a5a5d00399585148a5093f1c,",
"profile.typography.adaptive.initials.XXL": "S:b6bd374c0d7e91ec3ec1107eb4b0f246a3010fee,",
"profile.typography.responsive.initials.XS": "S:9c61c429f405e7518458516a4e83edb3382036e0,",
"profile.typography.responsive.initials.S": "S:65424720c6d2d2967d11b50964b9332f7b7c6374,",
"profile.typography.responsive.initials.M": "S:7d7ef7a481c1a7e5138d25b0cb0724bc932ea560,",
"profile.typography.responsive.initials.ML": "S:ca85b7026e6099e29ffc8c03a40774c3316d94cf,",
Expand Down
69 changes: 55 additions & 14 deletions data/tokens/components/profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@
"typography": {
"adaptive": {
"initials": {
"XS": {
"value": "{global.typography.adaptive.component.placeholdertext.XS}",
"type": "typography"
},
"S": {
"value": "{global.typography.adaptive.component.placeholdertext.S}",
"type": "typography"
Expand Down Expand Up @@ -207,26 +203,59 @@
},
"default": {
"S": {
"value": "{global.typography.adaptive.component.moderate.S}",
"value": "{global.typography.adaptive.component.moderate.M}",
"type": "typography"
},
"M": {
"value": "{global.typography.adaptive.component.moderate.M}",
"type": "typography"
},
"ML": {
"value": "{global.typography.adaptive.component.moderate.M}",
"type": "typography"
},
"L": {
"value": "{global.typography.adaptive.component.moderate.L}",
"type": "typography"
},
"XL": {
"value": "{global.typography.adaptive.component.moderate.L}",
"type": "typography"
},
"XXL": {
"value": "{global.typography.adaptive.component.moderate.L}",
"type": "typography"
}
},
"heading": {
"S": {
"value": "{global.typography.adaptive.component.firm.M}",
"type": "typography"
},
"M": {
"value": "{global.typography.adaptive.subheading.M}",
"type": "typography"
},
"ML": {
"value": "{global.typography.adaptive.subheading.M}",
"type": "typography"
},
"L": {
"value": "{global.typography.adaptive.subheading.M}",
"type": "typography"
},
"XL": {
"value": "{global.typography.adaptive.subheading.M}",
"type": "typography"
},
"XXL": {
"value": "{global.typography.adaptive.subheading.L}",
"type": "typography"
}
}
},
"responsive": {
"initials": {
"XS": {
"value": "{global.typography.responsive.component.placeholdertext.XS}",
"type": "typography",
"description": "Small Viewports: 13.72, Large Viewports: 11.89"
},
"S": {
"value": "{global.typography.responsive.component.placeholdertext.S}",
"type": "typography",
Expand Down Expand Up @@ -258,17 +287,29 @@
"description": "Small Viewports: 34.54, Large Viewports: 70.58"
}
},
"default": {
"heading": {
"S": {
"value": "{global.typography.responsive.component.moderate.S}",
"value": "{global.typography.adaptive.component.firm.M}",
"type": "typography"
},
"M": {
"value": "{global.typography.responsive.component.moderate.M}",
"value": "{global.typography.adaptive.subheading.M}",
"type": "typography"
},
"ML": {
"value": "{global.typography.adaptive.subheading.M}",
"type": "typography"
},
"L": {
"value": "{global.typography.responsive.component.moderate.L}",
"value": "{global.typography.adaptive.subheading.M}",
"type": "typography"
},
"XL": {
"value": "{global.typography.adaptive.subheading.M}",
"type": "typography"
},
"XXL": {
"value": "{global.typography.adaptive.subheading.L}",
"type": "typography"
}
}
Expand Down
19 changes: 19 additions & 0 deletions data/tokens/global/typography.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@
},
"type": "typography",
"description": "Small Viewports: 18.66, Large Viewports: 21.53"
},
"L": {
"value": {
"fontFamily": "{primitives.fontFamilies.sage-text}",
"fontWeight": "{primitives.fontWeights.medium}",
"lineHeight": "{primitives.lineHeights.400}",
"fontSize": "{primitives.fontSize.responsive.step5}"
},
"type": "typography",
"description": "Small Viewports: 23.51, Large Viewports: 33.61"
}
},
"body": {
Expand Down Expand Up @@ -515,6 +525,15 @@
},
"type": "typography",
"description": "Small Viewports: 18.66, Large Viewports: 21.53"
},
"L": {
"value": {
"fontFamily": "{primitives.fontFamilies.sage-text}",
"fontWeight": "{primitives.fontWeights.medium}",
"lineHeight": "{primitives.lineHeights.400}",
"fontSize": "{primitives.fontSize.adaptive.large.step5}"
},
"type": "typography"
}
},
"body": {
Expand Down

0 comments on commit f64eb8d

Please sign in to comment.