Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,67 @@
"commit": "f1e2a7f7999e3f311131f75b6eff61f00bf8dfe1",
"subpath": "",
"stars": 0
},
{
"id": "tahoe-liquid-glass",
"name": "Tahoe Liquid Glass",
"type": "theme",
"source": "official",
"version": "1.0.0",
"apiVersion": 1,
"minAppVersion": "3.0.0",
"author": {
"name": "jsjaggi",
"github": "jsjaggi"
},
"description": "macOS 26 Tahoe / iOS 26 Liquid Glass reimagining of LastWave: floating frosted sidebar, top transport and Now Playing capsules, artwork-tinted ambience, crimson accents and a 49-icon SF-style pack, in Tahoe Dark and Daylight Light variants.",
"tags": [
"glass",
"liquid-glass",
"apple",
"music",
"translucent",
"tahoe",
"dark",
"light",
"icon-pack"
],
"previews": [
"preview.png"
],
"swatch": [
"#161618",
"#242428",
"#FA243C"
],
"updatedAt": "2026-12-05",
"featured": false,
"staffPick": false,
"stars": 0,
"source": "official",
"path": "themes/tahoe-liquid-glass",
"entry": "theme.css",
"script": "theme.js",
"variants": [
{
"id": "tahoe",
"name": "Tahoe (Dark)",
"swatch": [
"#161618",
"#242428",
"#FA243C"
]
},
{
"id": "daylight",
"name": "Daylight (Light)",
"swatch": [
"#F5F5F7",
"#FFFFFF",
"#FA243C"
]
}
]
}
]
}
216 changes: 216 additions & 0 deletions themes/tahoe-liquid-glass/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
# Tahoe Liquid Glass — LastWave Desktop theme

A macOS 26 Tahoe / iOS 26 **Liquid Glass** reimagining of LastWave Desktop:
floating frosted panes, a detached rounded sidebar, a top transport pill, a
centred Now Playing capsule, artwork-tinted ambience, crimson accents and a
custom SF-style icon pack.

- **Type:** theme (CSS + script)
- **API version:** 1
- **Minimum app version:** LastWave 3.0.0
- **Variants:** `Tahoe (Dark)` (default) and `Daylight (Light)`

---

## What you get

| Area | Treatment |
| --- | --- |
| Window | Deep charcoal canvas with artwork-driven radial tint, clear glass title bar |
| Sidebar | Detached 16 px rounded glass rail, inset 10 px, frosted pill active row with a crimson edge bar |
| Transport | Floating glass pill at the top-left with shuffle / previous / play / next / repeat |
| Now Playing | Centred glass capsule: 6 px artwork, title + artist, tabular elapsed / remaining, scrub bar that expands on hover |
| Utilities | Right glass pill: quality badge, volume, **Lyrics**, **Up Next**, **Search**, expand / mini / overflow |
| Canvas | Edge-to-edge scroll behind the floating bars, 28–38 px display headers, crimson Play / Shuffle pills, borderless track rows with 8 px hover pills |
| Playing row | Crimson equaliser bars, tinted row wash, 2 px accent edge |
| Now Playing page | Full-bleed artwork mesh, 24 px cover, large display title, glass Lyrics column, high-contrast active lyric with blurred inactive lines |
| Panels | Queue, Equaliser, Settings, context menus, command palette and dialogs all use the same glass, rim and shadow system |
| Motion | Spring-ish easing, reduced-motion and Performance Mode guards |

Everything native still works: seeking, volume, queue reordering, synced
lyrics, navigation, context menus and local files. The theme only restyles and
re-composes documented `data-lw-*` hooks; it never replaces the player logic.

---

## Install on Windows

The plugin folder already lives here:

```
C:\Users\jsjag\Documents\Default Project\tahoe-liquid-glass
```

It contains `manifest.json`, `theme.css`, `theme.js`, `preview.png` and this
`README.md`.

1. Open **LastWave Desktop**.
2. Go to **Settings → Plugins**.
3. Choose **Install Local Plugin**.
4. Select the folder
`C:\Users\jsjag\Documents\Default Project\tahoe-liquid-glass`
(the folder itself — the one that contains `manifest.json`).
5. Click **Install & Activate**.

