Skip to content

Commit 614ce2d

Browse files
Rachel RoppoloRachel Roppolo
authored andcommitted
UIDS-54 Revisions based on initial review meeting
1 parent 0f650da commit 614ce2d

File tree

6 files changed

+421
-213
lines changed

6 files changed

+421
-213
lines changed

.github/workflows/gh-pages-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
on:
33
push:
44
branches:
5-
- master
5+
- feature/UIDS-54-typography-story
66
jobs:
77
gh-pages-deploy:
88
name: Deploying to gh-pages

scss/typography.scss

Lines changed: 74 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,123 @@
11
@import './colors/palette';
22

33
$font-family: Lato, Arial, sans-serif;
4-
$font-weight-light: 200;
5-
$font-weight-normal: 300;
6-
$font-size-base: .875rem;
4+
$font-weight-light: 300;
5+
$font-weight-normal: 400;
76
$font-weight-bold: 700;
8-
$headings-font-weight: 400;
9-
$headings-font-weight-bold: 700;
7+
$font-size-base: 0.875rem;
108

11-
@mixin font-type-100() {
9+
@mixin font-type-10() {
10+
font-size: .625rem;
11+
font-weight: $font-weight-normal;
12+
line-height: 1rem;
13+
text-transform: uppercase;
14+
}
15+
16+
@mixin font-type-20() {
1217
font-size: .75rem;
1318
font-weight: $font-weight-normal;
1419
line-height: 1rem;
1520
}
1621

17-
@mixin font-type-200() {
18-
font-size: $font-size-base;
22+
@mixin font-type-30() {
23+
font-size: 0.875rem;
1924
font-weight: $font-weight-normal;
2025
line-height: 1.25rem;
2126
}
2227

23-
@mixin font-type-300() {
28+
@mixin font-type-40() {
2429
// font-size: $font-size-base; -- should base be changed to 1 rem?
2530
font-size: 1rem;
2631
font-weight: $font-weight-normal;
2732
line-height: 1.5rem;
2833
}
2934

30-
@mixin font-type-400() {
35+
@mixin font-type-50() {
3136
font-size: 1.125rem;
3237
font-weight: $font-weight-normal;
3338
line-height: 1.75rem;
3439
}
3540

36-
@mixin font-type-500() {
41+
@mixin font-type-60() {
3742
font-size: 1.25rem;
3843
font-weight: $font-weight-normal;
3944
line-height: 1.75rem;
4045
}
4146

42-
@mixin font-type-600() {
47+
@mixin font-type-70() {
4348
font-size: 1.5rem;
4449
font-weight: $font-weight-normal;
4550
line-height: 1.75rem;
4651
}
4752

48-
@mixin font-type-200--bold() {
49-
@include font-type-200;
53+
@mixin font-type-10--bold() {
54+
@include font-type-10;
55+
font-weight: $font-weight-bold;
56+
}
57+
58+
@mixin font-type-10--light() {
59+
@include font-type-10;
60+
font-weight: $font-weight-light;
61+
}
62+
63+
@mixin font-type-20--bold() {
64+
@include font-type-20;
5065
font-weight: $font-weight-bold;
5166
}
5267

53-
@mixin font-type-300--bold() {
54-
@include font-type-300;
68+
@mixin font-type-20--light() {
69+
@include font-type-20;
70+
font-weight: $font-weight-light;
71+
}
72+
73+
@mixin font-type-30--bold() {
74+
@include font-type-30;
5575
font-weight: $font-weight-bold;
5676
}
5777

58-
@mixin font-type-400--bold() {
59-
@include font-type-400;
78+
@mixin font-type-30--light() {
79+
@include font-type-30;
80+
font-weight: $font-weight-light;
81+
}
82+
83+
@mixin font-type-40--bold() {
84+
@include font-type-40;
6085
font-weight: $font-weight-bold;
6186
}
6287

63-
@mixin font-type-500--bold() {
64-
@include font-type-500;
65-
font-weight: $headings-font-weight;
88+
@mixin font-type-40--light() {
89+
@include font-type-40;
90+
font-weight: $font-weight-light;
91+
}
92+
93+
@mixin font-type-50--bold() {
94+
@include font-type-50;
95+
font-weight: $font-weight-bold;
96+
}
97+
98+
@mixin font-type-50--light() {
99+
@include font-type-50;
100+
font-weight: $font-weight-light;
101+
}
102+
103+
@mixin font-type-60--bold() {
104+
@include font-type-60;
105+
font-weight: $font-weight-bold;
106+
}
107+
108+
@mixin font-type-60--light() {
109+
@include font-type-60;
110+
font-weight: $font-weight-light;
111+
}
112+
113+
@mixin font-type-70--bold() {
114+
@include font-type-70;
115+
font-weight: $font-weight-bold;
66116
}
67117

68-
@mixin font-type-600--bold() {
69-
@include font-type-600;
70-
font-weight: $headings-font-weight;
118+
@mixin font-type-70--light() {
119+
@include font-type-70;
120+
font-weight: $font-weight-light;
71121
}
72122

73123
body {

0 commit comments

Comments
 (0)