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
101 changes: 101 additions & 0 deletions themes/aura-theme/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Aura Theme

Atmospheric reactive glass theme for LastWave Desktop, with six skins and a draggable, resizable **Orbit Deck**.

## Install

1. In LastWave open **Settings → Plugins → Install Local Plugin**.
2. Choose **Choose Folder** and pick this `aura-theme` folder (the one containing `manifest.json`).
3. Click **Install & Activate**.

Needs LastWave 3.0.0 or newer.

## Skins

Nebula, Pop-Out, Dusk, Cobalt, Prism and Obsidian. Pick one from the chips on the theme's Store page, from the pills in the Orbit Deck, or press **Alt+S** to cycle. **Prism** takes its colours from the current cover art.

## Orbit Deck

A floating player with cover art, live spectrum, transport controls and a like button.

| Action | How |
| --- | --- |
| Move | Drag the header. It snaps to the window edges. |
| Resize | Drag the bottom-right corner. |
| Show / hide | **Alt+A**, the ✕ button, or the sparkle button in the player bar |
| Focus stage | **Alt+F** or the ◎ button |
| Bars / ring visualizer | The ◈ button |
| Scroll the skin pills | Mouse wheel over them |

The deck hides itself while the Mini Player is open, and docks into a compact strip in very small windows. Shortcuts are ignored while you are typing in a text field.

## Mini Player widget modes

When the Mini Player window opens, Aura draws its own compact card there. The icon row on the top-left switches the card between widget looks; the choice is remembered across restarts.

| Look | Replicates |
| --- | --- |
| ◉ Vinyl | Vinyl Spinner: spinning record with the cover label, tonearm, RPM readout and progress bar |
| ▣ Cassette | Cassette Deck: reels that wind with progress and a PLAY / PAUSE timer |
| >_ Terminal | Terminal Log: green-phosphor command lines with ASCII progress and elapsed time |
| ♥ Pet | Wavegotchi: pixel pet that dances while playing and naps when paused |
| ◍ Deck | Aura Orbit Deck: spinning platter, spectrum bars and codec pill |

Every look keeps previous / play-pause / like, a click-to-seek progress strip, and window controls (minimize, expand to window, close).

**Lyrics switch:** the `Lyrics` pill on the top-right toggles a lyric strip under the stage. Synced lines follow the playback position; plain (unsynced) lyrics rotate while playing; instrumental tracks show the `♪︎` glyph. The switch state persists.

Tip: for the most room, set **Settings → Playback → Mini Player Style** to *Compact strip* or *Ambient wide*. If the theme script fails to mount, the app's native mini player stays visible as a fallback.

## Notes

- Your skin choice is remembered across restarts. The theme stores it itself, so it works on every LastWave 3.0.0+ build; a skin picked on the theme's Store page still wins the first time you install.
- Animation is switched off when your system is set to reduce motion, and the visualiser rests when Performance Mode is on.

## Changelog

### 2.1.4
- Added packaged screenshot `preview.jpg` and declared it in `manifest.json` → `previews` so the theme card/detail view can show the themed main window with the Mini Player card.

### 2.1.3
- **Fixed (root cause):** mini snapshot was reading `LastWave.getCurrentTrack/isPlaying/getPosition` directly; these live under `LastWave.player`, so the card always saw "no track / paused" — the play icon never flipped and lyrics were never requested. Now reads `LastWave.player.*`.
- **Lyrics:** subscribes to the app's `lyrics-partial` Tauri events and adopts its fetched lines, in addition to the theme's own `lyrics_fetch`; empty results now show `No lyrics found` instead of a bare note glyph.

### 2.1.2
- **Fixed:** play/pause button now flips its icon immediately on click and on `playState` events.
- **Fixed:** minimize and close buttons reuse the app's native mini-player glyph handlers (with a Tauri `plugin:window:*` fallback), so they actually minimize and close.
- **Fixed:** lyrics strip always renders text when the switch is on (`Loading lyrics…`, native lyric line fallback, `No lyrics found`, `♪︎ instrumental`); fetch failures log to the console instead of failing silently.
- **Fixed:** deck wiring is error-isolated and the frame loop no longer depends on the mini-window detection heuristic, so a failure in one look cannot freeze the card.

### 2.1.1
- **Fixed:** the mini card now refreshes from `progress` / `playState` / `trackChange` events as well as the frame loop, so times, progress and the play button stay live; unknown durations show `--:--` instead of a frozen `0:00 / 0:00`.
- **Fixed:** vinyl disc rotation is CSS-driven while playing; per-look frame errors are isolated so one failing look cannot freeze the whole card.
- **Fixed:** the lyrics strip shows `Loading lyrics…`, `No lyrics found` or the instrumental marker instead of staying blank; click-to-seek falls back to the track's own duration; event listeners are removed when the card closes.

