messageagency/ma_signpost_icons
最新稳定版本:1.7
Composer 安装命令:
composer require messageagency/ma_signpost_icons
包简介
SVG signpost icon package.
README 文档
README
Signpost Icons
- Exposes an SVG icon field, formatter, and widget to allow admins to choose from a set of pre-defined SVG fields.
Usage
- After enabling this module, add {{ svg_symbols }} into your html.html.twig immediately following element
Developer info
svg/src/contains all the SVG source files.- Running gulpfile.js will generate
twig/svg-symbols.svg.twig, which will be included as the first HTML element in all pageloads where this widget gets rendered. - The default symbols file can be overridden by custom theme implementation, see "Extending"
Extending
- To implement new site-specific SVG sources, or to override existing ones:
- Create a directory in your theme named like
svg/srcand put your SVGs in it. - Edit the gulp file and add your new directory as a source
- re-gulp to generate the include file
- Create a directory in your theme named like
- To add a new SVG icon to the upstream, drop it into svg/src
- SVG icon sources are assumed to contain at most one symbol per document
统计信息
- 总下载量: 48.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-01-04