Skip to content

Commit

Permalink
Update font-family overrides to use CSS var definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Romero <[email protected]>
  • Loading branch information
joshuarrrr committed Aug 3, 2023
1 parent 4ef03fe commit 112ceee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/maps_legacy/public/map/_leaflet_overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ $visMapLeafletSprite: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/s

@include fontSize(11px);

font-family: $euiFontFamily;
font-family: var(--font-text);
font-weight: $euiFontWeightMedium;
line-height: $euiLineHeight;

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/maps_legacy/public/map/_legend.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@include fontSize(11px);
@include euiBottomShadowMedium($color: $euiShadowColorLarge, $opacity: 0.1);

font-family: $euiFontFamily;
font-family: var(--font-text);
font-weight: $euiFontWeightMedium;
line-height: $euiLineHeight;
color: $euiColorDarkShade;
Expand Down

0 comments on commit 112ceee

Please sign in to comment.