From 6fadd8a0f5fc9cea8488b26c382a39d3bb766fc2 Mon Sep 17 00:00:00 2001 From: Lugiad <2070109+Adri1@users.noreply.github.com> Date: Thu, 26 Jun 2025 17:39:15 +0200 Subject: [PATCH] Added new TextStyle --- src/ui/text.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ui/text.ts b/src/ui/text.ts index 72bb55c63a8..9a1a1d37f1a 100644 --- a/src/ui/text.ts +++ b/src/ui/text.ts @@ -39,6 +39,7 @@ export enum TextStyle { SETTINGS_SELECTED, SETTINGS_LOCKED, EGG_LIST, + STARTER_VALUE_LIMIT, TOOLTIP_TITLE, TOOLTIP_CONTENT, MOVE_INFO_CONTENT, @@ -362,6 +363,11 @@ export function getTextStyleOptions( case TextStyle.EGG_LIST: styleOptions.fontSize = defaultFontSize - 34; break; + case TextStyle.STARTER_VALUE_LIMIT: + styleOptions.fontSize = defaultFontSize - 36; + shadowXpos = 3; + shadowYpos = 3; + break; case TextStyle.TOOLTIP_CONTENT: { switch (lang) { case "ja": @@ -471,6 +477,7 @@ export function getTextColor(textStyle: TextStyle, shadow?: boolean, uiTheme: Ui case TextStyle.MOVE_PP_FULL: case TextStyle.EGG_LIST: case TextStyle.TOOLTIP_CONTENT: + case TextStyle.STARTER_VALUE_LIMIT: case TextStyle.SETTINGS_VALUE: if (isLegacyTheme) { return !shadow ? "#484848" : "#d0d0c8";