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.
Informações da origem
- Repositório
- unoplatform/studio
- Última atividade na origem
- 9 de junho de 2026 às 19:39
- Idioma detectado do SKILL.md
- inglês
- Estrelas
- 10
- Forks
- 1
Opções de instalação
Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.
Revise os arquivos de origem
Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.
Exibindo 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"}