Code Monkey home page Code Monkey logo

emacs's Introduction

Logo
Catppuccin for Emacs

About

This Emacs theme was made with the Dracula theme as a base.

Previews

🌻 Latte
πŸͺ΄ FrappΓ©
🌺 Macchiato
🌿 Mocha

Installation

catppuccin-theme is available on the MELPA package repository.

Emacs

  1. Make sure to have MELPA enabled by adding it to the package-archives, or that your package manager of choice has MELPA as a repository.
  2. You can then install the package from the list-packages interface, accessible from M-x list-packages.
  3. Alternatively, you can install the package using your package manager of choice, such as straight
(straight-use-package 'catppuccin-theme)
  1. Then, you can enable it by adding the following to your init.el file
(load-theme 'catppuccin :no-confirm)

Doom Emacs

  1. Add the following to your package.el
(package! catppuccin-theme)
  1. Add the following to your config.el
(setq doom-theme 'catppuccin)

Configuration

The default flavour is Mocha, to change the flavor, place the following in your init.el or config.el after loading the theme

(setq catppuccin-flavor 'frappe) ;; or 'latte, 'macchiato, or 'mocha
(catppuccin-reload)

The theme can also be customzied further by changing individual colors. Doom users must call (load-theme 'catppuccin t t) before being able to call any of the catppuccin-* functions.

(catppuccin-set-color 'base "#000000") ;; change base to #000000 for the currently active flavor
(catppuccin-set-color 'crust "#222222" 'frappe) ;; change crust to #222222 for frappe
(catppuccin-reload)

Note

If you are using emacsclient and rustic, you should add (add-hook 'server-after-make-frame-hook #'catppuccin-reload) to your config to avoid this issue

πŸ’ Thanks to

Β 

Copyright Β© 2021-present Catppuccin Org

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.