Skip to content

Commit 5ea4a9f

Browse files
committed
fix(status-bg): fixed default value
1 parent b7e3446 commit 5ea4a9f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

examples/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const StatusRight = () => (
2525
)
2626

2727
export default {
28-
theme: 'dracula',
28+
theme: 'catppuccin-latte',
2929
options:{
3030
setTitlesString: " ",
3131
},

packages/cli/src/core/Theme.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ let getCurrent = (theme: option<string>) => {
44
let themePalette =
55
BetterTmux.themes
66
->Dict.get(theme)
7-
->Option.getOr(BetterTmux.themes->Dict.getUnsafe("catppuccinMocha"))
7+
->Option.getOr(BetterTmux.themes->Dict.getUnsafe("catppuccin-mocha"))
88

99
(themePalette, theme)
1010
}

packages/lib/src/hooks/use-theme.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ const catppuccinLatte = {
5050

5151

5252
export const themes = {
53-
nord,
54-
dracula,
55-
catppuccinLatte,
56-
catppuccinMocha,
57-
catppuccinMacchiato,
58-
catppuccinFrappe
53+
"nord": nord,
54+
"dracula": dracula,
55+
"catppuccin-latte": catppuccinLatte,
56+
"catppuccin-mocha": catppuccinMocha,
57+
"catppuccin-macchiato": catppuccinMacchiato,
58+
"catppuccin-frappe": catppuccinFrappe
5959
}
6060

6161
export function useTheme(): ThemePalette {

0 commit comments

Comments
 (0)