spences10/devhub-crm · Archived

styling-patterns

DaisyUI v5 design system. Use for backgrounds, borders, text sizes, opacity, semantic colors, and spacing.

First seen Mar 13, 2026

Installation

$ npx skills add spences10/devhub-crm --skill styling-patterns

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from spences10/devhub-crm.

npx skills add spences10/devhub-crm

Browse all from spences10/devhub-crm

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Also listed on

Alternate registries and mirrors of this skill.

Repository health

Stars 6
Default branch main
Open issues 1
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,360 B
  • docs README.md 438 B
  • docs SUMMARY.md 148 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

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](references/styling-guide.md) - Complete design

system with all rules and examples