palpageproducer

A Python 3 program that generates HTML pages from stylesheet files.

Input: a SASS stylesheet (.scss), a LESS stylesheet (.less), or a GIMP palette (.gpl).

Output: an HTML document with boxes of the colors defined in the input file (in ~/.local/share/palpageproducer/output or the equivalent).

Dependencies:

Downloads

git clone https://www.twinkle-night.net/Code/palpageproducer.git

Latest Source (5.3 KiB) | Source signature

Python .egg (9.9 KiB) | .egg signature

Python .whl (18.2 KiB) | .whl signature

Usage Notes

I made this because I wanted an easy way to see what the colors in a webpage/game/etc. looked like together. Because Palette Page Producer also lists the variable names and hex codes of each color, it also makes it easy to copy a given value (e.g. to throw it into WebAIM’s Color Contrast Checker).

Caveats:

I’d like to eventually add command line options to specify column count and output filename, but those aren’t available yet.

Changelog

1.1.0

Initial public release.

License

Copyright 2019 Matthew Ellison.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses or write to:

Free Software Foundation
51 Franklin Street, Fifth Floor
Boston, MA 02110-1335
USA