diff options
Diffstat (limited to 'apps/web/src/lib/fonts')
| -rw-r--r-- | apps/web/src/lib/fonts/types.ts | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/apps/web/src/lib/fonts/types.ts b/apps/web/src/lib/fonts/types.ts index a2db6f91..89ebce08 100644 --- a/apps/web/src/lib/fonts/types.ts +++ b/apps/web/src/lib/fonts/types.ts @@ -1,24 +1,24 @@ -export interface FontOption { - value: string; - label: string; - category: "system" | "google" | "custom"; - weights?: number[]; - hasClassName?: boolean; -} - -export interface GoogleFontMeta { - family: string; - category: string; -} - -export interface FontAtlasEntry { - x: number; - y: number; - w: number; - ch: number; - s: string[]; -} - -export interface FontAtlas { - fonts: Record<string, FontAtlasEntry>; -} +export interface FontOption {
+ value: string;
+ label: string;
+ category: "system" | "google" | "custom";
+ weights?: number[];
+ hasClassName?: boolean;
+}
+
+export interface GoogleFontMeta {
+ family: string;
+ category: string;
+}
+
+export interface FontAtlasEntry {
+ x: number;
+ y: number;
+ w: number;
+ ch: number;
+ s: string[];
+}
+
+export interface FontAtlas {
+ fonts: Record<string, FontAtlasEntry>;
+}
|
