[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/css/dist/block-editor/ -> default-editor-styles.css (source)

   1  /**
   2   * SCSS Variables.
   3   *
   4   * Please use variables from this sheet to ensure consistency across the UI.
   5   * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
   6   * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
   7   */
   8  /**
   9   * Colors
  10   */
  11  /**
  12   * Fonts & basic variables.
  13   */
  14  /**
  15   * Typography
  16   */
  17  /**
  18   * Grid System.
  19   * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
  20   */
  21  /**
  22   * Radius scale.
  23   */
  24  /**
  25   * Elevation scale.
  26   */
  27  /**
  28   * Dimensions.
  29   */
  30  /**
  31   * Mobile specific styles
  32   */
  33  /**
  34   * Editor styles.
  35   */
  36  /**
  37   * Block & Editor UI.
  38   */
  39  /**
  40   * Block paddings.
  41   */
  42  /**
  43   * React Native specific.
  44   * These variables do not appear to be used anywhere else.
  45   */
  46  /**
  47   * Default editor styles.
  48   *
  49   * These styles are shown if a theme does not register its own editor style,
  50   * a theme.json file, or has toggled off "Use theme styles" in preferences.
  51   */
  52  body {
  53    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  54    font-size: 18px;
  55    line-height: 1.5;
  56    --wp--style--block-gap: 2em;
  57  }
  58  
  59  p {
  60    line-height: 1.8;
  61  }
  62  
  63  .editor-post-title__block {
  64    margin-top: 2em;
  65    margin-bottom: 1em;
  66    font-size: 2.5em;
  67    font-weight: 800;
  68  }


Generated : Thu Jun 25 08:20:12 2026 Cross-referenced by PHPXref