LastWave copies the folder into its own user-data plugins directory and
activates it. On this Windows machine the app-data root is:

```
C:\Users\jsjag\AppData\Roaming\Clash-Projects\LastWave
```

so after installation the theme lives at:

```
C:\Users\jsjag\AppData\Roaming\Clash-Projects\LastWave\plugins\tahoe-liquid-glass\
```

(equivalently `%APPDATA%\Clash-Projects\LastWave\plugins\tahoe-liquid-glass\`).

You do **not** need to copy files there by hand — the in-app installer is the
supported path and creates the `plugins` folder for you. Use the path above only
to inspect or back up an installed copy.

To apply an edit, repeat steps 2–5. The same `id`
(`tahoe-liquid-glass`) replaces the previous copy.

> **Safe mode:** if anything misbehaves, start LastWave with `--safe-mode` (or
> use the "disable all plugins" switch in Settings → Plugins). The theme turns
> off cleanly and the script unregisters its icons and player-bar buttons.

---

## Pick a variant

On the theme's Store / Plugins card, choose a chip:

- **Tahoe (Dark)** — default. `#161618` base, dark glass, warm rim highlights.
- **Daylight (Light)** — `#F5F5F7` base, white glass, darker ink and shadows.

The script itself does not need to react to the variant: every colour, rim and
shadow is a CSS custom property keyed off `:root[data-lw-theme-variant="…"]`.

---

## Files

```
tahoe-liquid-glass/
├── manifest.json plugin metadata, id, variants, entry + script
├── preview.png 1280×800 Store screenshot
├── theme.css the whole Liquid Glass system
├── theme.js icon pack, artwork palette, player-bar controls, cleanup
└── README.md this file
```

### `theme.css`

1. **Tokens** — accent, surfaces, ink, specular rims, ambient shadows, dock
geometry and a remap of the documented `--lw-*` tokens (including a daylight
block).
2. **Shell** — artwork-tinted app background, clear glass title bar, search
pill, top-dock geometry.
3. **Sidebar** — detached rounded rail, pill rows, crimson active edge.
4. **Player bar** — fixed glass transport pill, centred Now Playing capsule,
utilities pill, expand-on-hover scrub bar.
5. **Canvas** — display headers, shelves, hero art, Play / Shuffle pills,
borderless track rows, scrollbars, search field.
6. **Now Playing** — artwork mesh, cover, title, glass lyrics column, active
line treatment.
7. **Panels** — shell panels, queue, equaliser, context menus, command palette,
dialogs, settings, text fields, mini player.
8. **Responsive** — hides quality / volume / capsule progressively.
9. **Guards** — Performance Mode removes blur and heavy shadows, and
`prefers-reduced-motion` disables transitions and the ambient transform.

The glass recipe used on every pane:

```css
backdrop-filter: blur(28px) saturate(190%) brightness(1.06);
box-shadow:
inset 0 1px 0 0 rgb(255 255 255 / 0.28), /* specular rim */
inset 0 0 0 1px rgb(255 255 255 / 0.10), /* hairline edge */
0 12px 32px rgb(0 0 0 / 0.38); /* ambient lift */
```

### `theme.js`

Runs as a function body (`new Function('LastWave', 'pluginId', …)`), so it has
**no** `import` / `export`. It:

- registers an SF-style icon pack via `registerIconPack(…, pluginId)` —
transport, volume, navigation, lyrics, queue, equaliser, settings and a full
utility set, all on `viewBox="0 0 24 24"` with `currentColor`;
- adds **Lyrics**, **Up Next** and **Search** buttons to the player bar via
`registerPlayerBarControl(…, pluginId)`;
- samples the current artwork on a 20 × 20 canvas and writes
`--amw-art-rgb` / `--amw-art-rgb-2` on `:root`, with the track's
`accentColor` as a fallback when the image is unavailable or CORS-blocked;
- re-samples on `LastWave.events.on('trackChange', …)`;
- returns a cleanup function that unsubscribes every registration, cancels
in-flight sampling, and removes the custom properties.

Because the player-bar buttons insert real `button.dock-glyph` elements, they
inherit the same hover, focus and glass styling as the native controls.

---

## Tuning it

All design decisions are variables at the top of `theme.css`. Common tweaks:

```css
:root {
--amw-bg: #161618; /* canvas base */
--amw-glass-base: rgb(31 31 35 / 0.62); /* pane fill */
--amw-shadow: 0 12px 32px rgb(0 0 0 / 0.38);
--lw-accent: #fa243c; /* Apple Music crimson */
--amw-dock-height: 80px; /* floating bar height */
--amw-clearance: 92px; /* initial content inset */
}
```

`--amw-art-rgb` and `--amw-art-rgb-2` are overwritten at runtime; change the
fallbacks only if you want a different idle tint.

If you move the dock or change `--amw-dock-height`, update `--amw-clearance`
to `8px + dock height + 4px gap` so headers keep clearing the bar. (The title
bar sits above `main-stage`, so its height cancels out of this measurement.)

---

## Notes and limits

- The dock is intentionally **top-floating**. LastWave's own floating-dock
mode is disabled whenever a plugin theme is active, so the theme positions
`[data-lw="player-bar"]` with `position: fixed` and adds the running order
itself. Native seek, volume, drag and menus are untouched.
- Clearance is applied to the scroll container, not the window: on Home and
routed pages (album, artist, playlist, search…) the first `--amw-clearance`
pixels scroll away so artwork and text travel behind the dock. Library and
Settings have fixed headers above their scrollers, so their page wrapper is
cleared instead.
- The centred capsule is absolutely positioned and progressively hidden below
860 px, where the compact transport + utilities pills take over.
- Artwork sampling needs a CORS-readable image. When the host blocks canvas
reads, the theme keeps the track `accentColor` (or the crimson default)
instead of failing.
- Performance Mode (`data-performance="true"`) drops backdrop blur, ambient
layers and heavy shadows; reduced-motion also disables the ambient scale and
transitions.

## Troubleshooting

| Symptom | Fix |
| --- | --- |
| "Script failed" toast | A syntax error or a thrown first run. Check DevTools console; `theme.js` is already free of `import` / `export`. |
| CSS has no effect | Confirm the theme is the active theme (themes are one-at-a-time), and that a newer install replaced the old copy. |
| Nothing changes after an edit | Reinstall with **Install Local Plugin**; the folder is copied, not linked. |
| Blur looks flat | Turn off Performance Mode in Settings, or check that Windows transparency effects are enabled. |
| Theme disappeared | Start without `--safe-mode`, then re-activate in Settings → Plugins. |

---

Colours, type and layout are inspired by Apple Music and macOS 26 Tahoe; all
CSS and SVG here are original and written for LastWave Desktop's documented
plugin API.
31 changes: 31 additions & 0 deletions themes/tahoe-liquid-glass/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"id": "tahoe-liquid-glass",
"name": "Tahoe Liquid Glass",
"type": "theme",
"version": "1.0.0",
"apiVersion": 1,
"minAppVersion": "3.0.0",
"author": {
"name": "jsjaggi",
"github": "jsjaggi"
},
"description": "macOS 26 Tahoe / iOS 26 Liquid Glass reimagining of LastWave: floating frosted sidebar, top transport and Now Playing capsules, artwork-tinted ambience, crimson accents and 49 SF-style icons, in Tahoe (Dark) and Daylight (Light).",
"tags": ["dark", "light", "glass", "apple", "music", "translucent", "tahoe", "icon-pack", "liquid-glass"],
"previews": ["preview.png"],
"swatch": ["#161618", "#242428", "#FA243C"],
"updatedAt": "2026-12-05",
"entry": "theme.css",
"script": "theme.js",
"variants": [
{
"id": "tahoe",
"name": "Tahoe (Dark)",
"swatch": ["#161618", "#242428", "#FA243C"]
},
{
"id": "daylight",
"name": "Daylight (Light)",
"swatch": ["#F5F5F7", "#FFFFFF", "#FA243C"]
}
]
}
Binary file added themes/tahoe-liquid-glass/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading