tungd / color-theme-approximate Goto Github PK
View Code? Open in Web Editor NEWMakes normal color theme works on terminal
Makes normal color theme works on terminal
Even with this fairly minimal init.el
I simply can't get the approximation to work without having to do some manual work after starting emacs:
(require 'package)
(setq package-archives '(("melpa-unstable" . "http://unstable.melpa.org/packages/")))
(package-initialize)
(unless package-archive-contents (package-refresh-contents))
(unless (package-installed-p 'color-theme-approximate) (package-install 'color-theme-approximate))
(unless (package-installed-p 'sublime-themes) (package-install 'sublime-themes))
(color-theme-approximate-on)
(load-theme 'spolsky t)
Result after emacs -nw
and the above init.el
: default-approximated theme. Re-enabling the theme e.g. with M-x enable-theme
causes the approximation to kick in, but I haven't found a way of getting it to work automatically. I tried using tty-setup-hook
to delay calling load-theme
but it didn't affect the end result.
emacs --version
reports "GNU Emacs 24.4.1".
Am I doing something wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.