Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Twenty Twenty-One: Adjust removable chip background color #4547

Merged
merged 2 commits into from Aug 5, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions assets/js/base/components/chip/style.scss
Expand Up @@ -51,6 +51,20 @@
}
}

.theme-twentytwentyone {
// Adjust removable chip background color.
// @see https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/4404
nielslange marked this conversation as resolved.
Show resolved Hide resolved
.wc-block-components-chip,
.wc-block-components-chip:active,
.wc-block-components-chip:focus,
.wc-block-components-chip:hover {
background: #fff;
button.wc-block-components-chip__remove:not(:hover):not(:active):not(.has-background) {
background: transparent;
}
}
}

button.wc-block-components-chip:hover > .wc-block-components-chip__remove,
button.wc-block-components-chip:focus > .wc-block-components-chip__remove,
.wc-block-components-chip__remove:hover,
Expand Down