Open pboguslawski opened 1 year ago
Describe the bug Icon button
<IconButton disabled={true}> <Icon component={Svg} viewBox="0 0 24 24"> <path d={mdiChevronLeft} /> </Icon> </IconButton>
in dark theme mode is painted with
.mdc-icon-button:disabled { color:rgba(0, 0, 0, 0.38); color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38)); }
which makes it invisible on dark theme background (#000) or near to invisible (disabled paging button in data table component).
#000
Shouldn't be painted with
.mdc-icon-button:disabled { color:rgba(255, 255, 255, 0.5); color:var(--mdc-theme-text-disabled-on-dark, rgba(255, 255, 255, 0.5)); }
instead in dark mode?
To Reproduce Create page in dark mode and put icon button as above.
Expected behavior Button should use visible color. probably --mdc-theme-text-disabled-on-dark as above.
--mdc-theme-text-disabled-on-dark
Screenshots Invisible disabled icon button on #000 background: Almost invisible disabled paging controls:
Describe the bug Icon button
in dark theme mode is painted with
which makes it invisible on dark theme background (
#000
) or near to invisible (disabled paging button in data table component).Shouldn't be painted with
instead in dark mode?
To Reproduce Create page in dark mode and put icon button as above.
Expected behavior Button should use visible color. probably
--mdc-theme-text-disabled-on-dark
as above.Screenshots Invisible disabled icon button on
#000
background: Almost invisible disabled paging controls: