Skip to content

Instantly share code, notes, and snippets.

@johnatandias
Created December 27, 2019 20:48
Show Gist options
  • Save johnatandias/702cbfdfb6947194bf65e439c767c171 to your computer and use it in GitHub Desktop.
Save johnatandias/702cbfdfb6947194bf65e439c767c171 to your computer and use it in GitHub Desktop.
BLiP Design System - Input
@mixin size($size) {
width: $size;
height: $size;
}
.bds-icon {
display: inline-flex;
align-items: center;
svg {
fill: currentColor;
width: 100%;
min-width: 100%;
}
&__size {
&--xxx-small {
@include size(8px);
}
&--xx-small {
@include size(12px);
}
&--x-small {
@include size(16px);
}
&--small {
@include size(20px);
}
&--medium {
@include size(24px);
}
&--large {
@include size(28px);
}
&--x-large {
@include size(32px);
}
&--xx-large {
@include size(36px);
}
&--xxx-large {
@include size(40px);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment