Skip to content

Commit

Permalink
colorize everything a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Sep 5, 2023
1 parent 659ac4c commit e4ca593
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/components/SidebarNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ function SidebarNav(props: Props) {
key={id} id={id}
as={ReactRouterLink} to={(`${chapter.slug_with_section}`)}
>
<NavList.LeadingVisual>
{isActive ? <BookmarkFillIcon/> : <BookmarkIcon/>}
<NavList.LeadingVisual style={{color: section.color_primary}}>
/* fill has to be added to the parent, as the prop isn't
working on the Icon objects */
{isActive ? <BookmarkFillIcon/> : <BookmarkIcon/>}
</NavList.LeadingVisual>
{chapter.menu_name}
</NavList.Item>
Expand Down
7 changes: 6 additions & 1 deletion src/styles/footer.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
footer {
.btn-nav {
background: var(--color-primary);
// filter: brightness(var(--lightness));
}

footer-image svg {
display: block;
display: block;
width: 100%;
height: auto;
fill: var(--color-primary);
Expand Down

0 comments on commit e4ca593

Please sign in to comment.