Palette Page Producer
Input: a SASS stylesheet (.scss), a LESS stylesheet (.less), a GNU Image Manipulation Program palette (.gpl), or an Oomox colors file (often found in ~/config/oomox/colors).
Output: an HTML document with boxes of the colors defined in the input file (in ~/.local/share/palpageproducer/output or the equivalent).
Dependencies:
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:
- PPP doesn't check if the output already exists before overwriting.
- LESS files aren't as well-tested as the other formats yet and may have strange errors.
- The output uses some fancy CSS features (like
gridandvw) that not all browsers support. - RGB palette colors are converted to hex output. RGBA colors are ignored entirely.
- If color I.D.s are duplicated (e.g. a GNU IMP palette with multiple colors named "Untitled"), PPP automatically appends a number to the I.D. to avoid overlap problems. This means that the I.D.s seen in the output may not match to the originals 100%.
- The output uses a
<style>element in the<head>, rather than creating two separate (.HTML and .CSS) files. Some linters don't like<style>tags under any circumstances, so you may get false "invalid" results, but the output is indeed valid HTML5. - Very long color I.D.s (in excess of, say, 90 characters, although your definition of "very long" may vary) or column counts of 9 or more may break the output layout, force horizontal scrolling, and yield undesirable results.
Metadata
Release files for palpageproducer 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| palpageproducer-1.3.0.tar.gz | 21.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| palpageproducer-1.3.0-py3.9.egg | Legacy Egg format | - | - | Details |
| palpageproducer-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.3 kB
Release files / palpageproducer-1.3.0.tar.gz
| Download URL | palpageproducer-1.3.0.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
192b48cc3de1ba6e09e4c241a5c7c5524dde741831894f1f5bd370e8c284c279
|
|
BLAKE2b-256 checksum How to use checksums |
2330ee0079d36c08f452797add74f3a998f89b9674cc65d87df698cd162610a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/56.2.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.5
|
Release files / palpageproducer-1.3.0-py3.9.egg
| Download URL | palpageproducer-1.3.0-py3.9.egg |
|---|---|
| Size | 17.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
2f6ac49624c4e61bd2ee478d072be30551928010a8e7c9d9c2206c99a142dd47
|
|
BLAKE2b-256 checksum How to use checksums |
322f3197564fe3c4e47487364527cc9db4336360f9df789cdcb90d98b3d2908e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/56.2.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.5
|
Release files / palpageproducer-1.3.0-py3-none-any.whl
| Download URL | palpageproducer-1.3.0-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25929204b8d3c2376512ad5364b124d924bb988940c0b8c7615225e171968f9f
|
|
BLAKE2b-256 checksum How to use checksums |
0cde32e652d639b06d7a5ad5165c9be287eaa7350ab8daed0e0a2309678eead3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/56.2.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.5
|