Skip to content

Conversation

@JUSTIVE
Copy link

@JUSTIVE JUSTIVE commented Nov 5, 2025

Resolves #4783 #2049

open a link in a new tab link hint is now visually distinguishable from open in current tab.

It can be achieved by exposing the mode's name directly to link_hint's classname.
Since all the mode names are kebab-cased, it's fully compatible with CSS classnames.
Also, other modes can be modified by adding additional styles in CSS.

I adjusted the hue slightly from the original color to choose a new one.
Please feel free to share any thoughts or preferences regarding the color.

mode before after
open in current tab image image
open in new tab image image

@UncleSnail
Copy link
Contributor

Honestly, I like the flexibility of at least having a way for the user to add a custom style for new tab links. Whether the default style should be different may be a point of contention, but unless there is already another way to add a different style to new tab links, I think it would be beneficial to add one.

@JUSTIVE
Copy link
Author

JUSTIVE commented Nov 14, 2025

If you feel the default styles for new tabs don't match the PR, I'll remove them. The core goal of this PR is to provide the ability to specify different tab styles for different link types.

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.

Differentiate vimiumHintMarker styles between opening in a new tab and the current tab

2 participants