mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-22 16:51:20 +00:00

- set new colors using the css variables for theming in tailwind.config.js - replace admin and public colors with new variable enabled colors
23 lines
411 B
PHP
23 lines
411 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Views\Components\Forms;
|
|
|
|
class Helper extends FormComponent
|
|
{
|
|
/**
|
|
* @var 'default'|'error'
|
|
*/
|
|
protected string $type = 'default';
|
|
|
|
public function render(): string
|
|
{
|
|
$class = 'text-skin-muted';
|
|
|
|
return <<<HTML
|
|
<small id="{$this->id}" class="{$class} {$this->class}">{$this->slot}</small>
|
|
HTML;
|
|
}
|
|
}
|