Skip to content

feat: official themes, validation CI and signed release workflow - #1

Merged
ValgulNecron merged 2 commits into
masterfrom
feat/official-themes
Nov 28, 2026
Merged

ValgulNecron merged 2 commits into
masterfrom
feat/official-themes

Conversation

@ValgulNecron

Copy link
Copy Markdown
Member

What

Content for the official theme source of the Gameplane theme marketplace (spec 043, tasks T060 to T062).

  • 33 themes, seeded from the custom CSS gallery on Gameplane's feat/example-theme-gallery branch. Each has theme.yaml (light and dark tokens), theme.css and a light and a dark preview. All 33 pass gp-module theme validate.
  • build.sh: validate runs every package rule; push validates, pushes to <registry>/<name>:<version> through gp-module theme package --push, and with --sign signs the manifest digest with cosign (same flags as the module bundles). --skip-existing leaves published versions alone.
  • .github/workflows/validate.yaml: builds gp-module from a pinned Gameplane commit and validates every theme on pull requests and on master.
  • .github/workflows/release.yaml: on a v* tag, pushes every unpublished theme version to ghcr.io/gameplanepanel/gameplane-themes and signs it with the project key (keyed, not keyless).
  • hack/capture-previews.ts: renders the previews from the real dashboard in mock mode, with the theme applied through the dashboard's own applyThemePreferences.
  • README.md, AGENTS.md (CLAUDE.md is a symlink to it).

How the themes were made

  • Tokens are the values each overlay resolves to in a browser, per mode, for the 14 token names. The overlays that only change layout, shape, type or motion keep the Modern Pink tokens.
  • theme.css is the overlay stylesheet, with the paste-into-settings header comment replaced by a one-line header. Two comments that contained the text <style> were reworded, because the sanitizer refuses that text.
  • Previews are 1280x800 PNG, the largest is 199 KiB.

Checked

  • ./build.sh validate: 33 themes ok.
  • ./build.sh push --plain-http against a local registry: artifact type and layers match the package contract; --skip-existing skips the published version.
  • Not run here: the cosign signing step (no cosign in this environment). It uses the same flags as build.sh in GameplanePanel/module.

Before the first release tag

  • This repository needs the release-signing environment with COSIGN_PRIVATE_KEY and COSIGN_PASSWORD.
  • The theme names go into themes.officialSource.themes in the Gameplane chart (separate Gameplane PR).

Generated by Claude Code

Seeds 33 themes from the Gameplane custom CSS gallery, each with light
and dark tokens and dashboard previews. build.sh validates, pushes and
signs through gp-module; hack/capture-previews.ts renders the previews
from the dashboard in mock mode.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@ValgulNecron ValgulNecron self-assigned this Nov 28, 2026
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2f8da3df-b5fe-4ef1-939a-5045cd560d8a
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@ValgulNecron
ValgulNecron merged commit a761721 into master Nov 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants