Inspired by Base16-Black-Metal, Grayscale and City Lights.
tron-legacy-theme
is now on MELPA as a package (as of 1. June. 2020)! An example use-package declaration:
(use-package tron-legacy-theme
:config
(load-theme 'tron-legacy t))
If you want to invoke some customization options (more info see below), you should set them "before" you load the theme, like so:
(use-package tron-legacy-theme
:config
(setq tron-legacy-theme-vivid-cursor t)
(load-theme 'tron-legacy t))
Download tron-legacy-theme.el
and put it under ~/.emacs.d/themes/
(or ~/.config/emacs/themes/
), then add these lines to your init.el
:
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
; or
(add-to-list 'custom-theme-load-path "~/.config/emacs/themes/")
(load-theme 'tron-legacy t)
- Setting
tron-legacy-theme-dark-fg-bright-comments
tot
causes the foreground to be dimmed and comments to be brighter. The default value isnil
.
(setq tron-legacy-theme-dark-fg-bright-comments t)
- Setting
tron-legacy-theme-vivid-cursor
tot
changes the cursor color to bright golden, making it easier to spot.
(setq tron-legacy-theme-vivid-cursor t)
- Setting
tron-legacy-theme-softer-bg
tot
changes the background color to a dark gunmetal grey, instead of the default pure black.
(setq tron-legacy-theme-softer-bg t)
Copyright© 2018-2023 Ian Y.E. Pan
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 https://www.gnu.org/licenses/.