ionic-team / ionic-team/ionic-cli

Color Generator for the cli

Open
#4,443 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

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;
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.