Skip to content

Commit

Permalink
add hover styles
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed May 19, 2022
1 parent 1c20839 commit d030ba4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion themes/theme-b2b/src/components/Table.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export const Table: Theme['components']['Table'] = {
'&:checked': {
bg: 'orange10',
},
'&:focus': {
'&:hover': {
bg: 'gray30',
},
'&:focus-visible': {
outlineColor: 'orange60',
},
},
Expand Down
5 changes: 4 additions & 1 deletion themes/theme-core/src/components/Table.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export const Table: Theme['components']['Table'] = {
'&:checked': {
bg: 'orange10',
},
'&:focus': {
'&:hover': {
bg: 'gray20',
},
'&:focus-visible': {
outlineColor: 'orange60',
},
},
Expand Down
5 changes: 4 additions & 1 deletion themes/theme-unicorn/src/components/Table.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export const Table: Theme['components']['Table'] = {
'&:checked': {
bg: 'purple10',
},
'&:focus': {
'&:hover': {
bg: 'gray30',
},
'&:focus-visible': {
outlineColor: 'purple60',
},
},
Expand Down

0 comments on commit d030ba4

Please sign in to comment.