mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-18 15:04:43 +08:00
Refactor components for consistent styling and improve button animations
This commit is contained in:
@@ -11,7 +11,7 @@ export function useThemeColor(
|
||||
props: {light?: string; dark?: string},
|
||||
colorName: keyof typeof Colors.light & keyof typeof Colors.dark,
|
||||
) {
|
||||
const theme = useColorScheme() ?? 'light';
|
||||
const theme = useColorScheme() ?? 'dark';
|
||||
const colorFromProps = props[theme];
|
||||
|
||||
if (colorFromProps) {
|
||||
|
||||
Reference in New Issue
Block a user