Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Living wiki of UI design patterns and best practices built with Fumadocs, Next.js, and Base UI components.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
rules/native-selection-styling.md
1---2title: Use ::selection for Text Styling3impact: LOW4tags: native, selection, text5---67## Use ::selection for Text Styling89Use ::selection for text selection styling.1011**Correct:**1213```css14::selection {15background: var(--blue-a5);16color: var(--gray-12);17}18```19