stuartcusackie/statamic-gradient-field
最新稳定版本:0.1.10
Composer 安装命令:
composer require stuartcusackie/statamic-gradient-field
包简介
README 文档
README
Gradient Field is a Statamic addon that enables users to create linear gradients.
Features
- Multiple gradient colour stop selection.
- Colour transparency selection.
- Gradient angle selection.
- Gradient presets.
How to Install
You can install this addon via Composer:
composer require stuartcusackie/statamic-gradient-field
How to Use
- Install the field via composer.
- Add the field to your blueprints.
- Update the field configuration options for presets and disabling custom gradients.
- Use the generated CSS in your templates. Example below.
<div class="w-8 h-8" style="background: {{ gradientField }};"></div>
统计信息
- 总下载量: 173
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-08-30