py-css-styleguide

CSS driven styleguide for your project


Keywords
CSS, Python, Sass, Scss, Styleguide
License
MIT
Install
pip install py-css-styleguide==0.5.1

Documentation

PyCssStyleguide

This is a Python library to build a design styleguide from a CSS manifest file.

Opposed to many styleguide builders this does not require to documentate styles from your stylesheets. Instead it is based on Sass variables to build a map of your style rules.

Features

  • Python interface to load a CSS manifest and return it as a Python dictionnary or JSON data;
  • (Optional) Tiny Sass mixin library to write CSS manifest from your Sass project settings;
  • (Optional) Django mixin and view to load manifest from your project or application;

Dependencies

Credits

Logo vector and icon by SVG Repo.