mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
tintless.js -> postprocess.js
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Add tintless variables and OKLCH coords as comments to palette CSS files.
|
||||
* Run via node tintless.js
|
||||
* Post-process palette CSS files to add core colors, oklch coordinates etc.
|
||||
* Run via node postprocess.js
|
||||
* Warning: Will overwrite existing files. Check the diff before committing!
|
||||
*/
|
||||
import chalk from 'chalk';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import palettes, { rawPalettes } from './palettes-analyzed.js';
|
||||
import palettes from './palettes-analyzed.js';
|
||||
import { PALETTE_DIR, formatComparison, hueToChalk } from './util.js';
|
||||
|
||||
const selector = paletteId =>
|
||||
Reference in New Issue
Block a user