summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChandler J <cjustice2000@gmail.com>2024-03-02 14:51:21 -0700
committerChandler J <cjustice2000@gmail.com>2024-03-02 14:51:21 -0700
commit83a3b5ebcc355e875c0d3f43a5a854e7194d6540 (patch)
tree5ac568133cc654b0216ab1eaa554a70a1c680573 /src
parent2c98c5fe81cd649a6ae66dd3ed295f1cb2f46849 (diff)
moar polish
Diffstat (limited to 'src')
-rw-r--r--src/user_interface.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/user_interface.py b/src/user_interface.py
index 12014a6..c31f8fe 100644
--- a/src/user_interface.py
+++ b/src/user_interface.py
@@ -29,10 +29,8 @@ def selectPalette(img_path: str, num_palettes: int) -> tuple:
for color in hex_compliments:
complimentary_colors += f'[on {color}] [/on {color}]'
print(complimentary_colors, '\n')
- count = 0
for i in range(len(hex_colors)):
- print(f'[{hex_compliments[i]} on {hex_colors[i]}]\tGenerated Color Scheme\t\t ({count})', f'contrast: {constrast_levels[i]}')
- count += 1
+ print(f'[{hex_compliments[i]} on {hex_colors[i]}]\tGenerated Color Scheme\t\t ({i: 3})', f'contrast: {constrast_levels[i]:.2f}')
print('[bold](a)ccept palette (g)enerate new palette')
response = input('> ')
if response == 'a':