Skip to content

Commit

Permalink
Update to weightHeading to weightSemiBold (#39)
Browse files Browse the repository at this point in the history
fix(pencil): Rename `weightHeading` to `weightSemiBold`

Co-authored-by: iryanclarke <[email protected]>
  • Loading branch information
iryanclarke and iryanclarke authored Jul 7, 2022
1 parent 37f2611 commit 6637a15
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion build/scss/colors.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Wed, 06 Jul 2022 15:42:49 GMT
// Generated on Thu, 07 Jul 2022 13:19:06 GMT

$green100: #FAFFFC;
$green200: #EBF2EF;
Expand Down
4 changes: 2 additions & 2 deletions build/scss/typography.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Wed, 06 Jul 2022 15:42:49 GMT
// Generated on Thu, 07 Jul 2022 13:19:06 GMT

$letterSpacingBase: 0;
$paragraphSpacingBase: 0;
Expand All @@ -21,7 +21,7 @@ $lineHeightLarge: 32px;
$lineHeightNormal: 24px;
$lineHeightSmall: 16px;
$fontFamilySansSerif: Mulish;
$weightHeading: 700;
$weightSemiBold: 700;
$weightBase: 500;
$weightLight: 400;
$weightStrong: 600;
Expand Down
2 changes: 1 addition & 1 deletion build/ts/colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 06 Jul 2022 15:42:49 GMT
* Generated on Thu, 07 Jul 2022 13:19:06 GMT
*/

export const green100 : string;
Expand Down
2 changes: 1 addition & 1 deletion build/ts/colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 06 Jul 2022 15:42:49 GMT
* Generated on Thu, 07 Jul 2022 13:19:06 GMT
*/

module.exports = {
Expand Down
4 changes: 2 additions & 2 deletions build/ts/typography.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 06 Jul 2022 15:42:49 GMT
* Generated on Thu, 07 Jul 2022 13:19:06 GMT
*/

export const letterSpacingBase : number;
Expand All @@ -22,7 +22,7 @@ export const lineHeightLarge : string;
export const lineHeightNormal : string;
export const lineHeightSmall : string;
export const fontFamilySansSerif : string;
export const weightHeading : number;
export const weightSemiBold : number;
export const weightBase : number;
export const weightLight : number;
export const weightStrong : number;
Expand Down
4 changes: 2 additions & 2 deletions build/ts/typography.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 06 Jul 2022 15:42:49 GMT
* Generated on Thu, 07 Jul 2022 13:19:06 GMT
*/

module.exports = {
Expand All @@ -23,7 +23,7 @@ module.exports = {
"lineHeightNormal": "24px",
"lineHeightSmall": "16px",
"fontFamilySansSerif": "Mulish",
"weightHeading": 700,
"weightSemiBold": 700,
"weightBase": 500,
"weightLight": 400,
"weightStrong": 600,
Expand Down
20 changes: 10 additions & 10 deletions data/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
}
},
"weight": {
"heading": {
"semiBold": {
"value": "700",
"type": "fontWeights"
},
Expand All @@ -327,7 +327,7 @@
"h1": {
"value": {
"fontFamily": "{typography.fontFamily.sansSerif}",
"fontWeight": "{typography.weight.heading}",
"fontWeight": "{typography.weight.semiBold}",
"lineHeight": "{typography.lineHeight.xlarge}",
"fontSize": "{typography.size.desktop.h1}",
"letterSpacing": "{typography.letterSpacing.base}",
Expand All @@ -340,7 +340,7 @@
"h2": {
"value": {
"fontFamily": "{typography.fontFamily.sansSerif}",
"fontWeight": "{typography.weight.heading}",
"fontWeight": "{typography.weight.semiBold}",
"lineHeight": "{typography.lineHeight.xlarge}",
"fontSize": "{typography.size.desktop.h2}",
"letterSpacing": "{typography.letterSpacing.base}",
Expand All @@ -353,7 +353,7 @@
"h3": {
"value": {
"fontFamily": "{typography.fontFamily.sansSerif}",
"fontWeight": "{typography.weight.heading}",
"fontWeight": "{typography.weight.semiBold}",
"lineHeight": "{typography.lineHeight.large}",
"fontSize": "{typography.size.desktop.h3}",
"letterSpacing": "{typography.letterSpacing.base}",
Expand All @@ -366,7 +366,7 @@
"h4": {
"value": {
"fontFamily": "{typography.fontFamily.sansSerif}",
"fontWeight": "{typography.weight.heading}",
"fontWeight": "{typography.weight.semiBold}",
"lineHeight": "{typography.lineHeight.normal}",
"fontSize": "{typography.size.desktop.h4}",
"letterSpacing": "{typography.letterSpacing.base}",
Expand All @@ -379,7 +379,7 @@
"h5": {
"value": {
"fontFamily": "{typography.fontFamily.sansSerif}",
"fontWeight": "{typography.weight.heading}",
"fontWeight": "{typography.weight.semiBold}",
"lineHeight": "{typography.lineHeight.normal}",
"fontSize": "{typography.size.desktop.body}",
"letterSpacing": "{typography.letterSpacing.base}",
Expand Down Expand Up @@ -433,7 +433,7 @@
"h1": {
"value": {
"fontFamily": "{typography.fontFamily.sansSerif}",
"fontWeight": "{typography.weight.heading}",
"fontWeight": "{typography.weight.semiBold}",
"lineHeight": "{typography.lineHeight.xlarge}",
"fontSize": "{typography.size.mobile.h1}",
"letterSpacing": "{typography.letterSpacing.base}",
Expand All @@ -446,7 +446,7 @@
"h2": {
"value": {
"fontFamily": "{typography.fontFamily.sansSerif}",
"fontWeight": "{typography.weight.heading}",
"fontWeight": "{typography.weight.semiBold}",
"lineHeight": "{typography.lineHeight.large}",
"fontSize": "{typography.size.mobile.h2}",
"letterSpacing": "{typography.letterSpacing.base}",
Expand All @@ -459,7 +459,7 @@
"h3": {
"value": {
"fontFamily": "{typography.fontFamily.sansSerif}",
"fontWeight": "{typography.weight.heading}",
"fontWeight": "{typography.weight.semiBold}",
"lineHeight": "{typography.lineHeight.large}",
"fontSize": "{typography.size.mobile.h3}",
"letterSpacing": "{typography.letterSpacing.base}",
Expand All @@ -474,4 +474,4 @@
},
"Light": {},
"$themes": []
}
}
2 changes: 1 addition & 1 deletion data/transformed-tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
}
},
"weight": {
"heading": {
"semiBold": {
"value": 700,
"type": "fontWeights"
},
Expand Down

0 comments on commit 6637a15

Please sign in to comment.