mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-19 13:56:04 +00:00
upgrade tailwind to v4
This commit is contained in:
@@ -36,6 +36,10 @@ export function useBkndSystemTheme() {
|
||||
return {
|
||||
theme: $sys.theme,
|
||||
set: $sys.actions.theme.set,
|
||||
toggle: () => $sys.actions.theme.toggle(),
|
||||
toggle: async () => {
|
||||
document.startViewTransition(async () => {
|
||||
await $sys.actions.theme.toggle();
|
||||
});
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user