Giter VIP home page Giter VIP logo

Comments (6)

belak avatar belak commented on June 10, 2024

What format do you think makes the most sense? I'm not sure if an alist or separate variables makes more sense.

from base16-emacs.

justmytwospence avatar justmytwospence commented on June 10, 2024

Either one. An alist would be a little easier on the global namespace, but much less convenient to use. I vote for separate variables with a consistent base16- prefix

from base16-emacs.

belak avatar belak commented on June 10, 2024

I was imagining something like this

(setq base16-default-dark-colors ((base00 . "#181818")
                                  (base01 . "#282828")
                                  (base02 . "#383838")
                                  (base03 . "#585858")
                                  (base04 . "#b8b8b8")
                                  (base05 . "#d8d8d8")
                                  (base06 . "#e8e8e8")
                                  (base07 . "#f8f8f8")
                                  (base08 . "#ab4642")
                                  (base09 . "#dc9656")
                                  (base0A . "#f7ca88")
                                  (base0B . "#a1b56c")
                                  (base0C . "#86c1b9")
                                  (base0D . "#7cafc2")
                                  (base0E . "#ba8baf")
                                  (base0F . "#a16946")))

Alternatively, there could be separate color vars for each, but I'd rather avoid that.

from base16-emacs.

justmytwospence avatar justmytwospence commented on June 10, 2024

Works for me ๐Ÿ‘

from base16-emacs.

belak avatar belak commented on June 10, 2024

I've added each color set as a plist.

(plist-get base16-default-dark-colors :base00) will get base00 from the default-dark scheme.

I'll do my best to maintain backwards compatibility in the future unless there's a very compelling reason not to.

from base16-emacs.

justmytwospence avatar justmytwospence commented on June 10, 2024

Neat; thanks!

from base16-emacs.

Related Issues (20)

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.