UX: Remove Helvetica from our font stack (#11876)

Arial is more consistently available across operating systems and aligns better.
This commit is contained in:
Kris
2021-02-05 17:01:21 -05:00
committed by GitHub
parent 015ea28778
commit ded0f5b4e5
12 changed files with 61 additions and 40 deletions

View File

@@ -18,7 +18,7 @@ function renderIcon(canvas, img, count) {
canvas.height = canvas.width = img.width;
let ctx = canvas.getContext("2d");
ctx.font = `bold ${fontSize}px Helvetica, Arial, sans-serif`;
ctx.font = `bold ${fontSize}px Arial, sans-serif`;
if (count) {
ctx.globalAlpha = 0.4;

View File

@@ -19,7 +19,6 @@ div.tagsinput span.tag {
color: #638421;
margin-right: 5px;
margin-bottom: 5px;
font-family: helvetica;
font-size: $font-down-1;
}
@@ -31,7 +30,6 @@ div.tagsinput span.tag a {
}
div.tagsinput input {
width: 80px;
font-family: helvetica;
font-size: $font-down-1;
border: 1px solid transparent;
padding: 2px 5px;

View File

@@ -28,7 +28,7 @@ $pd-day-disabled-color: var(--primary) !default;
$pd-week-color: var(--primary) !default;
// Font
$pd-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$pd-font-family: Arial, sans-serif !default;
.pika-single {

View File

@@ -714,7 +714,7 @@ body.wizard {
line-height: $line-height-large;
font-size: 15px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
Oxygen-Sans, Ubuntu, Cantarell, Arial, sans-serif;
#wizard-main {
display: flex;