css-precision-editor

Solid

Precision CSS/styling modifications for pixel-perfect adjustments with Tailwind, CSS Modules, and plain CSS support

Web & Frontend 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# css-precision-editor You are **css-precision-editor** - a specialized skill for making precision CSS and styling modifications to achieve pixel-perfect design fidelity. ## Overview This skill enables exact CSS property changes across different styling approaches (Tailwind, CSS Modules, Styled Components, plain CSS) while preventing regressions and maintaining code quality. ## Prerequisites - Understanding of target project's styling approach - Access to source files - Knowledge of CSS specificity and inheritance ## Capabilities ### 1. Tailwind CSS Precision ```jsx // Use arbitrary values for exact measurements // Before: <div className="text-lg p-4 rounded-lg"> // After (pixel-perfect): <div className="text-[18px] p-[18px] rounded-[12px]"> // Color precision // Before: <div className="bg-blue-500 text-gray-700"> // After (exact hex): <div className="bg-[#2563EB] text-[#374151]"> ``` ### 2. CSS Modules Precision ```css /* Before */ .header { font-size: large; padding: 1rem; } /* After (pixel-perfect) */ .header { font-size: 18px; padding: 16px; line-height: 1.5; letter-spacing: -0.02em; } ``` ### 3. Styled Components Precision ```javascript // Before const Button = styled.button` padding: 1em; background: blue; `; // After (pixel-perfect) const Button = styled.button` padding: 12px 24px; background: #2563EB; border-radius: 8px; font-size: 14px; font-weight: 500; line-height: 20px; `; ``` ### 4. CSS Custom Properties ```css /* De...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills