Skip to content

Commit

Permalink
chore: modify the style
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenfeng Xing committed Nov 4, 2022
1 parent 30e0cbf commit ccee653
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/ui-kit-theme/src/overrides/MuiButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ const LIGHT_BUTTON = {
outline: '3px solid #FF8D00',
color: '#5F618D',
},
'&:focus-visible:hover': {
backgroundColor: '#5F618D',
color: '#FFFFFF',
},
'&:disabled': {
border: 'none',
backgroundColor: '#E4E4E4',
Expand Down Expand Up @@ -86,6 +90,9 @@ const LIGHT_BUTTON = {
outline: '3px solid #FF8D00',
textDecoration: 'none',
},
'&:focus-visible:hover': {
textDecoration: 'underline',
},
'&:disabled': {
border: 'none',
backgroundColor: '#E4E4E4',
Expand Down Expand Up @@ -119,6 +126,9 @@ const DARK_BUTTON = {
border: '2px solid inherit',
outline: '3px solid #FF8D00',
},
'&:focus-visible:hover': {
backgroundColor: '#A9ABD1',
},
'&:disabled': {
backgroundColor: '#E4E4E4',
color: '#7F7F7F',
Expand Down Expand Up @@ -153,6 +163,10 @@ const DARK_BUTTON = {
'&:hover:focus': {
backgroundColor: 'inherit',
},
'&:focus-visible:hover': {
backgroundColor: '#DBDDFF',
color: '#4D4D4D',
},
'&:disabled': {
border: 'none',
backgroundColor: '#E4E4E4',
Expand Down

0 comments on commit ccee653

Please sign in to comment.