Skip to content

Commit

Permalink
fix: generate --color-ctp variables
Browse files Browse the repository at this point in the history
Based on a fix by @brianseidman on catppuccin#19
  • Loading branch information
Jaezmien committed Feb 5, 2025
1 parent ac67d5e commit 589187f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ const generateColorCss = (
result[keyName][`--ctp-${color}`] = parseHexToRGB(
palette[variant][color]
);
result[keyName][`--color-ctp-${color}`] = parseHexToRGB(
palette[variant][color]
);
});
});

Expand Down

0 comments on commit 589187f

Please sign in to comment.