Code Monkey home page Code Monkey logo

Comments (8)

NamesCode avatar NamesCode commented on June 26, 2024 1

huh, I think we're missing some faces here. I'll check it out later this week, just need to fix my emacs install.

from emacs.

WhoisDonlee avatar WhoisDonlee commented on June 26, 2024 1

Ah, I get it now. Doomemacs uses vertico by default so probably most people stick with that.
You could either setup vertico, or add the helm faces. It looks like someone already did some work.

emacs/catppuccin-theme.el

Lines 588 to 617 in 89e4013

;; TODO: Theme helm
(helm-bookmark-w3m :foreground ,undef)
(helm-buffer-not-saved :foreground ,undef)
(helm-buffer-process :foreground ,undef)
(helm-buffer-saved-out :foreground ,undef)
(helm-buffer-size :foreground ,undef)
(helm-candidate-number :foreground ,undef)
(helm-ff-directory :foreground ,undef)
(helm-ff-dotted-directory :foreground ,undef)
(helm-ff-executable :foreground ,undef)
(helm-ff-file :foreground ,undef)
(helm-ff-invalid-symlink :foreground ,undef)
(helm-ff-prefix :foreground ,undef)
(helm-ff-symlink :foreground ,undef)
(helm-grep-cmd-line :foreground ,undef)
(helm-grep-file :foreground ,undef)
(helm-grep-finish :foreground ,undef)
(helm-grep-lineno :foreground ,undef)
(helm-grep-match :inherit match)
(helm-grep-running :foreground ,undef)
(helm-header :foreground ,undef)
(helm-moccur-buffer :foreground ,undef)
(helm-selection :underline nil)
(helm-selection-line)
(helm-separator :foreground ,undef)
(helm-source-go-package-godoc-description :foreground ,undef)
(helm-source-header :foreground ,undef)
(helm-time-zone-current :foreground ,undef)
(helm-time-zone-home :foreground ,undef)
(helm-visible-mark :foreground ,undef)

(straight-use-package 'vertico)
(use-package vertico
  :init
  (vertico-mode))

from emacs.

WhoisDonlee avatar WhoisDonlee commented on June 26, 2024

I'm not familiar with spacemacs, but to me it looks like catppuccin isn't loaded at all. Spacemacs probably has it's own way for setting a theme. Are you sure catppuccin is properly set?

from emacs.

edvin avatar edvin commented on June 26, 2024

Perhaps I'm doing it wrong, but I do see (most of) the colors. I configured this:

dotspacemacs-additional-packages '(catppuccin-theme)
dotspacemacs-themes '(catppuccin)

from emacs.

WhoisDonlee avatar WhoisDonlee commented on June 26, 2024

Are any of the faces displaying catppuccin colors? Either the theme is not set properly or something else is overriding the faces. Maybe try setting it interactively with load-theme and see if it displays the right colors.

from emacs.

edvin avatar edvin commented on June 26, 2024

Interesting - when I load the theme manually using load-theme I get this:

image

The colors (presumably) missing from the catppuccin theme is then the colors from the previous theme (doom-palenight, see the lime green text for example?). It really looks like there are some faces missing from the theme definition. I will try with a minimal config/without spacemacs layers asap to verify if it is some configuration of spacemacs that interferes.

from emacs.

edvin avatar edvin commented on June 26, 2024

I have confirmed that it's not a Spacemacs issue. This is a screenshot taken with a minimal emacs config:

image

The highlight background color etc is still missing. For completeness/reproducibility, this is the complete init.el:

(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 6))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

(straight-use-package 'catppuccin-theme)
(load-theme 'catppuccin :no-confirm)

(straight-use-package 'helm)
(global-set-key (kbd "M-x") 'helm-M-x)

It just loads straight.el, catppuccin-theme and helm just to see the missing colors easily.

from emacs.

edvin avatar edvin commented on June 26, 2024

Perfect, thank you :)

from 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.