-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
improve markdown's ui theme #1363
Conversation
@@ -5234,7 +5234,8 @@ fn hover(cx: &mut Context) { | |||
|
|||
// skip if contents empty | |||
|
|||
let contents = ui::Markdown::new(contents, editor.syn_loader.clone()); | |||
let contents = | |||
ui::Markdown::new(contents, editor.syn_loader.clone()).style_group("hover"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good, but do we need these extra scopes? We can simplify and remove hover
/completion
suffix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
markup.raw.inline
, markup.heading
not only used in editor veiw but also used in popup ui. The two ui has own background. Some theme maybe conflict on these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good, but tree-sitter-llvm submodule change needs to be reverted
351657c
to
ed73fa3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now 👍🏻 I will merge after releasing 0.6.1
Going to merge after #1525 adds all the |
Can you rebase the PR? I did so locally but I can't push to your fork |
ed73fa3
to
52bdac5
Compare
Has rebased. |
The PR add some style to markdwon ui to make the theme can be changed.
before:
after: