Leave Monaco theme commented out by default by bonanitech · Pull Request #3704 · node-red/node-red · GitHub
Skip to content

Leave Monaco theme commented out by default#3704

Merged
knolleary merged 1 commit into
node-red:masterfrom
bonanitech:monaco-default-theme
Jun 27, 2022
Merged

Leave Monaco theme commented out by default#3704
knolleary merged 1 commit into
node-red:masterfrom
bonanitech:monaco-default-theme

Conversation

@bonanitech

Copy link
Copy Markdown
Contributor
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Leave Monaco theme commented out by default.
If it’s commented out and a theme doesn’t have it defined, it defaults to that same value anyway.
And themes that define it won't have to request the user to comment it out in settings.js to have their customizations loaded.

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@coveralls

Copy link
Copy Markdown

@Steve-Mcl Steve-Mcl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
As far as I am concerned, this is a safe and backwards compatible way to permit a theme to specify the code editor theme without user having to modify settings.js

@knolleary

Copy link
Copy Markdown
Member

@knolleary knolleary merged commit 823b7e2 into node-red:master Jun 27, 2022
@bonanitech bonanitech deleted the monaco-default-theme branch June 27, 2022 13:34
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.

4 participants