Skip to content

Commit

Permalink
Bigger font size for console and developer text
Browse files Browse the repository at this point in the history
Added an SCSS variable that sets the default font size for in-game console text and console printout (from `developer 1`), and made the default size slightly bigger to accommodate for smaller game windows (i.e. 1280x720)
  • Loading branch information
HugoBDesigner committed Oct 21, 2024
1 parent 6d6a05d commit 7517f39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions styles/config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ $font-shadows: (
$font-default-color: $white !default;
$font-disabled-color: color.scale($font-default-color, $lightness: -20%) !default;
$font-default-size: 18px !default;
$font-console-default-size: 14px !default;

$font-primary: 'Roboto' !default;
$font-secondary: 'Roboto', Arial, sans-serif !default;
Expand Down
2 changes: 1 addition & 1 deletion styles/hud/console-notify.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
& > MultiselectLabel {
text-shadow: 0 2px 3px rgba(0, 0, 0, 1);
font-family: $font-monospace;
font-size: 11px;
font-size: $font-console-default-size;
}
}
}
2 changes: 1 addition & 1 deletion styles/pages/console.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
&__message-target > MultiselectLabel {
text-shadow-fast: none;
font-family: $font-monospace;
font-size: 11px;
font-size: $font-console-default-size;
margin-right: 16px;
}

Expand Down

0 comments on commit 7517f39

Please sign in to comment.