Skip to content

Commit

Permalink
change shield font to medium weight
Browse files Browse the repository at this point in the history
  • Loading branch information
claysmalley committed Oct 7, 2023
1 parent d364151 commit 115341f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shieldlib/src/screen_gfx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import rgba from "color-rgba";

const defaultFontFamily = '"sans-serif-condensed", "Arial Narrow", sans-serif';
export const shieldFont = (size: number, fontFamily: string) =>
`bold ${size}px ${fontFamily || defaultFontFamily}`;
`500 ${size}px ${fontFamily || defaultFontFamily}`;
export const fontSizeThreshold = 12;

// Replaces `sourceVal` with a blend of `lightenVal` and `darkenVal` proportional to the brightness;
Expand Down

0 comments on commit 115341f

Please sign in to comment.