Color.php
1 day ago
InputType.php
1 day ago
Positions.php
1 day ago
Size.php
1 day ago
Variant.php
1 day ago
Variant.php
45 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Button Variant constants |
| 4 | * |
| 5 | * @package Tutor\Components |
| 6 | * @author Themeum |
| 7 | * @link https://themeum.com |
| 8 | * @since 4.0.0 |
| 9 | */ |
| 10 | |
| 11 | namespace Tutor\Components\Constants; |
| 12 | |
| 13 | defined( 'ABSPATH' ) || exit; |
| 14 | /** |
| 15 | * Class for containing variant constants |
| 16 | * |
| 17 | * @since 4.0.0 |
| 18 | */ |
| 19 | abstract class Variant { |
| 20 | |
| 21 | /** |
| 22 | * Semantic Variants |
| 23 | * |
| 24 | * @since 4.0.0 |
| 25 | * |
| 26 | * @var string |
| 27 | */ |
| 28 | public const PRIMARY = 'primary'; |
| 29 | public const PRIMARY_SOFT = 'primary-soft'; |
| 30 | |
| 31 | public const DESTRUCTIVE = 'destructive'; |
| 32 | public const DESTRUCTIVE_SOFT = 'destructive-soft'; |
| 33 | |
| 34 | public const SECONDARY = 'secondary'; |
| 35 | public const OUTLINE = 'outline'; |
| 36 | public const GHOST = 'ghost'; |
| 37 | public const GHOST_BRAND = 'ghost-brand'; |
| 38 | public const LINK = 'link'; |
| 39 | public const LINK_GRAY = 'link-gray'; |
| 40 | public const LINK_DESTRUCTIVE = 'link-destructive'; |
| 41 | |
| 42 | public const BRAND = 'brand'; |
| 43 | public const WARNING = 'warning'; |
| 44 | } |
| 45 |