Skip to content

Commit

Permalink
Remove styles that are already set in common.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Apr 5, 2024
1 parent 2ec26be commit bfa2a16
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/block-library/src/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@
@import "./post-content/editor.scss";
@import "./editor-elements.scss";

:root .editor-styles-wrapper {
@include background-colors-deprecated();
@include foreground-colors-deprecated();
@include gradient-colors-deprecated();
}

// Font sizes (not used now, kept because of backward compatibility).
//
// The reason we add the editor class wrapper here is
Expand All @@ -75,14 +69,6 @@
font-size: 42px;
}

:where(.editor-styles-wrapper) .has-normal-font-size {
font-size: var(--wp--preset--font-size--normal);
}

:where(.editor-styles-wrapper) .has-huge-font-size {
font-size: var(--wp--preset--font-size--huge);
}

/**
* Editor Normalization Styles
*
Expand Down

0 comments on commit bfa2a16

Please sign in to comment.