You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pass font size to color panel when using "__experimentalColor" attribute #24607
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonGood First IssueAn issue that's suitable for someone looking to contribute for the first time[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progress[Type] Developer DocumentationDocumentation for developers
Is your feature request related to a problem? Please describe.
With the new way for blocks to declare support for color and font size customizations, there is currently no way for the color panel to read the block font size. This is important because the font size allows the contrast checker in the color panel to output more accurate recommendations.
Describe the solution you'd like
As per this comment, get the block font size and pass it to the contrast checker in ColorPanel.
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonGood First IssueAn issue that's suitable for someone looking to contribute for the first time[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progress[Type] Developer DocumentationDocumentation for developers
Activity