mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
typeface overwrite for new Text component
This commit is contained in:
parent
a83119ba95
commit
23f23249d4
@ -1,6 +1,11 @@
|
||||
@use "design-system";
|
||||
@use "sass:map";
|
||||
|
||||
:root {
|
||||
// needs !important sledgehammer as this file gets inlined earlier than design-system tokens. Also can't use the $font-family SASS variable here.
|
||||
--font-family-sans: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI','Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji' !important;
|
||||
}
|
||||
|
||||
$text-variants: (
|
||||
display: ("md"),
|
||||
heading: ( "sm", "md", "lg"),
|
||||
@ -26,8 +31,6 @@ $text-variants: (
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.mm-text {
|
||||
// Set default styles
|
||||
color: var(--color-text-default);
|
||||
|
@ -7,7 +7,7 @@ $fa-font-path: 'fonts/fontawesome';
|
||||
@import '../../../node_modules/@fortawesome/fontawesome-free/scss/solid';
|
||||
@import '../../../node_modules/@fortawesome/fontawesome-free/scss/regular';
|
||||
|
||||
$font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
$font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI','Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
||||
|
||||
$typography-variants: (
|
||||
'h1': 2.5rem,
|
||||
|
Loading…
Reference in New Issue
Block a user