homebridge-sonos-scenes 0.1.34 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,13 +2,17 @@
2
2
  :root {
3
3
  --scene-bg: linear-gradient(135deg, rgba(16, 24, 40, 0.04), rgba(10, 132, 255, 0.08));
4
4
  --scene-accent: #0a84ff;
5
- --scene-ink: #162033;
5
+ --scene-border: rgba(148, 163, 184, 0.28);
6
+ --scene-subtle-surface: rgba(148, 163, 184, 0.1);
7
+ --scene-room-ink: #162033;
8
+ --scene-room-muted: #4f5f74;
9
+ --scene-room-soft: #64748b;
6
10
  }
7
11
 
8
12
  .scene-shell {
9
13
  display: grid;
10
14
  gap: 1rem;
11
- color: var(--scene-ink);
15
+ color: inherit;
12
16
  }
13
17
 
14
18
  .scene-hero {
@@ -34,15 +38,15 @@
34
38
 
35
39
  .scene-mode-panel {
36
40
  border-radius: 1rem;
37
- border: 1px solid rgba(22, 32, 51, 0.08);
38
- box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
39
- background: white;
41
+ border: 1px solid var(--scene-border);
42
+ background: transparent;
43
+ box-shadow: none;
40
44
  overflow: visible;
41
45
  }
42
46
 
43
47
  .scene-mode-panel .card-header {
44
- border-bottom: 1px solid rgba(22, 32, 51, 0.08);
45
- background: rgba(255, 255, 255, 0.65);
48
+ border-bottom: 1px solid var(--scene-border);
49
+ background: var(--scene-subtle-surface);
46
50
  }
47
51
 
48
52
  .scene-section-header {
@@ -80,10 +84,11 @@
80
84
 
81
85
  .scene-mode-choice {
82
86
  display: block;
83
- border: 1px solid rgba(22, 32, 51, 0.1);
87
+ border: 1px solid var(--scene-border);
84
88
  border-radius: 0.85rem;
85
89
  padding: 0.85rem 0.95rem;
86
- background: #fff;
90
+ background: transparent;
91
+ color: inherit;
87
92
  cursor: pointer;
88
93
  }
89
94
 
@@ -118,16 +123,17 @@
118
123
  }
119
124
 
120
125
  .scene-mode-choice-title {
121
- color: var(--scene-ink);
126
+ color: inherit;
122
127
  font-weight: 600;
123
128
  }
124
129
 
125
130
  .scene-mode-choice-copy {
126
131
  display: block;
127
- color: #667085;
132
+ color: currentColor;
128
133
  font-size: 0.9rem;
129
134
  line-height: 1.45;
130
135
  margin-top: 0.35rem;
136
+ opacity: 0.74;
131
137
  }
132
138
 
133
139
  .scene-mode-choice.disabled .scene-mode-choice-title,
@@ -204,18 +210,28 @@
204
210
 
205
211
  .scene-card {
206
212
  border-radius: 1rem;
207
- border: 1px solid rgba(22, 32, 51, 0.08);
208
- box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
213
+ border: 1px solid var(--scene-border);
214
+ background: transparent;
215
+ color: inherit;
216
+ box-shadow: none;
209
217
  }
210
218
 
211
219
  .scene-card .card-header {
212
- border-bottom: 1px solid rgba(22, 32, 51, 0.08);
213
- background: rgba(255, 255, 255, 0.65);
220
+ border-bottom: 1px solid var(--scene-border);
221
+ background: var(--scene-subtle-surface);
222
+ color: inherit;
223
+ }
224
+
225
+ .scene-card .card-body,
226
+ .scene-accordion-body,
227
+ .scene-mode-panel .card-body {
228
+ color: inherit;
214
229
  }
215
230
 
216
231
  .scene-card .scene-help,
217
232
  .scene-mode-panel .scene-help {
218
- color: #556579;
233
+ color: currentColor;
234
+ opacity: 0.74;
219
235
  }
220
236
 
221
237
  .scene-accordion {
@@ -224,9 +240,9 @@
224
240
  }
225
241
 
226
242
  .scene-accordion-item {
227
- border: 1px solid rgba(22, 32, 51, 0.08);
243
+ border: 1px solid var(--scene-border);
228
244
  border-radius: 1rem;
229
- background: rgba(255, 255, 255, 0.92);
245
+ background: transparent;
230
246
  overflow: hidden;
231
247
  position: relative;
232
248
  }
@@ -242,7 +258,7 @@
242
258
  width: 100%;
243
259
  border: 0;
244
260
  background: transparent;
245
- color: var(--scene-ink);
261
+ color: inherit;
246
262
  text-align: left;
247
263
  padding: 1rem 1.1rem;
248
264
  display: flex;
@@ -285,8 +301,8 @@
285
301
  width: 2rem;
286
302
  height: 2rem;
287
303
  border-radius: 999px;
288
- background: rgba(22, 32, 51, 0.06);
289
- color: #556579;
304
+ background: var(--scene-subtle-surface);
305
+ color: inherit;
290
306
  font-size: 1rem;
291
307
  line-height: 1;
292
308
  flex: 0 0 auto;
@@ -294,7 +310,7 @@
294
310
 
295
311
  .scene-accordion-body {
296
312
  padding: 0 1.1rem 1.1rem;
297
- border-top: 1px solid rgba(22, 32, 51, 0.08);
313
+ border-top: 1px solid var(--scene-border);
298
314
  background: rgba(10, 132, 255, 0.03);
299
315
  }
300
316
 
@@ -439,8 +455,8 @@
439
455
  border: 1px solid rgba(22, 32, 51, 0.08);
440
456
  border-radius: 0.85rem;
441
457
  padding: 0.55rem 0.75rem;
442
- background: white;
443
- color: var(--scene-ink);
458
+ background: rgba(255, 255, 255, 0.94);
459
+ color: var(--scene-room-ink);
444
460
  display: block;
445
461
  position: relative;
446
462
  }
