Skip to content

Commit a556299

Browse files
committed
Merge branch 'master' of github.com:no-chris/chords-charts-studio
2 parents c82f351 + a23ec69 commit a556299

File tree

5 files changed

+38
-24
lines changed

5 files changed

+38
-24
lines changed

packages/chord-charts-studio/scss/chordMark.scss

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,54 +34,57 @@ $themes: (
3434

3535
.cmLine {
3636
margin: 0;
37-
font-family: $font-family-monospace;
37+
font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console',
38+
'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
39+
'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier,
40+
monospace;
3841
white-space: pre-wrap;
3942

4043
// editorPreview
4144
.editorPreview & {
4245
padding: 0 $spacer-small;
43-
@include font-size(small);
46+
@include font-size(normal);
4447
}
4548
.exportPreview & {
46-
@include font-size(small);
49+
@include font-size(normal);
4750
}
4851

4952
// playRenderer
5053
.playRenderer {
5154
padding: 0 $spacer-small;
5255
}
5356
.playRenderer.cmLine--fontSize-5 & {
54-
font-size: 7px;
57+
font-size: 9px;
5558
}
5659
.playRenderer.cmLine--fontSize-4 & {
57-
font-size: 8px;
60+
font-size: 10px;
5861
}
5962
.playRenderer.cmLine--fontSize-3 & {
60-
font-size: 9px;
63+
font-size: 11px;
6164
}
6265
.playRenderer.cmLine--fontSize-2 & {
63-
font-size: 10px;
66+
font-size: 12px;
6467
}
6568
.playRenderer.cmLine--fontSize-1 & {
66-
font-size: 11px;
69+
font-size: 13px;
6770
}
6871
.playRenderer.cmLine--fontSize0 & {
69-
font-size: 12px;
72+
font-size: 14px;
7073
}
7174
.playRenderer.cmLine--fontSize1 & {
72-
font-size: 13px;
75+
font-size: 15px;
7376
}
7477
.playRenderer.cmLine--fontSize2 & {
75-
font-size: 14px;
78+
font-size: 16px;
7679
}
7780
.playRenderer.cmLine--fontSize3 & {
78-
font-size: 15px;
81+
font-size: 17px;
7982
}
8083
.playRenderer.cmLine--fontSize4 & {
81-
font-size: 16px;
84+
font-size: 18px;
8285
}
8386
.playRenderer.cmLine--fontSize5 & {
84-
font-size: 17px;
87+
font-size: 19px;
8588
}
8689

8790
// printPreview

packages/chord-charts-studio/src/editor/songEditor/prosemirror/ProsemirrorEditorView.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ $themes: (
1616
height: 100%;
1717

1818
outline: none;
19-
font-family: $font-family-monospace;
20-
@include font-size(small);
19+
font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console',
20+
'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
21+
'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier,
22+
monospace;
23+
@include font-size(normal);
2124

2225
@include themify($themes) {
2326
color: themed('editor-txt');

packages/chord-charts-studio/src/songRenderers/exportPreview/_components/ExportPreview.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ $themes: (
1818
.exp-SongRenderer {
1919
p {
2020
margin: 0;
21-
font-family: $font-family-monospace;
21+
font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console',
22+
'Lucida Sans Typewriter', 'DejaVu Sans Mono',
23+
'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L',
24+
Monaco, 'Courier New', Courier, monospace;
2225
white-space: pre-wrap;
2326

24-
@include font-size(small);
27+
@include font-size(normal);
2528
}
2629

2730
@include themify($themes) {

packages/chord-charts-studio/src/ui/layout/app/_components/Nav.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@
1717
.mainNavEntry {
1818
display: inline-block;
1919
padding: $spacer-small $spacer-medium;
20-
cursor: pointer;
20+
cursor: default;
21+
font-weight: bold;
2122

22-
&:hover:not(.mainNavEntry-isDisabled) {
23+
&:hover:not(.mainNavEntry-isActive) {
24+
cursor: pointer;
25+
}
26+
27+
&:hover:not(.mainNavEntry-isDisabled):not(.mainNavEntry-isActive) {
2328
@include themify($themes) {
2429
color: themed('header-txtHover');
2530
background-color: themed('header-bgHover');

packages/chord-charts-studio/src/ui/layout/app/_themes.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ $themes: (
1212
leftBar-collapser-border: cv(dark-foreground, dark30),
1313
// header
1414
header-txt: cv(dark-foreground, fade),
15-
header-txtHover: cv(dark-foreground),
16-
header-txtActive: cv(dark-foreground),
15+
header-txtHover: cv(dark-primary, dark10),
16+
header-txtActive: cv(dark-primary, dark10),
1717
header-txtDisabled: cv(dark-foreground, dark30),
1818
header-bg: cv(dark-background),
19-
header-bgHover: cv(dark-background, light10),
20-
header-bgActive: cv(dark-background, dark10),
19+
header-bgHover: cv(dark-accent, light20),
20+
header-bgActive: cv(dark-accent),
2121
header-bgDisabled: cv(dark-background),
2222
header-border: cv(dark-background, dark10),
2323
// footer

0 commit comments

Comments
 (0)