jaspr-styling
CommunityStyle Jaspr components with typed CSS
Design & Creative#animations#web components#jaspr#frontend theming#type-safe styling#css-in-dart#layout (flex/grid)
Authorrodydavis
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you write correct, maintainable, type-safe styling for Jaspr components without guesswork or style leakage across the UI.
Core Features & Use Cases
- Component-scoped CSS-in-Dart: Define styles using the
@cssannotation on a static getter returningList<StyleRule>to keep styling local and predictable. - Safe composition rules: Use explicit selectors (classes/ids) and parent selectors like
css('&')to avoid unintended global impact. - Typed properties for layout and visuals: Apply strongly-typed
Styles/.styles()properties for color, typography, sizing, flexbox, grid, and interaction/box model concerns. - Animations and transitions guidance: Use
TransitionandAnimationtyping, including keyframes viacss.keyframes, to implement motion without stringly-typed errors. - When to use inline vs global styles: Use inline styles only for dynamic cases, and reserve complex rules (hover/media/animations) for
@css.
Quick Start
Ask the skill to generate a component example that uses an @css static getter to style a .main container, includes a hover rule, and adds a responsive media query while following Jaspr’s rules for selectors and inline styles.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jaspr-styling Download link: https://github.com/rodydavis/signals.dart/archive/main.zip#jaspr-styling Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.