-
-
Notifications
You must be signed in to change notification settings - Fork 279
fix(claude): syntax highlighting #2233
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
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -91,44 +91,51 @@ | |||
| nav.\!bg-bg-200 { | ||||
| background: @mantle !important; | ||||
| } | ||||
| /* Target the specific element with all those classes */ | ||||
|
|
||||
| .text-text-500.font-small.p-3\.5.pb-0 { | ||||
| background-color: @crust !important; | ||||
| /* Optional: Add padding or border-radius if the bg looks cramped */ | ||||
| border-radius: 8px 8px 0px 0px !important; | ||||
| } | ||||
| /* Code blocks */ | ||||
| .code-block__code { | ||||
| background: @crust !important; | ||||
| border-radius: 0px 0px 8px 8px !important; | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please don't set non-color properties. As outlined in our contributing guidelines, we prohibit opinionated changes. https://userstyles.catppuccin.com/contributing/#opinionated-changes
Suggested change
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||
|
|
||||
| code { | ||||
| /* Default color */ | ||||
| span { | ||||
| color: @text !important; | ||||
| } | ||||
|
|
||||
| /* Green */ | ||||
| span.token[style="color: rgb(152, 195, 121);"] { | ||||
| /* Green - strings */ | ||||
| span.token[style="color: rgb(155, 233, 99);"] { | ||||
| color: @green !important; | ||||
| } | ||||
|
|
||||
| /* Yellow */ | ||||
| span.token[style="color: rgb(209, 154, 102);"] { | ||||
| /* Yellow - types */ | ||||
| span.token[style="color: rgb(251, 173, 96);"] { | ||||
| color: @yellow !important; | ||||
| } | ||||
|
|
||||
| /* Blue */ | ||||
| span.token[style="color: rgb(97, 175, 239);"] { | ||||
| /* Blue - functions */ | ||||
| span.token[style="color: rgb(112, 184, 255);"] { | ||||
| color: @blue !important; | ||||
| } | ||||
|
|
||||
| /* Red */ | ||||
| span.token[style="color: rgb(224, 108, 117);"] { | ||||
| color: @red !important; | ||||
| /* Cyan - constants / nunmbers */ | ||||
| span.token[style="color: rgb(94, 237, 237);"] { | ||||
| color: @sky !important; | ||||
|
craciu25yt marked this conversation as resolved.
Outdated
|
||||
| } | ||||
|
|
||||
| /* Magenta */ | ||||
| span.token[style="color: rgb(198, 120, 221);"] { | ||||
| /* Magenta - built in functions / keywords */ | ||||
| span.token[style="color: rgb(204, 123, 244);"] { | ||||
| color: @mauve !important; | ||||
| } | ||||
|
|
||||
| /* Gray */ | ||||
| span.token[style="color: rgb(171, 178, 191);"] { | ||||
| /* Gray - comments */ | ||||
| span.token[style="color: rgb(129, 136, 152);"] { | ||||
| color: @overlay2 !important; | ||||
| } | ||||
| } | ||||
|
|
||||



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.
I'm not sure what this is for. Please isolate this to a separate pull request (this one should just be for the syntax highlighting fix) and provide a clearer description of where this is and what it changes - can we get a screenshot of what it looked like before this change and what it looks like after?
Uh oh!
There was an error while loading. Please reload this page.
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.
that is also realted to the upper discussion


these two are removing
.text-text-500.font-small.p-3\.5.pb-0There 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.
maybe the way I've done it its not the best as I'm not very good at css so any improvement feedback is accepted