summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2025-07-21 10:05:39 -0400
committerGitHub <noreply@github.com>2025-07-21 10:05:39 -0400
commit9573344450de451b8f9c7295c11318010d67f1d5 (patch)
tree1df1f75d3add63a65b9554a08c54165f41bf415f /src/utils
parenta5796c1bd7957731215e858d169f2831a328cb55 (diff)
downloadDecky-Framegen-9573344450de451b8f9c7295c11318010d67f1d5.tar.gz
Decky-Framegen-9573344450de451b8f9c7295c11318010d67f1d5.zip
Refresh UI (#117)v0.11.2
* initial visual refinement * rm dupe status pops * hide other menus if uninstalled opti * bump ver * fix ver bump
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/constants.ts42
1 files changed, 33 insertions, 9 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index fe78dd0..c949521 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -17,11 +17,32 @@ export const STYLES = {
padding: '12px',
marginTop: '16px',
backgroundColor: 'var(--decky-selected-ui-bg)',
- borderRadius: '4px'
+ borderRadius: '8px',
+ border: '1px solid var(--decky-border-color)',
+ fontSize: '14px'
},
- statusSuccess: { color: "green" },
- statusError: { color: "red" },
- preWrap: { whiteSpace: "pre-wrap" as const }
+ statusInstalled: {
+ color: '#22c55e',
+ fontWeight: 'bold',
+ fontSize: '14px'
+ },
+ statusNotInstalled: {
+ color: '#f97316',
+ fontWeight: 'bold',
+ fontSize: '14px'
+ },
+ statusSuccess: { color: "#22c55e" },
+ statusError: { color: "#ef4444" },
+ preWrap: { whiteSpace: "pre-wrap" as const },
+ instructionCard: {
+ padding: '14px',
+ backgroundColor: 'var(--decky-selected-ui-bg)',
+ borderRadius: '8px',
+ border: '1px solid var(--decky-border-color)',
+ marginTop: '8px',
+ fontSize: '13px',
+ lineHeight: '1.4'
+ }
};
// Common timeout values
@@ -32,11 +53,14 @@ export const TIMEOUTS = {
// Message strings
export const MESSAGES = {
- modInstalled: "OptiScaler Mod Is Installed",
- modNotInstalled: "OptiScaler Mod Not Installed",
- installing: "Installing...",
+ modInstalled: "✅ OptiScaler Mod Installed",
+ modNotInstalled: "❌ OptiScaler Mod Not Installed",
+ installing: "Installing OptiScaler...",
installButton: "Install OptiScaler FG Mod",
- uninstalling: "Uninstalling...",
+ uninstalling: "Removing OptiScaler...",
uninstallButton: "Uninstall OptiScaler FG Mod",
- instructionText: "Install the OptiScaler-based mod above, then select and patch a game below to enable DLSS replacement with FSR Frame Generation. Map a button to \"insert\" key to bring up the OptiScaler menu in-game."
+ installSuccess: "✅ OptiScaler mod installed successfully!",
+ uninstallSuccess: "✅ OptiScaler mod removed successfully.",
+ instructionTitle: "How to Use:",
+ instructionText: "Select and patch a game below to enable frame generation (or use clipboard button to copy and paste into launch options)\n\nIn-game: Enable DLSS in graphics settings, or assign a back button to keyboard's 'Insert' key for extended OptiScaler options"
};