Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ body:
id: description
attributes:
label: Description
description: A clear description of the bug — incorrect colors, missing highlighting, low contrast, etc.
description: A clear description of the bug - incorrect colors, missing highlighting, low contrast, etc.
validations:
required: true

Expand All @@ -79,7 +79,7 @@ body:
id: actual
attributes:
label: Actual appearance
description: Include a screenshot if possible — visual bugs are much easier to diagnose with one.
description: Include a screenshot if possible - visual bugs are much easier to diagnose with one.
validations:
required: true

Expand All @@ -95,6 +95,6 @@ body:
id: context
attributes:
label: Additional context
description: Any other context — related issues, custom editor settings, etc.
description: Any other context - related issues, custom editor settings, etc.
validations:
required: false
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: Security Vulnerability
url: https://github.com/I4cTime/quantum-fluidity-theme/security/advisories/new
about: Report security vulnerabilities privately — do not open a public issue.
about: Report security vulnerabilities privately - do not open a public issue.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ body:
id: context
attributes:
label: Additional context
description: Anything else — mockups, links, related issues, etc.
description: Anything else - mockups, links, related issues, etc.
validations:
required: false
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

- [ ] `npm run build` regenerates `themes/*.json` cleanly (`git diff themes/` is empty)
- [ ] `npm run check` (WCAG contrast audit) passes
- [ ] Verified the theme renders correctly in VS Code / Cursor / Kiro — screenshot attached for any visual change
- [ ] Verified the theme renders correctly in VS Code / Cursor / Kiro - screenshot attached for any visual change
- [ ] `CHANGELOG.md` updated under `[Unreleased]` (for user-facing changes)

## Breaking changes

<!-- None — or describe the impact and migration steps. -->
<!-- None - or describe the impact and migration steps. -->
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ jobs:
- uses: actions/setup-node@v7
with:
node-version: "22"
cache: npm

- run: npm ci

- name: Build themes
run: npm run build

# themes/*.json are generated from src/ — fail if someone edited them by
# themes/*.json are generated from src/ - fail if someone edited them by
# hand or forgot to rebuild after a palette change.
- name: Verify generated themes are in sync
run: git diff --exit-code themes/
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: Release
# git tag v2.0.0 && git push origin v2.0.0
#
# Required repository secrets:
# VSCE_PAT — Azure DevOps PAT with Marketplace → Manage scope
# VSCE_PAT - Azure DevOps PAT with Marketplace → Manage scope
# (https://code.visualstudio.com/api/working-with-extensions/publishing-extension)
# OVSX_PAT — open-vsx.org access token; the I4cTime namespace must exist
# OVSX_PAT - open-vsx.org access token; the I4cTime namespace must exist
# (npx ovsx create-namespace I4cTime -p <token>, one-time)
on:
push:
Expand All @@ -27,6 +27,9 @@ jobs:
- uses: actions/setup-node@v7
with:
node-version: "22"
cache: npm

- run: npm ci

- name: Verify tag matches package.json version
run: |
Expand Down Expand Up @@ -54,7 +57,7 @@ jobs:
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

