﻿<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="text" xml:lang="en">Priduck Color Theme</title>
  <link type="application/atom+xml" href="https://mfgames.com/priduck-color-theme-cli-js/atom.xml" rel="self" />
  <link type="text/html" href="https://mfgames.com/priduck-color-theme-cli-js/" rel="alternate" />
  <updated>2026-03-08T17:40:43Z</updated>
  <id>https://mfgames.com/priduck-color-theme-cli-js/</id>
  <author>
    <name>D. Moonfire</name>
  </author>
  <rights>Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International</rights>
  <entry>
    <title>Refactoring Again (Priduck Color Theme)</title>
    <link rel="alternate" href="https://mfgames.com/blog/2024/05/09/refactoring-again/" />
    <updated>2024-05-09T05:00:00Z</updated>
    <id>https://mfgames.com/blog/2024/05/09/refactoring-again/</id>
    <category term="priduck-color-theme" scheme="https://mfgames.com/categories/" label="Priduck Color Theme" />
    <content type="html">&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;These we needed to generate GPL palettes for &lt;a href="https://inkscape.org/"&gt;Inkscape&lt;/a&gt; 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.&lt;/p&gt;
&lt;p&gt;This will also allow for the generation of character-specific stylesheets over at &lt;a href="//fedran.com"&gt;Fedran&lt;/a&gt; not to mention the book covers over there.&lt;/p&gt;
&lt;h2&gt;The CLI&lt;/h2&gt;
&lt;p&gt;The CLI is pretty simple, a verb-based Node script that installs into the &lt;code&gt;node_modules/.bin&lt;/code&gt; folder as usual:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ priduck
priduck &amp;lt;cmd&amp;gt; [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
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The three basic commands are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;priduck css variables [--output /path/style.css]&lt;/code&gt; to generate the CSS variables CSS file.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;priduck css mixin&lt;/code&gt; to combine CSS fragments files instead a combination of media queries and data attributes for supporting &lt;code&gt;prefers-color-scheme&lt;/code&gt; and &lt;code&gt;prefers-contrast&lt;/code&gt; options.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;priduck palette gpl --hue [--output example.gpl]&lt;/code&gt; which generates a hue-specific palette file for GNU Imp and Inkscape.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Documentation&lt;/h2&gt;
&lt;p&gt;Along the process, a project can never be done if it isn't documented, so we wrote &lt;a href="/priduck-color-theme-cli-js/"&gt;some documentation&lt;/a&gt;. It gives the general gist of the tool. We'll expand on it some more &amp;ldquo;someday.&amp;rdquo;&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Deprecating Priduck (Priduck Color Theme)</title>
    <link rel="alternate" href="https://mfgames.com/blog/2024/12/20/deprecating-priduck/" />
    <updated>2024-12-20T06:00:00Z</updated>
    <id>https://mfgames.com/blog/2024/12/20/deprecating-priduck/</id>
    <category term="priduck-color-theme" scheme="https://mfgames.com/categories/" label="Priduck Color Theme" />
    <content type="html">&lt;p&gt;Sometimes, a path of development leads to a dead end. In this case, Priduck was written to create a more dynamic color theme based on a single color that was spread evenly around the color wheel using LCH colors.&lt;/p&gt;
&lt;p&gt;The idea was to support the bi-chromatic covers of &lt;a href="//fedran.com"&gt;Fedran&lt;/a&gt; which every point-of-view was assigned a color and it used a complementary color for accents. In our heads, it would create a striking display and would clearly identify books within a series easily.&lt;/p&gt;
&lt;p&gt;It was also too limiting. The current plan is to use a more static color scheme, in specific &lt;a href="https://www.reasonable.work/colors/"&gt;Reasonable Colors&lt;/a&gt; and allow a full gamut of colors on the book covers.&lt;/p&gt;
&lt;p&gt;That decision meant that this project doesn't make sense anymore. That isn't to say it doesn't have useful components in it, so it isn't going to be deleted from the repository.&lt;/p&gt;
&lt;p&gt;It might be resurrected in the future, it might not. We also a little vain, so if someone finds a compelling need to use these things and doesn't want to fork it (please do), then things might change.&lt;/p&gt;
&lt;p&gt;But for the time being, development on this project has ceased.&lt;/p&gt;
</content>
  </entry>
</feed>
