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

貢獻指南

開啟貢獻指南

研究方向

找出 Ionic CLI 命令的進入點,並檢查專案的 variables.scss 檔案是如何被找到及編輯的。實作所要求的顏色命令,讓名稱和十六進位碼在 variables.scss 中產生所示的顏色變數,然後針對例如 primary #5ca3ff 的範例顏色驗證檔案內容。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
typescript
領域
cli
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。