Format front

This commit is contained in:
Zoe Roux 2023-12-15 02:03:22 +01:00
parent e8bd663ad7
commit e176664bb4
2 changed files with 12 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import { px } from "yoshiki/native";
export const important = <T,>(value: T): T => {
return `${value} !important` as T;
}
};
export const ts = (spacing: number) => {
return px(spacing * 8);

View File

@ -19,7 +19,17 @@
*/
import { KyooImage, WatchStatusV } from "@kyoo/models";
import { Link, Skeleton, ts, focusReset, P, SubP, PosterBackground, Icon, important } from "@kyoo/primitives";
import {
Link,
Skeleton,
ts,
focusReset,
P,
SubP,
PosterBackground,
Icon,
important,
} from "@kyoo/primitives";
import { ImageStyle, Platform, View } from "react-native";
import { max, percent, px, rem, Stylable, Theme, useYoshiki } from "yoshiki/native";
import { Layout, WithLoading } from "../fetch";