Skip to content

Antigravity Theme v0.3.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 18:56
Immutable release. Only release title and notes can be modified.
a9e1488

Project Overview

Antigravity Theme (@django9944/antigravity-theme) — OKLCH matte & aurora glass theme system (7 families × Dark/Light) + zero-resign macOS/Windows desktop ASAR patcher for Antigravity.

  • Target Application: Antigravity 2.0 Agent Desktop App Only (macOS & Windows zero-resign ASAR Hook v3, plus W3C DTCG / CSS Variable packs)
  • Theme Families (7 Families × Dark / Light = 14 OKLCH + APCA Variants + Stock):
    • Orbital (antigravity-dark / antigravity-light) — Flagship Orbital Slate & Cloud Matte Glass
    • Prism, Zenith, Lagoon, Solar, Nova, Nebula (antigravity-<family>-dark / antigravity-<family>-light) — Celestial Aurora OKLCH Matte Glass
  • Live 3-Pane Preview Workbench: https://django9944.github.io/antigravity-theme/preview/

What's Changed in v0.3.0 (Iteration Notes)

  • fc81f60: Upgrade desktop ASAR hook to v3: resolve theme payloads strictly from absolute electron.app.getPath('userData') and platform HOME/APPDATA paths instead of process.resourcesPath, stop writing Resources/custom-theme into the Antigravity application bundle, and clean up legacy bundle theme directories during install/uninstall so subsequent hot-updates require zero bundle write privileges.
  • 9c79d30: Add English default CLI output with automatic Chinese (zh*) localization to install.sh and install.ps1 (overridable via AGT_LANG), and ship English check-update.command / check-update.bat launchers alongside 检查更新.command / 检查更新.bat.
  • 136a4f6: Write stock ASAR backups atomically with hash verification and metadata backfill, fsync rebuilt ASAR archives before closing, and report truthful rollback results without rolling back an unmodified app.asar.
  • f63a9a9: Classify install.sh bundle write failures into EPERM, EROFS, and EACCES (exiting with code 3) with actionable macOS App Management (系统设置 → 隐私与安全性 → App 管理), read-only volume/SIP, and sudo guidance instead of prompting with a generic error.
  • 9df21a2: Require explicit AGT_NODE_OK token and a 10-second timeout during installer JS runtime probes, probe runtimes only in engine modes, parse core/updater.js --format env in a single invocation, and report RunAsNode fuse state in doctor.
  • 2124ee2: Make hot updates transactional in core/updater.js (applyUpdate stages and verifies all target files before swapping them, commits manifest.json strictly last, and rolls back swapped files in reverse order on failure) and check target write permissions prior to downloading updates in install.sh and install.ps1.
  • 5826d71: Register Windows auto-heal scheduled tasks using Register-ScheduledTask with interactive current-user logon + 4-hour triggers, battery execution settings, a 10-minute execution limit, and conhost.exe --headless support on Windows 11 22H2+, migrating prior schtasks definitions cleanly.
  • ee7fdd8: Populate host base/dark stylesheets lazily on first activation, deduplicate constant tokens across variants, and compact embedded CSS in current.js.
  • 19d424a: Route all frosted-glass backdrop-filter declarations through custom properties cleared under prefers-reduced-transparency: reduce, including the theme switcher dropdown.
  • 6ba5bff: Revalidate cached, fetched, and DOM-stored release URLs against https://github.com/<owner>/<repo>/releases... before rendering or opening the update banner, falling back to the repository's /releases/latest page.
  • 60a9e1f: Leave native titlebar, theme color, and modal chrome untouched while in Stock mode, restore once on Stock switch, and add oklch() / lab() support to runtime color parsing.
  • eaa5d2c: Restore a visible :focus-visible ring on the titlebar theme switcher button and menu items, and include the update banner as a keyboard-reachable menuitem in the dropdown menu.

Release Bundles & Verification

Asset Purpose
antigravity-theme-v0.3.0.zip Full Design Token & Theme Pack (dist/manifest.json, variables.css, theme.json, code-theme.json, mermaid.json, and dist/runtime/) for all 14 variants
antigravity-theme-v0.3.0-macos.zip macOS One-Click Installer (install.command, install.sh, core/asar-patcher.js, core/updater.js, LaunchAgent auto-heal & dist/runtime/)
antigravity-theme-v0.3.0-windows.zip Windows One-Click Installer (install.bat, install.ps1, core/asar-patcher.js, core/updater.js, Scheduled Task auto-heal & dist/runtime/)
SHA256SUMS.txt Unified SHA-256 integrity checksums for all three release ZIP archives