Skip to main content

avalonia-design-tokens

Étoiles13
Forks0
Mis à jour3 juin 2026 à 20:05

Package a design system (colours, accent, typography, spacing, control styles) as a shared reusable Avalonia 11 resource set so every app starts wearing the house style. Use when standardizing the look across several Avalonia tools, when defining brand tokens like an accent colour or app font in one place, when building a dark theme, when control styles should be centralized rather than copied per window, or when extracting scattered inline colours and fonts into named resources. Covers organizing Colors, SolidColorBrushes and a font family as keyed resources, merging a ResourceDictionary into App.Resources, control Styles and selectors, theme variants and the Fluent SystemAccentColor override, StaticResource versus DynamicResource, and sharing the token file across projects. Triggers on Avalonia theme, design tokens, ResourceDictionary, accent colour, app font, dark theme, control styles, SystemAccentColor, DynamicResource, shared styles.

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

SKILL.md
readonly