syncfusion-maui-theming

$npx mdskill add syncfusion/maui-ui-components-skills/syncfusion-maui-theming

Apply and customize themes for Syncfusion .NET MAUI components.

  • Apply light or dark themes like MaterialLight and CupertinoDark.
  • Depends on SyncfusionThemeResourceDictionary and theme resource keys.
  • Selects theme based on user preference or system dark mode.
  • Delivers consistent styling via merged resource dictionaries.

SKILL.md

.github/skills/syncfusion-maui-themingView on GitHub ↗
---
name: syncfusion-maui-theming
description: Themes and styles Syncfusion .NET MAUI components. Use when working with SyncfusionThemeResourceDictionary, MaterialLight, MaterialDark, CupertinoLight, CupertinoDark, visual themes, or theme switching. This skill covers theme customization, color overrides, theme keys, dark mode, light mode, and branding.
metadata:
  author: "Syncfusion Inc"
  version: "34.1.29"
---

# Theming in Syncfusion .NET MAUI

Complete guide for applying, customizing, and creating themes across all Syncfusion .NET MAUI components.

## When to Use This Skill

Use this skill when you need to:
- Apply light or dark themes (MaterialLight, MaterialDark, CupertinoLight, CupertinoDark)
- Configure `SyncfusionThemeResourceDictionary` in applications
- Switch themes dynamically at runtime
- Override default theme colors for specific controls
- Customize control-specific styles and appearances
- Create completely custom themes from scratch
- Apply consistent branding across all components
- Implement system theme synchronization
- Troubleshoot theme-related styling issues
- Find theme keys for specific UI elements

## Component Overview

Syncfusion's theming system provides a unified way to style all MAUI components through the `SyncfusionThemeResourceDictionary`. This centralized approach offers:

- **Automatic Merging**: Control-specific styles automatically included
- **Consistent Appearance**: Uniform look across all components
- **Easy Theme Switching**: Change themes at runtime
- **Flexible Customization**: Override specific keys or create custom themes
- **Platform Themes**: Material and Cupertino design support

**Available Themes:**
- `MaterialLight` - Material Design light theme
- `MaterialDark` - Material Design dark theme
- `CupertinoLight` - Apple iOS light theme
- `CupertinoDark` - Apple iOS dark theme

## Documentation and Navigation Guide

### Basic Theme Setup
📄 **Read:** [references/applying-themes.md](references/applying-themes.md)
- Installing and configuring SyncfusionThemeResourceDictionary
- Available theme options (Material, Cupertino)
- Setting up themes in App.xaml
- Automatic merging of control styles
- Platform-specific theme application
- VisualTheme property usage

### Runtime Theme Switching
📄 **Read:** [references/theme-switching.md](references/theme-switching.md)
- Dynamically changing themes at runtime
- ViewModel pattern for theme management
- Removing and adding theme dictionaries
- User preference persistence
- Syncing with system/OS theme
- Edge cases and troubleshooting

### Customizing Default Themes
📄 **Read:** [references/overriding-themes.md](references/overriding-themes.md)
- Overriding specific theme color keys
- Control-specific key customization
- Primary vs control-specific keys
- Merged dictionaries layer order
- Selective customization strategies
- Common branding scenarios

### Creating Custom Themes
📄 **Read:** [references/creating-custom-themes.md](references/creating-custom-themes.md)
- Building themes from scratch
- Theme key registration pattern
- Custom color scheme definition
- Complete theme implementation
- Corporate branding themes
- Accessibility themes (high contrast)

### Theme Keys Reference
📄 **Read:** [references/theme-keys-reference.md](references/theme-keys-reference.md)
- Key naming conventions
- Structure: Sf{ControlName}{Element}{Property}
- Common control keys by category
- Finding keys for any control
- Official documentation references

More from syncfusion/maui-ui-components-skills

SkillDescription
syncfusion-maui-accordionImplements Syncfusion .NET MAUI Accordion (SfAccordion) - a vertically collapsible panel with stacked headers for expanding/collapsing content. Use when working with accordions, collapsible panels, expandable lists, employee lists with details, or FAQ sections in .NET MAUI applications. Covers AccordionItem configuration, expand modes, and grouped content display.
syncfusion-maui-ai-assistviewImplements Syncfusion .NET MAUI AI AssistView (SfAIAssistView) for AI-powered interactive chat interfaces. Use when working with AI chat interfaces, AI AssistView, SfAIAssistView, conversational UI, or chat with AI responses. Covers integrating AI services, creating chat UIs, implementing conversation flows, managing AI requests/responses, and displaying AI suggestions.
syncfusion-maui-autocompleteImplements and configure Syncfusion .NET MAUI Autocomplete (SfAutocomplete) control for intelligent text input with suggestions. Use when implementing autocomplete, autosuggest, type-ahead search, smart search, or filtered dropdowns in .NET MAUI applications. Covers data binding, filtering modes, custom search logic, AI-powered search, multi-selection with tokens, and UI customization.
syncfusion-maui-avatar-viewImplements Syncfusion .NET MAUI Avatar View (SfAvatarView) for displaying user profile pictures, initials, or group avatars. Use when working with avatar views, profile pictures, user images, initials display, profile icons, or contact images. Ideal for implementing user profile displays, contact lists, chat interfaces, or social feeds.
syncfusion-maui-backdropImplements Syncfusion .NET MAUI Backdrop Page (SfBackdropPage) with back layer and front layer surfaces. Use when working with backdrop pages, SfBackdropPage, back layer, front layer, or reveal/conceal animations. Covers backdrop navigation patterns, header icons, corner shapes, reveal height, layer state events, and liquid glass effect.
syncfusion-maui-badge-viewImplements Syncfusion .NET MAUI Badge View (SfBadgeView) control. Use when adding badge notifications, status indicators, unread counts, or notification overlays to MAUI applications. Covers SfBadgeView setup, badge text customization, position adjustments, animations, predefined symbols, and accessibility features.
syncfusion-maui-barcode-generatorImplements Syncfusion .NET MAUI Barcode Generator (SfBarcodeGenerator) for generating machine-readable barcodes. Use when working with barcodes, barcode generation, QR codes, data matrix, EAN codes, UPC codes, Code128, or Code39. This skill covers both one-dimensional (linear) and two-dimensional (matrix) barcode symbologies with extensive customization options.
syncfusion-maui-busy-indicatorImplements Syncfusion .NET MAUI Busy Indicator (SfBusyIndicator) for showing loading states, data processing, and app activity indicators. Use when displaying loading indicators, busy animations, activity spinners, or processing feedback in .NET MAUI apps. Covers busy indicator setup, animations, and visual feedback during long-running operations.
syncfusion-maui-buttonImplements and customize Syncfusion .NET MAUI Button (SfButton) control. Use when working with MAUI buttons, SfButton implementation, button customization, or visual states. Covers button icons, background images, RTL support, Liquid Glass effects, custom button views, button styling, events, and checkable buttons.
syncfusion-maui-calendarImplements and customize Syncfusion .NET MAUI Calendar (SfCalendar) control. Use when implementing calendar functionality, date selection (single, multiple, range), or calendar views (month, year, decade, century). Covers date restrictions (min/max dates, EnablePastDates, SelectableDayPredicate), calendar customization, events (ViewChanged, SelectionChanged, Tapped), and header/footer customization.