Skip to content

sets color on divs in chapter list items with filter #655

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

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

06chaynes
Copy link
Contributor

Adds:

.chapter li.chapter-item div {
    color: var(--sidebar-fg);
    filter: brightness(60%);
}

to oranda-css/mdbook-theme/css/chrome.css

Fixes #654 because currently the div in the list item is inheriting from:

.chapter li {
    display: flex;
    color: var(--sidebar-non-existant);
}

Produces:
Screenshot 2023-10-05 at 3 22 57 PM

@manyinsects
Copy link
Contributor

Thanks so much for all of these extremely good PRs! Is there any way we can send you some stickers or something to show some appreciation for your work?

@manyinsects manyinsects merged commit 3634146 into axodotdev:main Oct 9, 2023
@06chaynes
Copy link
Contributor Author

Thanks so much for all of these extremely good PRs! Is there any way we can send you some stickers or something to show some appreciation for your work?

Thank you, means a lot! I'm more than happy to contribute to a project when and where I find I am able to do so.

Looking forward to the next release!

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.

draft mdBook chapter titles are unreadable in oranda-dark and oranda-light mdBook theme
2 participants