This file provides guidance to WARP (warp.dev) when working with code in this repository.
This is a Visual Studio Code theme extension for GraphLinq Chain, a no-code blockchain platform. The theme provides a dark color scheme based on GraphLinq's brand colors and is published to the VS Code marketplace.
The project follows the standard VS Code extension structure:
package.json: Extension manifest defining metadata, theme contribution point, and dependenciesthemes/dark.json: Complete theme definition with UI colors and syntax highlighting tokens.vscode/launch.json: VS Code debug configuration for extension development.vscodeignore: Files excluded from the extension package
The themes/dark.json file contains two main sections:
colors: UI theme colors (462 color definitions covering editor, sidebar, terminal, debug console, etc.)tokenColors: Syntax highlighting rules for different code elements (comments, keywords, strings, etc.)
- Primary purple:
#5029e5 - Accent pink:
#ff007a,#ff286f - Background dark:
#131026,#1c1836 - Foreground light:
#ece7fd,#ede8fd - Secondary purple:
#685b93,#8833de - Highlight yellow:
#fdfe54 - Success green:
#05f24f - Blue accents:
#008aff,#3a49d0
npm run packageCreates a .vsix file for distribution.
npm run install-local
# or
npm run test-local # packages and installs in one commandUse F5 or Run > Start Debugging to launch Extension Development Host with the theme loaded.
# Bump patch version (0.1.1 -> 0.1.2)
npm run version:patch
# Bump minor version (0.1.1 -> 0.2.0)
npm run version:minor
# Bump major version (0.1.1 -> 1.0.0)
npm run version:major# Complete release with publishing
npm run release:patch
npm run release:minor
npm run release:major
# Release without publishing (for testing)
powershell -ExecutionPolicy Bypass -File ./scripts/release.ps1 patch -SkipPublish# Setup publisher authentication (one-time)
npx @vscode/vsce login GraphLinq
# Publish current version
npm run publish
# Create GitHub release manually
gh release create v0.1.3 --title "Release v0.1.3" --notes "Release notes here" --verify-tag
gh release upload v0.1.3 graphlinq-vscode-theme-0.1.3.vsix# List releases
gh release list
# View specific release
gh release view v0.1.2
# Authentication (one-time setup)
gh auth login- Modify theme: Edit color values in
themes/dark.json - Test changes: Use F5 to launch debug instance or reload VS Code window if already installed
- Update version: Increment version in
package.jsonfollowing semantic versioning - Document changes: Add entry to
CHANGELOG.mdfollowing Keep a Changelog format - Package and test: Create
.vsixpackage and test installation - Publish: Use vsce to publish to marketplace
When modifying colors, maintain consistency with GraphLinq brand:
- Use existing palette defined in the theme
- Ensure sufficient contrast for accessibility
- Test with multiple programming languages to verify syntax highlighting
- Verify UI elements maintain visual hierarchy
- Microsoft Account: Sign up at Visual Studio Marketplace
- Azure DevOps: Create organization if needed
- Publisher Account: Create publisher "GraphLinq" if not exists
- Personal Access Token: Generate with Marketplace (publish) scope
- GitHub CLI: Install with
winget install GitHub.clifor automatic releases
# Login to marketplace (one-time setup)
npx @vscode/vsce login GraphLinq
# Verify authentication
npx @vscode/vsce verify-pat GraphLinq
# List authenticated publishers
npx @vscode/vsce ls-publishers- ✅ Ready: Publisher authenticated, can use
npm run publish ⚠️ Needs Auth: Runnpx @vscode/vsce login GraphLinqfirst- ❌ No Publisher: Create publisher account at VS Code marketplace
- Theme colors: Only modify
themes/dark.json - Metadata changes: Update
package.jsonfor version, description, or contribution changes - Documentation: Update
README.mdfor user-facing changes,CHANGELOG.mdfor version history - Version bumps: Use
npm run version:*scripts to handle version changes automatically