Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
:root {
/* line-height */
--heading-line-height: 1.2;
--body-line-height: 1.4;
--article-line-height: 1.58;
/* capital letters - used in combo with the lhCrop mixin */
--font-primary-capital-letter: 0.75;
--font-secondary-capital-letter: 0.69;
}
.text-to-crop {
@include lhCrop(var(--body-line-height), var(--font-primary-capital-letter));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment