The Artima Developer Community
Sponsored Link

Web Buzz Forum
Emacs Dark Theme

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Matthias Georgi

Posts: 54
Nickname: georgi
Registered: Apr, 2007

Matthias Georgi is a Ruby on Rails freelancer.
Emacs Dark Theme Posted: Jun 5, 2011 7:48 PM
Reply to this message Reply

This post originated from an RSS feed registered with Web Buzz by Matthias Georgi.
Original Post: Emacs Dark Theme
Feed Title: Matthias Georgi
Feed URL: http://feeds.feedburner.com/matthias-georgi?format=xml
Feed Description: Webdev, Gamedev and Interaction Design.
Latest Web Buzz Posts
Latest Web Buzz Posts by Matthias Georgi
Latest Posts From Matthias Georgi

Advertisement

Recently I updated my Emacs setup and decided to go for a more minimal color theme. Especially on long coding nights you want a theme without distracting colors.

Emacs dark theme

Configuration

Just paste this code into your emacs condiguration:

 (set-face-attribute 'default nil
                     :background "grey20"
                     :foreground "grey90")

 (set-face-attribute 'modeline nil
                     :background "grey10"
                     :foreground "grey90")

 (set-face-attribute 'cursor nil
                     :background "white")

 (set-face-attribute 'font-lock-builtin-face nil
                     :foreground "grey60")

 (set-face-attribute 'font-lock-comment-face nil
                     :foreground "grey60")

 (set-face-attribute 'font-lock-constant-face nil
                     :foreground "grey60")

 (set-face-attribute 'font-lock-keyword-face nil
                     :foreground "white")

 (set-face-attribute 'font-lock-string-face nil
                     :foreground "white")

 (set-face-attribute 'font-lock-variable-name-face nil
                     :foreground "lightblue")

 (set-face-attribute 'font-lock-function-name-face nil
                     :foreground "lightblue")

 (set-face-attribute 'region nil
                     :background "#111")

Additional faces

If you use speedbar or elscreen, you can set additional faces:

(set-face-attribute 'speedbar-file-face nil
                    :foreground "white")

(set-face-attribute 'elscreen-tab-background-face nil
                    :background "grey10"
                    :foreground "grey90")

(set-face-attribute 'elscreen-tab-control-face nil
                    :background "grey20"
                    :foreground "grey90")

(set-face-attribute 'elscreen-tab-current-screen-face nil
                    :background "grey20"
                    :foreground "grey90")

(set-face-attribute 'elscreen-tab-other-screen-face nil
                    :background "grey30"
                    :foreground "grey60")

Read: Emacs Dark Theme

Topic: Samsung Exhibit 4G, Samsung Gravity SMART To launch On June 22nd Previous Topic   Next Topic Topic: Samsung Galaxy Gio Android 2.3.3 Gingerbread Leaked!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use