John Cowen 5ab7e48862
ui: Native CSS Icon Composition (#12461)
This commit/PR beings to move away from using CSS preprocessing for our icons and towards using native CSS via native CSS property composition
2022-03-15 12:54:14 +00:00

23 lines
317 B
SCSS

%pill {
display: inline-flex;
position: relative;
align-items: center;
white-space: nowrap;
}
%pill::before {
margin-right: 4px;
}
%pill-200 {
@extend %pill;
padding: 0 8px;
--icon-size: icon-200;
}
%pill-500 {
@extend %pill;
padding: 1px 5px;
}
%pill-700 {
@extend %pill;
padding: 4px 8px;
}