stevenpaw/stevens-silverstripe-icons
Composer 安装命令:
composer require stevenpaw/stevens-silverstripe-icons
包简介
A whole Set of new icons for SilverStripe CMS
README 文档
README
This module adds a set of new icons to use in the Sivlerstripe CMS as Elemental Icons, Page Icons or Admin Icons.
How to use
To use, simply set the icon in the class using the sp-icon- prefix:
//In Elements: private static $icon = 'sp-icon-news-element'; //In Admins: private static $menu_icon_class = 'sp-icon-news-admin'; //In Pages: private static $cms_icon_class = 'sp-icon-news-page';
Colored Icons
There is also the option to use colored icons by adding the -currentColor suffix to the class name, e.g. sp-icon-news-element-currentColor. These are currently only tested in the CMS-Sidebar for use with the CMS Theme Module for example.
Available icons
统计信息
- 总下载量: 318
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2026-01-15