<?php
declare(strict_types=1);
namespace Termwind\Actions;
use Termwind\Exceptions\StyleNotFound;
use Termwind\Repositories\Styles as StyleRepository;
use Termwind\Terminal;
use Termwind\ValueObjects\Styles;
final class StyleToMethod
{
private const MEDIA_QUERIES_REGEX = "/^(sm|md|lg|xl|2xl)\:(.*)/";
public const MEDIA_QUERY_BREAKPOINTS = [
'sm' => 64,
'md' => 76,
'lg' => 102,
'xl' => 128,
'2xl' => 153,
];
public function __construct(
private Styles $styles,
private string $style,
) {
}