style-child-theme-editor.scss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /**
  2. * These styles should be loaded by the Block Editor only
  3. */
  4. /**
  5. * Abstracts
  6. * - Mixins, variables and functions
  7. */
  8. @import "../../varia/sass/abstracts/imports";
  9. /**
  10. * Child Theme Deep
  11. */
  12. @import "config-child-theme-deep";
  13. /**
  14. * Base
  15. * - Reset the browser
  16. */
  17. @import "../../varia/sass/base/editor";
  18. // Reset the font-family override on html to make editor fonts match front-end
  19. html {
  20. @include font-family( map-deep-get($config-global, "font", "family", "primary") );
  21. }
  22. // Set the correct font family/size for the title
  23. .editor-post-title .editor-post-title__block .editor-post-title__input {
  24. @include font-family( map-deep-get($config-global, "font", "family", "primary") );
  25. font-size: #{map-deep-get($config-global, "font", "size", "xxxl")};
  26. text-align: center;
  27. }
  28. /**
  29. * Elements
  30. * - Styles for basic HTML elemants
  31. */
  32. @import "../../varia/sass/elements/editor";
  33. /**
  34. * Blocks
  35. * - These styles replace key Gutenberg Block styles for fonts, colors, and
  36. * spacing with CSS-variables overrides
  37. */
  38. @import "../../varia/sass/blocks/editor";