This reverts commit 84350cc7a584e00742e384adc6af593f7eee1bbd.
@@ -79,7 +79,7 @@
}
.resultValue {
- font-family: var(--font-mono);
+ font-family: theme.font-family("monospace");
font-size: theme.font-size("sm");
margin: 0;
margin-bottom: theme.spacing(2);
@@ -30,6 +30,21 @@ $font-weight: (
@return map-get-strict($font-weight, $weight);
+$font-family: (
+ "monospace": (
+ "ui-monospace",
+ "sfmono-regular",
+ "consolas",
+ "Liberation Mono",
+ "menlo",
+ "monospace",
+ ),
+);
+
+@function font-family($family) {
+ @return map-get-strict($font-family, $family);
+}
$font-size: (
"xxs": 0.6875rem,
"xs": 0.75rem,