Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: passing link mode.name to lint marker's classname, added .bg-ta... #4784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JUSTIVE wants to merge 1 commit into philc:master
base: master
Choose a base branch
Loading
from JUSTIVE:feature/link_hint_tint_per_mode

Conversation

@JUSTIVE
Copy link

@JUSTIVE JUSTIVE commented Nov 5, 2025
edited
Loading

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

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 reacted with thumbs up emoji

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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

AltStyle によって変換されたページ (->オリジナル) /