chore: add codeigniter-icons library as dependency + fix styling
This commit is contained in:
parent
d731ddd6c3
commit
9b534b21cf
|
@ -42,7 +42,9 @@ class Alert extends Component
|
|||
$this->variant = 'default';
|
||||
}
|
||||
|
||||
$glyph = icon(($this->glyph ?? $variants[$this->variant]['glyph']), ['class' => 'flex-shrink-0 mr-2 text-lg']);
|
||||
$glyph = icon(($this->glyph ?? $variants[$this->variant]['glyph']), [
|
||||
'class' => 'flex-shrink-0 mr-2 text-lg',
|
||||
]);
|
||||
$title = $this->title === null ? '' : '<div class="font-semibold">' . $this->title . '</div>';
|
||||
$class = 'inline-flex w-full p-2 text-sm border rounded ' . $variants[$this->variant]['class'] . ' ' . $this->class;
|
||||
|
||||
|
|
|
@ -26,12 +26,8 @@
|
|||
"opawg/user-agents-v2-php": "dev-main",
|
||||
"phpseclib/phpseclib": "~2.0.47",
|
||||
"vlucas/phpdotenv": "v5.6.0",
|
||||
<<<<<<< HEAD
|
||||
"whichbrowser/parser": "^v2.1.8",
|
||||
=======
|
||||
"whichbrowser/parser": "^v2.1.7",
|
||||
"yassinedoghri/codeigniter-icons": "dev-develop",
|
||||
>>>>>>> 644a47fb (refactor(icons): use php-icons library to load icons)
|
||||
"yassinedoghri/podcast-feed": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -5,14 +5,11 @@ declare(strict_types=1);
|
|||
use PHPIcons\Config\PHPIconsConfig;
|
||||
|
||||
return PHPIconsConfig::configure()
|
||||
->withPaths([
|
||||
__DIR__ . '/app',
|
||||
__DIR__ . '/themes',
|
||||
])
|
||||
->withPaths([__DIR__ . '/app', __DIR__ . '/themes'])
|
||||
->withLocalIconSets([
|
||||
'funding' => __DIR__ . '/app/Resources/icons/funding',
|
||||
'funding' => __DIR__ . '/app/Resources/icons/funding',
|
||||
'podcasting' => __DIR__ . '/app/Resources/icons/podcasting',
|
||||
'social' => __DIR__ . '/app/Resources/icons/social',
|
||||
'social' => __DIR__ . '/app/Resources/icons/social',
|
||||
])
|
||||
->withDefaultPrefix('ri')
|
||||
->withPlaceholder('<27>');
|
||||
|
|
Loading…
Reference in New Issue