File tree Expand file tree Collapse file tree 5 files changed +15
-2
lines changed
shared/components/Preferences Expand file tree Collapse file tree 5 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< title > p5.js Web Editor</ title >
5
5
< link href ='https://fonts.googleapis.com/css?family=Inconsolata ' rel ='stylesheet ' type ='text/css '>
6
+ < link href ='https://fonts.googleapis.com/css?family=Montserrat ' rel ='stylesheet ' type ='text/css '>
6
7
</ head >
7
8
< body >
8
9
< div id ="root " class ="root-app ">
9
10
</ div >
10
11
< script src ="/dist/bundle.js "> </ script >
11
12
</ body >
12
- </ html >
13
+ </ html >
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ class Preferences extends React.Component {
12
12
} ) ;
13
13
return (
14
14
< div className = { preferencesContainerClass } tabindex = "0" >
15
+ < div className = "preferences__title-text" > Preferences</ div >
15
16
< button className = "preferences__exit-button" onClick = { this . props . closePreferences } >
16
17
< Isvg src = { exitUrl } alt = "Exit Preferences" />
17
18
</ button >
Original file line number Diff line number Diff line change 36
36
%preferences-button {
37
37
@extend %button ;
38
38
background-color : $light-preferences-button-background-color ;
39
+ color : $light-preferences-button-color ;
39
40
& g {
40
41
fill : $light-preferences-button-color ;
41
42
}
42
43
& :hover {
43
44
background-color : $light-preferences-button-background-color ;
44
-
45
+ color : $light-preferences-button-hover-color ;
45
46
& g {
46
47
fill : $light-preferences-button-hover-color ;
47
48
}
Original file line number Diff line number Diff line change 1
1
$base-font-size : 16 ;
2
+ $menu-font-size : 21 ;
2
3
3
4
// colors
4
5
$p5js-pink : #ed225d ;
Original file line number Diff line number Diff line change 1
1
.preferences {
2
2
background-color : $light-preferences-background-color ;
3
3
display : none ;
4
+ font-family : ' Montserrat' , sans-serif ;
4
5
& --selected {
5
6
display : flex ;
6
7
}
15
16
background-color : $light-preferences-background-color ;
16
17
}
17
18
}
19
+
20
+ .preferences__title-text {
21
+ margin-left : #{20 / $base-font-size } rem;
22
+ font-size : $menu-font-size ;
23
+ font-color : white ;
24
+ height : #{44 / $base-font-size } rem;
25
+ line-height : #{44 / $base-font-size } rem;
26
+ }
You can’t perform that action at this time.
0 commit comments