Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/solid-syntax-highlight-text-editor. Syntax highlighting text editor in Solid.js samualtnorman.github.io/solid-syntax-highlight-text-editor
Something went wrong. Try again.
1234567891011#!/usr/bin/env nodeimport { flavors } from "@catppuccin/palette"import { writeFileSync } from "fs"
writeFileSync(`src/catppuccin.css`, `\:root { color-scheme: light dark; ${flavors.latte.colorEntries.map(([ name, { hex } ]) => `--${name}: light-dark(${hex}, ${flavors.mocha.colors[name].hex})`).join(`;\n\t`)}}`)