ionic-team / ionic-team/ionic-cli

Color Generator for the cli

オープン
#4,443 コメント 0 件 リアクション 3 件 担当者 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;
...
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Locate the Ionic CLI command entry point and inspect how a project’s variables.scss file is found and edited. Implement the requested color command so a name and hex code generate the shown color variables in variables.scss, then verify the file contents for a sample color such as primary #5ca3ff.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。