mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-12 12:47:14 +01:00
fc23cff03c
* Adding BaseIcon component * Updates to styles, docs and proptypes * Updating box props link
34 lines
386 B
SCSS
34 lines
386 B
SCSS
.base-icon {
|
|
--icon-size: var(--size, 16px);
|
|
|
|
&--size-xxs {
|
|
--size: 10px;
|
|
}
|
|
|
|
&--size-xs {
|
|
--size: 12px;
|
|
}
|
|
|
|
&--size-sm {
|
|
--size: 16px;
|
|
}
|
|
|
|
&--size-md {
|
|
--size: 20px;
|
|
}
|
|
|
|
&--size-lg {
|
|
--size: 24px;
|
|
}
|
|
|
|
&--size-xl {
|
|
--size: 32px;
|
|
}
|
|
|
|
font-size: var(--icon-size);
|
|
width: 1em;
|
|
height: 1em;
|
|
display: inline-block;
|
|
fill: currentColor;
|
|
}
|