Skip to content

Commit 31c14f0

Browse files
committed
update typography utilities to use color variables
1 parent 75142f4 commit 31c14f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/primer-utilities/lib/typography.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
margin-bottom: 30px;
148148
font-size: $h3-size;
149149
font-weight: $font-weight-light;
150-
color: #555;
150+
color: $gray-600;
151151
}
152152

153153
// Line-height variations
@@ -208,9 +208,9 @@
208208
// Text Shadows
209209
/* Add a dark text shadow */
210210
.text-shadow-dark {
211-
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px 25px rgba(0, 0, 0, 0.75);
211+
text-shadow: 0 1px 1px rgba($black, 0.25), 0 1px 25px rgba($black, 0.75);
212212
}
213213
/* Add a light text shadow */
214214
.text-shadow-light {
215-
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
215+
text-shadow: 0 1px 0 rgba($white, 0.5);
216216
}

0 commit comments

Comments
 (0)