Skip to content

Commit

Permalink
Patch release to fix issue #14.
Browse files Browse the repository at this point in the history
  • Loading branch information
definite-d committed Sep 23, 2023
1 parent ca4dbdd commit ee50bf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,5 +307,5 @@ def git_commit(message: str = f"New Commit at {datetime.now()}"):
perform_nuitka_compilation()
compile_installer_for_windows()
zip_output_into_archive()
git_commit()
# git_commit()
print("compile.py has completed execution.")
3 changes: 1 addition & 2 deletions themera/palette_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@ def palette_preview(theme_name, themedict):
"""
Displays a card type preview of the colors used in the theme.
"""
flat = flatten_themedict(themedict)
flat = {k: v for k, v in flatten_themedict(themedict).items() if check_if_color(v)}
layout = [
[sg.Text(f"{theme_name} Palette Preview", font=FONTS["icon"])],
[
palette_block(Color(_color).get_web())
for _color in sorted(set(flat.values()), key=lambda x: Color(x).get_hue())
if check_if_color(_color)
],
[sg.Text("Click on a button to copy its color.", key="instruction")],
]
Expand Down
2 changes: 1 addition & 1 deletion themera/version_and_copyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
from datetime import datetime

# VERSION AND COPYRIGHT ________________________________________________________________________________________________
__version__ = "2.1.0"
__version__ = "2.1.1"
YEAR = datetime.now().year
COPYRIGHT = f"Copyright {YEAR} Divine Afam-Ifediogor"

0 comments on commit ee50bf4

Please sign in to comment.