From 83a3b5ebcc355e875c0d3f43a5a854e7194d6540 Mon Sep 17 00:00:00 2001 From: Chandler J Date: Sat, 2 Mar 2024 14:51:21 -0700 Subject: moar polish --- src/user_interface.py | 4 +--- 1 file changed, 1 insertion(+), 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': -- cgit v1.2.3