91 lines
1.6 KiB
TypeScript
91 lines
1.6 KiB
TypeScript
import type {
|
|
FontCategory,
|
|
FontProvider,
|
|
FontSubset,
|
|
} from '$entities/Font';
|
|
import type { Property } from '$shared/lib';
|
|
|
|
export const FONT_CATEGORIES: Property<FontCategory>[] = [
|
|
{
|
|
id: 'serif',
|
|
name: 'Serif',
|
|
value: 'serif',
|
|
},
|
|
{
|
|
id: 'sans-serif',
|
|
name: 'Sans-serif',
|
|
value: 'sans-serif',
|
|
},
|
|
{
|
|
id: 'display',
|
|
name: 'Display',
|
|
value: 'display',
|
|
},
|
|
{
|
|
id: 'handwriting',
|
|
name: 'Handwriting',
|
|
value: 'handwriting',
|
|
},
|
|
{
|
|
id: 'monospace',
|
|
name: 'Monospace',
|
|
value: 'monospace',
|
|
},
|
|
{
|
|
id: 'script',
|
|
name: 'Script',
|
|
value: 'script',
|
|
},
|
|
{
|
|
id: 'slab',
|
|
name: 'Slab',
|
|
value: 'slab',
|
|
},
|
|
] as const;
|
|
|
|
export const FONT_PROVIDERS: Property<FontProvider>[] = [
|
|
{
|
|
id: 'google',
|
|
name: 'Google Fonts',
|
|
value: 'google',
|
|
},
|
|
{
|
|
id: 'fontshare',
|
|
name: 'Fontshare',
|
|
value: 'fontshare',
|
|
},
|
|
] as const;
|
|
|
|
export const FONT_SUBSETS: Property<FontSubset>[] = [
|
|
{
|
|
id: 'latin',
|
|
name: 'Latin',
|
|
value: 'latin',
|
|
},
|
|
{
|
|
id: 'latin-ext',
|
|
name: 'Latin Extended',
|
|
value: 'latin-ext',
|
|
},
|
|
{
|
|
id: 'cyrillic',
|
|
name: 'Cyrillic',
|
|
value: 'cyrillic',
|
|
},
|
|
{
|
|
id: 'greek',
|
|
name: 'Greek',
|
|
value: 'greek',
|
|
},
|
|
{
|
|
id: 'arabic',
|
|
name: 'Arabic',
|
|
value: 'arabic',
|
|
},
|
|
{
|
|
id: 'devanagari',
|
|
name: 'Devanagari',
|
|
value: 'devanagari',
|
|
},
|
|
] as const;
|