public functionsetTheme(string $themeName) : void {
if (!isset(static::$themes[$themeName])) {
thrownew\InvalidArgumentException(\sprintf('Theme "%s" does not exist in class "%s".', $themeName, static::class));
}
$this->setStyles(static::$themes[$themeName]);
}