Skip to content

feat: add One Light and One Dark themes - #1

Merged
antonreshetov merged 2 commits into
massCodeIO:mainfrom
jongwoo328:main
Nov 24, 2026
Merged

antonreshetov merged 2 commits into
massCodeIO:mainfrom
jongwoo328:main

Conversation

@jongwoo328

Copy link
Copy Markdown
Contributor

Theme Submission Checklist

  • Theme file is placed in themes/<kebab-case-id>.json
  • Tested locally in massCode (~/.massCode/themes/)
  • Did not manually edit registry.json (GitHub Actions rebuilds it automatically)

Changes

Adds two massCode themes based on the Atom One Light Syntax and One Dark Syntax palettes.

  • themes/one-light.json - light theme
  • themes/one-dark.json - dark theme

The themes reuse Atom’s syntax highlighting colors and adapt UI colors for massCode, including the sidebar and cards.

Validation

Ran node scripts/build-registry.mjs --check with both new themes and the six existing themes. All eight passed.

License

These ports reuse most of Atom’s original One Light and One Dark palettes, with some colors adapted for massCode. Both upstream themes are MIT-licensed and carry the notice Copyright (c) 2016 GitHub Inc.

Could you confirm where to include the copyright notice and full MIT license text so they accompany the themes in the repository and when installed through massCode?

@antonreshetov

Copy link
Copy Markdown
Member

Thanks a lot for the very first community theme PR — both One Light and One Dark look great, and appreciate you raising the licensing question!

To keep third-party attribution clean and consistent across the registry:

  1. I'm adding a root LICENSE and THIRD_PARTY_LICENSES.md covering all ported themes (including Atom One Light / One Dark with the Copyright (c) 2016 GitHub Inc. notice and full MIT text).
  2. I'm also adding optional license and copyright fields to schema/theme.schema.json. Since massCode saves the raw theme JSON verbatim on install, those fields will be preserved locally in ~/.massCode/themes/ as well.

No changes needed on your side to merge this PR — I'll merge it as-is and follow up with the license files right away (and if you'd like to add "license": "MIT" / "copyright": "Copyright (c) 2016 GitHub Inc." directly to one-light.json and one-dark.json afterwards, feel free!).

@antonreshetov
antonreshetov merged commit 1d9a878 into massCodeIO:main Nov 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants