Fix some errors from previous PR #711 (#716)

This commit is contained in:
Dakurei 2024-05-10 17:29:22 +02:00 committed by GitHub
parent 7bdb969a73
commit 593ac38267
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,6 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const fightUiHandler: SimpleTranslationEntries = { export const fightUiHandler: SimpleTranslationEntries = {
"pp": "PP", "pp": "PP",
"power": "Power", "power": "Potencia",
"accuracy": "Accuracy", "accuracy": "Accuracy",
} as const; } as const;

View File

@ -2,6 +2,6 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const fightUiHandler: SimpleTranslationEntries = { export const fightUiHandler: SimpleTranslationEntries = {
"pp": "PP", "pp": "PP",
"power": "Power", "power": "Potenza",
"accuracy": "Accuracy", "accuracy": "Accuracy",
} as const; } as const;

View File

@ -135,7 +135,7 @@ export function getTextColor(textStyle: TextStyle, shadow?: boolean, uiTheme: Ui
case TextStyle.MESSAGE: case TextStyle.MESSAGE:
return !shadow ? '#f8f8f8' : '#6b5a73'; return !shadow ? '#f8f8f8' : '#6b5a73';
case TextStyle.WINDOW: case TextStyle.WINDOW:
case TextStyle.MOVE_INFO_CONTENT: case TextStyle.MOVE_INFO_CONTENT:
case TextStyle.TOOLTIP_CONTENT: case TextStyle.TOOLTIP_CONTENT:
if (uiTheme) if (uiTheme)
return !shadow ? '#484848' : '#d0d0c8'; return !shadow ? '#484848' : '#d0d0c8';