An open API service indexing awesome lists of open source software.

https://github.com/sveetch/py-css-styleguide

CSS Manifest driven styleguide for your project
https://github.com/sveetch/py-css-styleguide

css python sass scss styleguide

Last synced: 11 months ago
JSON representation

CSS Manifest driven styleguide for your project

Awesome Lists containing this project

README

          

.. _Python: https://www.python.org/
.. _tinycss2: https://github.com/Kozea/tinycss2
.. _Click: https://click.palletsprojects.com
.. _colorlog: https://pypi.org/project/colorlog/

PyCssStyleguide
===============

This is a Python library and commandline script 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;
* Commandline script to parse a CSS manifest and dump a JSON of parsed references;
* (Optional) 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;

Links
*****

* Read the documentation on `Read the docs `_;
* Download its `PyPi package `_;
* Clone it on its `Github repository `_;

Dependencies
************

* `Python`_>=3.8;
* `tinycss2`_>=1.1.0;
* `Click`_>=8.0;
* `colorlog`_>=6.8.2;

Credits
*******

Logo vector and icon by `SVG Repo `_.