Skip to content

Commit

Permalink
Merge pull request #33 from Fullscript/figma-mobile-fonts
Browse files Browse the repository at this point in the history
feat(pencil): Adding in mobile font sizes
  • Loading branch information
iryanclarke authored Jul 4, 2022
2 parents cd68488 + 00942ad commit 70653c7
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 7 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 Mon, 04 Jul 2022 13:15:49 GMT
// Generated on Mon, 04 Jul 2022 15:42:29 GMT

$green100: #FAFFFC;
$green200: #EBF2EF;
Expand Down
7 changes: 5 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 Mon, 04 Jul 2022 13:15:49 GMT
// Generated on Mon, 04 Jul 2022 15:42:29 GMT

$letterSpacingbase: 0;
$paragraphSpacingbase: 0;
Expand Down Expand Up @@ -86,4 +86,7 @@ $weightheading: 700;
$weightbase: 500;
$weightlight: 400;
$weightstrong: 600;
$weightbold: 900;
$weightbold: 900;
$mobileSizeh1: 32px;
$mobileSizeh2: 28px;
$mobileSizeh3: 22px;
2 changes: 1 addition & 1 deletion build/ts/colors.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 04 Jul 2022 13:15:49 GMT
* Generated on Mon, 04 Jul 2022 15:42:29 GMT
*/

export const green100 = "#FAFFFC";
Expand Down
7 changes: 5 additions & 2 deletions build/ts/typography.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 04 Jul 2022 13:15:49 GMT
* Generated on Mon, 04 Jul 2022 15:42:29 GMT
*/

export const letterSpacingbase = 0;
Expand Down Expand Up @@ -87,4 +87,7 @@ export const weightheading = 700;
export const weightbase = 500;
export const weightlight = 400;
export const weightstrong = 600;
export const weightbold = 900;
export const weightbold = 900;
export const mobileSizeh1 = "32px";
export const mobileSizeh2 = "28px";
export const mobileSizeh3 = "22px";
16 changes: 15 additions & 1 deletion data/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,23 @@
"value": "900",
"type": "fontWeights"
}
},
"mobileSize": {
"h1": {
"value": "32px",
"type": "fontSizes"
},
"h2": {
"value": "28px",
"type": "fontSizes"
},
"h3": {
"value": "22px",
"type": "fontSizes"
}
}
}
},
"Light": {},
"$themes": []
}
}
14 changes: 14 additions & 0 deletions data/transformed-tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,20 @@
"value": 900,
"type": "fontWeights"
}
},
"mobileSize": {
"h1": {
"value": "32px",
"type": "fontSizes"
},
"h2": {
"value": "28px",
"type": "fontSizes"
},
"h3": {
"value": "22px",
"type": "fontSizes"
}
}
}
}

0 comments on commit 70653c7

Please sign in to comment.