Skip to content

Commit

Permalink
fix: avoid jsr slow type error
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham committed Sep 20, 2024
1 parent b481dff commit fc4035a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,17 @@ export type ColorFormat = Readonly<{
accent: boolean;
}>;

const { version: jsonVersion, ...jsonFlavors } = definitions;
const jsonFlavors = {
"latte": definitions.latte,
"frappe": definitions.frappe,
"macchiato": definitions.macchiato,
"mocha": definitions.mocha,
};

/**
* The version of the Catppuccin palette
*/
export const version = jsonVersion;
export const version = definitions.version;

/**
* All flavors of Catppuccin
Expand Down

0 comments on commit fc4035a

Please sign in to comment.