mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-03-05 18:27:30 +08:00
Update
This commit is contained in:
9
hooks/useTextStyles.ts
Normal file
9
hooks/useTextStyles.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import {textStyles} from '@/constants/TextStyles';
|
||||
import {useThemeColor} from './useThemeColor';
|
||||
import {useScale} from './useScale';
|
||||
|
||||
export function useTextStyles() {
|
||||
const linkColor = useThemeColor({}, 'link');
|
||||
const scale = useScale() ?? 1.0;
|
||||
return textStyles(scale, linkColor);
|
||||
}
|
||||
Reference in New Issue
Block a user