颜色渐变从上往下渐变_美丽的颜色渐变,用于设计和编码

颜色渐变从上往下渐变

uiGradients (uiGradients)

uiGradients is a community contributed collection of beautiful multi-color gradients.

uiGradients是由社区贡献的美丽的多色渐变集合。

This is an effort to give back to the community, by the community. Hopefully this will help you draw inspiration and serve as a resource for picking gradients for your own projects.

这是一个由社区回馈社区的努力。 希望这将帮助您获得启发,并为您为自己的项目选择渐变提供资源。

 

贡献 (Contributing)

Adding a gradient to the library is super simple. All the gradients are loaded and rendered from a single gradients.json file in the root.

向库中添加渐变非常简单。 所有渐变都是从根目录中的单个gradients.json文件加载和渲染的。

To add your gradient, fork this repository, add your gradient colors in the HEX format along with a name to the end of the json file and submit a pull request. Don't forget the commas!

要添加渐变,请派生此存储库,将HEX格式的渐变颜色以及名称添加到json文件的末尾,然后提交拉取请求。 不要忘记逗号!

[
    {
        …
    },
    {
      "name": "Career",
      "colors": ["#cb202d", "#dc1e28", "#3366cc"]
    }
]

NOTE - Please keep gradient submissions and bug fixes in separate PRs.

注意 -请在单独的PR中保留渐变提交和错误修复。

 

改进和错误 (Improvements and Bugs)

Please feel free to open a new issue here with your suggestions or any bugs which you may have come across.

请随时在此处打开新问题其中包含您的建议或可能遇到的任何错误。

 

数据 (Data)

While there is no official api, all the gradients are present in the gradients.json file. The code below is an example of fetching the data via a CURL request

虽然没有官方的api,但是所有的渐变都存在于gradients.json文件中。 下面的代码是通过CURL请求获取数据的示例

curl -i https://raw.githubusercontent.com/ghosh/uiGradients/master/gradients.json

翻译自: https://vuejsexamples.com/beautiful-colour-gradients-for-design-and-code/

颜色渐变从上往下渐变

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值