<?php
declare(strict_types=1);

namespace PpPhp\Resources\Fonts\Inter;

use PpPhp\Core\Resources\Contracts\ResourcePackInterface;

final class Pack implements ResourcePackInterface
{
    public static function id(): string { return 'inter-font'; }
    public static function label(): string { return 'Inter Font'; }
    public static function type(): string { return 'fonts'; }
    public static function version(): string { return '1.0.0'; }

    public static function metadata(): array
    {
        return ['family' => 'Inter', 'provider' => 'google-fonts'];
    }

    public static function assets(): array
    {
        return ['css' => ['assets/vendor/inter/inter.css'], 'fonts' => []];   // localized (no CDN)
    }
}
