Skip to content

Instantly share code, notes, and snippets.

  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save claudia-romano/5e2f7f28948cf51c8609cd89ec8d7786 to your computer and use it in GitHub Desktop.
: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