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-no-pure-black-shadow.md
1---2title: Use Neutral Colors for Shadows, Not Pure Black3impact: MEDIUM4tags: visual, shadow, color, neutral5---67## Use Neutral Colors for Shadows, Not Pure Black89Pure black shadows look harsh and artificial. Use deep neutrals or semi-transparent dark colors.1011**Incorrect (pure black):**1213```css14.card {15box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);16}17```1819**Correct (neutral shadow):**2021```css22.card {23box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);24}25```26