npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@materialwebunofficial/antigravity-themes

v1.0.13

Published

Matte, Paper, Nordic, and Material 3 Expressive themes for Antigravity Desktop, applied without changing the app's files.

Readme

antigravity-themes

Four themes for Antigravity Desktop: Matte, Nordic Frost, E-Ink / Paper and Material 3 Expressive (in five colors). Each one restyles the whole app in its own structure, Settings, menus, dialogs and sidecar panes such as Swarm included, rather than recoloring Antigravity's default look.

This is an unofficial project. It is not affiliated with, endorsed by or sponsored by Google.

Install

npx -y @materialwebunofficial/antigravity-themes install --native

That is all. It takes a few seconds, needs no administrator rights, and it is permanent: the themes stay after closing Antigravity, after restarting the computer and after Antigravity updates itself, with nothing running in the background and nothing to reinstall. It needs Node.js 22 or newer (only to run the command; the themes do not need it afterwards).

Without --native, install leaves Antigravity's files untouched and applies the themes from a small background process instead (see What install does).

On Windows, if PowerShell says running scripts is disabled, use npx.cmd in place of npx.

For AI agents

If you were asked to install these themes, this is the whole job:

  1. Run the command above once, from any folder except a copy of this repository. On Windows, use npx.cmd, which works in every shell.
  2. Read the last line. Done. and exit code 0 mean the themes are installed, applied and permanent. Otherwise the output says what is wrong and the exit code is 1.

The command checks its own result, so nothing else is needed: do not clone this repository, read further, restart Antigravity, change its settings or files, or take screenshots to confirm. Do not use on or start in its place; they are not permanent.

If Node.js is missing or too old, install it (winget install OpenJS.NodeJS.LTS on Windows, brew install node on macOS), then run the command in a new shell.

To check later, run the same command with status in place of install: exit code 0 means installed and permanent.

Screenshots

Material 3 Expressive

Matte

Watch the demo video (27 seconds)

Requirements

  • Antigravity Desktop. Tested with versions 2.31.0 and 2.31.2 on Windows 11 (the keeper carried the themes across that update on its own). macOS and Linux are supported in the code but untested.
  • Node.js 22 or newer. Check with node --version.

What install does

install --native (recommended)

  1. Stops a background process from an earlier install, if any, and removes its logon entry and its folder, so an older version cannot replace the themes.
  2. Writes the themes into Antigravity's own files. Antigravity loads resources/app before its app.asar archive, so the app is extracted there once and two of its files are patched: the window's preload (dist/preload.js) runs the theme script, and the main process (dist/main.js) runs the frame script in each sidecar pane (Swarm), which a preload cannot reach. A stamp, resources/app/agy-themes.json, records which build of the themes is in place.
  3. Adds a small Antigravity plugin, ~/.gemini/config/plugins/antigravity-themes, holding the keeper. Antigravity itself starts the keeper (as a plugin sidecar, with its own built-in Node) every time it launches:
    • when the themes are in place, the keeper exits at once;
    • after an Antigravity update, which replaces resources, it extracts and patches the app again (about a second) and themes the open windows right away, so the update shows the themes on its first start.
  4. Applies the themes to the open windows and panes now.

While Antigravity runs, Windows keeps its app.asar locked; if an earlier version of this tool had patched that archive, install --native says so. It is harmless (Antigravity loads resources/app); run the command again with Antigravity closed to restore the original archive.

Turning the plugin off in Antigravity stops the keeper: the themes then last until the next Antigravity update.

install (background process)

  1. Copies this package to a folder in your user profile:

    | System | Folder | | ------- | ------ | | Windows | %LOCALAPPDATA%\antigravity-themes | | macOS | ~/Library/Application Support/antigravity-themes | | Linux | $XDG_DATA_HOME/antigravity-themes (default ~/.local/share/antigravity-themes) |

  2. Adds an entry that starts the themes when you log in, with no window:

    | System | Entry | | ------- | ----- | | Windows | antigravity-themes.vbs in your Startup folder (shell:startup) | | macOS | ~/Library/LaunchAgents/dev.antigravity-themes.plist | | Linux | ~/.config/autostart/antigravity-themes.desktop |

    The entry runs the Node.js you installed with, by its full path. If that path changes (for example after switching versions with a version manager), run install again.

    To skip this, use npx -y @materialwebunofficial/antigravity-themes install --no-autostart and run npx -y @materialwebunofficial/antigravity-themes start when you want the themes.

  3. Starts a small background Node.js process. It applies the theme to every Antigravity window, keeps it applied when a window reloads, and waits quietly while Antigravity is closed.

  4. Waits until the open windows have the theme and reports the result. If Antigravity is closed, the theme appears when it starts.

