richie icon indicating copy to clipboard operation
richie copied to clipboard

Make icon sizes homogeneous

Open NathanVss opened this issue 3 years ago • 0 comments

Feature Request

Currently icons size are defined for each uses in CSS, there are no pre-built icon sizes like small medium etc ..

Example

.course-glimpse-footer__date .icon, .course-glimpse__large-footer__date .icon {
    ...
    height: 1.3rem;
    width: 1.4rem;
}

I suggest adding pre-built sizes like s|m|l to the component like this in order to reduce the risk to have different sizes of icons all across the codebase as it grows with multiple developers working on it and to improve the developer experience to write code faster with less frustration to repeat generic things 😊

<Icon name="icon-school" size="m" />

I volunteer to do this 😊

NathanVss avatar Sep 16 '22 11:09 NathanVss