Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
spences10 avatar

Styling Patterns

  • 2 installs
  • 6 repo stars
  • Updated August 3, 2026
  • spences10/devhub-crm

Provides a DaisyUI v5 design system covering background hierarchy, borders, text sizes, opacity rules, and semantic colors.

About

Documents DaisyUI v5 styling rules for background hierarchy, text-size scale, opacity usage, and semantic colors. A developer uses it to keep consistent visual styling across an app.

  • Background hierarchy base-200 to base-100 to base-200, never same as parent
  • Opacity only 60/70/80 and only on metadata, never titles or buttons

Styling Patterns by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #1,562 of 1,880 Design & UI/UX skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/spences10/devhub-crm --skill styling-patterns

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
repo stars6
Last updatedAugust 3, 2026
Repositoryspences10/devhub-crm

What it does

Provides a DaisyUI v5 design system covering background hierarchy, borders, text sizes, opacity rules, and semantic colors.

Files

SKILL.mdMarkdownGitHub ↗

Styling Patterns

Quick Start

<!-- ✅ Correct: Proper background hierarchy -->
<div class="bg-base-200 p-6">
	<div class="card bg-base-100 p-4 shadow-md">
		<h2 class="mb-3 text-2xl font-bold">Section Title</h2>
		<p class="text-base">Main content text</p>
		<p class="text-sm opacity-60">Secondary metadata</p>
	</div>
</div>

<!-- ❌ Wrong: Same background as parent -->
<div class="bg-base-100">
	<div class="card bg-base-100">No visual separation</div>
</div>

Core Principles

  • Background hierarchy: base-200 (page) → base-100 (card) →

base-200 (nested) - never same as parent

  • Borders: Use border-base-300 solid (no opacity)
  • Text sizes: 3xl (h1) → 2xl (h2) → xl (h3) → base (body) → sm

(metadata) → xs (hints)

  • Opacity: ONLY 60/70/80, ONLY on metadata/descriptions (never

titles/buttons/primary actions)

  • Shadows: md (default) → lg (hover) → xl (important)
  • Semantic colors: error/success should NOT have opacity
  • Test contrast: Always verify on both light and dark themes

Reference Files

  • styling-guide.md - Complete design

system with all rules and examples

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.