ionic-team / ionic-team/ionic-cli

Color Generator for the cli

未关闭
#4,443 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

Would be awesome if you can change or create new colors via ionic cli.

Giving the cli the name and a hex code for a color and it change the variables.scss file with all the generated colors.

Like
```ionic colors primary #5ca3ff```

and then changes `variables.scss` to
```
...
/** primary **/
--ion-color-primary: #5ca3ff;
--ion-color-primary-rgb: 92,163,255;
--ion-color-primary-contrast: #000000;
--ion-color-primary-contrast-rgb: 0,0,0;
--ion-color-primary-shade: #518fe0;
--ion-color-primary-tint: #6cacff;
...
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。