Skip to content

feat: register themes in $CONFIG/opencode/desktop-themes/#31952

Open
adhi-thirumala wants to merge 1 commit into
anomalyco:devfrom
adhi-thirumala:desktop-theme
Open

feat: register themes in $CONFIG/opencode/desktop-themes/#31952
adhi-thirumala wants to merge 1 commit into
anomalyco:devfrom
adhi-thirumala:desktop-theme

Conversation

@adhi-thirumala

Copy link
Copy Markdown

Issue for this PR

Closes #31948

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

Functionality for loading themes in as JSON already exists. This automatically does that for themes in $GLOBAL_CONFIG/desktop-themes/theme.json and $PROJECT_CONFIG/desktop-themes/theme.json.

How did you verify your code works?

I ran opencode locally and added themes to my local config. They showed up. I also added tests which test this functionality.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

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.

[FEATURE]: Custom themes for desktop

1 participant