Choosing a theme

  • Matte, Nordic Frost, E-Ink / Paper: open the Theme menu in the title bar.
  • Material 3 Expressive: the title bar menus (Antigravity, Workspace, View, Window, Theme) are gathered into one menu button at the top left. Open it, then Theme.
  • Ctrl+Shift+F12 switches to the next theme (Control, not Command, on macOS too).
  • From a terminal: npx -y @materialwebunofficial/antigravity-themes theme lists the themes, and npx -y @materialwebunofficial/antigravity-themes theme md3e-ocean switches every window to one.

| Key | Theme | | ------------- | ----- | | antigravity | Antigravity's own look (the themes off) | | matte | Matte (the default) | | nordic | Nordic Frost | | paper | E-Ink / Paper | | md3e-teal | Material 3 Expressive, Teal | | md3e-ocean | Material 3 Expressive, Ocean | | md3e-forest | Material 3 Expressive, Forest | | md3e-amber | Material 3 Expressive, Amber | | md3e-coral | Material 3 Expressive, Coral |

Your choice is remembered. Light and dark follow Antigravity's own appearance setting; every theme has a light and a dark version.

What the themes change

Each theme has its own layout language, carried through the Settings dialog (navigation, page titles, groups, rows, switches, selects, buttons, segmented controls, sliders, fields, option cards, key caps, usage rings and token bars), dialogs, menus, the "Restart to Update" button and the Swarm pane. None of them loops an animation (the app's own pulsing update button is stilled), and hovers keep text at WCAG AA contrast or better.

Matte is quiet and fast: a near-black window holding one rounded panel, small neutral steps between surfaces, 1px lines for structure, and no gradients, blur or glow. Settings reads like an inspector: a darker index column with a bright bar on the current page, plain rows ruled by hairlines under small uppercase labels, compact 28px controls in raised gray, mono key caps, and a switch that is the one bright thing when on.

Nordic Frost uses the Nord palette: Polar Night surfaces, Snow Storm text, Frost accents, Aurora for status. Settings is a preferences window: a raised index column with Frost group headings, every group a solid tile with grooves of the base color between its rows, flat filled controls with no strokes, and Frost marking what is on or chosen.

E-Ink / Paper is strict monochrome for reading: ink on paper (or paper on ink), a serif for headings and prose, square corners, rules instead of shadows, and no in-between animation frames. Settings is a printed form: a serif index with the current page printed in reverse, small-capital group titles under a heavy rule, ruled boxes with dashed lines between entries, square ink controls that print in reverse when chosen, and fields drawn as lines to write on.

Material 3 Expressive maps the Material 3 Expressive design system onto the app: its color schemes, the Roboto type scale, shapes, state layers, ripples and spring motion; Material Symbols Rounded icons; a navigation drawer style sidebar (title-small group headlines, dividers between the destinations and every group); the app menu button; a shape-morphing loading indicator while the agent works; and wavy progress bars for running background commands and tasks. The menu and the indicators are the md3e-web components. In detail:

  • Settings follows M3's list-detail layout: a navigation drawer beside the page, which is a pane with large corners; settings are M3 Expressive segmented lists (items 2px apart, 4px corners inside a group, 20px outside) under title-small primary category headers; M3 switches (the handle springs on the compositor), sliders, connected button groups (the selection fades and morphs, the pressed button widens), filled text fields, outlined selects whose lists are M3 menus, and filled or tonal buttons whose corners close when pressed. Shape morphs run between real radii, never from the 9999px "full" token, so the spring's overshoot cannot flash square corners, and a ripple follows its button's box and corners while it plays.
  • Usage (the model menu's View Usage, and Settings > Models & Usage): M3 circular progress indicators, with the gap between the arc and its track; the menu's usage view is a list of two-line menu items.
  • Dialogs are M3 dialogs, artifact cards (plans, reports) are filled cards with a filled Proceed and a tonal split Open button, and Restart to Update is an extra-small filled button with a refresh icon.

Every theme also adds:

  • Context at the top of the Overview panel: how full the conversation's context window is and what takes it up (system prompt, tools, rules, MCP tools, skills and so on), with a warning at 80% and at 95%. The app does not report context window sizes, so they are assumed by model family: Gemini 256k tokens, Claude 200k, GPT-OSS 128k.
  • Token counts under each finished agent turn, for example 2.5k in · 358 out · 142k cache.
  • Wrap lines and Line numbers buttons beside "Copy code" in chat code blocks. Line numbers are not copied.

Sidecar panes such as Swarm follow the theme too. Each is a separate page (a plugin:// frame) with its own styles, so every theme has a frame style sheet for it (themes/frames/), loaded inside the frame by a small frame script. In Material 3 Expressive the Swarm board is a list of tonal rows with primary tabs, a search bar, filter chips and an M3 switch and slider, and its Live status is the md3e-web loading indicator: still while the board is connected, morphing when new posts arrive, running while it reconnects. Swarm's dropdowns use Chromium's customizable select (appearance: base-select), so their lists are drawn in the page and follow each theme: an M3 menu in Material 3 Expressive, a hairline panel in Matte, a Polar Night tile in Nordic Frost, a ruled box in E-Ink / Paper.

Chips inside a sent message (quotes, files, terminal output) take the message bubble's own ink in every theme, so a quote stays readable on any bubble color.

Commands

Run each as npx -y @materialwebunofficial/antigravity-themes <command>.

| Command | What it does | | ------- | ------------ | | install --native | Write the themes into Antigravity and add the keeper plugin: no background process, kept across restarts and updates (see above) | | install [--no-autostart] | Install, add the logon entry, and start the background process (see above) | | uninstall | Remove everything either install added (see below) | | start | Start the background process | | stop | Stop it. Open windows keep the theme until they reload | | on | Apply the themes to the open windows once, without the background process | | off | Stop the background process and restore the app's own look in the open windows. The themes come back at the next logon unless you uninstall | | theme [key] | List the themes, or switch every window to one | | status | Show what is installed and running, and which windows are themed. Exit code 1 if not permanent | | run [--dev] | Run the background process in this terminal | | help, --version | Show the commands, or the version |

Update

Antigravity updates need nothing: with the native install, the keeper puts the themes back at the first start after the update.

To get a newer version of the themes:

npx -y @materialwebunofficial/antigravity-themes@latest install --native

This patches the app with the new build, replaces the keeper's copy and applies the new themes to the open windows. (With the background install, install without --native replaces its copy and restarts the process.)

Uninstall

npx -y @materialwebunofficial/antigravity-themes uninstall

This removes the keeper plugin, takes the themes out of Antigravity's files (and, with Antigravity closed, deletes the extracted resources/app so the app runs from its own app.asar again), restores the app's own look in the open windows, and stops a background process and deletes its logon entry and install folder if there are any.

Three small cookies stay in Antigravity's own storage (see Privacy). They have no effect without this tool.

How it works

Native install. Electron loads an app folder, resources/app, before the app.asar archive. The installer extracts the archive there and adds the scripts to two of its files: the window's preload runs the theme script in every window as it loads, and the main process runs the frame script in each sidecar frame (plugin://, such as Swarm) as it navigates. Nothing listens on a port and nothing stays running.

An update replaces resources, so the themes would be gone after it. The keeper plugin covers that: Antigravity discovers plugins in ~/.gemini/config/plugins/, outside its install folder, and starts their sidecars itself at every launch. The keeper compares the stamp in resources/app with its own build; when they differ (or the folder is gone) it extracts and patches the app from its own copy of this package, then applies the themes to the windows that are already open over the app's local debugging port, and exits.

Background install. Antigravity starts with the Chrome DevTools Protocol enabled on a local port, on every launch, and writes that port number to a file named DevToolsActivePort in its user data folder (%APPDATA%\Antigravity on Windows, ~/Library/Application Support/Antigravity on macOS, ~/.config/Antigravity on Linux). This tool does not open that port or change how the app starts.

The background process reads the port, connects to it on 127.0.0.1, and in each window:

  • runs the theme script, which adds a style sheet and a few small elements (the menu, the code block buttons, the indicators), and
  • registers the same script to run again whenever the window reloads.

In each sidecar frame (plugin://, such as Swarm) it runs the frame script instead: only the frame host and the themes' frame style sheets. The frame asks the window which theme, seed and light or dark mode is on, and the window tells every frame when that changes. No other frame is touched.

To find and stop the background process, the other commands talk to it on 127.0.0.1 through a random port and a random token that it writes to run.json in the install folder while it runs.

Things to know:

  • If a future version of Antigravity stops opening that port, the themes cannot be applied. The background process then waits, and status says so.
  • Any program running on your computer can connect to that port. That is true with or without this tool; it is how Antigravity is built.

Privacy

  • No telemetry. The tool makes no network requests except to 127.0.0.1 (npx itself downloads the package from npm).

  • Inside the app, the context and token features read data the app already holds, to show it: token usage from the app's own interface state, and the breakdown of the context from the app's own getTokenBase() call, the same call its Customizations screen makes. Nothing is sent anywhere.

  • Stored in Antigravity's own storage, as cookies:

    | Cookie | Holds | | ------ | ----- | | agy-theme | Your theme choice | | agy-code | The Wrap lines and Line numbers settings | | agy-usage | Running token totals for your last 20 conversations, by conversation id |

  • Native install: resources/app/agy-themes.json (the build in place and the Antigravity version), and keeper.log in the data folder Antigravity gives the keeper (what the keeper did at each start; started anew at 256 KB).

  • Background install, in the install folder: run.json (process id, control port, token and version, while running), run.log (when windows were found and themed, with their internal addresses; started anew when it reaches 512 KB) and, on Windows, start.vbs (starts the background process with no window).

Compatibility and known limits

  • The themes are written against Antigravity 2.31's interface (its class names, element ids and component data). An app update can break parts of them until this package is updated. If that happens, npx -y @materialwebunofficial/antigravity-themes theme antigravity restores the app's own look at once, and uninstall removes everything.
  • Windows 11 is tested. macOS and Linux follow the platforms' usual folders and logon entries but have not been tested.
  • The context window sizes are assumptions (see above).
  • Only one background process runs at a time; install and start reuse or replace it.

Troubleshooting

  • npx -y @materialwebunofficial/antigravity-themes status shows whether the themes are installed, whether the background process runs, and which Antigravity windows are themed.
  • The logs are keeper.log (native install) and run.log in the install folder (background install).
  • Antigravity looks wrong after an update: run npx -y @materialwebunofficial/antigravity-themes theme antigravity and open an issue with your Antigravity version.

Development

git clone https://github.com/materialwebunofficial/antigravity-themes.git
cd antigravity-themes
node bin/cli.mjs stop
node bin/cli.mjs run --dev

With Antigravity open, run --dev applies the files from your checkout and applies them again whenever something in src/, themes/ or vendor/ changes. Stop an installed background process first, as above: only one runs at a time.

| Path | Contents | | ---- | -------- | | bin/cli.mjs | The commands | | lib/ | Finding Antigravity, the DevTools connection, logon entries, the native install (native.mjs, with asar.mjs for the archive), the keeper (keeper.mjs) and its plugin (plugin.mjs) | | src/ | The scripts that run in the app: the theme host (menus, theme switching, ripples), the frame host for sidecar panes, and the context, token, code block and indicator features | | themes/ | index.json (the theme list), each theme's tokens and CSS, and frames/: each theme's style sheet for sidecar panes | | vendor/md3e/ | The md3e-web components, the Roboto font, and their licenses | | tools/ | Generators for files in themes/ and vendor/ (below) |

The generated files are committed, so you need these only to rebuild them:

node tools/build-md3e.mjs <path to the md3e-web package>      # themes/md3e-tokens.css
node tools/build-vendor.mjs <path to the md3e-web package>    # vendor/md3e/components.js
python tools/build-icons.py <app main.js> <Material Symbols Rounded woff2>   # themes/md3e-icons.css, needs fontTools

Credits

  • Made with md3e-web (@materialwebunofficial/md3e-web), Apache License 2.0: the components, design tokens and color engine behind the Material 3 Expressive theme.
  • Roboto, SIL Open Font License 1.1.
  • Material Symbols, Apache License 2.0.
  • Material Color Utilities, Apache License 2.0.

License

Apache License 2.0. See LICENSE and NOTICE.

"Antigravity" is a trademark of Google LLC. This project is not affiliated with, endorsed by or sponsored by Google.