• Stars
    star
    149
  • Rank 248,619 (Top 5 %)
  • Language
    Emacs Lisp
  • Created over 14 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An emacs color theme based on the tango palette colors

http://melpa.org/packages/tangotango-theme-badge.svg

This is an emacs color theme based on the tango palette colors.

Screenshots

Here is a screenshot of the color theme with an emacs-lisp file :

https://github.com/juba/color-theme-tangotango/raw/master/screenshots/tangotango_elisp.png

One with a Gnus summary and article buffers :

https://github.com/juba/color-theme-tangotango/raw/master/screenshots/tangotango_gnus.png

And one with an org-mode buffer :

https://github.com/juba/color-theme-tangotango/raw/master/screenshots/tangotango_org.png

Installation instructions

Package.el

tangotango-theme is available in MELPA. You can add this repository by following its installation instructions.

To install tangotango-theme, just do :

M-x package-install tangotango-theme

You can then try it with M-x load-theme. If you want to load it automatically on startup, add the following to your init file :

(load-theme 'tangotango t)  

Manual (Emacs 24)

Emacs 24 features native color theming, and as such you don’t need any third party package or extension.

  1. Download tangotango-theme.el from github and save it to your ~/.emacs.d directory
  2. Try it with M-x load-theme
  3. If you like it, just add the following line to your .emacs :
(load-theme 'tangotango t)

If you prefer to place your theme files in another directory, you can just add something like the following in your .emacs before loading the theme :

(add-to-list 'custom-theme-load-path "~/.emacs.d/color-theme-tangotango")

Emacs 23

With Emacs 23 you need to use the color-theme package :

  1. Download and install the color-theme emacs package either via your linux distribution or via the source tarball
  2. Download and install color-theme-tangotango.el from github
  3. Make sure that both color-theme.el and color-theme-tangotango.el are in your load path

There are several ways to load the tangotango color theme from your .emacs, as documented on emacswiki. The way I currently use should work for a daemonized emacs and allows the selection of different themes for GUI or console based frames :

(require 'color-theme)
(setq color-theme-load-all-themes nil)

(require 'color-theme-tangotango)

;; select theme - first list element is for windowing system, second is for console/terminal
;; Source : http://www.emacswiki.org/emacs/ColorTheme#toc9
(setq color-theme-choices 
      '(color-theme-tangotango color-theme-tangotango))

;; default-start
(funcall (lambda (cols)
    	   (let ((color-theme-is-global nil))
    	     (eval 
    	      (append '(if (window-system))
    		      (mapcar (lambda (x) (cons x nil)) 
    			      cols)))))
    	 color-theme-choices)

;; test for each additional frame or console
(require 'cl)
(fset 'test-win-sys 
      (funcall (lambda (cols)
    		 (lexical-let ((cols cols))
    		   (lambda (frame)
    		     (let ((color-theme-is-global nil))
		       ;; must be current for local ctheme
		       (select-frame frame)
		       ;; test winsystem
		       (eval 
			(append '(if (window-system frame)) 
				(mapcar (lambda (x) (cons x nil)) 
					cols)))))))
    	       color-theme-choices ))
;; hook on after-make-frame-functions
(add-hook 'after-make-frame-functions 'test-win-sys)

(color-theme-tangotango)

Note that I also had to add a (color-theme-tangotango) line at the end of my .gnus file in order to apply the color theme to Gnus.

More Repositories

1

rmdformats

HTML output formats for RMarkdown documents
CSS
714
star
2

explor

Interfaces for Multivariate Analysis in R
R
192
star
3

pyobsplot

Observable Plot in Jupyter notebooks and Quarto documents
HTML
185
star
4

robservable

Observable notebooks as R htmlwidgets
HTML
158
star
5

scatterD3

R scatter plot htmlwidget based on D3.js
JavaScript
158
star
6

shinyglide

Glide.js component for Shiny apps
R
91
star
7

questionr

R package to make surveys processing easier
R
82
star
8

obsplot

Observable Plot bindings for R
R
60
star
9

rainette

R implementation of the Reinert text clustering method
R
53
star
10

bookup-html

Bookup custom Quarto HTML format
SCSS
48
star
11

tidyverse

Introduction à R et au tidyverse
SCSS
45
star
12

uniquanti

Small JavaScript app to visualize basic statistics
JavaScript
42
star
13

rwos

R interface to Web of Science Web Services API
R
22
star
14

scatterD3_shiny_app

Minimal example shiny app for the scatterD3 package : https://github.com/juba/scatterD3
R
12
star
15

textile-mode

An emacs major mode for Textile markup language editing.
Emacs Lisp
6
star
16

khi2_slides

Présentation sur le test du Khi2
HTML
6
star
17

intro-r

(Obsolète) Introduction à R
PostScript
6
star
18

shiny_prenoms

Shiny app for french first names at birth dataset
R
6
star
19

texplor

Interactive Interfaces for Textual Analysis in R
R
5
star
20

timeline-generator

PDF timeline generator (Ruby, LaTeX, TikZ)
Ruby
5
star
21

presid2012-bureaux-lyon

Résultats du premier tour des présidentielles de 2012 dans les bureaux de vote de Lyon
R
2
star
22

rgrs

R package that provides functions for beginners and social sciences students or researchers (cross-tabulation, weighting, results export, and maps plotting).
R
2
star
23

presid2012-classif-communes

Classification des communes de France selon leurs votes au premier tour de l'élection présidentielle 2012
R
2
star
24

archive_doc_khi2

Archive d'un document d'introduction au test du Khi2
TeX
2
star
25

StableDiffusionNotebook

Stable diffusion custom notebook
Jupyter Notebook
1
star
26

advent-2023

Advent of code 2023
Python
1
star
27

umapscan

UMAP dimensionality reduction and DBSCAN clustering R helper package
R
1
star
28

rmarkdown_rlyon_2014

Slides de présentation de Rmarkdown à RLyon - 20/11/2014
CSS
1
star
29

org-seenthis

Interface between emacs' org-mode and seenthis.net
Emacs Lisp
1
star
30

js-exos

Questions-réponses en html/javascript
JavaScript
1
star