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

fix: docs features darkmode color #266

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

fabianhug
Copy link
Member

Relates to:

No Relation

Risks

None

Background

What does this PR do?

It fixes the fucked up font in the Docs / GitHub pages when using Darkmode.
No rocket science.

Styling improvements:

  • Changed the card background color to use the CSS variable --ifm-card-background-color instead of a fixed RGBA value.
  • Added a CSS variable --ifm-font-color-base for the card text color.
  • Updated the heading color to use the CSS variable --ifm-heading-color.

Testing

Detailed testing steps

Check out locally, cd into docs, run dev and looky looky

Screenshots

Before

Screenshot 2024-11-12 at 00 21 24

After

Screenshot 2024-11-12 at 00 21 49

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.

2 participants