summaryrefslogtreecommitdiff
path: root/plugins/theme-examples
AgeCommit message (Collapse)Author
5 daysfix(theme-examples): write capability calls plainlyfeat/theme-examples-pointer-scenesClaude
Writes the calls that set and clear a theme as plain $.noun.method(...) calls. $.theme.set, $.theme.clear and $.ui.backdrop were each called through a "!", because an engine may lack them; each now stands under a "// @ts-expect-error" line instead, and what the one-line call was given moves to a typed const above it, so the type checker still reads it. "!" is TypeScript only, so what runs is unchanged. A tool that reads a mod's source as written, without compiling it, such as the plugin directory's validator, can then follow every call the mod makes. For the same reader, the member "read" of the type ProjectKeys becomes "toRead", and the type alias CardElements ends with a semicolon.
5 daysfix(theme-examples): let /fireworks play whole over the new scenesClaude
A /fireworks show over one of the nine new scenes runs two and a half seconds longer: the desktop app starts a moving picture that long after a shader goes, and a seven second show would lose its last bursts to the wait. hooks/fireworks.ts sizes and places the bursts for a scene's own width, so over the new stills, 1512 wide, they sit as they do over the earlier scenes, 1600 wide. Over the new scenes the bursts also take light or dark from the window, as the stills under the shaders do, except over Koi Pond, whose water is dark in both: there they are the bright ones in both. And every burst rests shut: the app plays a show there as an image and draws the show with its motion off for a moment before and after it, where a burst resting open would stand alone. A window that holds scenes still shows no bursts there, and the README's known limits say so. Over the 20 earlier themes, and with no theme, a show draws what it drew before, byte for byte, and lasts seven seconds.
5 daysfeat(theme-examples): add nine interactive shader scenesClaude
Adds nine scenes that answer the pointer: Duck Pond, Falling Sand, Field Lines, Garden Beetles, Koi Pond, Ripple Tank, Sea Sparkle, Semicolony and Star Chart. Each is a shader drawn over a still picture, and each is listed once for light windows and once for dark ones, so the plugin goes from 20 themes to 38. The still shows alone under reduced motion, on a GPU too weak for the scene, and on a Claude Code or desktop app that does not play shaders. hooks/interactive.tsx lays each shader over its still; the 20 earlier themes draw as before. The version goes from 0.4.4 to 0.5.0.
5 daysfix(theme-examples): shorten the /custom-theme description (#7152)Keeley Hammond
Squash merge of 1 commit
12 daysAdd theme-examples: example backdrops for the Claude desktop app (#7116)Daisy S. Hollman
Squash merge of 1 commit