Skip to content

Commit

Permalink
fix :is selector syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed May 23, 2023
1 parent 8540644 commit f348346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/modules/brandingTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ export function getThemedComponents(): ThemeOptions {
...(ownerState.variant === 'outlined' && {
display: 'block',
borderColor: (theme.vars || theme).palette.grey[200],
':is(a, button)': {
':is(a&), :is(button&)': {
'&:hover': {
boxShadow: `0px 4px 20px rgba(170, 180, 190, 0.3)`,
},
Expand All @@ -766,7 +766,7 @@ export function getThemedComponents(): ThemeOptions {
...(ownerState.variant === 'outlined' && {
borderColor: (theme.vars || theme).palette.primaryDark[500],
backgroundColor: (theme.vars || theme).palette.primaryDark[700],
':is(a, button)': {
':is(a&), :is(button&)': {
'&:hover': {
boxShadow: `0px 4px 20px rgba(0, 0, 0, 0.5)`,
},
Expand Down

0 comments on commit f348346

Please sign in to comment.