Parcourir la source

Stow: use font-base for buttons

Andrés il y a 5 ans
Parent
commit
fb78f54825

+ 1 - 0
stow/sass/_extra-child-theme.scss

@@ -304,6 +304,7 @@ a {
 			cursor: pointer;
 			font-weight: #{map-deep-get($config-button, "font", "weight")};
 			font-family: #{map-deep-get($config-button, "font", "family")};
+			font-family: var( --font-base, #{map-deep-get($config-button, "font", "family")} );
 			font-size: #{map-deep-get($config-button, "font", "size")};
 			background-color: #{map-deep-get($config-button, "color", "background")};
 			border-radius: #{map-deep-get($config-button, "border-radius")};

+ 1 - 0
stow/sass/style-child-theme-editor.scss

@@ -114,6 +114,7 @@ a {
 			cursor: pointer;
 			font-weight: #{map-deep-get($config-button, "font", "weight")};
 			font-family: #{map-deep-get($config-button, "font", "family")};
+			font-family: var( --font-base, #{map-deep-get($config-button, "font", "family")} );
 			font-size: #{map-deep-get($config-button, "font", "size")};
 			background-color: #{map-deep-get($config-button, "color", "background")};
 			border-radius: #{map-deep-get($config-button, "border-radius")};

+ 1 - 0
stow/style-editor.css

@@ -1071,6 +1071,7 @@ a {
 	cursor: pointer;
 	font-weight: 600;
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
 	font-size: 0.69444rem;
 	background-color: #f25f70;
 	border-radius: 9px;

+ 1 - 0
stow/style-rtl.css

@@ -3896,6 +3896,7 @@ a {
 	cursor: pointer;
 	font-weight: 600;
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
 	font-size: 0.69444rem;
 	background-color: #f25f70;
 	border-radius: 9px;

+ 1 - 0
stow/style.css

@@ -3925,6 +3925,7 @@ a {
 	cursor: pointer;
 	font-weight: 600;
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+	font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
 	font-size: 0.69444rem;
 	background-color: #f25f70;
 	border-radius: 9px;