Giter VIP home page Giter VIP logo

doom-nano's Introduction

DOOM nano

WORK IN PROGRESS

This repo is for porting the excelent work of Nicolas Rougier to doom emacs.

Current state: ./screenshot.png

Disclaimer: this is literally my first elisp project. I advise some caution while navegating through my parentheses.

Install

Add the following to packages.el.

(package! doom-nano
  :recipe (:host github :repo "ieremies/doom-nano"))

Copy doom-nano-light-theme.el and/or doom-nano-dark-theme.el to your .doom.d/themes/ and add the following to your config.el.

(require 'doom-nano-ui)
(setq doom-theme 'doom-nano-light) ;; or dark

The other way

One other option is to (some what) directly use Rougier’s work:

;; This goes in packages.el
(package! nano
  :recipe (:host github :repo "rougier/nano-emacs"))
(package! doom-nano
  :recipe (:host github :repo "ieremies/doom-nano"))

and

;; This goes in config.el
(require 'doom-nano-ui)         ;; only ui changes

(setq doom-theme 'doom-plain)   ;; see above
(require 'nano-theme-light)     ;; set color scheme

;; (setq doom-theme 'doom-nord)
;; (require 'nano-theme-dark)

(require 'doom-nano-faces)      ;; apply faces

The problem with the latter form is some faces may not behave well (like the modeline). To prevent that, you can set a doom-theme that matches. I got the best results using doom-plain for the light theme and doom-nord for the dark one.

TO-DO’s

  • The modeline
  • Ideally I want to change the themes to use inheritance, but I could not manage to get the faces defined…
  • Some categories of faces defined in nano-emacs/nano-theme.el are not yet ported
  • nano-theme-dark

Future plans

The end goal of this project is to be the promissed doom :ui nano package. To do so, it has to define a “nano-like” theme for all doom-themes. The best way that I see this happening is deducing the nano-colors from the default faces defined in every doom-theme and redefining all faces based on that.

doom-nano's People

Contributors

ieremies avatar

Stargazers

 avatar

Watchers

 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.