diff --git a/hazakura-theme.el b/hazakura-theme.el deleted file mode 100644 index 8d7bc0d..0000000 --- a/hazakura-theme.el +++ /dev/null @@ -1,221 +0,0 @@ -;;; hazakura-theme.el --- The soft yet colorful theme for Emacs. -;;; Commentary: -;; -;; This theme does it's best to make Emacs look beautiful, -;; as with every other theme you will ever see. -;; One way it does this by making colours stick out, by maintaining -;; a stark contrast between foreground and background. -;; -;; Try it out! -;; -;;; Code: - -(require 'autothemer) - -(unless (>= emacs-major-version 26) - (error "Requires Emacs 26 or later")) - -(autothemer-deftheme - hazakura "The soft yet colorful theme for Emacs." - - ((((class color) (min-colors #xFFFFFF))) - ;; Specify the color palette, color columns correspond to each of the classes above. - (fg "#ece5ea") - (fg-dark "#5c5c61") - (fg-dark-alt "#454449") - (bg "#151517") - (bg-dark "#151517") - (bg-light "#27272b") - (selection "#242426") - (highlight "#5c5c61") - (comment "#454449") - (hazakura-red "#f06969") - (hazakura-green "#91d65c") - (hazakura-purple "#a292e8") - (hazakura-blue "#78b9c4") - (hazakura-magenta "#e887bb") - (hazakura-yellow "#d9d564") - (hazakura-cyan "#7ee6ae")) - - ;; General - ((default (:foreground fg :background bg)) - (link (:foreground hazakura-cyan :underline t)) - (region (:background selection)) - (highlight (:background bg-light)) - (help-key-binding (:background bg :foreground hazakura-magenta :slant 'italic)) - (font-lock-keyword-face (:foreground hazakura-purple :slant 'italic)) - (show-paren-match (:foreground hazakura-magenta :weight 'bold :underline t)) - (show-paren-mismatch (:foreground hazakura-red :weight 'bold)) - (line-number (:foreground comment :background bg :slant 'italic)) - (line-number-current-line (:foreground hazakura-magenta :background bg :weight 'bold :slant 'italic)) - (font-lock-variable-name-face (:foreground hazakura-yellow)) - (font-lock-warning-face (:foreground hazakura-yellow)) - (completions-common-part (:foreground hazakura-purple)) - (completions-first-difference (:foreground fg)) - (font-lock-constant-face (:foreground hazakura-green)) - (font-lock-string-face (:foreground hazakura-green)) - (font-lock-builtin-face (:foreground hazakura-blue)) - (error (:foreground hazakura-red)) - (font-lock-type-face (:foreground hazakura-red)) - (font-lock-comment-face (:foreground comment)) - (secondary-selection (:foreground highlight)) - - ;; Isearch - (isearch (:foreground hazakura-green :background bg-light :weight 'bold :underline t)) - (isearch-fail (:foreground hazakura-red :weight 'bold)) - - ;; Modeline - (mode-line (:background bg-light)) - - ;; NANO-modeline - (nano-modeline-active (:box () :foreground fg :background bg-light)) - (nano-modeline-inactive (:box () :foreground highlight :background bg-light)) - (nano-modeline-status (:foreground fg :background hazakura-purple :weight 'bold)) - - ;; Bespoke modeline - (bespoke-modeline-active-status-** (:foreground fg :background hazakura-blue :weight 'bold)) - (bespoke-modeline-active-status-RW (:foreground fg :background hazakura-purple :weight 'bold)) - (bespoke-modeline-active-status-RO (:foreground fg :background hazakura-magenta :weight 'bold)) - (bespoke-modeline-inactive (:background bg-light :foreground highlight)) - (bespoke-modeline-inactive-name (:background bg-light :foreground highlight)) - (bespoke-modeline-inactive-primary (:background bg-light :foreground highlight)) - (bespoke-modeline-inactive-secondary (:background bg-light :foreground highlight)) - - ;; Window - (window-divider (:foreground bg :background bg)) - (window-divider-first-pixel (:foreground bg :background bg)) - (window-divider-last-pixel (:foreground bg :background bg)) - - ;; Fringe - (fringe (:background fg :foreground fg)) - - ;; Org mode - (org-code (:foreground fg-dark)) - (org-block (:foreground fg-dark)) - (org-ellipsis (:foreground fg-dark-alt :weight 'bold)) - (org-headline-done (:foreground fg)) - (org-checkbox (:foreground hazakura-magenta)) - (org-todo (:foreground hazakura-cyan :slant 'normal)) - (org-done (:foreground hazakura-green :slant 'normal)) - (org-meta-line (:foreground fg-dark-alt)) - (org-link (:foreground hazakura-green :underline t :weight 'bold)) - (org-drawer (:foreground comment)) - (org-date (:foreground hazakura-magenta)) - (org-table (:foreground hazakura-cyan)) - (org-special-keyword (:foreground fg)) - (org-document-info-keyword (:foreground hazakura-green)) - (org-list-dt (:foreground hazakura-red)) - (org-level-1 (:foreground hazakura-purple :weight 'bold)) - (org-level-2 (:foreground hazakura-cyan :weight 'bold)) - (org-level-3 (:foreground hazakura-green :weight 'bold)) - (org-level-4 (:weight 'bold)) - (org-level-5 (:weight 'bold)) - (org-level-6 (:weight 'bold)) - (org-level-7 (:weight 'bold)) - (org-level-8 (:weight 'bold)) - (org-document-info (:foreground fg-dark)) - - ;; Org Superstar - (org-superstar-item (:foreground hazakura-yellow)) - (org-superstar-header-bullet (:foreground hazakura-magenta :slant 'normal)) - - ;; Markdown - (markdown-code-face (:inherit 'default :foreground hazakura-purple)) - (markdown-header-face (:foreground hazakura-cyan :weight 'bold)) - - ;; Vertico - (vertico-current (:background bg-light)) - - ;; Minibuffer prompt - (minibuffer-prompt (:foreground hazakura-green)) - - ;; Orderless - (orderless-match-face-0 (:foreground hazakura-purple)) - (orderless-match-face-1 (:foreground hazakura-cyan)) - (orderless-match-face-2 (:foreground hazakura-green)) - (orderless-match-face-3 (:foreground hazakura-yellow)) - - ;; which-key - (which-key-command-description-face (:foreground fg)) - - ;; Dired - (diredfl-read-priv (:foreground hazakura-yellow)) - (diredfl-dir-heading (:foreground hazakura-magenta :weight 'bold)) - (diredfl-dir-priv (:foreground hazakura-purple)) - (diredfl-no-priv (:foreground fg-dark)) - (diredfl-write-priv (:foreground hazakura-red)) - (diredfl-exec-priv (:foreground hazakura-green)) - (diredfl-dir-name (:foreground hazakura-magenta)) - (diredfl-file-name (:foreground fg)) - (diredfl-file-suffix (:foreground hazakura-yellow)) - (diredfl-date-time (:foreground hazakura-purple)) - - ;; Evil - (evil-ex-info (:foreground hazakura-red)) - (evil-ex-lazy-highlight (:background highlight)) - (evil-ex-substitute-matches (:strike-through t :weight 'bold :foreground hazakura-yellow)) - (evil-ex-substitute-replacement (:foreground hazakura-red :weight 'bold)) - - ;; Eglot - (eglot-highlight-symbol-face (:foreground hazakura-purple)) - - ;; Rustic - (rustic-compilation-error (:foreground hazakura-red)) - (rustic-compilation-warning (:foreground hazakura-yellow)) - (rustic-compilation-column (:foreground fg-dark)) - (rustic-compilation-line (:foreground fg-dark)) - - ;; Git - (git-commit-summary (:foreground hazakura-green)) - (git-commit-overlong-summary (:foreground hazakura-red)) - - ;; Magit - (magit-header-line (:foreground fg :weight 'bold :background bg :underline (:color comment))) - (magit-diff-file-heading-highlight (:foreground hazakura-purple :weight 'bold)) - - (magit-section-highlight (:foreground hazakura-purple :weight 'bold)) - (magit-section-heading (:foreground hazakura-magenta)) - (magit-head (:foreground hazakura-purple)) - (magit-hash (:foreground fg-dark-alt)) - (magit-header-line (:foreground hazakura-yellow)) - (magit-branch-current (:foreground hazakura-purple)) - (magit-branch-local (:foreground hazakura-purple)) - (magit-branch-remote (:foreground hazakura-cyan)) - - (magit-diff-added (:foreground hazakura-green :background bg :slant 'italic)) - (magit-diff-context (:foreground fg-dark :background bg :slant 'italic)) - (magit-diff-removed (:foreground hazakura-red :background bg :slant 'italic)) - - (magit-diff-hunk-heading-highlight (:background bg-dark :foreground hazakura-magenta :weight 'bold)) - (magit-diff-hunk-heading (:background bg-light :foreground fg-dark)) - (magit-diff-added-highlight (:background bg-light :foreground hazakura-green)) - (magit-diff-base-highlight (:background fg :foreground hazakura-blue)) - (magit-diff-lines-highlight (:background hazakura-cyan)) - (magit-diff-lines-heading (:background hazakura-blue :foreground fg)) - (magit-diff-lines-boundary (:background hazakura-blue)) - (magit-diff-context-highlight (:background bg-light :foreground fg)) - (magit-diff-removed-highlight (:background bg-light :foreground hazakura-red)) - - ;; Flycheck - (flycheck-inline-info (:foreground hazakura-yellow)) - (flycheck-inline-warning (:foreground hazakura-magenta)) - (flycheck-inline-error (:foreground hazakura-red)) - - (flycheck-fringe-warning (:foreground hazakura-magenta)) - (flycheck-fringe-error (:foreground hazakura-red)) - (flycheck-fringe-info (:foreground hazakura-yellow)) - - (flycheck-warning (:underline (:style 'wave :color hazakura-magenta))) - (flycheck-info (:underline (:style 'wave :color hazakura-yellow))) - (flycheck-error (:underline (:style 'wave :color hazakura-red))))) - -;;;###autoload -(and load-file-name - (boundp 'custom-theme-load-path) - (add-to-list 'custom-theme-load-path - (file-name-as-directory - (file-name-directory load-file-name)))) - -(provide-theme 'hazakura) - -;;; hazakura-theme.el ends here