Open hovski opened 5 years ago
I think it’s because all the variables are written incorrectly. The values are being repeated, when only the variables’ names should be used, e.g.:
h5 {
color: var(--color-black);
font-family: var(--font-primary);
font-weight: bold;
}
Notice how the color
& font-family
variables are only the names, the values should only be written at the top, inside :root
.
@thomasjbradley
I've finished the typography part of our homework and I'm pretty sure I did it correctly, but theres couple of issues I'm having:
Let me know if there's something I'm doing wrong or if this is all normal. Thanks!