Skip to content

Framework-agnostic CSS patterns for distinctive typography, limited color themes, motion, and broken-grid layouts.

CCM score
49 of 100
skills.sh installs
183
GitHub stars
50
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers typography pairings and fluid scales, color and theme tokens, page-load and scroll reveal motion, and spatial composition
  • Maps DESIGN.md tokens to CSS custom properties and resolves {token.ref} values before generating styles
  • Prohibits invented colors, fonts, or spacing when tokens exist, and warns against generic defaults like Inter and system-ui
  • Includes Tailwind theme customization, plus a design-md export --format tailwind path when DESIGN.md is present

Install

$ npx -y skills add majesticlabs-dev/majestic-marketplace --skill frontend-css-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Frontend CSS Patterns

Implementation patterns for distinctive visual design.

Design Token Integration

If the project contains a DESIGN.md file, use its tokens as the source of truth:

/* Map DESIGN.md tokens to CSS custom properties */
:root {
  --color-primary: /* from {colors.primary} */;
  --color-accent: /* from {colors.accent} */;
  --font-display: /* from {typography.display.fontFamily} */;
  --spacing-md: /* from {spacing.md} */;
}

Do not invent colors, fonts, or spacing values when tokens are defined. Resolve {token.ref} references from YAML frontmatter before generating CSS.

Typography

/* AVOID: Generic defaults */
font-family: Inter, system-ui, sans-serif;

/* PREFER: Distinctive pairings */
--font-display: 'Clash Display', 'Space Grotesk', sans-serif;
--font-body: 'Satoshi', 'General Sans', sans-serif;

/* Specific moods */
--font-luxury: 'Cormorant Garamond', serif;
--font-brutalist: 'JetBrains Mono', monospace;
--font-playful: 'Fredoka', 'Quicksand', sans-serif;

Typography scale:

Details

Repository
github.com/majesticlabs-dev/majestic-marketplace
Categories
Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

More from majesticlabs-dev/majestic-marketplace

All 2

Similar to Frontend Css Patterns

More Frontend & UI Code