medienbaecker/kirby-autofavicon
最新稳定版本:1.0.4
Composer 安装命令:
composer require medienbaecker/kirby-autofavicon
包简介
Kirby AutoFavicon
README 文档
README
Automatically generates an SVG favicon.
Usage
Insert <?php snippet('autofavicon') ?> in your <head> and the plugin will add link tags for modern browsers and Safari.
Options
By default, the plugin will use the first letter of your site title and a black or white background color — depending on the system's prefers-color-scheme setting. You can customize the text and colors in your config.php file:
# site/config/config.php return [ 'medienbaecker.autofavicon.text' => 'A', 'medienbaecker.autofavicon.color' => '#000000', 'medienbaecker.autofavicon.color_dark' => '#ffffff', 'medienbaecker.autofavicon.text_color' => '#ffffff', 'medienbaecker.autofavicon.text_color_dark' => '#000000', ]
Contributors
Thanks to sixtyeight for adding the text_color and text_color_dark options.
统计信息
- 总下载量: 240
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-14
