Skip to Content
← Firat Honca

CSS-to-Rust Converter

  • Python
  • Rust
  • CLI

A comprehensive Python CLI for converting CSS into Rust stylist format for Yew applications. It parses complex CSS, including media queries and pseudo-selectors, and maps values onto theme variables automatically.

It groups output into organized Rust modules, detects style variants, and supports custom JSON mappings, bridging traditional CSS workflows and modern Rust web development.

Highlights

  • Smart CSS parsing with media queries and pseudo-selectors
  • Automatic mapping to theme/design-token variables
  • Component grouping into Rust modules with variant detection
  • Rich CLI with progress bars and CSS analysis tools
← Back to all projects