|
2 | 2 |
|
3 | 3 | A Figma plugin to help generate hues, tints, and/or shades
|
4 | 4 |
|
| 5 | + |
| 6 | + |
5 | 7 | ## Features
|
6 | 8 |
|
7 |
| -- [x] Generate a hue spectrum from a given color by keeping its saturation and brightness constant. |
| 9 | +- [x] Generate a hues from a given color. |
8 | 10 |
|
9 | 11 | - [x] Generate tints from a given color
|
10 | 12 |
|
11 | 13 | - [x] Generate shades from a given color
|
12 | 14 |
|
13 |
| -Find it in Figma community: https://www.figma.com/community/plugin/1153959136228678599 |
| 15 | +## How it works |
| 16 | + |
| 17 | +### Generating Hues |
| 18 | + |
| 19 | +rangi takes a color input and an interval value. It converts the color to HSL(Hue, Saturation, Light) value and plus or minus the interval value from the H value until it's either greater or equal to 0 or less or equal to 359. The max is set to 359 because some color values would give a black color when they hit 360. |
| 20 | + |
| 21 | +### Generating Tints |
| 22 | + |
| 23 | +To generate Tints, rangi takes the initial color, converts it to HSL(Hue, Saturation, Light) value adds the interval value to the L value until the L value is less or equal to 100. |
| 24 | + |
| 25 | +### Generating Shades |
| 26 | + |
| 27 | +Shades generation is similar to tints generation except instead of adding the interval value to the L value, rangi substracts it until the L value is less or equal to 0. |
| 28 | + |
| 29 | +## Todo & Roadmap |
| 30 | + |
| 31 | +If the plugin gains traction, the plan is to do the following: |
| 32 | + |
| 33 | +- [ ] Refactor code |
| 34 | +- [ ] Add ability for users to configure the generated frames, things like size, frame orientation, shape, naming, etc. |
| 35 | + |
| 36 | +## Assets & Links |
| 37 | + |
| 38 | +UI design of the plugin: |
| 39 | +https://www.figma.com/community/file/1157058671138458897 |
14 | 40 |
|
15 |
| -## Roadmap |
| 41 | +Plugin in Figma community: |
| 42 | +https://www.figma.com/community/plugin/1153959136228678599 |
16 | 43 |
|
17 |
| -- [ ] Update the UI to this: https://www.figma.com/community/file/1157058671138458897 |
| 44 | +Built and maintained with ❤ by [Flexcode Labs](https://flexocelabs.com) |
0 commit comments