Blue checkbox styling is broken in Cornerstone on sites upgraded to WordPress 7.0

We have noticed that the blue styling for checked inputs is missing when adding text to a link. In the “Link options” section, the option is actually checked, but without the blue highlight, it appears unchecked.

However, when creating a new post using WordPress default posts and linking the text there, the blue styling works correctly, and the checked and unchecked states are displayed as expected.

Did a bit of digging and noticed that CSS variable --wp-admin-theme-color is undefined in /wp-admin/css/forms.min.css?ver=7.0 , causing the checkbox to lose its blue colour/styling in the admin UI.

image

Working vs Not Working:

  • Working - /wp-admin/css/colors/modern/colors.min.css?ver=7.0 — resolves to #3858e9
  • Not working - /wp-admin/css/forms.min.css?ver=7.0--wp-admin-theme-color is not defined

Working in default WordPress post editor
image

Not working in cornerstone
image

Could you please look into it and let me regarding the same.