Skip to content

More visible active track#80

Merged
jpochyla merged 2 commits intojpochyla:masterfrom
Kethku:more-visible-active-track
Jul 18, 2021
Merged

More visible active track#80
jpochyla merged 2 commits intojpochyla:masterfrom
Kethku:more-visible-active-track

Conversation

@Kethku
Copy link
Copy Markdown
Contributor

@Kethku Kethku commented Jul 17, 2021

Addresses #76 by adding a new link background state for when the link is active. I added a function to link which takes a predicate and a background color to render when the predicate returns true.

Dark Mode:
image

Light Mode:
image

Note: I noticed that light mode selection theme is a bit too subtle, so I had to boost the alpha for light mode a bit more than I did for dark mode.

@jpochyla
Copy link
Copy Markdown
Owner

Great, thanks! I'd prefer separating the closure and the active background color, but let's merge this and edit later.

@jpochyla jpochyla merged commit 7827eca into jpochyla:master Jul 18, 2021
@jpochyla
Copy link
Copy Markdown
Owner

I've made some changes in 309d66b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants