Skip to content

Instantly share code, notes, and snippets.

@smithki
Created March 28, 2019 22:25
Show Gist options
  • Save smithki/92c09d728eab8ac0ed553f9894fb47eb to your computer and use it in GitHub Desktop.
Save smithki/92c09d728eab8ac0ed553f9894fb47eb to your computer and use it in GitHub Desktop.
$margin-right-adjectives: (
"small": 1rem,
"medium": 1.5rem,
"large": 2rem,
);
// A(define, ...) is a mixin provided by Anthology
@include A(define,
"marginRight", // The namespace of our rule
margin-right, // The CSS property we are targeting
$margin-right-adjectives // The "adjectives" for this rule
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment