1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/components/component-library/base-icon/base-icon.scss
George Marshall fc23cff03c
Adding BaseIcon UI component (#15609)
* Adding BaseIcon component

* Updates to styles, docs and proptypes

* Updating box props link
2022-08-18 07:53:01 -07:00

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;
}