You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using more than one theme value in the border-radius shorthand property is not supported
Using border-top-right-radius, border---radius does'nt allow theme values or integers without units
To Reproduce
β border-radius: 10 compiles to border-radius: 10px
β border-radius: md compiles to border-radius: 10px (if theme.radii.md = 10)
β border-radius: 5px 10px 2px 0px compiles to border-radius: 5px 10px 2px 0px
β οΈ border-radius: md sm compiles to border-radius: md sm
β οΈ border-radius: 10 5 compiles to border-radius: 10 5
β οΈ border-top-right-radius: md compiles to border-top-right-radius: md
β οΈ border-top-right-radius: 10 compiles to border-top-right-radius: 10
Expected behavior
border-radius: md sm should compile to border-radius: 10px 5px border-radius: 10 5 should compile to border-radius: 10px 5px border-radius: 0.5 0.8 should compile to border-radius: 50% 80% border-top-right-radius: md should compile to border-top-right-radius: 10px border-top-right-radius: 10 should compile to border-top-right-radius: 10px
etc...
π Bug Report
Using more than one theme value in the border-radius shorthand property is not supported
Using border-top-right-radius, border---radius does'nt allow theme values or integers without units
To Reproduce
β
border-radius: 10
compiles toborder-radius: 10px
β
border-radius: md
compiles toborder-radius: 10px
(iftheme.radii.md = 10
)β
border-radius: 5px 10px 2px 0px
compiles toborder-radius: 5px 10px 2px 0px
β οΈ
border-radius: md sm
compiles toborder-radius: md sm
β οΈ
border-radius: 10 5
compiles toborder-radius: 10 5
β οΈ
border-top-right-radius: md
compiles toborder-top-right-radius: md
β οΈ
border-top-right-radius: 10
compiles toborder-top-right-radius: 10
Expected behavior
border-radius: md sm
should compile toborder-radius: 10px 5px
border-radius: 10 5
should compile toborder-radius: 10px 5px
border-radius: 0.5 0.8
should compile toborder-radius: 50% 80%
border-top-right-radius: md
should compile toborder-top-right-radius: 10px
border-top-right-radius: 10
should compile toborder-top-right-radius: 10px
etc...
Link to repl or repo (highly encouraged)
https://github.com/WTTJ/welcome-ui/blob/master/src/components/RadioTab/styles.js#L56
Issues without a reproduction link are likely to stall.
Run
npx envinfo --system --binaries --npmPackages @xstyled/system,@xstyled/styled-components,styled-components --markdown --clipboard
Paste the results here:
The text was updated successfully, but these errors were encountered: