Skip to content

Commit

Permalink
pref: update font-family to Inter-DFX
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazq committed Jan 23, 2025
1 parent 74447f8 commit f91ba7f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/feature/depth-chart/display-objects/horizontal-axis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ export class HorizontalAxis extends Container {
for (const node of ticks) {
const text = new Text(tickFormat(node), {
fill: colors.textSecondary,
fontFamily: "Arial",
fontFamily: "Inter-DFX",
fontSize: FONT_SIZE,
});
const tickMark = new Text("|", {
fill: colors.textSecondary,
fontFamily: "Arial",
fontFamily: "Inter-DFX",
fontWeight: "bold",
fontSize: 5,
});
Expand Down
2 changes: 1 addition & 1 deletion src/feature/depth-chart/display-objects/label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type LabelColors = Pick<Colors, "backgroundLabel" | "buyStroke" | "sellStroke">;
export class Label extends Container {
private text: Text = new Text("", {
fill: 0xffffff,
fontFamily: "Arial",
fontFamily: "Inter-DFX",
fontSize: 12,
});

Expand Down
4 changes: 2 additions & 2 deletions src/feature/depth-chart/display-objects/vertical-axis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ export class VerticalAxis extends Container {
for (const node of enter) {
const text = new Text(this.formatNumber(node), {
fill: colors.textSecondary,
fontFamily: "Arial",
fontFamily: "Inter-DFX",
fontSize: FONT_SIZE,
});
const tickMark = new Text("-", {
fill: colors.textSecondary,
fontFamily: "Arial",
fontFamily: "Inter-DFX",
fontSize: 10,
});

Expand Down
2 changes: 1 addition & 1 deletion src/ui/display-objects/horizontal-axis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class HorizontalAxis extends Container {
() =>
new Text("", {
fill: 0xffffff,
fontFamily: "Arial",
fontFamily: "Inter-DFX",
fontSize: FONT_SIZE,
}),
);
Expand Down

0 comments on commit f91ba7f

Please sign in to comment.