2023-07-27 19:42:55 +00:00
|
|
|
;;; nerd-icons-faces.el --- A module of faces for nerd-icons -*- lexical-binding: t -*-
|
2022-04-22 02:54:47 +00:00
|
|
|
|
2023-07-27 19:42:55 +00:00
|
|
|
;; Copyright (C) 2023 Hongyu Ding <rainstormstudio@yahoo.com>
|
2022-04-22 02:54:47 +00:00
|
|
|
|
2023-07-27 19:42:55 +00:00
|
|
|
;; Author: Hongyu Ding <rainstormstudio@yahoo.com>
|
|
|
|
;; Keywords: lisp
|
|
|
|
;; Version: 0.0.1
|
2022-04-22 02:54:47 +00:00
|
|
|
;; Package-Requires: ((emacs "24.3"))
|
2023-07-27 19:42:55 +00:00
|
|
|
;; URL: https://github.com/rainstormstudio/nerd-icons.el
|
2022-04-22 02:54:47 +00:00
|
|
|
;; Keywords: convenient, lisp
|
|
|
|
|
2023-07-27 19:42:55 +00:00
|
|
|
;; This program is free software; you can redistribute it and/or modify
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; This program is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
2023-07-27 19:42:55 +00:00
|
|
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
|
|
|
;; This file contains all of the faces used by the package for
|
|
|
|
;; colouring icons
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
2023-07-27 19:42:55 +00:00
|
|
|
(defgroup nerd-icons-faces nil
|
|
|
|
"Manage how Nerd Font icons are coloured and themed."
|
|
|
|
:prefix "nerd-icons-"
|
2022-04-22 02:54:47 +00:00
|
|
|
:group 'tools
|
2023-07-27 19:42:55 +00:00
|
|
|
:group 'nerd-icons)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; red
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-red
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#AC4142")
|
|
|
|
(((background light)) :foreground "#AC4142"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for red icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lred
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#EB595A")
|
|
|
|
(((background light)) :foreground "#EB595A"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lred icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dred
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#843031")
|
|
|
|
(((background light)) :foreground "#843031"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dred icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-red-alt
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#ce5643")
|
|
|
|
(((background light)) :foreground "#843031"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dred icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; green
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-green
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#90A959")
|
|
|
|
(((background light)) :foreground "#90A959"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for green icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lgreen
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#C6E87A")
|
|
|
|
(((background light)) :foreground "#3D6837"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lgreen icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dgreen
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#6D8143")
|
|
|
|
(((background light)) :foreground "#6D8143"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dgreen icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; yellow
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-yellow
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#FFD446")
|
|
|
|
(((background light)) :foreground "#FFCC0E"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for yellow icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lyellow
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#FFC16D")
|
|
|
|
(((background light)) :foreground "#FF9300"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lyellow icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dyellow
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#B48D56")
|
|
|
|
(((background light)) :foreground "#B48D56"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dyellow icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; blue
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-blue
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#6A9FB5")
|
|
|
|
(((background light)) :foreground "#6A9FB5"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for blue icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-blue-alt
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#2188b6")
|
|
|
|
(((background light)) :foreground "#2188b6"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for blue icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lblue
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#8FD7F4")
|
|
|
|
(((background light)) :foreground "#677174"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lblue icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dblue
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#446674")
|
|
|
|
(((background light)) :foreground "#446674"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dblue icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; maroon
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-maroon
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#8F5536")
|
|
|
|
(((background light)) :foreground "#8F5536"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for maroon icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lmaroon
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#CE7A4E")
|
|
|
|
(((background light)) :foreground "#CE7A4E"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lmaroon icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dmaroon
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#72584B")
|
|
|
|
(((background light)) :foreground "#72584B"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dmaroon icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; purple
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-purple
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#AA759F")
|
|
|
|
(((background light)) :foreground "#68295B"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for purple icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-purple-alt
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#5D54E1")
|
|
|
|
(((background light)) :foreground "#5D54E1"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for purple icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lpurple
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#E69DD6")
|
|
|
|
(((background light)) :foreground "#E69DD6"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lpurple icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dpurple
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#694863")
|
|
|
|
(((background light)) :foreground "#694863"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dpurple icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; orange
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-orange
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#D4843E")
|
|
|
|
(((background light)) :foreground "#D4843E"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for orange icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lorange
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#FFA500")
|
|
|
|
(((background light)) :foreground "#FFA500"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lorange icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dorange
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#915B2D")
|
|
|
|
(((background light)) :foreground "#915B2D"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dorange icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; cyan
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-cyan
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#75B5AA")
|
|
|
|
(((background light)) :foreground "#75B5AA"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for cyan icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-cyan-alt
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#61dafb")
|
|
|
|
(((background light)) :foreground "#0595bd"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for cyan icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lcyan
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#A5FDEC")
|
|
|
|
(((background light)) :foreground "#2C7D6E"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lcyan icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dcyan
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#48746D")
|
|
|
|
(((background light)) :foreground "#48746D"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dcyan icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; pink
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-pink
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#F2B4B8")
|
|
|
|
(((background light)) :foreground "#FC505B"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for pink icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lpink
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#FFBDC1")
|
|
|
|
(((background light)) :foreground "#FF505B"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lpink icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dpink
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#B18286")
|
|
|
|
(((background light)) :foreground "#7E5D5F"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dpink icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
|
|
|
;; silver
|
2023-07-27 19:42:55 +00:00
|
|
|
(defface nerd-icons-silver
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#716E68")
|
|
|
|
(((background light)) :foreground "#716E68"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for silver icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-lsilver
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#B9B6AA")
|
|
|
|
(((background light)) :foreground "#7F7869"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for lsilver icons."
|
|
|
|
:group 'nerd-icons-faces)
|
|
|
|
(defface nerd-icons-dsilver
|
2022-04-22 02:54:47 +00:00
|
|
|
'((((background dark)) :foreground "#838484")
|
|
|
|
(((background light)) :foreground "#838484"))
|
2023-07-27 19:42:55 +00:00
|
|
|
"Face for dsilver icons."
|
|
|
|
:group 'nerd-icons-faces)
|
2022-04-22 02:54:47 +00:00
|
|
|
|
2023-07-27 19:42:55 +00:00
|
|
|
(provide 'nerd-icons-faces)
|
|
|
|
;;; nerd-icons-faces.el ends here
|