uno-toolkit-system-theme-helper
Use SystemThemeHelper to detect system theme (light/dark), check if dark mode is active, and set application theme. Provides static methods for theme retrieval and management.
Source facts
- Repository
- unoplatform/studio
- Last source activity
- June 9, 2026 at 19:39
- Detected SKILL.md language
- English
- Stars
- 10
- Forks
- 1
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
Showing SKILL.md
- name
- uno-toolkit-system-theme-helper
- description
- Use SystemThemeHelper to detect system theme (light/dark), check if dark mode is active, and set application theme. Provides static methods for theme retrieval and management.
- when_to_use
- Use when reading or programmatically switching dark / light mode from C# (not the XAML `ThemeResource` lookup path) โ detecting the current system theme, setting the application theme at runtime, or toggling between modes.
- metadata
- {"author":"uno-platform","version":"2.4","category":"toolkit"}