Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
- Put themes in dictionary called "themes" for other code to function (I 
don't remember removing this?).
  • Loading branch information
zachartrand committed Jul 21, 2021
1 parent a13833d commit 3daa4c5
Showing 1 changed file with 28 additions and 27 deletions.
55 changes: 28 additions & 27 deletions chess_themes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Document containing the different board themes for the chess progrum.
The colors are structured in this order:
light square
dark square
light square highlight
Expand All @@ -17,31 +17,32 @@
"""


# TODO: Add more themes for custom board colors.
blue = (
(214, 221, 229),
(82, 133, 180),
(253, 187, 115),
(255, 129, 45),
(116, 194, 229),
(32, 154, 215),
themes = dict(
blue = (
(214, 221, 229),
(82, 133, 180),
(253, 187, 115),
(255, 129, 45),
(116, 194, 229),
(32, 154, 215),
),

bw = (
(255, 255, 255),
(100, 100, 100),
(140, 236, 146),
(30, 183, 37),
(116, 194, 229),
(32, 154, 215),
),

yellow = (
(247, 241, 142),
(244, 215, 4),
(253, 187, 115),
(255, 129, 45),
(116, 194, 229),
(32, 154, 215),
),
)

bw = (
(255, 255, 255),
(100, 100, 100),
(140, 236, 146),
(30, 183, 37),
(116, 194, 229),
(32, 154, 215),
)

yellow = (
(247, 241, 142),
(244, 215, 4),
(253, 187, 115),
(255, 129, 45),
(116, 194, 229),
(32, 154, 215),
)

0 comments on commit 3daa4c5

Please sign in to comment.