mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-05-26 08:46:45 +01:00
Chore/tv interface scaling (#1591)
Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
This commit is contained in:
@@ -79,10 +79,10 @@ export const TVAnimation = {
|
||||
* Applied to poster sizes and gaps.
|
||||
*/
|
||||
const sizeScaleMultipliers: Record<TVTypographyScale, number> = {
|
||||
[TVTypographyScale.Small]: 0.9,
|
||||
[TVTypographyScale.Default]: 1.0,
|
||||
[TVTypographyScale.Large]: 1.1,
|
||||
[TVTypographyScale.ExtraLarge]: 1.2,
|
||||
[TVTypographyScale.Small]: 0.63,
|
||||
[TVTypographyScale.Default]: 0.7,
|
||||
[TVTypographyScale.Large]: 0.77,
|
||||
[TVTypographyScale.ExtraLarge]: 0.84,
|
||||
};
|
||||
|
||||
// =============================================================================
|
||||
|
||||
@@ -37,10 +37,10 @@ export type TVTypographyKey = keyof typeof TVTypography;
|
||||
// =============================================================================
|
||||
|
||||
const scaleMultipliers: Record<TVTypographyScale, number> = {
|
||||
[TVTypographyScale.Small]: 0.85,
|
||||
[TVTypographyScale.Default]: 1.0,
|
||||
[TVTypographyScale.Large]: 1.2,
|
||||
[TVTypographyScale.ExtraLarge]: 1.4,
|
||||
[TVTypographyScale.Small]: 0.6,
|
||||
[TVTypographyScale.Default]: 0.7,
|
||||
[TVTypographyScale.Large]: 0.84,
|
||||
[TVTypographyScale.ExtraLarge]: 0.98,
|
||||
};
|
||||
|
||||
// =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user