38 releases
Uses new Rust 2024
| new 0.0.11-canary.efc7e551f1 | Dec 29, 2025 |
|---|---|
| 0.0.10 | Dec 28, 2025 |
| 0.0.7-canary.f08affa44d | Oct 27, 2025 |
#47 in Text editors
3.5MB
48K
SLoC
csskit
A comprehensive CSS toolchain for formatting, linting, minifying, and building CSS.
Purpose
csskit is a complete CSS toolchain that provides formatting, linting, minification, transpilation, bundling, and analysis in a single binary. It aims to be "CSS's missing toolchain" - providing everything you need without reaching into external ecosystems. Developed to make writing CSS more fun, productive, and easier.
Features
- 💅 Format: Opinionated code formatting to keep your CSS consistent
- 🔍 Lint: Find mistakes and get helpful suggestions to write better CSS
- ⚡ Minify: Blazing fast compression that optimizes your CSS for production
- 🔄 Transpile: Use modern CSS features with automatic browser compatibility
- 📦 Bundle: Smart bundling that combines and optimizes your CSS files
- 🔬 Analyze: Deep insights into your CSS with color analysis and usage reports
- 💻 LSP: integrates with Zed and VSCode for real-time guidance and code completion.
Usage
# Format CSS files
csskit fmt styles.css
# Lint CSS
csskit lint styles.css
# Minify CSS
csskit min styles.css -o styles.min.css
# Build CSS bundles
csskit build src/main.css -o dist/bundle.css
# Analyze colors
csskit colors styles.css
# Start LSP server
csskit lsp
License
MIT
Dependencies
~13–18MB
~243K SLoC