Ver código fonte

Varia: migrate sass/base/_editor.scss

Andrés 5 anos atrás
pai
commit
0fb30afc50
2 arquivos alterados com 3 adições e 1 exclusões
  1. 2 1
      varia/sass/base/_editor.scss
  2. 1 0
      varia/style-editor.css

+ 2 - 1
varia/sass/base/_editor.scss

@@ -1,7 +1,8 @@
 body {
 	color: #{map-deep-get($config-global, "color", "foreground", "default")};
 	background-color: #{map-deep-get($config-global, "color", "background", "default")};
-	font-family: #{map-deep-get($config-global, "font", "family", "secondary")};
+	font-family: #{map-deep-get($config-global, "font", "family", "secondary")}; // For browsers that don't support CSS variables.
+	font-family: var( --font-base, #{map-deep-get($config-global, "font", "family", "secondary")} );
 	font-size: #{map-deep-get($config-global, "font", "size", "root")};
 	font-weight: normal;
 	line-height: #{map-deep-get($config-global, "font", "line-height", "body")};

+ 1 - 0
varia/style-editor.css

@@ -120,6 +120,7 @@ body {
 	color: #444444;
 	background-color: white;
 	font-family: serif;
+	font-family: var(--font-base, serif);
 	font-size: 18px;
 	font-weight: normal;
 	line-height: 1.78;