Skip to content

Commit

Permalink
Merge pull request #202 from savindi7/chore-update-input-label-styles
Browse files Browse the repository at this point in the history
chore(react): update the required input label's asterisk styles
  • Loading branch information
savindi7 authored Jan 9, 2024
2 parents 78297cd + 27778b0 commit 70bedd4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/react/src/theme/default-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@ export const generateDefaultThemeOptions = (baseTheme: Theme): RecursivePartial<
},
},
},
MuiFormLabel: {
styleOverrides: {
asterisk: {
color: 'var(--oxygen-palette-error-main)',
},
},
},
MuiTypography: {
defaultProps: {
variantMapping: {
Expand Down

0 comments on commit 70bedd4

Please sign in to comment.