From 7517f395efff3a2a9a4727da88205dc9216d36d8 Mon Sep 17 00:00:00 2001 From: HugoBDesigner Date: Mon, 21 Oct 2024 04:44:29 -0300 Subject: [PATCH] Bigger font size for console and developer text 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) --- styles/config.scss | 1 + styles/hud/console-notify.scss | 2 +- styles/pages/console.scss | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/styles/config.scss b/styles/config.scss index 4531ddef..3b80f0d9 100644 --- a/styles/config.scss +++ b/styles/config.scss @@ -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; diff --git a/styles/hud/console-notify.scss b/styles/hud/console-notify.scss index d1c762ac..5e6d39c9 100644 --- a/styles/hud/console-notify.scss +++ b/styles/hud/console-notify.scss @@ -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; } } } diff --git a/styles/pages/console.scss b/styles/pages/console.scss index 2e138857..7ea821ea 100644 --- a/styles/pages/console.scss +++ b/styles/pages/console.scss @@ -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; }