ouxsoft/promare-gradients
Composer 安装命令:
composer require ouxsoft/promare-gradients
包简介
Promare Gradients standardizes the use of neon colors on the web for backgrounds..
关键字:
README 文档
README
Promare Gradients standardizes the use of neon colors for web backgrounds. It's a tiny stylesheet library that comes with over 25,000 different neon background combinations.
Neon colors have a high chroma. When they are contrasted they psychologically grab the users' attention1. It's no wonder why neon signs have been used for call to actions.
Quick start
Here are some ways to start your own dramatic neon colored web presence:
- Download the latest release
- Clone the repo:
git clone https://github.com/Ouxsoft/promare-gradients.git - Install with npm:
npm i @ouxsoft/promare-gradients - Install with Composer:
composer require ouxsoft/promare-gradients
Usage
Neon Colors
Promare Gradients features sixteen (16) base colors that were carefully chosen to embody neon lights:
green, ufo, lime, red, orange, yellow, absinthe, chartreuse, pink,
magenta, plastic, purple, proton, blue, cyan, and grayscale.
<div class=".bg-blue"> Call to Action </div>
Shades and Tones
Each neon color comes in a regular form, two shades (*-0, *-25),
and two tints (*-75, *-100).
These classes color backgrounds a solid neon color:
| Regular | Darkest | Dark | Light | Lightest |
|---|---|---|---|---|
| .bg-green | .bg-green-0 | .bg-green-25 | .bg-green-75 | .bg-green-100 |
| .bg-ufo | .bg-ufo-0 | .bg-ufo-25 | .bg-ufo-75 | .bg-ufo-100 |
| .bg-lime | .bg-lime-0 | .bg-lime-25 | .bg-lime-75 | .bg-lime-100 |
| .bg-red | .bg-red-0 | .bg-red-25 | .bg-red-75 | .bg-red-100 |
| .bg-orange | .bg-orange-0 | .bg-orange-25 | .bg-orange-75 | .bg-orange-100 |
| .bg-yellow | .bg-yellow-0 | .bg-yellow-25 | .bg-yellow-75 | .bg-yellow-100 |
| .bg-absinthe | .bg-absinthe-0 | .bg-absinthe-25 | .bg-absinthe-75 | .bg-absinthe-100 |
| .bg-chartreuse | .bg-chartreuse-0 | .bg-chartreuse-25 | .bg-chartreuse-75 | .bg-chartreuse-100 |
| .bg-pink | .bg-pink-0 | .bg-pink-25 | .bg-pink-75 | .bg-pink-100 |
| .bg-magenta | .bg-magenta-0 | .bg-magenta-25 | .bg-magenta-75 | .bg-magenta-100 |
| .bg-plastic | .bg-plastic-0 | .bg-plastic-25 | .bg-plastic-75 | .bg-plastic-100 |
| .bg-purple | .bg-purple-0 | .bg-purple-25 | .bg-purple-75 | .bg-purple-100 |
| .bg-proton | .bg-proton-0 | .bg-proton-25 | .bg-proton-75 | .bg-proton-100 |
| .bg-blue | .bg-blue-0 | .bg-blue-25 | .bg-blue-75 | .bg-blue-100 |
| .bg-cyan | .bg-cyan-0 | .bg-cyan-25 | .bg-cyan-75 | .bg-cyan-100 |
| .bg-grayscale | .bg-grayscale-0 | .bg-grayscale-25 | .bg-grayscale-75 | .bg-grayscale-100 |
Gradients
Combine any two of the above shades and tones to add a neon background gradient to your web page.
Example
<div class=".bg-blue-to-lime-75-nw"> Blue to bright lime gradient moving in a top left direction </div> <div class=".bg-plastic-75-to-grayscale-0-se"> Plastic purple to black moving in a bottom right direction </div>
Direction of Gradient
The last suffix in the class defines the direction of the gradient. The below options are available:
| Suffix | Direction |
|---|---|
| *-nw | Northwest |
| *-ne | Northeast |
| *-sw | Southeast |
| *-sw | Southwest |
Acknowledgements
Promare Gradients derives its name from the movie Promare which features rich neon gradient coloring and inspired this package.
Footnotes
-
Bojko, A. (2013). Eye tracking the user experience: A practical guide to research. Rosenfeld. ↩
ouxsoft/promare-gradients 适用场景与选型建议
ouxsoft/promare-gradients 是一款 基于 SCSS 开发的 Composer 扩展包,目前已累计 1.68k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 01 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「css」 「web」 「sass」 「neon」 「gradients」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ouxsoft/promare-gradients 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ouxsoft/promare-gradients 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ouxsoft/promare-gradients 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Twig extension to insert css as inline styles with a tag
Caching and compression for Twig assets (JavaScript and CSS).
Model of a web-based resource
Retrieve a WebResourceInterface instance over HTTP
bootstrap-sass is a Sass-powered version of Bootstrap 3, ready to drop right into your Sass powered applications.
Define your own css rule-sets for the TYPO3 CMS backend.
统计信息
- 总下载量: 1.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-01-16