nidhi-singh02 2 сар өмнө
parent
commit
84350cc7a5

+ 1 - 1
apps/developer-hub/src/components/RewardSimulator/index.module.scss

@@ -79,7 +79,7 @@
 }
 
 .resultValue {
-  font-family: theme.font-family("monospace");
+  font-family: var(--font-mono);
   font-size: theme.font-size("sm");
   margin: 0;
   margin-bottom: theme.spacing(2);

+ 0 - 15
packages/component-library/src/theme.scss

@@ -30,21 +30,6 @@ $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,