File tree 2 files changed +12
-12
lines changed
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");
4
4
const canvas = document . getElementById ( "canvas" ) ;
5
5
const ctx = canvas . getContext ( "2d" ) ;
6
6
const color = getComputedStyle ( document . documentElement ) . getPropertyValue (
7
- "--background -color"
7
+ "--button -color"
8
8
) ;
9
9
const secondaryColor = getComputedStyle (
10
10
document . documentElement
11
- ) . getPropertyValue ( "--background-secondary -color" ) ;
11
+ ) . getPropertyValue ( "--sidebar -color" ) ;
12
12
let score = 0 ;
13
13
const brickRowCount = 9 ;
14
14
const brickColumnCount = 5 ;
Original file line number Diff line number Diff line change 1
1
@import url ("https://fonts.googleapis.com/css2?family=Balsamiq+Sans:wght@400;700&display=swap" );
2
2
3
3
: root {
4
- --background-color : # 081150 ;
5
- --background-secondary-color : # 1842da ;
4
+ --background-color : # 7f7fd5 ;
5
+ --background-secondary-color : # 91eae4 ;
6
6
--canvas-color : # f0f0f0 ;
7
7
--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 ;
11
11
}
12
12
13
13
* {
16
16
17
17
body {
18
18
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 )
24
24
);
25
25
font-family : "Balsamiq Sans" , cursive;
26
26
display : flex;
You can’t perform that action at this time.
0 commit comments