|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + /* |
| 5 | + |-------------------------------------------------------------------------- |
| 6 | + | Allowed Icon Sets |
| 7 | + |-------------------------------------------------------------------------- |
| 8 | + | |
| 9 | + | Define which icon sets should be available in the picker. |
| 10 | + | Leave empty array to allow all installed blade-icon sets. |
| 11 | + | |
| 12 | + | Example: ['heroicons', 'tabler', 'fontawesome'] |
| 13 | + | |
| 14 | + */ |
| 15 | + 'allowed_sets' => [], |
| 16 | + |
| 17 | + /* |
| 18 | + |-------------------------------------------------------------------------- |
| 19 | + | Icons Per Page |
| 20 | + |-------------------------------------------------------------------------- |
| 21 | + | |
| 22 | + | Number of icons to load initially and on each scroll batch. |
| 23 | + | Increase this value for faster browsing, decrease for better performance. |
| 24 | + | |
| 25 | + */ |
| 26 | + 'icons_per_page' => 100, |
| 27 | + |
| 28 | + /* |
| 29 | + |-------------------------------------------------------------------------- |
| 30 | + | Column Layout |
| 31 | + |-------------------------------------------------------------------------- |
| 32 | + | |
| 33 | + | Number of columns in the icon grid for different screen sizes. |
| 34 | + | |
| 35 | + */ |
| 36 | + 'columns' => [ |
| 37 | + 'default' => 6, |
| 38 | + 'sm' => 8, |
| 39 | + 'md' => 10, |
| 40 | + 'lg' => 12, |
| 41 | + ], |
| 42 | + |
| 43 | + /* |
| 44 | + |-------------------------------------------------------------------------- |
| 45 | + | Modal Size |
| 46 | + |-------------------------------------------------------------------------- |
| 47 | + | |
| 48 | + | The size of the icon picker modal. |
| 49 | + | Options: 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl', '7xl' |
| 50 | + | |
| 51 | + */ |
| 52 | + 'modal_size' => '4xl', |
| 53 | + |
| 54 | + /* |
| 55 | + |-------------------------------------------------------------------------- |
| 56 | + | Cache Icons |
| 57 | + |-------------------------------------------------------------------------- |
| 58 | + | |
| 59 | + | Whether to cache the icon list for better performance. |
| 60 | + | Set to false during development if you're adding new icons frequently. |
| 61 | + | |
| 62 | + */ |
| 63 | + 'cache_icons' => false, |
| 64 | + |
| 65 | + /* |
| 66 | + |-------------------------------------------------------------------------- |
| 67 | + | Cache Duration |
| 68 | + |-------------------------------------------------------------------------- |
| 69 | + | |
| 70 | + | How long to cache the icon list (in seconds). |
| 71 | + | Default: 86400 (24 hours) |
| 72 | + | |
| 73 | + */ |
| 74 | + 'cache_duration' => 86400, |
| 75 | +]; |
0 commit comments