ionic-team / ionic-team/ionic-cli

Color Generator for the cli

Offen
#4,443 0 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
TypeScript
Sterne
2k
Forks
682
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.