Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Nord editor theme #2887

Merged
merged 2 commits into from
May 6, 2019
Merged

add Nord editor theme #2887

merged 2 commits into from
May 6, 2019

Conversation

daiyam
Copy link
Contributor

@daiyam daiyam commented Feb 15, 2019

Description

This change adds the Nord theme as an editor theme.

The following screen shot uses both Nord theme (UI and editor):
screenshot

Issue fixed

Type of changes

  • ⚪ Bug fix (Change that fixed an issue)
  • ⚪ Breaking change (Change that can cause existing functionality to change)
  • 🔘 Improvement (Change that improves the code. Maybe performance or development improvement)
  • 🔘 Feature (Change that adds new functionality)
  • ⚪ Documentation change (Change that modifies documentation. Maybe typo fixes)

Checklist:

  • 🔘 My code follows the project code style
  • ⚪ I have written test for my code and it has been tested
  • 🔘 All existing tests have been passed
  • 🔘 I have attached a screenshot/video to visualize my change if possible

@ZeroX-DG ZeroX-DG added the awaiting review ❇️ Pull request is awaiting a review. label Feb 16, 2019
@kenanchristian
Copy link
Contributor

I've also added a PR to the codemirror repo for the nord theme, maybe it will streamline the theme loading for the editor 😉codemirror/codemirror5#5782

themes.splice(themes.indexOf('solarized'), 1, 'solarized dark', 'solarized light')
const isProduction = process.env.NODE_ENV === 'production'
const paths = [
isProduction ? path.join(app.getAppPath(), './node_modules/codemirror/theme') : path.resolve('./node_modules/codemirror/theme'),
Copy link
Member

Choose a reason for hiding this comment

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

Just one small request, this path string repeated 2 times. Can you put it in a variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's done.

@ZeroX-DG ZeroX-DG added awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. and removed awaiting review ❇️ Pull request is awaiting a review. labels May 4, 2019
Copy link
Member

@ZeroX-DG ZeroX-DG left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@ZeroX-DG ZeroX-DG added approved 👍 Pull request has been approved by sufficient reviewers. needs extra review 🔎 Pull request requires review from an additional reviewer. and removed awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. labels May 5, 2019
@ZeroX-DG ZeroX-DG requested a review from Rokt33r May 5, 2019 09:48
@Rokt33r Rokt33r removed needs extra review 🔎 Pull request requires review from an additional reviewer. approved 👍 Pull request has been approved by sufficient reviewers. labels May 6, 2019
@Rokt33r Rokt33r added this to the v0.11.15 milestone May 6, 2019
@Rokt33r Rokt33r merged commit ba913b7 into BoostIO:master May 6, 2019
@daiyam daiyam deleted the theme-cm-nord branch February 3, 2020 17:00
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