grommet / grommet

a react-based framework that provides accessibility, modularity, responsiveness, and theming in a tidy package
https://grommet.io
Apache License 2.0
8.34k stars 1.03k forks source link

Border radius is inconsitent #3117

Open Zyclotrop-j opened 5 years ago

Zyclotrop-j commented 5 years ago

The radius of borders is styled in an inconsistent fashion

Expected Behavior

There is one consistent way to set the border-radius. There is one place in the theme to store different border-radii.

Actual Behavior

There is a variety of locations in the theme to set the border-radius; these use a different syntax. Some allow choosing the degree of rounding, some don't. There are two helpers in the utils commonly used. Further global.edgeSize is used multi-purpose.

List of different methods:

Implications:

Steps to Reproduce

Render any / all of the above components and change the theme. Notice the inconsistencies outlined

Hriishikeshh commented 1 week ago

hey i would like to work on this as you have recently opened it under hacktoberfest2024 tag

jcfilben commented 1 week ago

Hi @Hriishikeshh this issue is tagged as v3-attention because it is something that requires breaking changes and we would not want to implement until we were considering a v3 of Grommet (we are not at this point in time). So this isn't something that should be worked on yet. This issue doesn't have a hacktoberfest label but you can check out some of the other issues that do https://github.com/grommet/grommet/issues?q=is%3Aopen+is%3Aissue+label%3Ahacktoberfest