Frontend Css Patterns
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
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.mdtokens 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 tailwindpath whenDESIGN.mdis present
Install
$ npx -y skills add majesticlabs-dev/majestic-marketplace --skill frontend-css-patterns -yInstalls 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 2Similar to Frontend Css Patterns
More Frontend & UI Codetailwind-css-patternsgiuseppe-trisciuoglio/developer-kit18.5K installsModern Tailwind CSS v4.1 patterns for responsive layouts, components, dark mode, and accessibility.
tailwind-patternssickn33/agentic-awesome-skills1.5K installsTailwind CSS v4 principles covering CSS-first theming, container queries, and design token architecture.
tailwindcsshairyf/skills5.5K installsUtility-first CSS framework reference covering layout, typography, visuals, and v4 theme customization for building responsive interfaces.
tailwind-cssmanutej/luxor-claude-marketplace465 installsUtility-first CSS framework for building responsive, production-ready interfaces by composing single-purpose classes in markup.
design-tokensjulianoczkowski/designer-skills6.4K installsGenerates a philosophy-driven design tokens file with light and dark palettes, spacing, type, and motion scales.
ui-stylingnextlevelbuilder/ui-ux-pro-max-skill60.3K installsPragmatic styling guide pairing shadcn/ui components with Tailwind CSS and canvas-based visual design.