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 "design-system";
|
||||||
@use "sass:map";
|
@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: (
|
$text-variants: (
|
||||||
display: ("md"),
|
display: ("md"),
|
||||||
heading: ( "sm", "md", "lg"),
|
heading: ( "sm", "md", "lg"),
|
||||||
@ -26,8 +31,6 @@ $text-variants: (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.mm-text {
|
.mm-text {
|
||||||
// Set default styles
|
// Set default styles
|
||||||
color: var(--color-text-default);
|
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/solid';
|
||||||
@import '../../../node_modules/@fortawesome/fontawesome-free/scss/regular';
|
@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: (
|
$typography-variants: (
|
||||||
'h1': 2.5rem,
|
'h1': 2.5rem,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user