An open API service indexing awesome lists of open source software.

https://github.com/tomosaaan/colorpalletgen

Swift CLI Tool for creating Color Pallet (.clr file)
https://github.com/tomosaaan/colorpalletgen

swift swift-cli

Last synced: 3 months ago
JSON representation

Swift CLI Tool for creating Color Pallet (.clr file)

Awesome Lists containing this project

README

        

# ColorPalletGen

Generate Color Pallet file(.clr) CLI Tool.

## How to install

### cocoapods

```
pod "ColorPalletGen"
```

## Usage

```
./ColorPalletGen --file-read ./Color.json
```

- Configuration file of color

```json
{
"color1": "#ffffff", // RGB using prefix '#'
"color2": "0xffffff", // RGB using prefix '0x'
"color3": "#ffffff66" // RGBA
}
```

| File extension | |
| :------------: | :------: |
| json | released |
| txt | feature |

## Inspired

- [SwiftGen](https://github.com/SwiftGen/SwiftGen)

## LICENSE

Under the MIT license. See [LICENSE](https://github.com/tomokitalahashi/ColorPalletGen/blob/master/LICENSE) file for details.