iTwin / iTwinUI

A design system for building beautiful and well-working web interfaces.
https://itwin.github.io/iTwinUI/
MIT License
104 stars 37 forks source link

Badge remove transform text uppercase automatically. #180

Closed maxime4000 closed 3 years ago

maxime4000 commented 3 years ago

https://github.com/iTwin/iTwinUI/blob/c68f2508dbaf301255542ae19bbae2f73d824eec/src/badge/badge.scss#L13

Text should not have a force uppercase transformation. Should be decide within the code, not by the CSS.

mayank99 commented 3 years ago

You can override it on your side, so I don't see the problem.

veekeys commented 3 years ago

This is our standard, which is applied: image

Badges are meant to have uppercased text, so we expect users to use it that way. We do not plan to change that. If you have some specific use case, there is a high chance you should not use badges there... but in case you still need it, you can override it easily as Mayank suggested by adding your class or just overriding style. Let us know if it is not possible or not working. I am closing this issue for now.

maxime4000 commented 3 years ago

I talk with @FlyersPh9 and the standard will be change in 2 weeks and then he will submit a PR changing this.