summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/magit.el28
-rw-r--r--init.el10
2 files changed, 33 insertions, 5 deletions
diff --git a/config/magit.el b/config/magit.el
index 89f73db..29d7b64 100644
--- a/config/magit.el
+++ b/config/magit.el
@@ -9,15 +9,33 @@
("C-c g l" . magit-log-buffer-file) ;; Log for current file
("C-c g d" . magit-diff-buffer-file));; Diff for current file
:config
- ;; Selection color
+ ;; Section highlight (when cursor is on a section)
(set-face-attribute 'magit-section-highlight nil
:background "#004344")
- ;; Show recent commits
- (setq magit-log-section-commit-count 10)
+ ;; Section heading text color (like "Unstaged changes", "Staged changes", etc.)
+ (set-face-attribute 'magit-section-heading nil
+ :foreground "#ffc600")
- ;; Customize section order - keep unstaged, staged, and recent commits at top
- (setq magit-status-sections-hook
+ ;; Diff hunk headers (the @@ lines)
+ (set-face-attribute 'magit-diff-hunk-heading nil
+ :background "#002323"
+ :foreground "#8affff")
+ (set-face-attribute 'magit-diff-hunk-heading-highlight nil
+ :background "#112b2b"
+ :foreground "#8affff")
+
+ ;; Diff context lines (unchanged lines in diffs)
+ (set-face-attribute 'magit-diff-context nil
+ :background "#003636")
+ (set-face-attribute 'magit-diff-context-highlight nil
+ :background "#004344")
+
+ ;; Show recent commits
+ (setq magit-log-section-commit-count 10)
+
+ ;; Customize section order - keep unstaged, staged, and recent commits at top
+ (setq magit-status-sections-hook
'(magit-insert-status-headers
magit-insert-staged-changes
magit-insert-unstaged-changes
diff --git a/init.el b/init.el
index 5d45b2f..d1f4033 100644
--- a/init.el
+++ b/init.el
@@ -98,6 +98,16 @@
(set-face-attribute 'vertical-border nil
:foreground "#74c4c4") ;; Window divider color
+;; Configure internal border (gray bar around frame in GUI)
+;; (set-face-attribute 'internal-border nil
+;; :background "#002323")
+
+;; Configure header-line (bar at top of buffers like C-x C-b)
+(set-face-attribute 'header-line nil
+ :background "#002323"
+ :foreground "#8affff"
+ :box nil)
+
;; =====================================
;; 🔧 Editing Behavior
;; =====================================