etn-ccis / blui-react-themes

Brightlayer UI themes for Eaton applications
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Remove `uppercase` from default Material UI tab styles #67

Open huayunh opened 1 year ago

huayunh commented 1 year ago

Describe the desired feature/functionality

Material UI uses UPPERCASE for all their tabs by default. Let's overwrite that behavior using our BLUI themes. Whether the tabs are rendered as ALL CAPS or lowercases or Title Case should be completely up to each individual adopter.

The design side already reflects this flexibility. So does our Angular theme.

Suggested implementation details

In both blueTheme.ts and blueDarkTheme.ts, add an additional textTransform: 'initial' to MuiTab root

https://github.com/etn-ccis/blui-react-themes/blob/abeab25ac3f6d6cf4a1173e7dd189609374e33cd/src/blueDarkTheme.ts#L863-L870