https://gitlab.synchro.net/main/sbbs/-/commit/7d66cd8aec7cdab6c6f4a2e4
Modified Files:
src/syncterm/Wren.adoc src/syncterm/scripts/auto/menu/main_menu.wren src/syncterm/scripts/auto/picker/file_picker.wren src/syncterm/scripts/classic_theme.wren syncterm.wren syncterm_picker.wren ui_app.wren ui_widget_test.wren src/syncterm/wren_bind.c wren_bind_fs.c wren_bind_picker.c wren_bind_picker.h wren_menu_host.c wren_picker_host.c
Log Message:
wren: apply the configured theme to every App
Apps outside the main menu previously inherited Theme.default, while
the menu and picker wired ClassicTheme independently. This gave
connected and standalone dialogs different selected-button colors from
the rest of SyncTERM.
Expose the six configured palette indexes as read-only Host.themeColors
in all three Wren VMs. Have App.new() build ClassicTheme.current from
them. Remove the menu and picker-specific theme injection and picker
request color copy while retaining explicit app.theme overrides and live settings updates.
Document the program-wide default and test that a new App receives the configured Classic Theme.
Co-Authored-By: OpenAI Codex <
[email protected]>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)