toastnz/theme-fonts
最新稳定版本:6.0
Composer 安装命令:
composer require toastnz/theme-fonts
包简介
Silverstripe theme fonts module
README 文档
README
Installation
The easiest way is to use composer:
composer require toastnz/theme-fonts
Run dev/build afterwards.
Configuration
Add the following to your config.yml (optional) to generate default fonts on dev/build
Fonts with a value will be locked and not editable in the CMS
Fonts with null value will be editable in the CMS
Toast\ThemeFonts\Models: default_fonts: - body: null - headings: null - comic-sans: 'comic-sans'
Usage
Colour functions
getFontFamilyClassName() returns f- + getFontCustomID() so the css class is unique. f- is there to represent font and to ensure the class does not start with a number.
统计信息
- 总下载量: 6.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2023-06-25