Skip to main content

CSS Manifest driven styleguide for your project

Project description

A Python library to build a styleguide from a CSS manifest file.

It is way of building a styleguide without to write declarations inside CSS comments in your stylesheets.

You build a manifest in a dedicated CSS file and it will be parsed and serialized so you can use it in your code or templates to build a styleguide.

Why a dedicated CSS file for a manifest ? Because it can be automatically writed from your Sass sources. Obviously it would only work if your design is driven by variables like with Foundation for Site or Bootstrap.

Manifest syntax rules are writed so the CSS file is still a valid CSS, mostly using CSS3 variables.

This library provides:

  • An API to load a CSS manifest and return it has structured datas;

  • A Sass source with some mixin helpers to help you to write CSS manifest from your Sass sources;

This library doesn’t provide template or application to build the styleguide page, it’s up to you to integrate it in your project.

Dependancies

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-css-styleguide-0.7.0.tar.gz (13.1 kB view details)

Uploaded Source

File details

Details for the file py-css-styleguide-0.7.0.tar.gz.

File metadata

  • Download URL: py-css-styleguide-0.7.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

File hashes

Hashes for py-css-styleguide-0.7.0.tar.gz
Algorithm Hash digest
SHA256 0dc58d708bf0b6456b5209e6af2cf1d0720b2e550e92911f470cb36862325d87
MD5 cc50d13d4ce82dba01afc71bb1e8ae64
BLAKE2b-256 aebf0205606de64ea3807a39f7dc59d9cd6dc93a0f19c3da732a76900a927b6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page