Open LionOnTheWeb opened 1 year ago
HSL example:
:root {
--colorHue = <number 0 - 255>
--lighting = <percentage 0 - 100>
}
.button:nth-child(<number>) {
--colorHue = <number>
&.highlight {
--lighting = <higher percentage value>
}
}
Blocked by #17, #19
Overview
As a Jervis-Tetch player, I want to be able to see the highlighted color sequence on the game board.
Tasks
displaySequence()
functionhighlight
class for buttons in a random sequence to highlight their colors temporarilyhsl
to easily add highlight per color