Skip to content

fix: improve contrast for inline code (#77)#80

Open
youssefadly237 wants to merge 1 commit into
catppuccin:mainfrom
youssefadly237:fix-inline-code
Open

fix: improve contrast for inline code (#77)#80
youssefadly237 wants to merge 1 commit into
catppuccin:mainfrom
youssefadly237:fix-inline-code

Conversation

@youssefadly237
Copy link
Copy Markdown

@youssefadly237 youssefadly237 commented Dec 24, 2025

I have used the same color used for the code blocks

did not realize that --color-markup-code-inline exist and that i am editing the wrong field at first

closes #77

@youssefadly237
Copy link
Copy Markdown
Author

no that broke some thing else

@youssefadly237 youssefadly237 marked this pull request as draft December 24, 2025 21:40
@youssefadly237 youssefadly237 marked this pull request as ready for review December 24, 2025 22:03
@youssefadly237
Copy link
Copy Markdown
Author

nope that break that break the code viewer

image

man I suck with CSS

@s-weigand
Copy link
Copy Markdown

Restricting the override to .render-content.markup did seem to fix it for me w/o changing the code view or editor (gitea v1.25.3). But didn't test it everywhere.

.render-content.markup code:not(.code-inner) {
  background-color: var(--color-markup-code-inline) !important;
}

Cheers 🍻

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.

1.25.0 compatability

2 participants