Skip to content

Poor tab contrast #8082

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
2 tasks done
mcandre opened this issue Apr 17, 2025 · 1 comment
Open
2 tasks done

Poor tab contrast #8082

mcandre opened this issue Apr 17, 2025 · 1 comment

Comments

@mcandre
Copy link

mcandre commented Apr 17, 2025

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS Sequoia
  • Hyper.app version: 3.4.1
  • Link of a Gist with the contents of your hyper.json: Defaults
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Tab contrast is unusable out of the box. Unlike other desktop applications, Hyper uses the same color for both foreground tabs and background tabs.

I can customize some unrelated colors in the config file. But I cannot quickly identify any available section to fix the low contrast on foreground vs. background tabs.

@mcandre
Copy link
Author

mcandre commented Apr 17, 2025

Update:

Not all of the deep, CSS based options are demonstrated in the default configuration file.

Based on themes (which tend not to support overriding style settings), we find some CSS selectors which achieve higher tab contrast reminiscent of native style Electron tab UI elements.

        css: `
            .header_header, .tab_textActive {
                background: #333 !important;
            }
            .tab_text {
                background: #222;
            }
        `,

Note the use of !important.

Can't find references to an equivalent .tab_textInactive.

I don't know why we're not using the default Electron styling out of the box.

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

1 participant