Add Config Files

This commit is contained in:
ayushDumasia 2024-09-12 22:26:43 +05:30
parent ade387bdb6
commit f071a73fdb
520 changed files with 45353 additions and 1 deletions

View file

@ -0,0 +1,23 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.flavorEntries = exports.flavors = void 0;
const palette_js_1 = __importDefault(require("./palette.js"));
const entriesFromObject = (obj) => Object.entries(obj);
/**
* All flavors of Catppuccin
*/
exports.flavors = entriesFromObject(palette_js_1.default)
.reduce((acc, [flavorName, flavor]) => {
acc[flavorName] = {
...flavor,
colorEntries: entriesFromObject(flavor.colors),
};
return acc;
}, {});
/**
* A typed `Object.entries()` iterable of all Catppuccin flavors
*/
exports.flavorEntries = entriesFromObject(exports.flavors);