bnomei/kirby-blueprints

View on GitHub
classes/Blueprints/Attributes/Theme.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Theme extends GenericAttribute
{
    /**
     * Change the design of the info box (info, positive, negative)
     */
    public function __construct(
        public string $theme = 'info'
    ) {}
}