Add Config Files
This commit is contained in:
parent
ade387bdb6
commit
f071a73fdb
520 changed files with 45353 additions and 1 deletions
17
.config/hypr/node_modules/@catppuccin/palette/esm/mod.js
generated
vendored
Normal file
17
.config/hypr/node_modules/@catppuccin/palette/esm/mod.js
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
import definitions from "./palette.js";
|
||||
const entriesFromObject = (obj) => Object.entries(obj);
|
||||
/**
|
||||
* All flavors of Catppuccin
|
||||
*/
|
||||
export const flavors = entriesFromObject(definitions)
|
||||
.reduce((acc, [flavorName, flavor]) => {
|
||||
acc[flavorName] = {
|
||||
...flavor,
|
||||
colorEntries: entriesFromObject(flavor.colors),
|
||||
};
|
||||
return acc;
|
||||
}, {});
|
||||
/**
|
||||
* A typed `Object.entries()` iterable of all Catppuccin flavors
|
||||
*/
|
||||
export const flavorEntries = entriesFromObject(flavors);
|
Loading…
Add table
Add a link
Reference in a new issue