Skip to content

Commit

Permalink
style update
Browse files Browse the repository at this point in the history
  • Loading branch information
skullydazed committed Jan 4, 2025
1 parent a519add commit 83179bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions milc-color
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,16 @@ colors = ('black', 'blue', 'cyan', 'green', 'magenta', 'red', 'white', 'yellow')
@cli.entrypoint('Show all the colors available to us.')
def main(cli):
cli.echo('|Normal | FG | ExtFG | BG | ExtBG |')

for color in colors:
cli.echo(f'|{color:8}|{{fg_{color}}}xxxxxxxx{{fg_reset}}|{{fg_light{color}_ex}}xxxxxxxx{{fg_reset}}|{{bg_{color}}}xxxxxxxx{{bg_reset}}|{{bg_light{color}_ex}}xxxxxxxx{{bg_reset}}|')

print()
cli.echo('|Bright | FG | ExtFG | BG | ExtBG |')

for color in colors:
cli.echo(f'|{color:8}|{{style_bright}}{{fg_{color}}}xxxxxxxx{{style_reset_all}}|{{style_bright}}{{fg_light{color}_ex}}xxxxxxxx{{style_reset_all}}|{{style_bright}}{{bg_{color}}}xxxxxxxx{{style_reset_all}}|{{style_bright}}{{bg_light{color}_ex}}xxxxxxxx{{style_reset_all}}|')

print()
cli.echo('|Dim | FG | ExtFG | BG | ExtBG |')

for color in colors:
cli.echo(f'|{color:8}|{{style_dim}}{{fg_{color}}}xxxxxxxx{{style_reset_all}}|{{style_dim}}{{fg_light{color}_ex}}xxxxxxxx{{style_reset_all}}|{{style_dim}}{{bg_{color}}}xxxxxxxx{{style_reset_all}}|{{style_dim}}{{bg_light{color}_ex}}xxxxxxxx{{style_reset_all}}|')

Expand Down

0 comments on commit 83179bc

Please sign in to comment.