ianyepan / vscode-dark-plus-emacs-theme

An accurate port of the default Visual Studio Code Dark+ theme for Emacs
GNU General Public License v3.0
174 stars 17 forks source link

add header-line face #10

Closed kaiwk closed 4 years ago

kaiwk commented 4 years ago

header-line inherit from mode-line by default, so modifing mode-line has side effects to header-line, see:

ianyepan commented 4 years ago

Thanks for pointing this out @kaiwk! Could you provide one example where header-line is used, and also if it's bad that we keep it the same as mode-line? Just trying to decide if I should give header-line its own face declaration.

kaiwk commented 4 years ago

AFAIK, any mode derived from tabulated-list-mode will use header-line to show table head, such as package-menu-mode(triggered by list-package).

I think in most case it will be fine, except when someone want to heavily customize mode-line, for example, set mode line height to '0.1'. it seems many other themes tend to set header-line:

ianyepan commented 4 years ago

I see. Let me try to declare header-line separately so users' customization of mode-line won't affect header-line.

ianyepan commented 4 years ago

Hi @kaiwk, I just fixed it in the following commit: https://github.com/ianpan870102/vscode-dark-plus-emacs-theme/commit/1e694e1704e6bf55726040953ed5cf703f02c16d Closing issue for now, and thx again for bringing this up 👍