Repository navigation
Conversation
The Game page's new "Launcher look" row: Light (the cartridge as it is) or Dark (the same cartridge in dark plastic: a dark grey shell, a near-black label, cream words, the controller's colours a little lighter and their tints deep). Kept in launcher.ini (theme=); RELINK_THEME chooses for one run. Theme.cs gives App.xaml's colours before the window is made, so a change shows the next time ReLink opens, as the launcher's language does. Measured, WCAG contrast on the label (light -> dark): the words 11.9 -> 13.4, the choices 4.6 -> 7.4, the section titles 3.0 -> 4.6, the hints 7.6 -> 9.3; red, green and blue as links 3.4-4.9 -> 4.5; white on a chosen pill 4.2-6.0 -> 3.7 (one colour for both: on this label no shade gives 4.5 to both); the label against the shell 1.66 -> 1.45. The colours the pages wrote out (the Home cards, the language field, the hover shades, the status card) are named resources now, and the theme's colours are DynamicResource (a StaticResource in App.xaml's styles had already taken the light brush). The words on the yellow are OnYellow, dark in both themes. Light is unchanged: its snapshots match the earlier ones pixel for pixel (ReLink.exe --snapshot, every view), but for the sun of the hour and the new row. Not in this change: the in-game Insert / F1 menu (gpu/vk/vk_menu.cpp) keeps its own colours. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er's look row too - vk_menu.cpp: the cartridge's colours as two palettes (light: as before; dark: the launcher's dark theme), picked before each paint; the yellow "restart" tag and the listening key keep a readable ink in both - A "Menu look" row (Gameplay > More), saved as menu_look in relink_options.ini; recomplauncher.json has it too - Launcher: the Launcher look row also sets menu_look, so both follow the same choice Tested on the dev game (fsr4 + this branch): the launcher's Dark pick writes theme=dark and menu_look=1, the launcher reopens dark, the menu opens dark on every tab and the mapping page, and its row switches it live both ways. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
Merged into 0.7.9.3 (https://github.com/pixl27/ProjectReLink/releases/tag/v0.7.9.3), through the hotfix branch rather than this pull request, with your authorship kept in the commit ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Asked for on Discord: a dark mode for the launcher and the Insert/F1 menu.
Launcher
launcher.ini(theme=), applied when the launcher opens (like the launcher language), so a change shows on the next opening.RELINK_THEME=light|darkforces it for one run (tests, pictures).Theme.csswaps App.xaml's brushes before the window is made; the theme keys are nowDynamicResource, and the few hard-coded colours (cards, status card, hovers, field, ink on yellow) became resources.In-game menu (Insert/F1)
vk_menu.cpp, picked before each paint.menu_lookinrelink_options.ini, also inrecomplauncher.json); it switches live.menu_looktoo, so both follow one choice.Tested
On a dev game (this branch merged with
fsr4, onlyrelink_vk.dllrebuilt): picking Dark writestheme=darkandmenu_look=1; the launcher reopens dark; the menu opens dark on Graphics, Gameplay, Controls and the mapping page; its row switches light ↔ dark live.relink_vk.dlland the launcher also build on this branch alone (from main).🤖 Generated with Claude Code