What problem does it solve?
This Skill removes the guesswork from styling Rikka custom elements by showing when to use shared Shadow DOM stylesheets, when to use inline style objects, and how to make styles respond to changing state.
Core Features & Use Cases
- Shadow DOM stylesheets: Create reusable component styles that are shared across instances through Shadow DOM adoption.
- Inline styling: Build plain style objects for direct use on element style attributes.
- Theming and fallbacks: Handle host selectors, signal-driven theme updates, stylesheet merging, and Light DOM fallback behavior.
- Use case: A component library author can define one card style system and apply it consistently across many Rikka elements without duplicating CSS.
Quick Start
Ask for a Rikka custom element example that uses shared Shadow DOM styling, inline style output, and signal-driven theming.