config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

nerd-icons-faces.el (7321B)


      1 ;;; nerd-icons-faces.el --- A module of faces for nerd-icons -*- lexical-binding: t -*-
      2 
      3 ;; Copyright (C) 2023 Hongyu Ding <rainstormstudio@yahoo.com>
      4 
      5 ;; This program is free software; you can redistribute it and/or modify
      6 ;; it under the terms of the GNU General Public License as published by
      7 ;; the Free Software Foundation, either version 3 of the License, or
      8 ;; (at your option) any later version.
      9 
     10 ;; This program is distributed in the hope that it will be useful,
     11 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
     12 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13 ;; GNU General Public License for more details.
     14 
     15 ;; You should have received a copy of the GNU General Public License
     16 ;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
     17 
     18 ;;; Commentary:
     19 
     20 ;; This file contains all of the faces used by the package for
     21 ;; colouring icons
     22 
     23 ;;; Code:
     24 
     25 (defgroup nerd-icons-faces nil
     26   "Manage how Nerd Font icons are coloured and themed."
     27   :prefix "nerd-icons-"
     28   :group 'tools
     29   :group 'nerd-icons)
     30 
     31 ;; red
     32 (defface nerd-icons-red
     33   '((((background dark)) :foreground "#AC4142")
     34     (((background light)) :foreground "#AC4142"))
     35   "Face for red icons."
     36   :group 'nerd-icons-faces)
     37 (defface nerd-icons-lred
     38   '((((background dark)) :foreground "#EB595A")
     39     (((background light)) :foreground "#EB595A"))
     40   "Face for lred icons."
     41   :group 'nerd-icons-faces)
     42 (defface nerd-icons-dred
     43   '((((background dark)) :foreground "#843031")
     44     (((background light)) :foreground "#843031"))
     45   "Face for dred icons."
     46   :group 'nerd-icons-faces)
     47 (defface nerd-icons-red-alt
     48   '((((background dark)) :foreground "#ce5643")
     49     (((background light)) :foreground "#843031"))
     50   "Face for dred icons."
     51   :group 'nerd-icons-faces)
     52 
     53 ;; green
     54 (defface nerd-icons-green
     55   '((((background dark)) :foreground "#90A959")
     56     (((background light)) :foreground "#90A959"))
     57   "Face for green icons."
     58   :group 'nerd-icons-faces)
     59 (defface nerd-icons-lgreen
     60   '((((background dark)) :foreground "#C6E87A")
     61     (((background light)) :foreground "#3D6837"))
     62   "Face for lgreen icons."
     63   :group 'nerd-icons-faces)
     64 (defface nerd-icons-dgreen
     65   '((((background dark)) :foreground "#6D8143")
     66     (((background light)) :foreground "#6D8143"))
     67   "Face for dgreen icons."
     68   :group 'nerd-icons-faces)
     69 
     70 ;; yellow
     71 (defface nerd-icons-yellow
     72   '((((background dark)) :foreground "#FFD446")
     73     (((background light)) :foreground "#FFCC0E"))
     74   "Face for yellow icons."
     75   :group 'nerd-icons-faces)
     76 (defface nerd-icons-lyellow
     77   '((((background dark)) :foreground "#FFC16D")
     78     (((background light)) :foreground "#FF9300"))
     79   "Face for lyellow icons."
     80   :group 'nerd-icons-faces)
     81 (defface nerd-icons-dyellow
     82   '((((background dark)) :foreground "#B48D56")
     83     (((background light)) :foreground "#B48D56"))
     84   "Face for dyellow icons."
     85   :group 'nerd-icons-faces)
     86 
     87 ;; blue
     88 (defface nerd-icons-blue
     89   '((((background dark)) :foreground "#6A9FB5")
     90     (((background light)) :foreground "#6A9FB5"))
     91   "Face for blue icons."
     92   :group 'nerd-icons-faces)
     93 (defface nerd-icons-blue-alt
     94   '((((background dark)) :foreground "#2188b6")
     95     (((background light)) :foreground "#2188b6"))
     96   "Face for blue icons."
     97   :group 'nerd-icons-faces)
     98 (defface nerd-icons-lblue
     99   '((((background dark)) :foreground "#8FD7F4")
    100     (((background light)) :foreground "#677174"))
    101   "Face for lblue icons."
    102   :group 'nerd-icons-faces)
    103 (defface nerd-icons-dblue
    104   '((((background dark)) :foreground "#446674")
    105     (((background light)) :foreground "#446674"))
    106   "Face for dblue icons."
    107   :group 'nerd-icons-faces)
    108 
    109 ;; maroon
    110 (defface nerd-icons-maroon
    111   '((((background dark)) :foreground "#8F5536")
    112     (((background light)) :foreground "#8F5536"))
    113   "Face for maroon icons."
    114   :group 'nerd-icons-faces)
    115 (defface nerd-icons-lmaroon
    116   '((((background dark)) :foreground "#CE7A4E")
    117     (((background light)) :foreground "#CE7A4E"))
    118   "Face for lmaroon icons."
    119   :group 'nerd-icons-faces)
    120 (defface nerd-icons-dmaroon
    121   '((((background dark)) :foreground "#72584B")
    122     (((background light)) :foreground "#72584B"))
    123   "Face for dmaroon icons."
    124   :group 'nerd-icons-faces)
    125 
    126 ;; purple
    127 (defface nerd-icons-purple
    128   '((((background dark)) :foreground "#AA759F")
    129     (((background light)) :foreground "#68295B"))
    130   "Face for purple icons."
    131   :group 'nerd-icons-faces)
    132 (defface nerd-icons-purple-alt
    133   '((((background dark)) :foreground "#5D54E1")
    134     (((background light)) :foreground "#5D54E1"))
    135   "Face for purple icons."
    136   :group 'nerd-icons-faces)
    137 (defface nerd-icons-lpurple
    138   '((((background dark)) :foreground "#E69DD6")
    139     (((background light)) :foreground "#E69DD6"))
    140   "Face for lpurple icons."
    141   :group 'nerd-icons-faces)
    142 (defface nerd-icons-dpurple
    143   '((((background dark)) :foreground "#694863")
    144     (((background light)) :foreground "#694863"))
    145   "Face for dpurple icons."
    146   :group 'nerd-icons-faces)
    147 
    148 ;; orange
    149 (defface nerd-icons-orange
    150   '((((background dark)) :foreground "#D4843E")
    151     (((background light)) :foreground "#D4843E"))
    152   "Face for orange icons."
    153   :group 'nerd-icons-faces)
    154 (defface nerd-icons-lorange
    155   '((((background dark)) :foreground "#FFA500")
    156     (((background light)) :foreground "#FFA500"))
    157   "Face for lorange icons."
    158   :group 'nerd-icons-faces)
    159 (defface nerd-icons-dorange
    160   '((((background dark)) :foreground "#915B2D")
    161     (((background light)) :foreground "#915B2D"))
    162   "Face for dorange icons."
    163   :group 'nerd-icons-faces)
    164 
    165 ;; cyan
    166 (defface nerd-icons-cyan
    167   '((((background dark)) :foreground "#75B5AA")
    168     (((background light)) :foreground "#75B5AA"))
    169   "Face for cyan icons."
    170   :group 'nerd-icons-faces)
    171 (defface nerd-icons-cyan-alt
    172   '((((background dark)) :foreground "#61dafb")
    173     (((background light)) :foreground "#0595bd"))
    174   "Face for cyan icons."
    175   :group 'nerd-icons-faces)
    176 (defface nerd-icons-lcyan
    177   '((((background dark)) :foreground "#A5FDEC")
    178     (((background light)) :foreground "#2C7D6E"))
    179   "Face for lcyan icons."
    180   :group 'nerd-icons-faces)
    181 (defface nerd-icons-dcyan
    182   '((((background dark)) :foreground "#48746D")
    183     (((background light)) :foreground "#48746D"))
    184   "Face for dcyan icons."
    185   :group 'nerd-icons-faces)
    186 
    187 ;; pink
    188 (defface nerd-icons-pink
    189   '((((background dark)) :foreground "#F2B4B8")
    190     (((background light)) :foreground "#FC505B"))
    191   "Face for pink icons."
    192   :group 'nerd-icons-faces)
    193 (defface nerd-icons-lpink
    194   '((((background dark)) :foreground "#FFBDC1")
    195     (((background light)) :foreground "#FF505B"))
    196   "Face for lpink icons."
    197   :group 'nerd-icons-faces)
    198 (defface nerd-icons-dpink
    199   '((((background dark)) :foreground "#B18286")
    200     (((background light)) :foreground "#7E5D5F"))
    201   "Face for dpink icons."
    202   :group 'nerd-icons-faces)
    203 
    204 ;; silver
    205 (defface nerd-icons-silver
    206   '((((background dark)) :foreground "#716E68")
    207     (((background light)) :foreground "#716E68"))
    208   "Face for silver icons."
    209   :group 'nerd-icons-faces)
    210 (defface nerd-icons-lsilver
    211   '((((background dark)) :foreground "#B9B6AA")
    212     (((background light)) :foreground "#7F7869"))
    213   "Face for lsilver icons."
    214   :group 'nerd-icons-faces)
    215 (defface nerd-icons-dsilver
    216   '((((background dark)) :foreground "#838484")
    217     (((background light)) :foreground "#838484"))
    218   "Face for dsilver icons."
    219   :group 'nerd-icons-faces)
    220 
    221 (provide 'nerd-icons-faces)
    222 ;;; nerd-icons-faces.el ends here