From 9e74183c865249195a5878fa963ca8b70a9fd9a7 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Sat, 19 Nov 2022 08:06:06 +0000 Subject: [PATCH] feat: move theme to separate repository --- graphite-theme.el | 23 ----------------------- lisp/editor.el | 6 +++++- 2 files changed, 5 insertions(+), 24 deletions(-) delete mode 100644 graphite-theme.el diff --git a/graphite-theme.el b/graphite-theme.el deleted file mode 100644 index 596a548..0000000 --- a/graphite-theme.el +++ /dev/null @@ -1,23 +0,0 @@ -(use-package autothemer) - -(autothemer-deftheme - graphite - "A neon, shimmering theme for Emacs" - - ;; The color classes used by the theme. Theme supports GUI Emacs only. - ((((class color) (min-colors #xFFFFFF))) - - ;; Specify the color palette, color columns correspond to each of the classes above. - (red "#781210") - (green "#69f961") - (blue "#64c7fc") - (magenta "#e572c8") - (lilac "#7b6b97") - (yellow "#f9ef61") - (cyan "#50fcce")) - - ;; Specifications for Emacs faces. - ((default (:foreground cyan)) - (error (:foreground red)))) - -(provide-theme 'graphite) diff --git a/lisp/editor.el b/lisp/editor.el index fcdc6dd..5c3fa64 100644 --- a/lisp/editor.el +++ b/lisp/editor.el @@ -55,7 +55,11 @@ (doom-themes-treemacs-config) ; Enable theming of treemacs (doom-themes-org-config) ; And org-mode -;; Set theme to doom-tokyo-night, Dianicemacs' default +;; Set theme to `graphite', Dianicemacs' default +(use-package autothemer) +(use-package graphite-theme + :straight (:package "graphite" :host nil + :type git :repo "ssh://81.151.235.84/graphite-emacs")) (load-theme 'graphite t) ;; rainbow-mode - Colourful colour codes!