mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[PM-16057] use Roboto as primary font (#14553)
* swap to using roboto variable font
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
@font-face {
|
||||
font-family: "DM Sans";
|
||||
font-family: Roboto;
|
||||
src:
|
||||
url("webfonts/dm-sans.woff2") format("woff2 supports variations"),
|
||||
url("webfonts/dm-sans.woff2") format("woff2-variations");
|
||||
url("webfonts/roboto.woff2") format("woff2 supports variations"),
|
||||
url("webfonts/roboto.woff2") format("woff2-variations");
|
||||
font-display: swap;
|
||||
font-weight: 100 900;
|
||||
}
|
||||
|
||||
Binary file not shown.
BIN
libs/angular/src/scss/webfonts/roboto.woff2
Normal file
BIN
libs/angular/src/scss/webfonts/roboto.woff2
Normal file
Binary file not shown.
@@ -123,7 +123,7 @@ export class AvatarComponent implements OnChanges {
|
||||
textTag.setAttribute("fill", Utils.pickTextColorBasedOnBgColor(color, 135, true));
|
||||
textTag.setAttribute(
|
||||
"font-family",
|
||||
'"DM Sans","Helvetica Neue",Helvetica,Arial,' +
|
||||
'Roboto,"Helvetica Neue",Helvetica,Arial,' +
|
||||
'sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"',
|
||||
);
|
||||
// Warning do not use innerHTML here, characters are user provided
|
||||
|
||||
@@ -21,7 +21,7 @@ $body-bg: $white;
|
||||
$body-color: #333333;
|
||||
|
||||
$font-family-sans-serif:
|
||||
"DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
||||
Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
||||
"Segoe UI Symbol";
|
||||
|
||||
$h1-font-size: 1.7rem;
|
||||
|
||||
Reference in New Issue
Block a user