Skip to content

Commit 61cc988

Browse files
authored
Merge pull request #266 from fabianhug/fix-docs-darkmode-font
fix: docs features darkmode color
2 parents 616f1c4 + fcd2e31 commit 61cc988

File tree

1 file changed

+5
-2
lines changed
  • docs/src/components/HomepageFeatures

1 file changed

+5
-2
lines changed

docs/src/components/HomepageFeatures/index.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@ function Feature({ title, description }) {
3737
<div className={clsx("col col--4")}>
3838
<div className="card margin--md" style={{
3939
height: "100%",
40-
backgroundColor: "rgba(255, 255, 255, 0.9)",
40+
backgroundColor: "var(--ifm-card-background-color)",
4141
backdropFilter: "blur(10px)",
4242
borderRadius: "12px",
43+
color: "var(--ifm-font-color-base)",
4344
}}>
4445
<div className="card__body text--center padding--md">
45-
<Heading as="h3">{title}</Heading>
46+
<Heading as="h3" style={{
47+
color: "var(--ifm-heading-color)"
48+
}}>{title}</Heading>
4649
<p>{description}</p>
4750
</div>
4851
</div>

0 commit comments

Comments
 (0)