Description
In @sistent/sistent's theme overrides (src/theme/components/checkbox.modifier.ts), color: transparent is applied globally at the root level of MuiCheckbox.
Because standard SVG icons inherit color via currentColor, any custom SVG icon component passed to the icon or checkedIcon props of a Checkbox (e.g. FilterAllIcon used in Meshery's cluster dropdown) automatically inherits this root transparency and becomes completely invisible in its unchecked state.
Steps to Reproduce
- Import and render a Checkbox from Sistent/MUI.
- Pass a custom SVG icon (without hardcoding an inline fill attribute) to the icon prop.
- Observe that the custom icon path is completely transparent/invisible.
Expected Behaviour
- Default Sistent checkboxes should keep their custom border and hide the default outline path.
- Custom icons passed as props should be fully visible and respect default state/theme colors instead of inheriting transparent.
Contributor Guides and Resources
Description
In
@sistent/sistent'stheme overrides (src/theme/components/checkbox.modifier.ts), color:transparentis applied globally at the root level ofMuiCheckbox.Because standard SVG icons inherit color via
currentColor, any custom SVG icon component passed to theiconorcheckedIconprops of a Checkbox (e.g.FilterAllIconused in Meshery's cluster dropdown) automatically inherits this root transparency and becomes completely invisible in its unchecked state.Steps to Reproduce
Expected Behaviour
Contributor Guides and Resources