Repository navigation
Implement HasTheme interface for theme switching compatibility - #179
hallo123wert wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The four themes now expose their styling through HasTheme rather than applying it directly during registration. The changes are limited to theme presentation and introduce no evident material operational or data risk. You can add or adjust custom eligibility rules. Learn more. |
Migrate all theme plugins to the
HasThemecontractPlugincontract to App'sHasThemecontract for theme switching compatibilityregister()andboot()are now empty; colors, font, and Vite entry previously applied to the panel are exposed throughgetThemeColors(),getThemeFont(), andgetThemeViteEntry()getThemeRenderHooks()returns an empty array in all four pluginsboot(); the app's theme-switching code must now call theHasThemegetters. Also, Pterodactyl's direct mono-font and serif-font panel settings are removed.Macroscope summarized de6aad1.
Summary by CodeRabbit