<?php
declare(strict_types=1);
namespace PpPhp\Packages\Ui\Ppui\Foundation\Definitions;
final class ThemeDefinition extends AbstractDefinition
{
    public function inherits(): ?string { return isset($this->metadata['inherits']) ? (string)$this->metadata['inherits'] : null; }
    public function tokens(): array { return is_array($this->metadata['tokens'] ?? null) ? $this->metadata['tokens'] : []; }
}
