stuartcusackie/statamic-gradient-field 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Install the field via composer.
  2. Add the field to your blueprints.
  3. Update the field configuration options for presets and disabling custom gradients.
  4. 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

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-08-30