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

Simple fix for code mirror light theme #14

Conversation

LateNightIceCream
Copy link
Contributor

@LateNightIceCream LateNightIceCream commented Sep 13, 2023

Regarding Issue #13

Just copying the dark theme configuration in _codemirror.scss for the light theme (catppuccin latte).
You can probably simplify the sass to remove the repetition... but it works this way!

Here is the result:

Before (default solarized look while catppuccin latte is selected as logseq theme):
logseq-ctp-code-block

After:
image

@griimick
Copy link
Member

griimick commented Sep 14, 2023

Thanks for working on this, I would like refactor this change to existing _codemirror.scss.

@griimick
Copy link
Member

griimick commented Sep 15, 2023

@LateNightIceCream I am unable to push commit to this PR even as a maintainer. Not sure what's going wrong. You can either give me write perms to your fork or you can make these changes yourself in this PR. My suggestions are in this gist: https://gist.github.com/griimick/85ffe6197d874d78429569b7abe0ce65

Please checkout if it seems to working fine on your end as well. Upon your commit and confirmation, I will merge the changes.

@LateNightIceCream
Copy link
Contributor Author

It's working as expected. I updated the branch

@griimick griimick merged commit 8e87ec6 into catppuccin:main Sep 17, 2023
LateNightIceCream added a commit to LateNightIceCream/logseq-rose-pine that referenced this pull request Sep 21, 2023
fix: unthemed code block light mode (catppuccin#14)
LateNightIceCream added a commit to LateNightIceCream/logseq-rose-pine that referenced this pull request Sep 21, 2023
* copy codemirror dark theme css for light theme

* implement refactor by griimick (catppuccin#14 (comment))
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.

None yet

2 participants