Skip to content

Commit

Permalink
Lower specificity of CSS vars (#37526)
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Dec 21, 2021
1 parent f814026 commit eab0606
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/block-library/src/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@
@include background-colors-deprecated();
@include foreground-colors-deprecated();
@include gradient-colors-deprecated();
// This CSS Custom Properties aren't used anymore as defaults,
// but we still need to keep them for backward compatibility.
}

// This CSS Custom Properties aren't used anymore as defaults,
// but we still need to keep them for backward compatibility.
.editor-styles-wrapper {
--wp--preset--font-size--normal: 16px;
--wp--preset--font-size--huge: 42px;
}
Expand Down

0 comments on commit eab0606

Please sign in to comment.