From 9dd1053a1b6fc0b77819d751ec6e90c2fe167471 Mon Sep 17 00:00:00 2001 From: BirDt_ Date: Sat, 16 Aug 2025 11:56:54 +0800 Subject: [PATCH] Tab bar mode support --- README.org | 1 + iosis-theme.el | 5 ++++- leucosis-theme.el | 5 ++++- melanosis-theme.el | 5 ++++- xanthosis-theme.el | 5 ++++- 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 4b665fb..b479b31 100644 --- a/README.org +++ b/README.org @@ -44,6 +44,7 @@ Ouroboros aims to support the following additional Emacs packages natively with - Company - Rainbow Delimiters - HL-todo mode +- Tab-bar-mode * Screenshots [[file:preview.gif]] diff --git a/iosis-theme.el b/iosis-theme.el index 48bab5e..157e881 100644 --- a/iosis-theme.el +++ b/iosis-theme.el @@ -130,10 +130,13 @@ ;; scroll-bar ;; tool-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 ;; tty-menu-enabled, disabled, selected-face - ;;; Font lock faces +;;; Font lock faces '(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face)))) `(font-lock-builtin-face ((t (:foreground ,accent-two-desaturated :weight bold)))) '(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face)))) diff --git a/leucosis-theme.el b/leucosis-theme.el index 756e6ab..dde95d3 100644 --- a/leucosis-theme.el +++ b/leucosis-theme.el @@ -130,10 +130,13 @@ ;; scroll-bar ;; tool-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 ;; tty-menu-enabled, disabled, selected-face - ;;; Font lock faces +;;; Font lock faces '(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face)))) `(font-lock-builtin-face ((t (:foreground ,accent-four-saturated :weight bold)))) '(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face)))) diff --git a/melanosis-theme.el b/melanosis-theme.el index 41d297c..2e346d1 100644 --- a/melanosis-theme.el +++ b/melanosis-theme.el @@ -130,10 +130,13 @@ ;; scroll-bar ;; tool-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 ;; tty-menu-enabled, disabled, selected-face - ;;; Font lock faces +;;; Font lock faces '(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face)))) `(font-lock-builtin-face ((t (:foreground ,accent-two :weight bold)))) '(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face)))) diff --git a/xanthosis-theme.el b/xanthosis-theme.el index 80d26aa..baa5aab 100644 --- a/xanthosis-theme.el +++ b/xanthosis-theme.el @@ -130,10 +130,13 @@ ;; scroll-bar ;; tool-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 ;; tty-menu-enabled, disabled, selected-face - ;;; Font lock faces +;;; Font lock faces '(font-lock-bracket-face ((t (:inherit font-lock-punctuation-face)))) `(font-lock-builtin-face ((t (:foreground ,accent-four-saturated :weight bold)))) '(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face))))