# Cursor and Kiro install from Open VSX — publish the identical .vsix there.
# Cursor and Kiro install from Open VSX - publish the identical .vsix there.
- name: Publish to Open VSX
run: npx --yes ovsx publish ./*.vsix
env:
Expand Down
12 changes: 7 additions & 5 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
.vscode/**
.vscode-test/**
out/**
.github/**
node_modules/**
src/**
demo/**
assets/**
.gitignore
.yarnrc
webpack.config.js
yarn.lock
.editorconfig
*.vsix
package-lock.json
CONTRIBUTING.md
SECURITY.md
55 changes: 39 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,61 @@

All notable changes to **Quantum Fluidity** are documented here.

## [2.1.0]

### Added
- **New brand mark.** The marketplace icon is now a vector "Fluid Q": a neon-tube Q with a wave tail and an electron orbit, drawn in the theme's own cyan to violet to pink bracket ramp. Lives in `assets/brand/` with small and mono cuts, plus a social card and GitHub repo preview, all rendered by `npm run build:brand`.
- **Agentic surfaces.** Chat panels (`chat.*`), inline chat, next-edit suggestions (`inlineEdit.*`), the code-action list and ghost text are themed for Cursor, Kiro and Copilot.
- **Bracket-pair guides** follow the same six-level gradient as the brackets.
- **Wider workbench coverage**, 264 to 750 colors: tabs and editor groups, activity bar (top position too), sticky scroll everywhere, SCM graph, debug console and token expressions, testing coverage, notebooks, terminal command decorations, extensions view, settings editor, welcome page, charts and symbol icons.
- **More semantic tokens.** Keywords, operators, strings, numbers, regexps and comments at the semantic layer, plus Pylance (`selfParameter`, `builtinConstant`, `magicFunction`) and rust-analyzer (`lifetime`, `selfKeyword`, `builtinAttribute`, `derive`) token types.
- **More TextMate scopes.** YAML, TOML and INI keys in cyan; decorators and annotations; Rust lifetimes and macros; docstrings read as comments; template-literal expressions no longer inherit string pink; markdown strikethrough, fenced-code content, list bullets and rules; diff headers; log-output levels.
- **Real previews of all four variants** in the README, plus a hero card.

### Changed
- `package.json` now carries homepage, bugs, Q&A, sponsor, pricing and a CI badge; the project is MIT again: `LICENSE` had been switched to AGPL-3.0-only in 2.0.0's prep while `package.json` still said MIT; both now say MIT.
- Copy sweep: plain hyphens instead of em dashes across the README, changelog, templates and source comments.
- CI and release workflows install dependencies with `npm ci`; `sharp` is the only dev dependency (brand rendering).
- The `.vsix` now excludes the brand sources, GitHub config and contributor docs.

### Fixed
- The `URL` TextMate rule used glob scopes (`*url*`, `*link*`, `*uri*`) that never matched; links in markdown are now underlined cyan via real scopes.

### Removed
- The raster icon sources (`src/icon-q.png`, `src/icon-badge.svg`, `src/icon-accents.svg`, `src/build-icon.sh`) in favor of the vector mark.

## [2.0.0]

### Added
- **Two new variants** — the family is now 2 dark + 2 light:
- **Two new variants** - the family is now 2 dark + 2 light:
- **Quantum Fluidity Mist** (dark): Midnight Mist navy surfaces with gentler neons for long sessions.
- **Quantum Fluidity Dawn** (light): warm paper surfaces with earthy quantum accents.
- **Single-source build system** — all four themes are generated from `src/palettes.mjs` via `npm run build`; variants can never drift out of sync again.
- **Automated WCAG contrast audit** (`npm run check`) — every syntax color ≥ 4:1, body text ≥ 7:1, brackets/hints ≥ 3:1, in all four variants.
- **Multi-IDE packaging** — install/publish flows for VS Code Marketplace, Cursor, and Kiro (Open VSX), plus `npm run package` for manual `.vsix` installs.
- **New marketplace icon** — the original neon Q letterform on a rounded "quantum orbit" badge with orbit ring and electron accents, composited by `npm run build:icon` (src/build-icon.sh).
- **Gradient-feel surface ramp** — the workbench now steps through a subtle luminance ramp ("light falls from above"): title bar and tab strip sit brighter than the editor, sidebar/panel/terminal sit one step off it, in all four variants.
- **Single-source build system** - all four themes are generated from `src/palettes.mjs` via `npm run build`; variants can never drift out of sync again.
- **Automated WCAG contrast audit** (`npm run check`) - every syntax color ≥ 4:1, body text ≥ 7:1, brackets/hints ≥ 3:1, in all four variants.
- **Multi-IDE packaging** - install/publish flows for VS Code Marketplace, Cursor, and Kiro (Open VSX), plus `npm run package` for manual `.vsix` installs.
- **New marketplace icon** - the original neon Q letterform on a rounded "quantum orbit" badge with orbit ring and electron accents, composited by `npm run build:icon` (src/build-icon.sh).
- **Gradient-feel surface ramp** - the workbench now steps through a subtle luminance ramp ("light falls from above"): title bar and tab strip sit brighter than the editor, sidebar/panel/terminal sit one step off it, in all four variants.

### Fixed
- **Light theme contrast** — green (`#00B359` → `#067A43`), amber (`#D99900` → `#A36A00`), violet (`#9933FF` → `#7C24D9`), and UI cyan (`#0099CC` → `#007399`) previously fell as low as 2.4:1 on white; all now clear 4:1.
- **Light theme dark-palette leaks** — badges, buttons, and the debugging status bar used the dark theme's `#B266FF` violet; they now use the light palette.
- **Light terminal** — `ansiWhite` was `#F8F9FA` on a `#F8F9FA` background (invisible); the bright ANSI row was neon-on-white. Rebuilt both rows GitHub-Light-style.
- **Dark terminal** — `ansiBrightBlack` (`#1A1A2E`) was nearly invisible; lightened to `#3A3A5E`.
- **Light theme contrast** - green (`#00B359` → `#067A43`), amber (`#D99900` → `#A36A00`), violet (`#9933FF` → `#7C24D9`), and UI cyan (`#0099CC` → `#007399`) previously fell as low as 2.4:1 on white; all now clear 4:1.
- **Light theme dark-palette leaks** - badges, buttons, and the debugging status bar used the dark theme's `#B266FF` violet; they now use the light palette.
- **Light terminal** - `ansiWhite` was `#F8F9FA` on a `#F8F9FA` background (invisible); the bright ANSI row was neon-on-white. Rebuilt both rows GitHub-Light-style.
- **Dark terminal** - `ansiBrightBlack` (`#1A1A2E`) was nearly invisible; lightened to `#3A3A5E`.
- **`invalid` tokens** rendered violet like keywords; now Quantum Pink as intended.
- **`support.type` scope conflict** — was defined in two rules with different colors; deduplicated.
- **Markdown/markup diff colors** — `markup.inserted`/`deleted`/`changed` were cyan/violet/violet in dark; now green/pink/amber in all variants.
- **`support.type` scope conflict** - was defined in two rules with different colors; deduplicated.
- **Markdown/markup diff colors** - `markup.inserted`/`deleted`/`changed` were cyan/violet/violet in dark; now green/pink/amber in all variants.

## [1.1.0]

### Fixed
- **Bracket depth gradient** now flows the full 6 levels (cyan → blue → periwinkle → violet → magenta → pink). Previously levels 4–6 collapsed to a single flat violet, so deep nesting was unreadable.
- **Matching brackets** are now highlighted with a cyan box (`editorBracketMatch`) instead of falling back to the editor's default grey.
- **Selection contrast** — selected text now uses a cyan-tinted highlight that's actually visible on the `Obsidian Void` background, replacing the near-invisible navy.
- **Selection contrast** - selected text now uses a cyan-tinted highlight that's actually visible on the `Obsidian Void` background, replacing the near-invisible navy.

### Added
- **Agentic polish for Cursor / AI** — AI inline suggestions (`editorGhostText`) and TypeScript inlay hints (`editorInlayHint`) are now styled on-palette: type hints in emerald, parameter hints in amber, ghost text in muted violet.
- **Richer semantic highlighting** — added `enum`, `enumMember`, `type`, `typeParameter`, `struct`, `namespace`, `decorator`, `macro`, `event`, and readonly properties, plus strikethrough for deprecated symbols.
- **Full UI coverage** — themed surfaces that previously inherited VS Code defaults: diagnostic squiggles & problem icons, hover/peek widgets, notifications, menus, breadcrumbs, the command palette / command center, git-decoration file colors in the explorer, merge-conflict regions, sticky scroll, debug & testing icons, and keybinding labels.
- **Agentic polish for Cursor / AI** - AI inline suggestions (`editorGhostText`) and TypeScript inlay hints (`editorInlayHint`) are now styled on-palette: type hints in emerald, parameter hints in amber, ghost text in muted violet.
- **Richer semantic highlighting** - added `enum`, `enumMember`, `type`, `typeParameter`, `struct`, `namespace`, `decorator`, `macro`, `event`, and readonly properties, plus strikethrough for deprecated symbols.
- **Full UI coverage** - themed surfaces that previously inherited VS Code defaults: diagnostic squiggles & problem icons, hover/peek widgets, notifications, menus, breadcrumbs, the command palette / command center, git-decoration file colors in the explorer, merge-conflict regions, sticky scroll, debug & testing icons, and keybinding labels.

Applied identically to both **Quantum Fluidity** (dark) and **Quantum Fluidity Light**.

Expand Down
17 changes: 9 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,23 @@ Thanks for helping improve Quantum Fluidity! This guide covers the dev environme
| `npm run build` | Regenerates `themes/*.json` from `src/palettes.mjs` |
| `npm run check` | WCAG contrast audit over every palette (fails CI on regression) |
| `npm run package` | `build` + `check` + creates the `.vsix` |
| `npm run build:icon` | Regenerates `icon.png` from the SVG sources in `src/` |
| `npm run build:brand` | Regenerates `icon.png` and the social cards from `assets/brand/mark.svg` |

## How the theme is structured

- **`src/palettes.mjs`** — the single source of truth: one flat palette object per variant (Void, Mist, Light, Dawn).
- **`src/template.mjs`** — maps a palette onto the full VS Code theme structure (workbench colors, semantic tokens, TextMate scopes).
- **`src/check-contrast.mjs`** — the WCAG luminance-contrast audit that `npm run check` runs.
- **`themes/*.json`** — **generated**. Never edit these by hand; CI fails the build if they drift out of sync with `src/`. Run `npm run build` after any palette or template change and commit the regenerated JSON alongside it.
- **`src/palettes.mjs`** - the single source of truth: one flat palette object per variant (Void, Mist, Light, Dawn).
- **`src/template.mjs`** - maps a palette onto the full VS Code theme structure (workbench colors, semantic tokens, TextMate scopes).
- **`src/check-contrast.mjs`** - the WCAG luminance-contrast audit that `npm run check` runs.
- **`src/build-brand.mjs`** - renders `icon.png` and the social cards from the vector mark in `assets/brand/` (see its README for the mark's anatomy).
- **`themes/*.json`** - **generated**. Never edit these by hand; CI fails the build if they drift out of sync with `src/`. Run `npm run build` after any palette or template change and commit the regenerated JSON alongside it.

To add a fifth variant: add a palette object to `src/palettes.mjs`, run `npm run build`, then add the theme entry to `package.json`'s `contributes.themes`.

## Installing your build for local testing

1. `npm run package` to produce a `.vsix`.
2. In VS Code / Cursor / Kiro: Command Palette → `Extensions: Install from VSIX...` → select the file.
3. Switch to the variant you're testing (Command Palette → `Color Theme`) and check it against real code in a few languages — syntax highlighting issues are easiest to spot in TypeScript, Python, and Rust.
3. Switch to the variant you're testing (Command Palette → `Color Theme`) and check it against real code in a few languages - syntax highlighting issues are easiest to spot in TypeScript, Python, and Rust.

## Branches and commits

Expand All @@ -47,8 +48,8 @@ Maintainer-only. Tagging `vX.Y.Z` on `main` triggers `.github/workflows/release.

## Security issues

Do **not** open a public issue for vulnerabilities — follow [SECURITY.md](SECURITY.md).
Do **not** open a public issue for vulnerabilities - follow [SECURITY.md](SECURITY.md).

## License

By contributing you agree your work is licensed under [AGPL-3.0-only](LICENSE), the same license as the project.
By contributing you agree your work is licensed under [MIT](LICENSE), the same license as the project.
Loading
Loading