This page permanently redirects to gemini://mfgames.com/blog/2024/05/09/refactoring-again/.

Refactoring Again (Priduck Color Theme)

=> Up a Level

Originally, when this theme was created, it made sense to create two separate packages to provide the theme, one for the CSS files themselves and the other for a CLI to generate the source files.

These we needed to generate GPL palettes for Inkscape[1] and that specific abstraction started to crumble. The result is that we merged the two Priduck repositories together and made it a single theme, with the intent that one would generate the files they want instead of a tiny package that just provided a single CSS variables version.

=> 1: https://inkscape.org/

This will also allow for the generation of character-specific stylesheets over at Fedran[2] not to mention the book covers over there.

=> 2: //fedran.com

The CLI

The CLI is pretty simple, a verb-based Node script that installs into the node_modules/.bin folder as usual:

$ priduck
priduck  [args]

Commands:
  priduck css      Generate CSS files
  priduck palette  Generate palette files

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Not enough non-option arguments: got 0, need at least 2

The three basic commands are:

Documentation

Along the process, a project can never be done if it isn't documented, so we wrote some documentation[3]. It gives the general gist of the tool. We'll expand on it some more “someday.”

=> 3: /priduck-color-theme-cli-js/

Metadata

Categories:

=> Priduck Color Theme

Footer

Below are various useful links within this site and to related sites (not all have been converted over to Gemini).

=> Categories

=> D. Moonfire | Fedran | The Moonfires

=> HTML

Proxy Information
Original URL
gemini://mfgames.com/blog/2024/05/09/refactoring-again
Status Code
Success (20)
Meta
text/gemini;lang=en-US
Capsule Response Time
987.725366 milliseconds
Gemini-to-HTML Time
2.452742 milliseconds

This content has been proxied by September (3851b).