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 ForumWidget not visible in dark theme #115

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/ForumWidget/ForumWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const ForumWidget = () => {
<Link to={forum_link} className={styles.root}>
<div className={styles.icon}>
<svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.60449 8.97677C4.47333 8.95497 4.33889 8.9863 4.23088 9.06385C3.67315 9.4643 2.98928 9.7002 2.24999 9.7002C2.17307 9.7002 2.09675 9.69764 2.02112 9.69261C2.26644 9.2902 2.41227 8.82034 2.42419 8.31719C2.42782 8.16418 2.36117 8.01793 2.2433 7.9203C1.35318 7.18294 0.799988 6.14704 0.799988 5.0002C0.799988 2.76701 2.90025 0.950195 5.49999 0.950195C8.09973 0.950195 10.2 2.76701 10.2 5.0002C10.2 7.23338 8.09973 9.05019 5.49999 9.05019C5.19375 9.05019 4.89437 9.02496 4.60449 8.97677Z" stroke="#1C1E21" strokeLinejoin="round"/>
<path d="M4.60449 8.97677C4.47333 8.95497 4.33889 8.9863 4.23088 9.06385C3.67315 9.4643 2.98928 9.7002 2.24999 9.7002C2.17307 9.7002 2.09675 9.69764 2.02112 9.69261C2.26644 9.2902 2.41227 8.82034 2.42419 8.31719C2.42782 8.16418 2.36117 8.01793 2.2433 7.9203C1.35318 7.18294 0.799988 6.14704 0.799988 5.0002C0.799988 2.76701 2.90025 0.950195 5.49999 0.950195C8.09973 0.950195 10.2 2.76701 10.2 5.0002C10.2 7.23338 8.09973 9.05019 5.49999 9.05019C5.19375 9.05019 4.89437 9.02496 4.60449 8.97677Z" stroke="var(--ifm-font-color-base)" strokeLinejoin="round"/>
</svg>
</div>
<span>
Expand Down
3 changes: 2 additions & 1 deletion src/components/ForumWidget/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
text-decoration: none;
}
& span {
color: #1C1E21;
color: var(--ifm-font-color-base);
color-scheme: var(--ifm-color-scheme);
}
}

Expand Down