| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentSupport\App\Services\Blocks; |
| 4 |
|
| 5 |
class BlockAttributes |
| 6 |
{ |
| 7 |
/** |
| 8 |
* @param array An array of attributes used for styling. |
| 9 |
*/ |
| 10 |
public static function CustomerPortalAttributes() |
| 11 |
{ |
| 12 |
return [ |
| 13 |
'containerBorderRadius' => [ |
| 14 |
'type' => 'number', |
| 15 |
'default' => 16, |
| 16 |
], |
| 17 |
'primaryButtonBgColor' => [ |
| 18 |
'type' => 'string', |
| 19 |
'default' => 'rgba(14, 18, 27, 1)', |
| 20 |
], |
| 21 |
'primaryButtonTextColor' => [ |
| 22 |
'type' => 'string', |
| 23 |
'default' => 'rgba(255, 255, 255, 1)', |
| 24 |
], |
| 25 |
'secondaryButtonBgColor' => [ |
| 26 |
'type' => 'string', |
| 27 |
'default' => 'rgba(255, 255, 255, 1)', |
| 28 |
], |
| 29 |
'secondaryButtonTextColor' => [ |
| 30 |
'type' => 'string', |
| 31 |
'default' => '#18181B', |
| 32 |
], |
| 33 |
'ticketInputBorderRadius' => [ |
| 34 |
'type' => 'number', |
| 35 |
'default' => 10, |
| 36 |
], |
| 37 |
'avatarBorderRadius' => [ |
| 38 |
'type' => 'string', |
| 39 |
'default' => '50%', |
| 40 |
], |
| 41 |
'showLogoutButton' => [ |
| 42 |
'type' => 'boolean', |
| 43 |
'default' => false, |
| 44 |
], |
| 45 |
'selectedMailbox' => [ |
| 46 |
'type' => 'number', |
| 47 |
'default' => 0, |
| 48 |
] |
| 49 |
]; |
| 50 |
} |
| 51 |
} |
| 52 |
|