Skip to content

Commit

Permalink
fix: fix color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonhyejin committed Jul 30, 2024
1 parent 9f20496 commit 9ea3af0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs-website/src/learn/_components/LearnListPage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ function BlogListPageContent(props) {
<strong>For: </strong>
{audiences.map((audience) => (
<button
className={`button button--secondary ${activeFilters.includes(audience) && "button--active"}`}
className={clsx(styles.button, "button button--secondary", { [styles.buttonActive]: activeFilters.includes(audience) })}
onClick={() => handleFilterToggle(audience)}
key={audience}
>
{audience}
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@
align-items: center;
gap: 10px;
flex-wrap: wrap;
}

.buttonActive {
background-color: var(--ifm-color-primary);
border: 1px solid var(--ifm-color-primary);
color: #ffffff;
}
}

0 comments on commit 9ea3af0

Please sign in to comment.