New line highlight mode: "dimming" #292
taintedcypher
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Looks nice! I could probably make it more customizable or some options to select from. Is it just opacity on the other lines? hard to tell whether I think it looks nice though without seeing a full page of text and the code in the context. It's often done this way to draw your eyes to whatever the paragraph above it just described. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I played with the CSS for the line highlighting and wanted to share this, maybe others will find it useful?
![line-highlight](https://private-user-images.githubusercontent.com/119351153/303866095-77737172-e70b-4445-94b6-4bfa5a9f8a14.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwOTg4NDQsIm5iZiI6MTcyNDA5ODU0NCwicGF0aCI6Ii8xMTkzNTExNTMvMzAzODY2MDk1LTc3NzM3MTcyLWU3MGItNDQ0NS05NGI2LTRiZmE1YTlmOGExNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOVQyMDE1NDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zZDhjNGM2N2FjMDhhMDdiMjcwMzFlOTAwYzYxMjcyNTNmN2Q3OTFlY2MyNzFlMDc0ZDU5MWU4YjQ3ZGE1MzUyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.2ZuBQee7n_66z59soFl_Ro5qx9dOwzBGLqZehQOKQCE)
This is what it looks like:
It's basically the "blur" method of highlighting, without the actual blur, and the opacity of the non-highlighted lines bumped up from 0.3 to 0.5. I personally find it slightly more readable then the two default options.
What do you think? Could it be added to the extension?
Beta Was this translation helpful? Give feedback.
All reactions