Created
December 27, 2019 20:48
-
-
Save johnatandias/702cbfdfb6947194bf65e439c767c171 to your computer and use it in GitHub Desktop.
BLiP Design System - Input
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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