François Pachet commited on
Commit
9c8f404
·
1 Parent(s): f2beb6f

Keep mobile piano keys bright

Browse files
Files changed (2) hide show
  1. frontend/index.html +3 -2
  2. frontend/styles.css +18 -3
frontend/index.html CHANGED
@@ -3,8 +3,9 @@
3
  <head>
4
  <meta charset="utf-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
 
6
  <title>Web Continuator</title>
7
- <link rel="stylesheet" href="/assets/styles.css?v=20260729-phone3" />
8
  </head>
9
  <body>
10
  <div class="page-aura"></div>
@@ -1196,6 +1197,6 @@
1196
  </section>
1197
  </main>
1198
 
1199
- <script type="module" src="/assets/app.js?v=20260729-phone3"></script>
1200
  </body>
1201
  </html>
 
3
  <head>
4
  <meta charset="utf-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="color-scheme" content="dark only" />
7
  <title>Web Continuator</title>
8
+ <link rel="stylesheet" href="/assets/styles.css?v=20260729-phone4" />
9
  </head>
10
  <body>
11
  <div class="page-aura"></div>
 
1197
  </section>
1198
  </main>
1199
 
1200
+ <script type="module" src="/assets/app.js?v=20260729-phone4"></script>
1201
  </body>
1202
  </html>
frontend/styles.css CHANGED
@@ -1,4 +1,5 @@
1
  :root {
 
2
  --bg: #071217;
3
  --panel: rgba(11, 27, 34, 0.84);
4
  --panel-strong: rgba(14, 32, 40, 0.94);
@@ -1075,9 +1076,15 @@ input[type="password"]:disabled {
1075
 
1076
  .white-key {
1077
  height: 100%;
1078
- border: 1px solid rgba(8, 17, 24, 0.28);
1079
- background: linear-gradient(180deg, #fffaf0, #d9edf0);
1080
- color: #101820;
 
 
 
 
 
 
1081
  }
1082
 
1083
  .white-key.is-active {
@@ -1104,6 +1111,8 @@ input[type="password"]:disabled {
1104
  border: 1px solid rgba(255, 255, 255, 0.12);
1105
  background: linear-gradient(180deg, #26333d, #081118);
1106
  color: #f7fbff;
 
 
1107
  }
1108
 
1109
  .black-key:hover {
@@ -2539,6 +2548,12 @@ html.phone-layout .black-key {
2539
  width: calc((100% / var(--white-key-count)) * 0.7);
2540
  }
2541
 
 
 
 
 
 
 
2542
  html.phone-layout .virtual-octave-controls .compact-button,
2543
  html.phone-layout .virtual-keyboard-actions .compact-button {
2544
  min-height: 44px;
 
1
  :root {
2
+ color-scheme: dark only;
3
  --bg: #071217;
4
  --panel: rgba(11, 27, 34, 0.84);
5
  --panel-strong: rgba(14, 32, 40, 0.94);
 
1076
 
1077
  .white-key {
1078
  height: 100%;
1079
+ border: 1px solid #9ebbb9;
1080
+ background-color: #f4fbf8;
1081
+ background-image: linear-gradient(180deg, #ffffff 0%, #eef8f5 54%, #dbeae7 100%);
1082
+ color: #071217;
1083
+ color-scheme: light only;
1084
+ forced-color-adjust: none;
1085
+ box-shadow:
1086
+ inset 0 -10px 18px rgba(85, 123, 124, 0.12),
1087
+ inset 0 1px 0 #ffffff;
1088
  }
1089
 
1090
  .white-key.is-active {
 
1111
  border: 1px solid rgba(255, 255, 255, 0.12);
1112
  background: linear-gradient(180deg, #26333d, #081118);
1113
  color: #f7fbff;
1114
+ color-scheme: dark only;
1115
+ forced-color-adjust: none;
1116
  }
1117
 
1118
  .black-key:hover {
 
2548
  width: calc((100% / var(--white-key-count)) * 0.7);
2549
  }
2550
 
2551
+ html.phone-layout .white-key {
2552
+ border-color: #adc6c3;
2553
+ background-color: #f7fcfa;
2554
+ background-image: linear-gradient(180deg, #ffffff 0%, #f2faf7 52%, #deece9 100%);
2555
+ }
2556
+
2557
  html.phone-layout .virtual-octave-controls .compact-button,
2558
  html.phone-layout .virtual-keyboard-actions .compact-button {
2559
  min-height: 44px;