File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
apps/developer-hub/src/components/RewardSimulator
packages/component-library/src Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 79
79
}
80
80
81
81
.resultValue {
82
- font-family : var ( -- font-mono );
82
+ font-family : theme . font-family ( " monospace " );
83
83
font-size : theme .font-size (" sm" );
84
84
margin : 0 ;
85
85
margin-bottom : theme .spacing (2 );
Original file line number Diff line number Diff line change @@ -30,6 +30,21 @@ $font-weight: (
30
30
@return map-get-strict ($font-weight , $weight );
31
31
}
32
32
33
+ $font-family : (
34
+ " monospace" : (
35
+ " ui-monospace" ,
36
+ " sfmono-regular" ,
37
+ " consolas" ,
38
+ " Liberation Mono" ,
39
+ " menlo" ,
40
+ " monospace" ,
41
+ ),
42
+ );
43
+
44
+ @function font-family ($family ) {
45
+ @return map-get-strict ($font-family , $family );
46
+ }
47
+
33
48
$font-size : (
34
49
" xxs" : 0.6875rem ,
35
50
" xs" : 0.75rem ,
You can’t perform that action at this time.
0 commit comments