Themeing#48
Merged
quiteboring merged 10 commits intoCobaltScripts:masterfrom Feb 11, 2026
Merged
Conversation
Author
|
dont merge yet i still need to implement importing and exporting |
Author
Author
|
i just need to resolve conflict then i would say its ready to merge |
Author
|
done |
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.

Sorry i couldn't bother writing a summary myself so here is AI summary:
This pull request introduces a comprehensive UI theming system to the project, enabling support for multiple themes (such as Dark, Light, and Custom), dynamic theme switching, and theme persistence across sessions. The implementation includes a
Themeinterface, concrete theme classes, a theme manager, color palette utilities, and integration with the configuration system for saving and loading user themes. Additionally, UI components have been updated to use the active theme's colors instead of hardcoded values.Theming System Core:
Themeinterface defining a wide range of color properties for UI elements, serving as the contract for all theme implementations.DarkTheme,LightTheme, and a mutableCustomThemefor user-defined palettes. [1] [2] [3]ThemeManageras a singleton to handle theme registration, switching, and retrieval of the current theme.ThemePaletteutility to generate and apply color schemes toCustomThemeinstances, supporting easy customization and derivation of theme colors.Persistence and Configuration:
themes.json), including serialization/deserialization of custom themes and restoring the last selected theme on startup. [1] [2]UI Integration:
UIAddonEntry,UIBackButton) to use theme-based colors fromThemeManager.currentThemeinstead of hardcoded color values, enabling dynamic theme changes throughout the UI. [1] [2] [3]Animation Utility:
ColorAnimationwith a new method to interpolate between two color integers, supporting smooth animated transitions between theme colors. [1] [2]