Tab bar mode support

This commit is contained in:
BirDt_ 2025-08-16 11:56:54 +08:00
parent cbcb9bfae1
commit 9dd1053a1b
5 changed files with 17 additions and 4 deletions

View file

@ -44,6 +44,7 @@ Ouroboros aims to support the following additional Emacs packages natively with
- Company - Company
- Rainbow Delimiters - Rainbow Delimiters
- HL-todo mode - HL-todo mode
- Tab-bar-mode
* Screenshots * Screenshots
[[file:preview.gif]] [[file:preview.gif]]

View file

@ -130,10 +130,13 @@
;; scroll-bar ;; scroll-bar
;; tool-bar ;; tool-bar
;; tab-bar ;; tab-bar
`(tab-bar ((t (:inherit mode-line :background ,(darken fg-main 0.5) :box nil))))
`(tab-bar-tab ((t (:inherit mode-line))))
`(tab-bar-tab-inactive ((t (:inherit mode-line-inactive :box nil))))
;; menu ;; menu
;; tty-menu-enabled, disabled, selected-face ;; tty-menu-enabled, disabled, selected-face
;;; Font lock faces ;;; Font lock faces
'(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face)))) '(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face))))
`(font-lock-builtin-face ((t (:foreground ,accent-two-desaturated :weight bold)))) `(font-lock-builtin-face ((t (:foreground ,accent-two-desaturated :weight bold))))
'(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face)))) '(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face))))

View file

@ -130,10 +130,13 @@
;; scroll-bar ;; scroll-bar
;; tool-bar ;; tool-bar
;; tab-bar ;; tab-bar
`(tab-bar ((t (:inherit mode-line :background ,(lighten accent-one 0.7) :box nil))))
`(tab-bar-tab ((t (:inherit mode-line))))
`(tab-bar-tab-inactive ((t (:inherit mode-line-inactive :box nil))))
;; menu ;; menu
;; tty-menu-enabled, disabled, selected-face ;; tty-menu-enabled, disabled, selected-face
;;; Font lock faces ;;; Font lock faces
'(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face)))) '(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face))))
`(font-lock-builtin-face ((t (:foreground ,accent-four-saturated :weight bold)))) `(font-lock-builtin-face ((t (:foreground ,accent-four-saturated :weight bold))))
'(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face)))) '(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face))))

View file

@ -130,10 +130,13 @@
;; scroll-bar ;; scroll-bar
;; tool-bar ;; tool-bar
;; tab-bar ;; tab-bar
`(tab-bar ((t (:inherit mode-line :background ,(lighten bg-main 0.8) :box nil))))
`(tab-bar-tab ((t (:inherit mode-line))))
`(tab-bar-tab-inactive ((t (:inherit mode-line-inactive :box nil))))
;; menu ;; menu
;; tty-menu-enabled, disabled, selected-face ;; tty-menu-enabled, disabled, selected-face
;;; Font lock faces ;;; Font lock faces
'(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face)))) '(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face))))
`(font-lock-builtin-face ((t (:foreground ,accent-two :weight bold)))) `(font-lock-builtin-face ((t (:foreground ,accent-two :weight bold))))
'(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face)))) '(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face))))

View file

@ -130,10 +130,13 @@
;; scroll-bar ;; scroll-bar
;; tool-bar ;; tool-bar
;; tab-bar ;; tab-bar
`(tab-bar ((t (:inherit mode-line :background ,(lighten accent-one 0.7) :box nil))))
`(tab-bar-tab ((t (:inherit mode-line))))
`(tab-bar-tab-inactive ((t (:inherit mode-line-inactive :box nil))))
;; menu ;; menu
;; tty-menu-enabled, disabled, selected-face ;; tty-menu-enabled, disabled, selected-face
;;; Font lock faces ;;; Font lock faces
'(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face)))) '(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face))))
`(font-lock-builtin-face ((t (:foreground ,accent-four-saturated :weight bold)))) `(font-lock-builtin-face ((t (:foreground ,accent-four-saturated :weight bold))))
'(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face)))) '(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face))))