### 2.1.0
- **Added:** Mini Player widget modes — the mini window now renders a card that matches the Vinyl Spinner, Cassette Deck, Terminal Log, Wavegotchi, or the Aura Orbit Deck widget; switch looks from the icon row on the card, and the choice persists.
- **Added:** on-card **Lyrics switch** that shows or hides the current lyric line: synced lines track playback, plain lyrics rotate while playing, instrumentals show `♪︎`.
- **Improved:** the mini card provides transport, like, click-to-seek progress and window controls; the app's native mini player remains as a fallback when the theme card does not mount.

### 2.0.3
- **Fixed:** the skin picked in the deck now actually survives a restart. LastWave has no `LastWave.theme.setVariant`, and its own variant (defaulting to Nebula) overrode the saved choice on every start; the theme now restores its own saved skin first and only follows the app's variant when nothing is saved yet.
- **Fixed:** in very small windows the compact deck strip overflowed — the visualiser canvas fed its own pixel size back into its layout and ballooned the stage far past the 76 px strip. The stage, telemetry column and canvas now get definite heights.
- **Fixed:** `--lw-scrollbar-thumb` was a gradient; the app also feeds that token to `scrollbar-color`, which only accepts colours, so the declaration was dropped. It's a colour now.
- **Fixed:** play buttons and the active skin pill used hard-coded white text; they now use the skin's `on-accent` colour, which keeps contrast on the pale Cobalt accent and the dark-on-light Pop-Out/Obsidian accents.
- **Fixed:** the visualiser read only the first 28 of the 48 spectrum bands, so the top half of the spectrum was never shown. Bars now average slices across all bands.
- **Fixed:** the visualiser kept animating its idle wave while music played with Performance Mode on (where the app stops spectrum frames); it now rests, per LastWave's theme guidance.
- **Fixed:** Prism's cover-art colours silently never updated when the artwork host sends no CORS headers; it now falls back to the track's own accent colour.
- **Fixed:** the visualiser toggle button now reports its state (`aria-pressed`), and the platter clears when nothing is playing.
- **Improved:** the deck has CSS fallback geometry, so it never flashes unpositioned before the script lays it out.

### 2.0.2
- **Fixed:** the manifest now follows LastWave's plugin format (`type`, `entry`, `script`, `apiVersion: 1`). It previously failed to install with "Invalid local manifest.json".
- **Fixed:** the skin picked in the deck is now saved, so it no longer reverts to Nebula on restart.
- **Fixed:** the Prism and Obsidian pills were unreachable at the default deck size; the pill row now scrolls with the wheel, shows an edge fade, and centres the active skin.
- **Fixed:** a hidden deck stays out of the tab order; the deck's size no longer depends on the app's global `box-sizing`.
- **Fixed:** Alt shortcuts work on macOS (they used the typed character, which Alt changes) and no longer fire while typing in a field.
- **Improved:** keyboard focus rings, labelled and toggle-aware deck buttons, reduced-motion support, and sanitising of saved or cross-window state.
- **Improved:** mini-player detection runs once per frame instead of on every DOM change, and the bass glow only updates when its value changes.

### 2.0.1
- Orbit Deck is removed while the Mini Player is open and restored afterwards.
24 changes: 24 additions & 0 deletions themes/aura-theme/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "aura-theme",
"name": "Aura Theme",
"type": "theme",
"version": "2.1.4",
"apiVersion": 1,
"minAppVersion": "3.0.0",
"author": { "name": "Pol Daniel Bordoy" },
"description": "Atmospheric reactive glass theme with six skins and a draggable, resizable Orbit Deck. The Mini Player can now match any plugin-widget look (vinyl, cassette, terminal, pet, deck) with an on-card lyrics switch.",
"tags": ["glass", "dark", "purple", "reactive", "visualizer", "custom-ui", "mini-player", "widget", "lyrics"],
"previews": ["preview.jpg"],
"swatch": ["#0b0914", "#18132b", "#9d6bff", "#ff6b9d"],
"variants": [
{ "id": "nebula", "name": "Nebula", "swatch": ["#0b0914", "#18132b", "#9d6bff"] },
{ "id": "popout", "name": "Pop-Out", "swatch": ["#120d18", "#241930", "#ff7a59"] },
{ "id": "dusk", "name": "Dusk", "swatch": ["#130e1d", "#221733", "#e056fd"] },
{ "id": "cobalt", "name": "Cobalt", "swatch": ["#060d17", "#0f213b", "#38bdf8"] },
{ "id": "prism", "name": "Prism", "swatch": ["#0c0a16", "#1c1733", "#9d6bff"] },
{ "id": "obsidian", "name": "Obsidian", "swatch": ["#000000", "#0d0c14", "#b185ff"] }
],
"updatedAt": "2026-12-04",
"entry": "theme.css",
"script": "theme.js"
}
Binary file added themes/aura-theme/preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading