Skip to content

Commit

Permalink
fix: use appropriate token for background color
Browse files Browse the repository at this point in the history
  • Loading branch information
plagoa authored and zettca committed Feb 23, 2024
1 parent 78416fc commit 433b98f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/BaseSwitch/BaseSwitch.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const { staticClasses, useClasses } = createClasses("HvBaseSwitch", {
borderRadius: theme.radii.base,

"&:hover": {
backgroundColor: theme.colors.primary_20,
backgroundColor: theme.colors.containerBackgroundHover,
},

// Higher CSS specificity here
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/BreadCrumb/Page/Page.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export const { staticClasses, useClasses } = createClasses("HvBreadCrumbPage", {
textTransform: "capitalize",
"&:hover": {
cursor: "pointer",
backgroundColor: theme.colors.primary_20,
backgroundColor: theme.colors.containerBackgroundHover,
},
"&:focus": {
backgroundColor: theme.colors.primary_20,
backgroundColor: theme.colors.containerBackgroundHover,
},
"&:focus-visible": {
...outlineStyles,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/BulkActions/BulkActions.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const { staticClasses, useClasses } = createClasses("HvBulkActions", {
marginBottom: theme.space.xs,
},
semantic: {
backgroundColor: theme.colors.primary_20,
backgroundColor: theme.colors.containerBackgroundHover,
"& $selectAll div": {
color: "inherit",

Expand Down

0 comments on commit 433b98f

Please sign in to comment.