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

Use base02 for magit-diff-hunk-heading-highlight #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nelhage
Copy link

@nelhage nelhage commented Dec 20, 2024

The -highlight face is used for the currently selected hunk in the magit diff and revision views. It should be distinct from the non - highlight font to aid in naviation.

Per [the guidelines](https://github.com/chriskempson/base16/blob/main/ styling.md), base02 is to be used for "Selection background," which seems apropos to me. It also looks much better in my emacs setup using base16-framer, for whatever that's worth.

Rendering 1d48474 in my emacs:

Before

The point is on the header line for the first hunk, but there's no visual differentiation of the hunks.
image

After

Now the header for the first hunk is higlighted.
image

The `-highlight` face is used for the currently selected hunk in the
magit diff and revision views. It should be distinct from the non `-
highlight` font to aid in naviation.

Per [the guidelines](https://github.com/chriskempson/base16/blob/main/
styling.md), base02 is to be used for "Selection background," which
seems apropos to me. It also looks much better in my emacs setup using
base16-framer, for whatever that's worth.
@nelhage nelhage requested a review from a team as a code owner December 20, 2024 00:06
@nelhage nelhage requested review from belak and removed request for a team December 20, 2024 00:06
nelhage added a commit to nelhage/elisp that referenced this pull request Dec 20, 2024
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.

1 participant