mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-03-13 04:46:23 +00:00
fix(tv): font sizes
This commit is contained in:
25
constants/TVTypography.ts
Normal file
25
constants/TVTypography.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* TV Typography Scale
|
||||
*
|
||||
* Consistent text sizes for TV interface components.
|
||||
* These sizes are optimized for TV viewing distance.
|
||||
*/
|
||||
|
||||
export const TVTypography = {
|
||||
/** Hero titles, movie/show names - 70px */
|
||||
display: 70,
|
||||
|
||||
/** Episode series name, major headings - 42px */
|
||||
title: 42,
|
||||
|
||||
/** Section headers (Cast, Technical Details, From this Series) - 32px */
|
||||
heading: 32,
|
||||
|
||||
/** Overview, actor names, card titles, metadata - 20px */
|
||||
body: 20,
|
||||
|
||||
/** Secondary text, labels, subtitles - 16px */
|
||||
callout: 16,
|
||||
} as const;
|
||||
|
||||
export type TVTypographyKey = keyof typeof TVTypography;
|
||||
Reference in New Issue
Block a user