Skip to content
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

Style the omnibar different when a new tab is going to be opened #4509

Open
ManuelTS opened this issue Jun 28, 2024 · 2 comments
Open

Style the omnibar different when a new tab is going to be opened #4509

ManuelTS opened this issue Jun 28, 2024 · 2 comments

Comments

@ManuelTS
Copy link

When the omnibar is displayed by a shortcut for a new tab, render it visually different than the omnibar replacing the URL of the current tab. Possible solutions from the top of my head:

    • as prefixed icon before the omnibar text or input
  • t+ as prefixed icon before the omnibar text or input

As I think of that, you maybe to the exact opposite, render the replace-current-tab omnibar with as vim's :ls command displays its files:

  • "a" as prefixed icon before the omnibar text or input to signal that the current active tab will be affected by choosing an URL
@UncleSnail
Copy link
Contributor

I also like this idea. If @philc agrees that it is good, I can take over implementing it if @ManuelTS would like.
Another option if we don't want to add a prefix by default would be to add a class to the vomnibar for each action that opened it. This would allow custom styles to be added to each vomnibar type and would allow users to change the color of the input box or add a prefix with :before text.

@ManuelTS
Copy link
Author

I see you are definitely more in the code as me, feel free to take over and to take off ;)

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

No branches or pull requests

2 participants