Skip to content

Commit

Permalink
Dark mode looks a little better
Browse files Browse the repository at this point in the history
  • Loading branch information
jemgillam committed Sep 20, 2023
1 parent e29b369 commit 15e97ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grafast/website/src/components/HomepageFeatures/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function Feature({ Svg, title, description }) {

export default function HomepageFeatures() {
return (
<>
<div className={styles.featuresContainer}>
<section className={styles.lead}>
<div className="container">
<div className="row">
Expand All @@ -129,6 +129,6 @@ export default function HomepageFeatures() {
</div>
</div>
</section>
</>
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@
font-size: 1.5rem;
line-height: 100%;
}

[data-theme="dark"] .instruction {
background: #008a00;
box-shadow: 0.5rem 0.5rem 0px white;
}

[data-theme="dark"] .featuresContainer {
background-color: var(--black-ish);
}

0 comments on commit 15e97ac

Please sign in to comment.