The Lynx LIQUID theme is unlike every other theme in the collection. Rather than simply recoloring VS Code tokens, LIQUID injects platform-specific CSS directly into the VS Code workbench shell, producing a real frosted-glass transparency effect that lets your desktop or wallpaper bleed through the editor UI. The underlying color theme — built on a deep navy base with Tokyo Night-inspired syntax colors — is designed to look beautiful both with and without the glass effect active.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bastndev/Lynx-Theme-Pro/llms.txt
Use this file to discover all available pages before exploring further.
Activation
Open the Color Theme picker
Open the Command Palette (Ctrl/Cmd + Shift + P) and run Preferences: Color Theme.
Wait for the engine to activate
The extension detects your operating system and runs the appropriate installation routine. A notification appears confirming the effect was installed and prompting you to restart VS Code.
Theme Properties
| Property | Value |
|---|---|
| Type | vs-dark |
| Semantic class | theme.liquid-glass |
| Semantic highlighting | Enabled |
| Editor background | #0c1018a8 (semi-transparent) |
| Sidebar / Panel / Terminal | #00000000 (fully transparent) |
| Cursor foreground | #7aa2f7 |
| Editor selection | #7aa2f728 |
| Gutter added | #73daca60 |
| Gutter modified | #7aa2f760 |
| Gutter deleted | #f7768e60 |
#00000000). This is intentional: the transparency effect supplied by the CSS engine, not the color theme tokens, provides the actual background. The editor content area retains a semi-transparent dark blue-gray (#0c1018a8) so text remains readable over any wallpaper.
How It Works
The LIQUID engine lives insrc/themes/liquid-theme/ and is the most complex piece of the extension. Its activation is governed by a lifecycle that runs entirely within the VS Code extension host.
- Startup lifecycle
- Installation routine
- Deactivation & cleanup
The extension registers an
onStartupFinished activation event, which means the engine runs after VS Code has fully loaded — avoiding any interference with the editor’s own startup sequence.On activation, the engine:- Calls
getPlatformHandler()to detect the OS and load the right platform module. - Reads the
lynxLiquidInstalledkey fromcontext.globalStateto determine whether a previous installation is still in place. - If the Liquid theme is currently active, calls
handler.handleActivation(context)to apply or re-verify the CSS patch. - If the Liquid theme is not active and no installation exists, calls
cleanupLiquidResidueto ensure no orphaned patches remain from a previous session. - Registers a
onDidChangeConfigurationlistener so that switching to or away from the Liquid theme at runtime triggers activation or deactivation immediately — no restart required for the uninstall path.
Platform Detection
The engine selects the correct platform module at runtime usingprocess.platform. If the platform is not recognized, the extension loads normally but the glass effect is silently skipped.
LIQUID_THEME_LABEL is the exact string '8. LIQUIDㅤㅤ(Lynx Theme) 🧪' — matching the theme’s name entry in package.json character for character.
Platform Support
Linux
Supported. The engine uses
pkexec (Polkit) when elevated write permissions are needed for the VS Code application directory. Snap and Flatpak installs are not supported — use the .deb package. A shell script handles the restart sequence so the editor reopens automatically after closing.macOS
Supported. The engine uses Electron’s native
vibrancy option (under-window) to produce the frosted-glass effect, which integrates with macOS window compositing. Administrator credentials may be requested via a system dialog if the VS Code app directory requires elevated access.Windows
Supported. The engine injects Electron window background material options for Windows transparency APIs. After installation, a restart prompt is shown so the transparency effect takes effect.
On unsupported platforms (e.g., ChromeOS Linux containers, remote SSH sessions),
getPlatformHandler() returns null and the extension logs a warning: [Lynx Liquid] Unsupported platform: <platform>. The extension remains active and the base color theme is applied normally — only the glass effect is skipped.Recovery
If VS Code displays the “Your installation appears to be corrupt” notification after activating the Liquid theme, this is expected behavior. It is safe to click “Don’t Show Again”. The editor, all extensions, and all VS Code functionality continue to work normally. To fully remove the glass effect and restore VS Code to an unmodified state, switch to any other theme in the theme picker. The LIQUID engine detects the theme change, runshandleDeactivation, removes all patches, and prompts you to restart.
Why does VS Code warn about a corrupt installation?
Why does VS Code warn about a corrupt installation?
VS Code calculates a checksum of its own workbench files on startup and compares it against the expected values shipped with the release. When the LIQUID engine patches
workbench.esm.html and the main workbench JS bundle, the file checksums change, which causes VS Code’s integrity checker to flag the installation as modified.This is a deliberate security signal from Microsoft — it means the workbench files are not identical to what was shipped. The warning does not indicate malware, data loss, or functional damage. Every workbench-patching theme or extension (GlassIt, Vibrancy Continued, Custom CSS and JS Loader) triggers the same warning for the same reason.The Lynx LIQUID engine removes all patches cleanly when you switch away from the theme, which restores the file checksums and causes the warning to disappear after the next restart.For a full technical deep-dive into how the Liquid engine resolves VS Code paths, builds the CSS bundle, manages staged file writes, and handles the CSP patch, see the Architecture page.