Skip to content

TP-02 — Add custom theme JSON fixtures #97

Description

@ZhuchkaTriplesix

Epic: A
Depends on: TP-01

Source: docs/theme-parser-github-issues.md

Goal

Add stable fixtures for parser and factory tests.

Files

  • test/fixtures/themes/querya_custom_dark.json
  • test/fixtures/themes/querya_custom_light.json
  • test/fixtures/themes/querya_custom_minimal.json
  • test/fixtures/themes/querya_custom_invalid_missing_id.json
  • test/fixtures/themes/querya_custom_invalid_color.json
  • test/fixtures/themes/querya_custom_jsonc.jsonc

Implementation

Add fixtures:

  • querya_custom_dark.json
    • full dark theme with shadcn_colors, editor_colors, and sample tokenColors;
  • querya_custom_light.json
    • full light theme;
  • querya_custom_minimal.json
    • only required root fields and a small set of colors;
  • querya_custom_invalid_missing_id.json
    • no id;
  • querya_custom_invalid_color.json
    • one optional invalid color and enough valid fields to test skip/failure policy;
  • querya_custom_jsonc.jsonc
    • comments and trailing commas.

Acceptance Criteria

  • Fixtures are small enough to read in tests.
  • Dark/light/minimal fixtures use distinct values so tests can assert mapping.
  • Invalid fixtures target one failure mode each.

Tests

No parser tests in this issue. Fixtures are consumed by later issues.


Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerstestsTheme parser epicthemeTheming, colors, VS Code themes

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions