ionic-team / ionic-team/ionic-cli
Color Generator for the cli
未关闭
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 还没有评估数据。