Missing --checked-icon-scale on wa-checkbox #145
patrickvuarnoz
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When you manipulate the size of the checkbox via
--toggle-size
the check mark on checked checkboxes always remains the same size. It would be helpful and consistent to have the same--checked-icon-scale
(and--indeterminate-icon-scale
) CSS property as on the wa-radio to be able to control the size of the icon too.In the meantime it can also be solved by accessing the CSS parts:
In 3.0.0-alpha.8 the part name seems not to be as documented. The documentation says that the part name should be

checked-icon
but in the shadow dom there is only acheck-icon icon
:For the indeterminate state it is a bit different. There is a

indeterminate-icon icon
and aindeterminate-icon svg
:Maybe this should be aligned that both have a
###-icon icon
and a###-icon-svg
and the part name ofchecked-icon
should be corrected.Beta Was this translation helpful? Give feedback.
All reactions