Animate home page example on hover over code too
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
On the lit.dev homepage, the highlights only activate when you hover over the right-hand-side labels. It would be nice for the same effect to happen when you hover over the code lines on the left-hand-side too. And to make it more obvious that there's something to interact with, we should probably add something visually to those code lines too, e.g. a little pulsing dot.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the lit.dev homepage implementation and locate the highlight behavior currently triggered by hovering the right-hand labels. Make the corresponding code lines trigger the same highlights and give them a visible interactive cue, such as a pulsing dot; done means both hover targets behave consistently and the affordance is apparent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- design, frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100