section-backgrounds

Apply background utility classes to page sections for 60-30-10 color distribution.

Updated Nov 18, 2025
One-click install
npx skills add https://github.com/deomiarn/website-template --skill section-backgrounds
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: section-backgrounds
Source: https://github.com/deomiarn/website-template/tree/main/.claude/skills/section-backgrounds
Command: npx skills add https://github.com/deomiarn/website-template --skill section-backgrounds

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Applies a branded background pattern across sections with a 60-30-10 color rule for visual hierarchy and rhythm.

Core Features & Use Cases

  • 60-30-10 Rule: Dominant, secondary, and accent color distribution.
  • Alternating Backgrounds: Creates rhythm between sections (background, muted, etc.).
  • Visual Hierarchy: Guides user attention to headings, CTAs, and content.

Quick Start

Assign background utility classes per section (bg-background, bg-muted, bg-primary) and verify contrast with the foreground.

Frequently Asked Questions about section-backgrounds

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply a 60-30-10 color distribution across page sections?▼

The 60-30-10 rule applies a dominant color (60%) to primary sections, a secondary color (30%) to supporting areas, and an accent color (10%) for emphasis. Assign background utility classes—bg-background, bg-muted, bg-primary—across alternating sections to enforce this distribution and create visual hierarchy.

What's the best way to create alternating section backgrounds for visual rhythm?▼

Alternating section backgrounds establish consistent visual rhythm by cycling through designated background classes. This Skill applies those classes in a repeating pattern after removing inline styles, guiding user attention through contrasting sections while maintaining branding coherence.

How do I ensure contrast and visual hierarchy in section backgrounds?▼

Visual hierarchy is enforced by applying branding guidelines that alternate background colors and verify contrast between backgrounds and foreground elements. This ensures spacing and heading prominence while maintaining the 60-30-10 color rule across all sections.

Can I use background utility classes to clean up inline styles?▼

Yes. This Skill removes inline styles and replaces them with designated background utility classes (bg-background, bg-muted, bg-primary), standardizing your markup and enabling consistent application of branding guidelines across sections.

What problem does alternating background patterns solve in page design?▼

Alternating backgrounds prevent visual monotony and establish clear section separation, improving scanability and user engagement. They reinforce the 60-30-10 branding rule while creating a predictable visual rhythm that guides attention through content.