syncfusion/blazor-ui-components-skills

syncfusion-blazor-themes

Customize and apply Syncfusion Blazor themes — Theme Studio color customization, CSS/SCSS integration, lightweight themes, component filtering, and Sass variable overrides

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-themes

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Syncfusion Blazor Themes

Complete guidance for applying and customizing Syncfusion Blazor component themes using Theme Studio, SCSS overrides, and production-ready best practices.

When to Use

Use this skill when you need to:

  • Apply a built-in Syncfusion theme (Material 3, Bootstrap 5, Fluent, Tailwind, etc.)
  • Customize theme colors interactively using Theme Studio
  • Generate a filtered, minimal CSS bundle for only the components you use
  • Override theme variables with Sass @use and CSS custom properties
  • Use lightweight theme variants to reduce bundle size
  • Import and re-use saved theme settings (settings.json)

Do NOT use for:

  • Initial Blazor project setup → use syncfusion-blazor-common
  • Script loading and CRG bundles → use syncfusion-blazor-common
  • CSP configuration for stylesheets → use syncfusion-blazor-security

Quick Reference

Available Themes at a Glance

ThemeDescription
Material 3Google Material Design 3 (recommended default)
Bootstrap 5Bootstrap 5 design system
Fluent / Fluent 2Microsoft Fluent Design System
Tailwind CSSTailwind CSS design tokens
Bootstrap 4Bootstrap 4 design system
MaterialOriginal Material Design
High ContrastWCAG-compliant accessible theme
Lightweight variants (e.g., fluent2-lite.css) exclude web fonts — ideal for offline or bandwidth-constrained environments.

Quick Setup: Add a Theme

Blazor Web App (.NET 8+)

Add to <head> in ~/Components/App.razor:

html
<link href="_content/Syncfusion.Blazor.Themes/material3.css" rel="stylesheet" />

Blazor WebAssembly Standalone

Add to <head> in wwwroot/index.html:

html
<link href="_content/Syncfusion.Blazor.Themes/material3.css" rel="stylesheet" />
⚠️ Important: Only reference one Syncfusion base theme at a time to avoid style conflicts.

Theme Studio Workflow

  1. Open Blazor Theme Studio
  2. Select a base theme and customize colors with live preview
  3. Filter to include only the components used in your app (reduces CSS size)
  4. Download the package — includes .css, .scss, and settings.json
  5. Copy the CSS to ~/wwwroot/styles/ and reference it in your host page
  6. Save settings.json to version control for future updates

SCSS Variable Override Example

scss
/* Custom.scss */
:root {
  --color-primary-override: 54, 34, 89;
}

@use 'material3.scss' with (
  $primary: var(#{--color-primary-override})
);

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills
syncfusion
Community

syncfusion-blazor-calendars

Comprehensive guide for implementing Syncfusion Blazor calendar components including Calendar, DatePicker, DateRangePicker, DateTimePicker, and TimePicker. Use this when building date selection interfaces, date range selection, date/time input, calendar displays, date constraints, formatting, globalization, and accessible calendar experiences in Blazor applications. Covers all calendar components from Syncfusion.Blazor.Calendars package.

Installationen
1
GitHub Stars
4
Aktualisiert
13. Okt.
syncfusion
Community

syncfusion-blazor-card

Build responsive card layouts with Syncfusion Blazor Card component. Use this when creating reusable card containers with headers, images, content, action buttons, and custom styling. This skill covers setup, structure, layouts, interactivity, and advanced customization.

Installationen
1
GitHub Stars
4
Aktualisiert
13. Okt.
syncfusion
Community

syncfusion-blazor-heatmap-chart

Implements the Syncfusion Blazor HeatMap Chart component for multi-dimensional data visualization using color-coded grids. Use this when working with heatmaps, data matrices, correlation displays, or bubble heatmap variants. This skill covers installation, data binding, axis configuration, color palettes, legends, tooltips, and accessibility features.

Installationen
1
GitHub Stars
4
Aktualisiert
13. Okt.
syncfusion
Community

syncfusion-blazor-maps

Implement interactive spatial data visualization with Syncfusion Maps component for Blazor. Use this skill when user needs to display geographic data, add markers/polygons to maps, integrate map providers (Google Maps, Bing Maps, Azure Maps, OpenStreetMap), create choropleth visualizations, handle user interactions with maps, export/print maps, support internationalization, implement accessibility features, or customize map styling and appearance.

Installationen
1
GitHub Stars
4
Aktualisiert
13. Okt.