Skip to content

Commit d766dae

Browse files
committed
Removed unused images
- Also simplified app structure by removing one display layer. - There's now a nice header on the app page, which will be the base for additional functionality soon. - The ErrorBoundary used in the render tree won't help when you get errors during (initial) rendering or even outside of that, so handlers for un-catched errors were added.
1 parent 8a66557 commit d766dae

File tree

16 files changed

+309
-840
lines changed

16 files changed

+309
-840
lines changed

public/fonts/HeyOctober.woff2

216 KB
Binary file not shown.

src/App.css

Lines changed: 47 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*/
55

6+
@font-face {
7+
font-family: "HeyOctober";
8+
src: url("/fonts/HeyOctober.woff2") format("woff2");
9+
font-weight: 400;
10+
font-style: normal;
11+
font-display: swap;
12+
}
13+
614
:root {
715
/* TODO: Export all the colors to a theme file. */
816
--background: #ffffff;
@@ -58,7 +66,7 @@
5866
--input-foreground-color: #f0f0f0;
5967
--input-border-color: #555a66;
6068

61-
--button-background: #005fb8;
69+
--button-background: #005bbdda;
6270
--button-border: #0000001a;
6371
--button-foreground: #ffffff;
6472
--button-hoverBackground: #0258a8;
@@ -95,8 +103,7 @@ body {
95103
width: 100vw;
96104
height: 100vh;
97105

98-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
99-
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
106+
font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
100107
line-height: 1.5;
101108
font-weight: 400;
102109

@@ -127,7 +134,7 @@ body {
127134
}
128135

129136
.button#githubLink {
130-
background-color: black;
137+
background-color: transparent;
131138
}
132139

133140
.hidden {
@@ -142,7 +149,8 @@ body {
142149
height: 100%;
143150
}
144151

145-
#score-book-viewer {
152+
.arrangement-viewer,
153+
.arrangement-viewer-body {
146154
position: relative;
147155
padding: 40px;
148156

@@ -151,14 +159,18 @@ body {
151159
flex-direction: column;
152160
}
153161

162+
.arrangement-viewer-body > .overlay {
163+
padding: 5pt;
164+
}
165+
154166
#footer {
155-
--footer-height: 20pt;
156-
flex-basis: var(--footer-height);
167+
flex-basis: 25pt;
157168
flex-grow: 0;
158169
flex-shrink: 0;
159170
text-align: center;
160-
background-color: var(--lightest-gray);
161-
line-height: var(--footer-height)
171+
background-color: var(--button-background);
172+
line-height: 25pt;
173+
color: var(--button-foreground);
162174
}
163175

164176
.beat-url {
@@ -169,16 +181,17 @@ body {
169181
overflow-wrap: anywhere;
170182
}
171183

172-
.arrangement-title h1 {
173-
text-align: center;
174-
margin-bottom: 0;
184+
.arrangementTitle {
185+
display: block;
186+
align-self: center;
187+
188+
font-size: 20pt;
189+
font-weight: bold;
175190
}
176191

177192
.arrangement-controls {
178193
position: relative;
179194
display: flex;
180-
padding: 20pt;
181-
border-bottom: var(--thick-border);
182195
align-items: center;
183196
}
184197

@@ -679,15 +692,6 @@ select.long {
679692
height: 70%;
680693
}
681694

682-
.arrangement-viewer-body > .overlay {
683-
padding: 5pt;
684-
}
685-
686-
.arrangement-viewer,
687-
.arrangement-viewer-body {
688-
position: relative;
689-
}
690-
691695
.instrument-chooser {
692696
height: 50pt;
693697
width: 70pt;
@@ -829,21 +833,38 @@ select.long {
829833
padding: 12px 12px 0 12px;
830834
}
831835

832-
#appTitle {
836+
#titleGrid {
837+
margin-bottom: 12px;
838+
width: 100%;
839+
}
840+
841+
.appTitle {
833842
margin-left: 16px;
834843
font-size: 24pt;
835844
font-weight: 400;
836-
font-family: 'NovaMono for Powerline', Tahoma, Geneva, Verdana, sans-serif;
845+
font-family: 'HeyOctober', Tahoma, Geneva, Verdana, sans-serif;
846+
height: 24pt;
847+
color: #F57031;
848+
}
849+
850+
.appTitle.bottom {
851+
font-size: 64pt;
852+
height: 64pt;
837853
}
838854

839855
#titleLogo {
840-
height: 150px;
856+
height: 120px;
841857
}
842858

843859
#themeSwitch {
860+
display: none;
844861
margin-left: auto;
845862
}
846863

864+
#toolbarButtons {
865+
margin-left: 40px;
866+
}
867+
847868
#appTabview {
848869
flex: 1 1 auto;
849870
margin: 20px;

0 commit comments

Comments
 (0)