mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-04 03:36:29 +08:00
10 lines
293 B
TypeScript
10 lines
293 B
TypeScript
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);
|
|
}
|