Skip to content

Commit

Permalink
Merge pull request #505 from jpudysz/fix/useUnistyles-theme-type
Browse files Browse the repository at this point in the history
fix: useUnistyles theme type
  • Loading branch information
Brentlok authored Jan 20, 2025
2 parents 59ca583 + 9fa26ff commit ef67633
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/useUnistyles.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import type { UnistylesTheme } from '../types'
import { useProxifiedUnistyles } from './useProxifiedUnistyles'

export const useUnistyles = () => {
const { proxifiedRuntime, proxifiedTheme } = useProxifiedUnistyles()

return {
theme: proxifiedTheme,
theme: proxifiedTheme as UnistylesTheme,
rt: proxifiedRuntime
}
}

0 comments on commit ef67633

Please sign in to comment.