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
- Host: GitHub
- URL: https://github.com/sveetch/py-css-styleguide
- Owner: sveetch
- License: mit
- Created: 2018-04-03T00:14:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-24T01:52:50.000Z (over 1 year ago)
- Last Synced: 2025-03-28T08:41:34.796Z (about 1 year ago)
- Topics: css, python, sass, scss, styleguide
- Language: Python
- Homepage: https://pycssstyleguide.readthedocs.io/
- Size: 202 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
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 `_.