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/visual-border-alpha-colors.md
1---2title: Use Semi-Transparent Borders for Subtle Separation3impact: MEDIUM4tags: visual, border, alpha, separation5---67## Use Semi-Transparent Borders for Subtle Separation89Semi-transparent borders adapt to any background color and create subtle, non-jarring separation.1011**Incorrect (hardcoded border color):**1213```css14.card {15border: 1px solid #e5e5e5;16}17```1819**Correct (alpha border):**2021```css22.card {23border: 1px solid var(--gray-a4);24}25```26