mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-01 04:34:50 -04:00
Format front
This commit is contained in:
parent
e8bd663ad7
commit
e176664bb4
@ -23,7 +23,7 @@ import { px } from "yoshiki/native";
|
|||||||
|
|
||||||
export const important = <T,>(value: T): T => {
|
export const important = <T,>(value: T): T => {
|
||||||
return `${value} !important` as T;
|
return `${value} !important` as T;
|
||||||
}
|
};
|
||||||
|
|
||||||
export const ts = (spacing: number) => {
|
export const ts = (spacing: number) => {
|
||||||
return px(spacing * 8);
|
return px(spacing * 8);
|
||||||
|
@ -19,7 +19,17 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { KyooImage, WatchStatusV } from "@kyoo/models";
|
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 { ImageStyle, Platform, View } from "react-native";
|
||||||
import { max, percent, px, rem, Stylable, Theme, useYoshiki } from "yoshiki/native";
|
import { max, percent, px, rem, Stylable, Theme, useYoshiki } from "yoshiki/native";
|
||||||
import { Layout, WithLoading } from "../fetch";
|
import { Layout, WithLoading } from "../fetch";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user