Browse Source

Building Variations

Jason Crist 3 years ago
parent
commit
74b27f0a72

BIN
videomaker-white/assets/fonts/Inter-italic.var.woff2


BIN
videomaker-white/assets/fonts/Inter-roman.var.woff2


+ 16 - 0
videomaker-white/assets/theme.css

@@ -79,6 +79,22 @@
   background-color: var(--wp--custom--button--color--text);
   background-color: var(--wp--custom--button--color--text);
 }
 }
 
 
+@font-face {
+  font-family: "Inter";
+  font-weight: 100 900;
+  font-display: swap;
+  font-style: normal;
+  font-named-instance: "Regular";
+  src: url("/assets/fonts/Inter-roman.var.woff2/") format("woff2");
+}
+@font-face {
+  font-family: "Inter";
+  font-weight: 100 900;
+  font-display: swap;
+  font-style: italic;
+  font-named-instance: "Italic";
+  src: url("/assets/fonts/Inter-italic.var.woff2/") format("woff2");
+}
 a:not(.wp-block-query-pagination-next):active {
 a:not(.wp-block-query-pagination-next):active {
   background: var(--wp--custom--color--foreground) !important;
   background: var(--wp--custom--color--foreground) !important;
   color: var(--wp--custom--color--background) !important;
   color: var(--wp--custom--color--background) !important;

+ 4 - 6
videomaker-white/theme.json

@@ -114,18 +114,16 @@
 		"typography": {
 		"typography": {
 			"fontFamilies": [
 			"fontFamilies": [
 				{
 				{
-					"fontFamily": "\"Inter\", serif",
+					"fontFamily": "\"Inter\", sans-serif",
 					"fontSlug": "inter",
 					"fontSlug": "inter",
 					"slug": "body-font",
 					"slug": "body-font",
-					"name": "Body (Inter)",
-					"google": "family=Inter:wght@100..900"
+					"name": "Body (Inter)"
 				},
 				},
 				{
 				{
-					"fontFamily": "\"Inter\", serif",
+					"fontFamily": "\"Inter\", sans-serif",
 					"fontSlug": "inter",
 					"fontSlug": "inter",
 					"slug": "heading-font",
 					"slug": "heading-font",
-					"name": "Headings (Inter)",
-					"google": "family=Inter:wght@100..900"
+					"name": "Headings (Inter)"
 				}
 				}
 			],
 			],
 			"fontSizes": [
 			"fontSizes": [