Okay, let's structure a VS Code extension for the Cyberdream
theme, taking inspiration from the Noctis
structure while using the Cyberdream
palette and TextMate definitions.
Goal: Create a VS Code extension providing Cyberdream
(dark) and Cyberdream Light
color themes.
Strategy:
- Adopt Structure: Mimic the
noctis
project structure (src/
,themes/
,package.json
, build script). - Extract Palette: Define the Cyberdream dark and light color palettes in a dedicated file (
src/colors.mjs
). - Translate Syntax: Convert the provided
cyberdream.tmTheme
andcyberdream-light.tmTheme
files into VS Code'stokenColors
JSON format. Add basic semantic highlighting rules. - Define Workbench UI: Create workbench color definitions (
src/workbench/*.mjs
) for both variants, mapping the Cyberdream palette to VS Code UI elements. Incorporate the "borderless picker" style.