docs-css

Provide CSS component classes and layout utilities for MC-ORG web templates.

Updated Jun 26, 2022
One-click install
npx skills add https://github.com/evengul/mc-org --skill docs-css
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-css
Source: https://github.com/evengul/mc-org/tree/main/.claude/skills/docs-css
Command: npx skills add https://github.com/evengul/mc-org --skill docs-css

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a standardized way to style web elements within the MC-ORG application, ensuring visual consistency and reducing the need for custom CSS.

Core Features & Use Cases

  • Component Classes: Predefined classes for common UI elements like buttons, forms, cards, and badges.
  • Layout Utilities: Helpers for grid, flexbox, stacking, and spacing to build responsive layouts.
  • Design Tokens: Access to core design variables for colors, spacing, and typography.
  • Use Case: When creating a new form in the MC-ORG interface, use the provided form-control classes and layout utilities to ensure it matches the application's design language.

Quick Start

Apply the 'btn btn--action' classes to a button element to style it as a primary action.

Frequently Asked Questions about docs-css

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

FAQPage Schema
What are CSS component classes and how do they standardize web styling?

CSS component classes are predefined styling rules for UI elements like buttons and forms. They standardize web styling by enforcing design tokens for colors and spacing, reducing custom CSS across HTML templates.

How do I style a button using predefined CSS utility classes?

To style a button using predefined CSS utility classes, apply the 'btn btn--action' classes to your HTML button element. This instantly applies the standardized primary action styling from the design system.

Can I build responsive grid and flexbox layouts without custom CSS?

Yes, you can build responsive layouts without custom CSS using the provided layout utilities. The Skill includes helper classes for grid, flexbox, stacking, and spacing to structure responsive interfaces.

Does this CSS styling approach work for existing HTML templates?

Yes, this CSS styling approach works for existing HTML templates by applying predefined component and utility classes directly to HTML elements. This ensures visual consistency without requiring structural template changes.

How do I access color and spacing variables for UI components?

You access color and spacing variables through predefined design tokens included in the Skill. These tokens provide core variables for colors, spacing, shadows, and typography to maintain design language consistency.

When should I avoid using predefined component classes for frontend styling?

You should avoid using predefined component classes when your frontend design requires highly customized visual elements that deviate significantly from the established design tokens, spacing rules, and standard UI component structures.