Closed MylesWardell closed 5 months ago
My env trying to style the selected text in createTheme. This does not work
This does style the selected tab
Mui-selected
class gets applied on the actually selected TabItem and not the TabRoot. Not sure what your specific requirement is about styling the root when an item is selected, but the selected
style will always get applied because one or other tab item is always selected.
It'll also be helpful if you had a codesandbox.
Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.
Steps to reproduce
Link to live example: (required)
Steps:
Current behavior
No styles are showing up
Expected behavior
Selected should style the selected mui tab
Context
Creating a muiTheme using createTheme
In the override resolver function selected is not being passed through to it, I don't maintain or write for Mui but at cursory glance it should be removed or if this is intended removed from typescipt intlsense.
This file is here https://github.com/mui/material-ui/blob/next/packages/mui-material/src/Tab/Tab.js
If this is an issue maybe make it so override controller must return the types in the createTheme?
Your environment
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo
Search keywords: Mui-selected, createTheme