|
ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
|
Namespaces | |
| namespace | scripts |
| namespace | scripts.themegen |
Functions | |
| scripts.themegen.get_hex (line) | |
| given a line that starts with a hex color return the color and the rest of the line | |
| scripts.themegen.get_hsl (line) | |
| scripts.themegen.get_rgba (line) | |
| scripts.themegen.hsv_to_hsl (hsv) | |
| python hsv is given by the scale hue [0, 1), sat [0, 1], val [0, 255] | |
| scripts.themegen.make_theme (name, color) | |
| scripts.themegen.process_color (line, target_hsl) | |
| given the string line which may contain a color literal, such as #FFFFFF, replace the first occurence with the color transformed towards the target hue | |
Variables | |
| list | scripts.themegen.colors = ["#e38914", "#9f1fd1", "#0a4ff0", "#03c2fc", "#fcba03", "#eb17bd", "#114ad1"] |
| list | scripts.themegen.names = ["orange", "purple", "darkblue", "teal", "yellow", "pink", "blue"] |
| CONFIGURABLE ###. | |