Giter Club home page Giter Club logo

amburn-theme.el's Introduction

Development has moved to: https://codeberg.org/excalamus/amburn-theme.el

amburn-theme.el

A high contrast amber theme for Emacs.

People talk about how "old" Emacs looks. I say ignore the agists and embrace the legacy. The future of Emacs glows as brightly now as the phosphor screens of yore.

amburn

Disable whatever themes you have enabled using disable-theme.

Then call,

(load "/path/to/amburn-theme.el")
(load-theme 'amburn t)

The retro VT220 font Glass_TTY_VT220.ttf is included with amburn-theme.el for extra fun.

Put the font file in ~/.local/share/fonts/, creating any directories that don't exist.

Enable the font using:

;; Height values in 1/10pt, so 100 will give you 10pt, etc.
(set-face-attribute 'default nil
                    :font "Glass TTY VT220"
                    :height 150)

Modifying

Amburn is built using three colors:

  • amburn-fgl (foreground light)
  • amburn-fgd (foreground dark)
  • amburn-bg (background)

The default colors come from here: https://retrocomputing.stackexchange.com/a/12837

First, all faces in Emacs are set to "fgd-on-bg".

Next, faces are set in bulk according to package. Use the following variables to set the color for a package:

  • amburn-bulk-fgl-on-bg
  • amburn-bulk-fgd-on-bg
  • amburn-bulk-bg-on-fgd
  • amburn-bulk-bg-on-fgl

The variable should hold a list of cons cells where the car is the filename and the cdr is the package namespace. For example, the following sets fgd-on-bg for the font-lock package which has filename "font-lock.el" and namespace "font-lock-":

(setq amburn-bulk-fgd-on-bg
      '(
        (font-lock . "font-lock-")
        ))

Finally, individual faces are set using one of:

  • amburn-individual-fgl-on-bg
  • amburn-individual-fgd-on-bg
  • amburn-individual-bg-on-fgl
  • amburn-individual-bg-on-fgd

Each of these is a list of faces to color accordingly. For example,

(setq amburn-individual-bg-on-fgl
      '(
        error
        secondary-selection
        success
        warning
        ))

amburn-theme.el's People

Contributors

excalamus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.