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

Update codemirror theme to match overall style/color scheme of the page #36

Merged
merged 5 commits into from
Nov 20, 2023

Conversation

kachbit
Copy link
Contributor

@kachbit kachbit commented Nov 19, 2023

Replaced the jarring "cobalt" theme with a pleasant "espresso" theme in the codemirror editor.

Before:

Screenshot 2023-11-18 232742

After:

Screenshot 2023-11-18 232801

I also added a border around the editor that matches the border seen in the "Desktop" and "Mobile" tabs

Copy link
Contributor

sweep-ai bot commented Nov 19, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

@abi
Copy link
Owner

abi commented Nov 19, 2023

I like the dark theme. Feel free to do this on your own fork or would appreciate a PR with a settings options in dialog between the 2 themes so the user can select which theme they want but defaulting to black.

@kachbit
Copy link
Contributor Author

kachbit commented Nov 20, 2023

@abi I just updated it to have the settings option

@abi abi merged commit 7d43895 into abi:main Nov 20, 2023
@abi
Copy link
Owner

abi commented Nov 20, 2023

@kachbit awesome work, thank you! ❤️ Would love any other contributions that you'd like to make.

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