;;; tty-styled-theme.el --- A TTY-styled theme for GNU Emacs -*- lexical-binding: t; -*-
;; Copyright (C) 2026 Mikhail Kirillov w96k@runbox.com

;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

;; Author: w96k
;; Version: 0.1.0
;; Package-Requires: ((emacs "24.2"))
;; Keywords: theme
;; URL: https://git.wkz-devel.org/w96k/tty-theme.el

(deftheme tty-theme "Theme inspired by TTY terminal")

(custom-theme-set-faces 'tty-theme
 '(default ((t (:background "black" :foreground "gray80" :font "-misc-fixed-bold-r-normal--14-140-75-75-c-90-iso10646-1"))))
 '(mode-line ((t (:background "gray70" :foreground "black" :box nil))))
 '(mode-line-inactive ((t (:background "gray30" :foreground "gray70" :box nil))))
 '(vertical-border ((t (:foreground "gray30" :background "black"))))
 '(window-divider ((t (:foreground "gray30"))))
 '(window-divider-first-pixel ((t (:foreground "gray30"))))
 '(window-divider-last-pixel ((t (:foreground "gray30"))))
 '(fringe ((t (:background "gray5")))))

(when (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
(when (fboundp 'menu-bar-mode) (menu-bar-mode -1))
(when (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(when (fboundp 'horizontal-scroll-bar-mode) (horizontal-scroll-bar-mode -1))

;;;###autoload
(when load-file-name
  (add-to-list 'custom-theme-load-path
               (file-name-directory load-file-name)))

(provide-theme 'tty-theme)

;;; tty-styled-theme.el ends here
