Skip to content

csskit/csskit

Repository files navigation

csskit

CSS Toolchain

csskit is a suite of high performance tools for CSS, written in Rust, inspired by the oxidation compiler.

Rename!

csskit used to be called hdx, but thanks to @sethvincent it's now called csskit. Go give Seth a follow for being a gracious person and transferring the name!

Goals

The goal of this project is to provide a high quality set of tools for writing native CSS and shipping said CSS into production the best way possible. This means:

  • Preventing mistakes at author time (parsing & linting).
  • Advising best practices and highlighting pitfalls (linting).
  • Allow consistent homogeneous code to be written (formatting).
  • Allowing the authorship of modern CSS that is downsampled for browser support ("transpiling").
  • Provides integration with IDEs (LSP).
  • Producing the smallest available artefacts (minification & bundling).
  • Provide a way for authors to migrate from alternative authoring formats (such as SCSS).

Roadmap

This project is in the very early stages, and has yet to meet any of its goals. Here is a rough order of operations to get there: