From 798fabac75d745c5623bccded7400164e3fb8bc9 Mon Sep 17 00:00:00 2001 From: StevenDufresne Date: Mon, 24 Jun 2024 14:56:40 +0900 Subject: [PATCH] Add css defaults for rating stars. --- mu-plugins/blocks/ratings-bars/src/style.scss | 2 +- mu-plugins/blocks/ratings-stars/src/style.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mu-plugins/blocks/ratings-bars/src/style.scss b/mu-plugins/blocks/ratings-bars/src/style.scss index a52b6aa4..d066b8eb 100644 --- a/mu-plugins/blocks/ratings-bars/src/style.scss +++ b/mu-plugins/blocks/ratings-bars/src/style.scss @@ -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) { diff --git a/mu-plugins/blocks/ratings-stars/src/style.scss b/mu-plugins/blocks/ratings-stars/src/style.scss index bffd76a0..6e4e7bc8 100644 --- a/mu-plugins/blocks/ratings-stars/src/style.scss +++ b/mu-plugins/blocks/ratings-stars/src/style.scss @@ -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.