Skip to content

Commit

Permalink
Add css defaults for rating stars.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne committed Jun 24, 2024
1 parent 7902ae6 commit 798faba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mu-plugins/blocks/ratings-bars/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
position: absolute;
inset: 0;
right: auto;
background-color: var(--wp--custom--wporg-ratings-stars--color--fill);
background-color: var(--wp--custom--wporg-ratings-stars--color--fill, #e26f56);
}

@supports (grid-template-columns: subgrid) {
Expand Down
2 changes: 1 addition & 1 deletion mu-plugins/blocks/ratings-stars/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
height: 32px;
width: 32px;
margin-inline-start: -6px;
fill: var(--wp--custom--wporg-ratings-stars--color--fill);
fill: var(--wp--custom--wporg-ratings-stars--color--fill, #e26f56);
}

// Flip the half-star for RTL views.
Expand Down

0 comments on commit 798faba

Please sign in to comment.