Remove color-theme support

Fixes #213.
This commit is contained in:
Greg Pfeil 2023-01-31 19:58:32 -07:00
parent addd445155
commit 30dfe48d81
No known key found for this signature in database
GPG Key ID: 1193ACD196ED61F2
3 changed files with 1 additions and 62 deletions

View File

@ -26,7 +26,6 @@ The [Emacs-only repository] is kept in sync with the main [Solarized repository]
[Solarized homepage]: http://ethanschoonover.com/solarized
[Solarized repository]: https://github.com/altercation/solarized
[Emacs-only repository]: https://github.com/sellout/emacs-color-theme-solarized
[color-theme]: http://www.nongnu.org/color-theme
Installation & Usage
--------------------
@ -37,13 +36,6 @@ Installation & Usage
2. Add `(load-theme 'solarized t)` to your Emacs init file.
3. Reload the init file, or restart Emacs.
### [color-theme] \(pre-Emacs 24\)
1. Download and install [color-theme].
2. Add the `emacs-color-theme-solarized` directory to your Emacs `load-path`.
3. Add `(require 'color-theme-solarized)` and `(color-theme-solarized)` to your Emacs init file (usually `~/.emacs`).
3. Reload the init file, or restart Emacs.
### all versions
To switch between the light and dark variations of Solarized, set the frames `background-mode`. This can be accomplished globally using `M-x customize-variable frame-background-mode` or on a per-frame basis with `(set-frame-parameter nil 'background-mode 'light)` (or `'dark`). If you're in a terminal, you must also set the terminal parameter with `(set-terminal-parameter nil 'background-mode 'light)` (or `'dark`). Remember to call `enable-theme` after changing the background mode to update the state of the theme.
@ -180,7 +172,6 @@ matched in sRGB space.
Here are some things to keep in mind when submitting a bug report:
* include the output of `M-x version` in your report,
* mention whether youre using color-theme or the Emacs 24 theme,
* include the names of Emacs faces that you have a problem with (`M-: (face-at-point)` and `M-x describe-face` will tell you the name of the face at point),
* include the output of `M-: (display-color-cells)` (that lets us know which set of colors your Emacs is using),
* screenshots are very helpful (before and after if you made a change),

View File

@ -1 +1 @@
(define-package "color-theme-solarized" "%%version%%" "Solarized themes for Emacs" '((color-theme "6.5.5")))
(define-package "color-theme-solarized" "%%version%%" "Solarized theme for Emacs")

View File

@ -1,52 +0,0 @@
;;; Author: Ethan Schoonover, Solarized; Greg Pfeil, Emacs adaptation
;;; URL: http://ethanschoonover.com/solarized
;;; This file is not (YET) part of GNU Emacs.
;;; # Usage
;;; 1. Install the color-theme package
;;; (http://www.emacswiki.org/cgi-bin/wiki/ColorTheme)
;;; 2. Load this file
;;; 3. M-x color-theme-solarized
(let ((current-file-name (or load-file-name buffer-file-name)))
(if current-file-name
(let* ((reqname (concat (file-name-directory current-file-name)
"solarized-definitions.el"))
(compreqname (concat reqname "c")))
(require 'solarized-definitions
(if (file-exists-p compreqname) compreqname reqname)))
(require 'solarized-definitions)))
(eval-when-compile
(require 'color-theme))
;;;###autoload
(defun color-theme-solarized ()
"Color theme by Ethan Schoonover, created 2011-03-24.
Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized."
(interactive)
(color-theme-install
`(color-theme-solarized () () ,@(solarized-color-definitions))))
(when (boundp 'color-themes)
(add-to-list 'color-themes
`(color-theme-solarized
"Solarized"
,solarized-description)))
;;;###autoload
(defun color-theme-solarized-dark ()
"Color theme by Ethan Schoonover, created 2011-03-24.
Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized."
(declare (obsolete color-theme-solarized "2013-05-01"))
(color-theme-solarized))
;;;###autoload
(defun color-theme-solarized-light ()
"Color theme by Ethan Schoonover, created 2011-03-24.
Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized."
(declare (obsolete color-theme-solarized "2013-05-01"))
(color-theme-solarized))
(provide 'color-theme-solarized)