Commit 7c3fa5b
committed
Add ghostel-default face for per-buffer default fg/bg customization
Previously, ghostel--apply-palette always read default foreground/background
from the global 'default face, making it impossible to theme ghostel terminal
buffers independently (e.g. dark terminal inside a light Emacs) without resorting
to defadvice.
Introduce 'ghostel-default' (inherits 'default) as the customization point,
following the same idiom as vterm-color-default, term-default-fg-color, etc.
Existing users see no change; those who want per-buffer theming can customize
the face directly.
Closes #1781 parent 064cbe9 commit 7c3fa5b
3 files changed
Lines changed: 37 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
559 | 570 | | |
560 | 571 | | |
561 | 572 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2323 | 2323 | | |
2324 | 2324 | | |
2325 | 2325 | | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
2326 | 2333 | | |
2327 | 2334 | | |
2328 | 2335 | | |
| |||
2343 | 2350 | | |
2344 | 2351 | | |
2345 | 2352 | | |
2346 | | - | |
2347 | | - | |
| 2353 | + | |
| 2354 | + | |
2348 | 2355 | | |
2349 | 2356 | | |
2350 | 2357 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4934 | 4934 | | |
4935 | 4935 | | |
4936 | 4936 | | |
| 4937 | + | |
| 4938 | + | |
| 4939 | + | |
| 4940 | + | |
| 4941 | + | |
| 4942 | + | |
| 4943 | + | |
| 4944 | + | |
| 4945 | + | |
| 4946 | + | |
| 4947 | + | |
| 4948 | + | |
| 4949 | + | |
| 4950 | + | |
| 4951 | + | |
| 4952 | + | |
4937 | 4953 | | |
4938 | 4954 | | |
4939 | 4955 | | |
| |||
7201 | 7217 | | |
7202 | 7218 | | |
7203 | 7219 | | |
| 7220 | + | |
7204 | 7221 | | |
7205 | 7222 | | |
7206 | 7223 | | |
| |||
0 commit comments