Skip to content

Commit d0f52f3

Browse files
committed
feat: add catppuccin mocha theme
1 parent 7ec0fe5 commit d0f52f3

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/core/exts/theme.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import unicorn from "../theme/unicorn";
88
import wtf from "../theme/wtf";
99
import radical from "../theme/radical";
1010
import chartreuse from "../theme/chartreuse";
11+
import catppuccinMocha from "../theme/catppuccin-mocha";
1112
import { Extension, Item } from "../types";
1213

1314
export const supported: Record<string, Theme> = {
@@ -19,7 +20,8 @@ export const supported: Record<string, Theme> = {
1920
wtf,
2021
transparent,
2122
radical,
22-
chartreuse
23+
chartreuse,
24+
catppuccinMocha
2325
};
2426

2527
export function ThemeExtension(): Extension {

src/core/theme/catppuccin-mocha.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { Theme } from "./_theme";
2+
3+
export default Theme({
4+
palette: {
5+
bg: ["#1e1e2e", "#45475a", "#45475a"],
6+
text: ["#cdd6f4", "#bac2de"],
7+
color: ["#fab387", "#a6e3a1", "#f9e2af", "#f38ba8"],
8+
},
9+
});

0 commit comments

Comments
 (0)