Closed
Description
From #61294 (comment) :
While reviewing
--wp-components-color-*
variables, @mirka and I came across this change that was added just before merging the PR and escaped our review.
- the
--wp-components-color-accent--rgb
custom property does not exist (we don't have any--rgb
variants);- the
$components-color-accent-transparent-40
SASS variable doesn't need to exist as a common variable, as it can be derived directly where it's needed via thecolor-mix()
function- it doesn't work on dark backgrounds (ie dark mode)
We should remove this variable and figure out an alternative solution that only makes use of existing variables and works with all possible theme combinations.