@@ -477,13 +493,13 @@
477
493
  }
478
494
 
479
495
  .scene-member-title {
480
- color: var(--scene-ink);
496
+ color: var(--scene-room-ink);
481
497
  font-weight: 600;
482
498
  line-height: 1.3;
483
499
  }
484
500
 
485
501
  .scene-member-meta {
486
- color: #667085;
502
+ color: var(--scene-room-soft);
487
503
  font-size: 0.86rem;
488
504
  line-height: 1.35;
489
505
  }
@@ -504,7 +520,7 @@
504
520
  }
505
521
 
506
522
  .scene-member-volume-label {
507
- color: #556579;
523
+ color: var(--scene-room-muted);
508
524
  font-size: 0.78rem;
509
525
  font-weight: 600;
510
526
  line-height: 1.3;
@@ -531,7 +547,7 @@
531
547
  }
532
548
 
533
549
  .scene-member-volume-note {
534
- color: #667085;
550
+ color: var(--scene-room-soft);
535
551
  font-size: 0.79rem;
536
552
  line-height: 1.35;
537
553
  }
@@ -597,14 +613,16 @@
597
613
  }
598
614
 
599
615
  .scene-help {
600
- color: #667085;
616
+ color: currentColor;
601
617
  font-size: 0.92rem;
618
+ opacity: 0.72;
602
619
  }
603
620
 
604
621
  .scene-inline-note {
605
- color: #5f6f84;
622
+ color: currentColor;
606
623
  font-size: 0.88rem;
607
624
  line-height: 1.45;
625
+ opacity: 0.78;
608
626
  }
609
627
 
610
628
  .scene-label-row {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-sonos-scenes",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "Homebridge plugin for Sonos workflow scenes and orchestration.",
5
5
  "author": "applemanj",
6
6
  "homepage": "https://github.com/applemanj/homebridge-sonos-scenes#readme",