File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ const rules = document.getElementById("rules");
44const canvas = document . getElementById ( "canvas" ) ;
55const ctx = canvas . getContext ( "2d" ) ;
66const color = getComputedStyle ( document . documentElement ) . getPropertyValue (
7- "--background -color"
7+ "--button -color"
88) ;
99const secondaryColor = getComputedStyle (
1010 document . documentElement
11- ) . getPropertyValue ( "--background-secondary -color" ) ;
11+ ) . getPropertyValue ( "--sidebar -color" ) ;
1212let score = 0 ;
1313const brickRowCount = 9 ;
1414const brickColumnCount = 5 ;
Original file line number Diff line number Diff line change 11@import url ("https://fonts.googleapis.com/css2?family=Balsamiq+Sans:wght@400;700&display=swap" );
22
33: root {
4- --background-color : # 081150 ;
5- --background-secondary-color : # 1842da ;
4+ --background-color : # 7f7fd5 ;
5+ --background-secondary-color : # 91eae4 ;
66 --canvas-color : # f0f0f0 ;
77 --text-color : rgba (255 , 255 , 255 , 0.87 );
8- --sidebar-color : # 4d515e ;
9- --button-color : # 00094f ;
10- --hover-color : # 3e499c ;
8+ --sidebar-color : # 343457 ;
9+ --button-color : # 86a8e7 ;
10+ --hover-color : # 7db3e3 ;
1111}
1212
1313* {
1616
1717body {
1818 background-color : var (--background-color );
19- background-image : radial -gradient (
20- circle ,
21- var (--button -color ) 0 % ,
22- var (--background -color ) 35 % ,
23- var (--background-secondary-color ) 100 %
19+ background : linear -gradient (
20+ to right ,
21+ var (--background -color ),
22+ var (--button -color ),
23+ var (--background-secondary-color )
2424 );
2525 font-family : "Balsamiq Sans" , cursive;
2626 display : flex;
You can’t perform that action at this time.
0 commit comments