Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/healthy-emus-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

Update tokens for border of `Tabs` on hover and pressed state to create better quality interaction.
4 changes: 2 additions & 2 deletions polaris-react/src/components/Tabs/Tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $item-vertical-padding: $item-min-height * 0.5;
background-color: transparent;
// stylelint-disable-next-line selector-max-specificity -- generated by polaris-migrator DO NOT COPY
&::before {
background-color: var(--p-color-border-hover);
background-color: var(--p-color-bg-strong-hover);
}
}
}
Expand All @@ -73,7 +73,7 @@ $item-vertical-padding: $item-min-height * 0.5;
background-color: transparent;
// stylelint-disable-next-line selector-max-specificity -- generated by polaris-migrator DO NOT COPY
&::before {
background: var(--p-color-bg-primary-subdued-active);
background-color: var(--p-color-bg-strong-active);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion polaris-react/src/components/Tag/Tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $button-size: 20px;
}

&:active {
background: var(--p-color-bg-strong-active);
background: var(--p-color-bg-strong-hover);
}

&:disabled {
Expand Down