wallpaper-engine-dsh 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/lib/client.js +27 -19
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -1263,12 +1263,13 @@ window.__ModuleLoader__.load({
1263
1263
 
1264
1264
  /* ── Picker chrome (token-driven, theme-aware) ── */
1265
1265
  /* padding-top lifts the first row off the settings-section divider so the
1266
- search/language row breathes; gap keeps every row evenly spaced. */
1266
+ search/language row breathes; gap keeps every row evenly spaced.
1267
+ Type scale follows the shell: 14px body → 13px controls → 12px hints. */
1267
1268
  .webg-picker { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
1268
1269
  .webg-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
1269
- .webg-hint { font-size: 0.8em; opacity: 0.7; color: var(--dsw-alias-label-tertiary, inherit); }
1270
+ .webg-hint { font-size: 12px; opacity: 0.7; color: var(--dsw-alias-label-tertiary, inherit); }
1270
1271
  .webg-error {
1271
- font-size: 0.85em;
1272
+ font-size: 13px;
1272
1273
  color: var(--dsw-alias-state-error-primary, #d44);
1273
1274
  }
1274
1275
  .webg-label { min-width: 28px; }
@@ -1281,21 +1282,26 @@ window.__ModuleLoader__.load({
1281
1282
  border: 1px solid var(--dsw-alias-border-l2, rgba(128, 128, 128, 0.35));
1282
1283
  background: var(--dsw-alias-bg-layer-1, rgba(128, 128, 128, 0.12));
1283
1284
  color: var(--dsw-alias-label-primary, inherit);
1284
- font-size: 0.85em;
1285
+ font-size: 12px;
1285
1286
  transition: background-color 120ms ease, border-color 120ms ease;
1286
1287
  }
1288
+ /* Ghost-button hover rides the shell's own interactive-hover token. */
1287
1289
  .webg-btn:hover:not(:disabled) {
1288
- background: var(--dsw-alias-bg-layer-2, rgba(128, 128, 128, 0.2));
1290
+ background: var(--dsw-alias-interactive-bg-hover,
1291
+ var(--dsw-alias-bg-layer-2, rgba(128, 128, 128, 0.2)));
1289
1292
  border-color: var(--dsw-alias-border-l1, rgba(128, 128, 128, 0.5));
1290
1293
  }
1291
1294
  .webg-btn:disabled { opacity: 0.45; cursor: not-allowed; }
1295
+ /* brand-primary is monochrome (near-black light / near-white dark), so
1296
+ the label must use its inverse token — never a hardcoded white. */
1292
1297
  .webg-btn--primary {
1293
- background: var(--dsw-alias-brand-primary, #3964fe);
1298
+ background: var(--dsw-alias-brand-primary, rgb(15, 17, 21));
1294
1299
  border-color: transparent;
1295
- color: #fff;
1300
+ color: var(--dsw-alias-brand-primary-invert, rgb(249, 250, 251));
1296
1301
  }
1297
1302
  .webg-btn--primary:hover:not(:disabled) {
1298
- background: var(--dsw-alias-brand-primary-hover, #4f74ff);
1303
+ background: var(--dsw-alias-brand-primary, rgb(15, 17, 21));
1304
+ opacity: 0.85;
1299
1305
  }
1300
1306
 
1301
1307
  .webg-select, .webg-text {
@@ -1304,7 +1310,7 @@ window.__ModuleLoader__.load({
1304
1310
  border: 1px solid var(--dsw-alias-border-l2, rgba(128, 128, 128, 0.35));
1305
1311
  background: var(--dsw-alias-bg-layer-1, rgba(128, 128, 128, 0.12));
1306
1312
  color: var(--dsw-alias-label-primary, inherit);
1307
- font-size: 0.85em;
1313
+ font-size: 13px;
1308
1314
  }
1309
1315
  .webg-text { flex: 1; min-width: 0; }
1310
1316
  .webg-search { max-width: 320px; }
@@ -1313,11 +1319,11 @@ window.__ModuleLoader__.load({
1313
1319
  .webg-rotation-interval { margin-left: auto; }
1314
1320
  .webg-toggle {
1315
1321
  display: inline-flex; align-items: center; gap: 6px;
1316
- accent-color: var(--dsw-alias-brand-primary, #3964fe);
1317
- font-size: 0.85em; cursor: pointer;
1322
+ accent-color: var(--dsw-alias-brand-primary, rgb(15, 17, 21));
1323
+ font-size: 13px; cursor: pointer;
1318
1324
  }
1319
1325
 
1320
- .webg-slider { flex: 1; accent-color: var(--dsw-alias-brand-primary, #3964fe); }
1326
+ .webg-slider { flex: 1; accent-color: var(--dsw-alias-brand-primary, rgb(15, 17, 21)); }
1321
1327
  .webg-slider-row { display: flex; align-items: center; gap: 8px; }
1322
1328
 
1323
1329
  .webg-monitor-row { gap: 14px; }
@@ -1343,23 +1349,23 @@ window.__ModuleLoader__.load({
1343
1349
  }
1344
1350
  .webg-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
1345
1351
  .webg-card--selected {
1346
- outline: 2px solid var(--dsw-alias-brand-primary, #3964fe);
1352
+ outline: 2px solid var(--dsw-alias-brand-primary, rgb(15, 17, 21));
1347
1353
  outline-offset: -2px;
1348
1354
  }
1349
1355
  .webg-card-close {
1350
1356
  position: absolute; inset: 0;
1351
1357
  display: flex; align-items: center; justify-content: center;
1352
- font-size: 0.8em; color: var(--dsw-alias-label-secondary, #888);
1358
+ font-size: 12px; color: var(--dsw-alias-label-secondary, #888);
1353
1359
  }
1354
1360
  .webg-card-type {
1355
1361
  position: absolute; top: 4px; right: 4px;
1356
1362
  padding: 1px 6px; border-radius: 4px;
1357
- font-size: 0.65em; line-height: 1.5;
1363
+ font-size: 10px; line-height: 1.5;
1358
1364
  color: #fff; background: rgba(0, 0, 0, 0.5);
1359
1365
  }
1360
1366
  .webg-card-title {
1361
1367
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px;
1362
- font-size: 0.7em; line-height: 1.2; color: #fff;
1368
+ font-size: 11px; line-height: 1.2; color: #fff;
1363
1369
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
1364
1370
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
1365
1371
  text-align: left;
@@ -1367,7 +1373,7 @@ window.__ModuleLoader__.load({
1367
1373
  .webg-card-placeholder {
1368
1374
  position: absolute; inset: 0;
1369
1375
  display: flex; align-items: center; justify-content: center;
1370
- font-size: 0.72em; opacity: 0.55;
1376
+ font-size: 11px; opacity: 0.55;
1371
1377
  }
1372
1378
 
1373
1379
  /* Rotation group editor. */
@@ -1393,12 +1399,14 @@ window.__ModuleLoader__.load({
1393
1399
  .webg-editor-card:hover { transform: translateY(-1px); }
1394
1400
  .webg-editor-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
1395
1401
  .webg-editor-card--checked {
1396
- outline: 2px solid var(--dsw-alias-brand-primary, #3964fe);
1402
+ outline: 2px solid var(--dsw-alias-brand-primary, rgb(15, 17, 21));
1397
1403
  outline-offset: -2px;
1398
1404
  }
1399
1405
  .webg-editor-check {
1400
1406
  position: absolute; top: 4px; left: 4px; width: 18px; height: 18px;
1401
- border-radius: 4px; background: var(--dsw-alias-brand-primary, #3964fe); color: #fff;
1407
+ border-radius: 4px;
1408
+ background: var(--dsw-alias-brand-primary, rgb(15, 17, 21));
1409
+ color: var(--dsw-alias-brand-primary-invert, rgb(249, 250, 251));
1402
1410
  font-size: 12px; line-height: 18px; text-align: center;
1403
1411
  }
1404
1412
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wallpaper-engine-dsh",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Wallpaper Engine Video/Web wallpapers as the DSH web GUI background — discovery, sandboxed rendering, rotation lists, liquid-glass tuning.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",