diff --git a/base16-3024-theme.el b/base16-3024-theme.el index e9ef536..09931f0 100644 --- a/base16-3024-theme.el +++ b/base16-3024-theme.el @@ -30,23 +30,14 @@ :base0F "#cdab53") "All colors for Base16 3024 are defined here.") -(base16-theme-define base16-3024 - (base00 "#090300") - (base01 "#3a3432") - (base02 "#4a4543") - (base03 "#5c5855") - (base04 "#807d7c") - (base05 "#a5a2a2") - (base06 "#d6d5d4") - (base07 "#f7f7f7") - (base08 "#db2d20") - (base09 "#e8bbd0") - (base0A "#fded02") - (base0B "#01a252") - (base0C "#b5e4f4") - (base0D "#01a0e4") - (base0E "#a16a94") - (base0F "#cdab53")) +;; Define the theme +(deftheme base16-3024) + +;; Add all the faces to the theme +(base16-theme-define 'base16-3024 base16-3024-colors) + +;; Mark the theme as provided +(provide-theme 'base16-3024) (provide 'base16-3024-theme) diff --git a/base16-apathy-theme.el b/base16-apathy-theme.el index 73a25bf..3d4ae2b 100644 --- a/base16-apathy-theme.el +++ b/base16-apathy-theme.el @@ -30,23 +30,14 @@ :base0F "#3E965B") "All colors for Base16 Apathy are defined here.") -(base16-theme-define base16-apathy - (base00 "#031A16") - (base01 "#0B342D") - (base02 "#184E45") - (base03 "#2B685E") - (base04 "#5F9C92") - (base05 "#81B5AC") - (base06 "#A7CEC8") - (base07 "#D2E7E4") - (base08 "#3E9688") - (base09 "#3E7996") - (base0A "#3E4C96") - (base0B "#883E96") - (base0C "#963E4C") - (base0D "#96883E") - (base0E "#4C963E") - (base0F "#3E965B")) +;; Define the theme +(deftheme base16-apathy) + +;; Add all the faces to the theme +(base16-theme-define 'base16-apathy base16-apathy-colors) + +;; Mark the theme as provided +(provide-theme 'base16-apathy) (provide 'base16-apathy-theme) diff --git a/base16-ashes-theme.el b/base16-ashes-theme.el index e2962fa..cd2b777 100644 --- a/base16-ashes-theme.el +++ b/base16-ashes-theme.el @@ -30,23 +30,14 @@ :base0F "#C79595") "All colors for Base16 Ashes are defined here.") -(base16-theme-define base16-ashes - (base00 "#1C2023") - (base01 "#393F45") - (base02 "#565E65") - (base03 "#747C84") - (base04 "#ADB3BA") - (base05 "#C7CCD1") - (base06 "#DFE2E5") - (base07 "#F3F4F5") - (base08 "#C7AE95") - (base09 "#C7C795") - (base0A "#AEC795") - (base0B "#95C7AE") - (base0C "#95AEC7") - (base0D "#AE95C7") - (base0E "#C795AE") - (base0F "#C79595")) +;; Define the theme +(deftheme base16-ashes) + +;; Add all the faces to the theme +(base16-theme-define 'base16-ashes base16-ashes-colors) + +;; Mark the theme as provided +(provide-theme 'base16-ashes) (provide 'base16-ashes-theme) diff --git a/base16-atelier-cave-theme.el b/base16-atelier-cave-theme.el index bf46ef2..c61c368 100644 --- a/base16-atelier-cave-theme.el +++ b/base16-atelier-cave-theme.el @@ -30,23 +30,14 @@ :base0F "#bf40bf") "All colors for Base16 Atelier Cave are defined here.") -(base16-theme-define base16-atelier-cave - (base00 "#19171c") - (base01 "#26232a") - (base02 "#585260") - (base03 "#655f6d") - (base04 "#7e7887") - (base05 "#8b8792") - (base06 "#e2dfe7") - (base07 "#efecf4") - (base08 "#be4678") - (base09 "#aa573c") - (base0A "#a06e3b") - (base0B "#2a9292") - (base0C "#398bc6") - (base0D "#576ddb") - (base0E "#955ae7") - (base0F "#bf40bf")) +;; Define the theme +(deftheme base16-atelier-cave) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-cave base16-atelier-cave-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-cave) (provide 'base16-atelier-cave-theme) diff --git a/base16-atelier-dune-theme.el b/base16-atelier-dune-theme.el index 992ef7e..d34e06d 100644 --- a/base16-atelier-dune-theme.el +++ b/base16-atelier-dune-theme.el @@ -30,23 +30,14 @@ :base0F "#d43552") "All colors for Base16 Atelier Dune are defined here.") -(base16-theme-define base16-atelier-dune - (base00 "#20201d") - (base01 "#292824") - (base02 "#6e6b5e") - (base03 "#7d7a68") - (base04 "#999580") - (base05 "#a6a28c") - (base06 "#e8e4cf") - (base07 "#fefbec") - (base08 "#d73737") - (base09 "#b65611") - (base0A "#ae9513") - (base0B "#60ac39") - (base0C "#1fad83") - (base0D "#6684e1") - (base0E "#b854d4") - (base0F "#d43552")) +;; Define the theme +(deftheme base16-atelier-dune) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-dune base16-atelier-dune-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-dune) (provide 'base16-atelier-dune-theme) diff --git a/base16-atelier-estuary-theme.el b/base16-atelier-estuary-theme.el index 82bc9ec..c310c90 100644 --- a/base16-atelier-estuary-theme.el +++ b/base16-atelier-estuary-theme.el @@ -30,23 +30,14 @@ :base0F "#9d6c7c") "All colors for Base16 Atelier Estuary are defined here.") -(base16-theme-define base16-atelier-estuary - (base00 "#22221b") - (base01 "#302f27") - (base02 "#5f5e4e") - (base03 "#6c6b5a") - (base04 "#878573") - (base05 "#929181") - (base06 "#e7e6df") - (base07 "#f4f3ec") - (base08 "#ba6236") - (base09 "#ae7313") - (base0A "#a5980d") - (base0B "#7d9726") - (base0C "#5b9d48") - (base0D "#36a166") - (base0E "#5f9182") - (base0F "#9d6c7c")) +;; Define the theme +(deftheme base16-atelier-estuary) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-estuary base16-atelier-estuary-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-estuary) (provide 'base16-atelier-estuary-theme) diff --git a/base16-atelier-forest-theme.el b/base16-atelier-forest-theme.el index 8bea4a7..e24cd05 100644 --- a/base16-atelier-forest-theme.el +++ b/base16-atelier-forest-theme.el @@ -30,23 +30,14 @@ :base0F "#c33ff3") "All colors for Base16 Atelier Forest are defined here.") -(base16-theme-define base16-atelier-forest - (base00 "#1b1918") - (base01 "#2c2421") - (base02 "#68615e") - (base03 "#766e6b") - (base04 "#9c9491") - (base05 "#a8a19f") - (base06 "#e6e2e0") - (base07 "#f1efee") - (base08 "#f22c40") - (base09 "#df5320") - (base0A "#c38418") - (base0B "#7b9726") - (base0C "#3d97b8") - (base0D "#407ee7") - (base0E "#6666ea") - (base0F "#c33ff3")) +;; Define the theme +(deftheme base16-atelier-forest) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-forest base16-atelier-forest-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-forest) (provide 'base16-atelier-forest-theme) diff --git a/base16-atelier-heath-theme.el b/base16-atelier-heath-theme.el index 3c96ddb..0ebfd6f 100644 --- a/base16-atelier-heath-theme.el +++ b/base16-atelier-heath-theme.el @@ -30,23 +30,14 @@ :base0F "#cc33cc") "All colors for Base16 Atelier Heath are defined here.") -(base16-theme-define base16-atelier-heath - (base00 "#1b181b") - (base01 "#292329") - (base02 "#695d69") - (base03 "#776977") - (base04 "#9e8f9e") - (base05 "#ab9bab") - (base06 "#d8cad8") - (base07 "#f7f3f7") - (base08 "#ca402b") - (base09 "#a65926") - (base0A "#bb8a35") - (base0B "#918b3b") - (base0C "#159393") - (base0D "#516aec") - (base0E "#7b59c0") - (base0F "#cc33cc")) +;; Define the theme +(deftheme base16-atelier-heath) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-heath base16-atelier-heath-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-heath) (provide 'base16-atelier-heath-theme) diff --git a/base16-atelier-lakeside-theme.el b/base16-atelier-lakeside-theme.el index 84605a1..a093211 100644 --- a/base16-atelier-lakeside-theme.el +++ b/base16-atelier-lakeside-theme.el @@ -30,23 +30,14 @@ :base0F "#b72dd2") "All colors for Base16 Atelier Lakeside are defined here.") -(base16-theme-define base16-atelier-lakeside - (base00 "#161b1d") - (base01 "#1f292e") - (base02 "#516d7b") - (base03 "#5a7b8c") - (base04 "#7195a8") - (base05 "#7ea2b4") - (base06 "#c1e4f6") - (base07 "#ebf8ff") - (base08 "#d22d72") - (base09 "#935c25") - (base0A "#8a8a0f") - (base0B "#568c3b") - (base0C "#2d8f6f") - (base0D "#257fad") - (base0E "#6b6bb8") - (base0F "#b72dd2")) +;; Define the theme +(deftheme base16-atelier-lakeside) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-lakeside base16-atelier-lakeside-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-lakeside) (provide 'base16-atelier-lakeside-theme) diff --git a/base16-atelier-plateau-theme.el b/base16-atelier-plateau-theme.el index b6fc0e5..645b21f 100644 --- a/base16-atelier-plateau-theme.el +++ b/base16-atelier-plateau-theme.el @@ -30,23 +30,14 @@ :base0F "#bd5187") "All colors for Base16 Atelier Plateau are defined here.") -(base16-theme-define base16-atelier-plateau - (base00 "#1b1818") - (base01 "#292424") - (base02 "#585050") - (base03 "#655d5d") - (base04 "#7e7777") - (base05 "#8a8585") - (base06 "#e7dfdf") - (base07 "#f4ecec") - (base08 "#ca4949") - (base09 "#b45a3c") - (base0A "#a06e3b") - (base0B "#4b8b8b") - (base0C "#5485b6") - (base0D "#7272ca") - (base0E "#8464c4") - (base0F "#bd5187")) +;; Define the theme +(deftheme base16-atelier-plateau) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-plateau base16-atelier-plateau-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-plateau) (provide 'base16-atelier-plateau-theme) diff --git a/base16-atelier-savanna-theme.el b/base16-atelier-savanna-theme.el index 9c8977e..3bd989e 100644 --- a/base16-atelier-savanna-theme.el +++ b/base16-atelier-savanna-theme.el @@ -30,23 +30,14 @@ :base0F "#867469") "All colors for Base16 Atelier Savanna are defined here.") -(base16-theme-define base16-atelier-savanna - (base00 "#171c19") - (base01 "#232a25") - (base02 "#526057") - (base03 "#5f6d64") - (base04 "#78877d") - (base05 "#87928a") - (base06 "#dfe7e2") - (base07 "#ecf4ee") - (base08 "#b16139") - (base09 "#9f713c") - (base0A "#a07e3b") - (base0B "#489963") - (base0C "#1c9aa0") - (base0D "#478c90") - (base0E "#55859b") - (base0F "#867469")) +;; Define the theme +(deftheme base16-atelier-savanna) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-savanna base16-atelier-savanna-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-savanna) (provide 'base16-atelier-savanna-theme) diff --git a/base16-atelier-seaside-theme.el b/base16-atelier-seaside-theme.el index 7471e23..72e9a54 100644 --- a/base16-atelier-seaside-theme.el +++ b/base16-atelier-seaside-theme.el @@ -30,23 +30,14 @@ :base0F "#e619c3") "All colors for Base16 Atelier Seaside are defined here.") -(base16-theme-define base16-atelier-seaside - (base00 "#131513") - (base01 "#242924") - (base02 "#5e6e5e") - (base03 "#687d68") - (base04 "#809980") - (base05 "#8ca68c") - (base06 "#cfe8cf") - (base07 "#f4fbf4") - (base08 "#e6193c") - (base09 "#87711d") - (base0A "#98981b") - (base0B "#29a329") - (base0C "#1999b3") - (base0D "#3d62f5") - (base0E "#ad2bee") - (base0F "#e619c3")) +;; Define the theme +(deftheme base16-atelier-seaside) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-seaside base16-atelier-seaside-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-seaside) (provide 'base16-atelier-seaside-theme) diff --git a/base16-atelier-sulphurpool-theme.el b/base16-atelier-sulphurpool-theme.el index b71eb8a..6b625d3 100644 --- a/base16-atelier-sulphurpool-theme.el +++ b/base16-atelier-sulphurpool-theme.el @@ -30,23 +30,14 @@ :base0F "#9c637a") "All colors for Base16 Atelier Sulphurpool are defined here.") -(base16-theme-define base16-atelier-sulphurpool - (base00 "#202746") - (base01 "#293256") - (base02 "#5e6687") - (base03 "#6b7394") - (base04 "#898ea4") - (base05 "#979db4") - (base06 "#dfe2f1") - (base07 "#f5f7ff") - (base08 "#c94922") - (base09 "#c76b29") - (base0A "#c08b30") - (base0B "#ac9739") - (base0C "#22a2c9") - (base0D "#3d8fd1") - (base0E "#6679cc") - (base0F "#9c637a")) +;; Define the theme +(deftheme base16-atelier-sulphurpool) + +;; Add all the faces to the theme +(base16-theme-define 'base16-atelier-sulphurpool base16-atelier-sulphurpool-colors) + +;; Mark the theme as provided +(provide-theme 'base16-atelier-sulphurpool) (provide 'base16-atelier-sulphurpool-theme) diff --git a/base16-bespin-theme.el b/base16-bespin-theme.el index b29739e..3dfe3fa 100644 --- a/base16-bespin-theme.el +++ b/base16-bespin-theme.el @@ -30,23 +30,14 @@ :base0F "#937121") "All colors for Base16 Bespin are defined here.") -(base16-theme-define base16-bespin - (base00 "#28211c") - (base01 "#36312e") - (base02 "#5e5d5c") - (base03 "#666666") - (base04 "#797977") - (base05 "#8a8986") - (base06 "#9d9b97") - (base07 "#baae9e") - (base08 "#cf6a4c") - (base09 "#cf7d34") - (base0A "#f9ee98") - (base0B "#54be0d") - (base0C "#afc4db") - (base0D "#5ea6ea") - (base0E "#9b859d") - (base0F "#937121")) +;; Define the theme +(deftheme base16-bespin) + +;; Add all the faces to the theme +(base16-theme-define 'base16-bespin base16-bespin-colors) + +;; Mark the theme as provided +(provide-theme 'base16-bespin) (provide 'base16-bespin-theme) diff --git a/base16-brewer-theme.el b/base16-brewer-theme.el index 3696b46..894cdf9 100644 --- a/base16-brewer-theme.el +++ b/base16-brewer-theme.el @@ -30,23 +30,14 @@ :base0F "#b15928") "All colors for Base16 Brewer are defined here.") -(base16-theme-define base16-brewer - (base00 "#0c0d0e") - (base01 "#2e2f30") - (base02 "#515253") - (base03 "#737475") - (base04 "#959697") - (base05 "#b7b8b9") - (base06 "#dadbdc") - (base07 "#fcfdfe") - (base08 "#e31a1c") - (base09 "#e6550d") - (base0A "#dca060") - (base0B "#31a354") - (base0C "#80b1d3") - (base0D "#3182bd") - (base0E "#756bb1") - (base0F "#b15928")) +;; Define the theme +(deftheme base16-brewer) + +;; Add all the faces to the theme +(base16-theme-define 'base16-brewer base16-brewer-colors) + +;; Mark the theme as provided +(provide-theme 'base16-brewer) (provide 'base16-brewer-theme) diff --git a/base16-bright-theme.el b/base16-bright-theme.el index ac1e84f..31da25c 100644 --- a/base16-bright-theme.el +++ b/base16-bright-theme.el @@ -30,23 +30,14 @@ :base0F "#be643c") "All colors for Base16 Bright are defined here.") -(base16-theme-define base16-bright - (base00 "#000000") - (base01 "#303030") - (base02 "#505050") - (base03 "#b0b0b0") - (base04 "#d0d0d0") - (base05 "#e0e0e0") - (base06 "#f5f5f5") - (base07 "#ffffff") - (base08 "#fb0120") - (base09 "#fc6d24") - (base0A "#fda331") - (base0B "#a1c659") - (base0C "#76c7b7") - (base0D "#6fb3d2") - (base0E "#d381c3") - (base0F "#be643c")) +;; Define the theme +(deftheme base16-bright) + +;; Add all the faces to the theme +(base16-theme-define 'base16-bright base16-bright-colors) + +;; Mark the theme as provided +(provide-theme 'base16-bright) (provide 'base16-bright-theme) diff --git a/base16-chalk-theme.el b/base16-chalk-theme.el index 3bc8b83..276be62 100644 --- a/base16-chalk-theme.el +++ b/base16-chalk-theme.el @@ -30,23 +30,14 @@ :base0F "#deaf8f") "All colors for Base16 Chalk are defined here.") -(base16-theme-define base16-chalk - (base00 "#151515") - (base01 "#202020") - (base02 "#303030") - (base03 "#505050") - (base04 "#b0b0b0") - (base05 "#d0d0d0") - (base06 "#e0e0e0") - (base07 "#f5f5f5") - (base08 "#fb9fb1") - (base09 "#eda987") - (base0A "#ddb26f") - (base0B "#acc267") - (base0C "#12cfc0") - (base0D "#6fc2ef") - (base0E "#e1a3ee") - (base0F "#deaf8f")) +;; Define the theme +(deftheme base16-chalk) + +;; Add all the faces to the theme +(base16-theme-define 'base16-chalk base16-chalk-colors) + +;; Mark the theme as provided +(provide-theme 'base16-chalk) (provide 'base16-chalk-theme) diff --git a/base16-codeschool-theme.el b/base16-codeschool-theme.el index d8194ca..32f6077 100644 --- a/base16-codeschool-theme.el +++ b/base16-codeschool-theme.el @@ -30,23 +30,14 @@ :base0F "#c98344") "All colors for Base16 Codeschool are defined here.") -(base16-theme-define base16-codeschool - (base00 "#232c31") - (base01 "#1c3657") - (base02 "#2a343a") - (base03 "#3f4944") - (base04 "#84898c") - (base05 "#9ea7a6") - (base06 "#a7cfa3") - (base07 "#b5d8f6") - (base08 "#2a5491") - (base09 "#43820d") - (base0A "#a03b1e") - (base0B "#237986") - (base0C "#b02f30") - (base0D "#484d79") - (base0E "#c59820") - (base0F "#c98344")) +;; Define the theme +(deftheme base16-codeschool) + +;; Add all the faces to the theme +(base16-theme-define 'base16-codeschool base16-codeschool-colors) + +;; Mark the theme as provided +(provide-theme 'base16-codeschool) (provide 'base16-codeschool-theme) diff --git a/base16-darktooth-theme.el b/base16-darktooth-theme.el index 6597d21..c519f2b 100644 --- a/base16-darktooth-theme.el +++ b/base16-darktooth-theme.el @@ -30,23 +30,14 @@ :base0F "#A87322") "All colors for Base16 Darktooth are defined here.") -(base16-theme-define base16-darktooth - (base00 "#1D2021") - (base01 "#32302F") - (base02 "#504945") - (base03 "#665C54") - (base04 "#928374") - (base05 "#A89984") - (base06 "#D5C4A1") - (base07 "#FDF4C1") - (base08 "#FB543F") - (base09 "#FE8625") - (base0A "#FAC03B") - (base0B "#95C085") - (base0C "#8BA59B") - (base0D "#0D6678") - (base0E "#8F4673") - (base0F "#A87322")) +;; Define the theme +(deftheme base16-darktooth) + +;; Add all the faces to the theme +(base16-theme-define 'base16-darktooth base16-darktooth-colors) + +;; Mark the theme as provided +(provide-theme 'base16-darktooth) (provide 'base16-darktooth-theme) diff --git a/base16-default-dark-theme.el b/base16-default-dark-theme.el index 983cc4f..ab364e1 100644 --- a/base16-default-dark-theme.el +++ b/base16-default-dark-theme.el @@ -30,23 +30,14 @@ :base0F "#a16946") "All colors for Base16 Default Dark are defined here.") -(base16-theme-define base16-default-dark - (base00 "#181818") - (base01 "#282828") - (base02 "#383838") - (base03 "#585858") - (base04 "#b8b8b8") - (base05 "#d8d8d8") - (base06 "#e8e8e8") - (base07 "#f8f8f8") - (base08 "#ab4642") - (base09 "#dc9656") - (base0A "#f7ca88") - (base0B "#a1b56c") - (base0C "#86c1b9") - (base0D "#7cafc2") - (base0E "#ba8baf") - (base0F "#a16946")) +;; Define the theme +(deftheme base16-default-dark) + +;; Add all the faces to the theme +(base16-theme-define 'base16-default-dark base16-default-dark-colors) + +;; Mark the theme as provided +(provide-theme 'base16-default-dark) (provide 'base16-default-dark-theme) diff --git a/base16-default-light-theme.el b/base16-default-light-theme.el index 79e1858..f3379e2 100644 --- a/base16-default-light-theme.el +++ b/base16-default-light-theme.el @@ -30,23 +30,14 @@ :base0F "#a16946") "All colors for Base16 Default Light are defined here.") -(base16-theme-define base16-default-light - (base00 "#f8f8f8") - (base01 "#e8e8e8") - (base02 "#d8d8d8") - (base03 "#b8b8b8") - (base04 "#585858") - (base05 "#383838") - (base06 "#282828") - (base07 "#181818") - (base08 "#ab4642") - (base09 "#dc9656") - (base0A "#f7ca88") - (base0B "#a1b56c") - (base0C "#86c1b9") - (base0D "#7cafc2") - (base0E "#ba8baf") - (base0F "#a16946")) +;; Define the theme +(deftheme base16-default-light) + +;; Add all the faces to the theme +(base16-theme-define 'base16-default-light base16-default-light-colors) + +;; Mark the theme as provided +(provide-theme 'base16-default-light) (provide 'base16-default-light-theme) diff --git a/base16-eighties-theme.el b/base16-eighties-theme.el index dfff9ee..61320b9 100644 --- a/base16-eighties-theme.el +++ b/base16-eighties-theme.el @@ -30,23 +30,14 @@ :base0F "#d27b53") "All colors for Base16 Eighties are defined here.") -(base16-theme-define base16-eighties - (base00 "#2d2d2d") - (base01 "#393939") - (base02 "#515151") - (base03 "#747369") - (base04 "#a09f93") - (base05 "#d3d0c8") - (base06 "#e8e6df") - (base07 "#f2f0ec") - (base08 "#f2777a") - (base09 "#f99157") - (base0A "#ffcc66") - (base0B "#99cc99") - (base0C "#66cccc") - (base0D "#6699cc") - (base0E "#cc99cc") - (base0F "#d27b53")) +;; Define the theme +(deftheme base16-eighties) + +;; Add all the faces to the theme +(base16-theme-define 'base16-eighties base16-eighties-colors) + +;; Mark the theme as provided +(provide-theme 'base16-eighties) (provide 'base16-eighties-theme) diff --git a/base16-embers-theme.el b/base16-embers-theme.el index fdd594e..403dff2 100644 --- a/base16-embers-theme.el +++ b/base16-embers-theme.el @@ -30,23 +30,14 @@ :base0F "#825757") "All colors for Base16 Embers are defined here.") -(base16-theme-define base16-embers - (base00 "#16130F") - (base01 "#2C2620") - (base02 "#433B32") - (base03 "#5A5047") - (base04 "#8A8075") - (base05 "#A39A90") - (base06 "#BEB6AE") - (base07 "#DBD6D1") - (base08 "#826D57") - (base09 "#828257") - (base0A "#6D8257") - (base0B "#57826D") - (base0C "#576D82") - (base0D "#6D5782") - (base0E "#82576D") - (base0F "#825757")) +;; Define the theme +(deftheme base16-embers) + +;; Add all the faces to the theme +(base16-theme-define 'base16-embers base16-embers-colors) + +;; Mark the theme as provided +(provide-theme 'base16-embers) (provide 'base16-embers-theme) diff --git a/base16-flat-theme.el b/base16-flat-theme.el index 46e4218..74c676b 100644 --- a/base16-flat-theme.el +++ b/base16-flat-theme.el @@ -30,23 +30,14 @@ :base0F "#be643c") "All colors for Base16 Flat are defined here.") -(base16-theme-define base16-flat - (base00 "#2C3E50") - (base01 "#34495E") - (base02 "#7F8C8D") - (base03 "#95A5A6") - (base04 "#BDC3C7") - (base05 "#e0e0e0") - (base06 "#f5f5f5") - (base07 "#ECF0F1") - (base08 "#E74C3C") - (base09 "#E67E22") - (base0A "#F1C40F") - (base0B "#2ECC71") - (base0C "#1ABC9C") - (base0D "#3498DB") - (base0E "#9B59B6") - (base0F "#be643c")) +;; Define the theme +(deftheme base16-flat) + +;; Add all the faces to the theme +(base16-theme-define 'base16-flat base16-flat-colors) + +;; Mark the theme as provided +(provide-theme 'base16-flat) (provide 'base16-flat-theme) diff --git a/base16-google-dark-theme.el b/base16-google-dark-theme.el index df1ddd4..7c27643 100644 --- a/base16-google-dark-theme.el +++ b/base16-google-dark-theme.el @@ -30,23 +30,14 @@ :base0F "#3971ED") "All colors for Base16 Google Dark are defined here.") -(base16-theme-define base16-google-dark - (base00 "#1d1f21") - (base01 "#282a2e") - (base02 "#373b41") - (base03 "#969896") - (base04 "#b4b7b4") - (base05 "#c5c8c6") - (base06 "#e0e0e0") - (base07 "#ffffff") - (base08 "#CC342B") - (base09 "#F96A38") - (base0A "#FBA922") - (base0B "#198844") - (base0C "#3971ED") - (base0D "#3971ED") - (base0E "#A36AC7") - (base0F "#3971ED")) +;; Define the theme +(deftheme base16-google-dark) + +;; Add all the faces to the theme +(base16-theme-define 'base16-google-dark base16-google-dark-colors) + +;; Mark the theme as provided +(provide-theme 'base16-google-dark) (provide 'base16-google-dark-theme) diff --git a/base16-google-light-theme.el b/base16-google-light-theme.el index 2418f07..35ee040 100644 --- a/base16-google-light-theme.el +++ b/base16-google-light-theme.el @@ -30,23 +30,14 @@ :base0F "#3971ED") "All colors for Base16 Google Light are defined here.") -(base16-theme-define base16-google-light - (base00 "#ffffff") - (base01 "#e0e0e0") - (base02 "#c5c8c6") - (base03 "#b4b7b4") - (base04 "#969896") - (base05 "#373b41") - (base06 "#282a2e") - (base07 "#1d1f21") - (base08 "#CC342B") - (base09 "#F96A38") - (base0A "#FBA922") - (base0B "#198844") - (base0C "#3971ED") - (base0D "#3971ED") - (base0E "#A36AC7") - (base0F "#3971ED")) +;; Define the theme +(deftheme base16-google-light) + +;; Add all the faces to the theme +(base16-theme-define 'base16-google-light base16-google-light-colors) + +;; Mark the theme as provided +(provide-theme 'base16-google-light) (provide 'base16-google-light-theme) diff --git a/base16-grayscale-dark-theme.el b/base16-grayscale-dark-theme.el index 19921d6..beda136 100644 --- a/base16-grayscale-dark-theme.el +++ b/base16-grayscale-dark-theme.el @@ -30,23 +30,14 @@ :base0F "#5e5e5e") "All colors for Base16 Grayscale Dark are defined here.") -(base16-theme-define base16-grayscale-dark - (base00 "#101010") - (base01 "#252525") - (base02 "#464646") - (base03 "#525252") - (base04 "#ababab") - (base05 "#b9b9b9") - (base06 "#e3e3e3") - (base07 "#f7f7f7") - (base08 "#7c7c7c") - (base09 "#999999") - (base0A "#a0a0a0") - (base0B "#8e8e8e") - (base0C "#868686") - (base0D "#686868") - (base0E "#747474") - (base0F "#5e5e5e")) +;; Define the theme +(deftheme base16-grayscale-dark) + +;; Add all the faces to the theme +(base16-theme-define 'base16-grayscale-dark base16-grayscale-dark-colors) + +;; Mark the theme as provided +(provide-theme 'base16-grayscale-dark) (provide 'base16-grayscale-dark-theme) diff --git a/base16-grayscale-light-theme.el b/base16-grayscale-light-theme.el index b7608ad..bbe1dd6 100644 --- a/base16-grayscale-light-theme.el +++ b/base16-grayscale-light-theme.el @@ -30,23 +30,14 @@ :base0F "#5e5e5e") "All colors for Base16 Grayscale Light are defined here.") -(base16-theme-define base16-grayscale-light - (base00 "#f7f7f7") - (base01 "#e3e3e3") - (base02 "#b9b9b9") - (base03 "#ababab") - (base04 "#525252") - (base05 "#464646") - (base06 "#252525") - (base07 "#101010") - (base08 "#7c7c7c") - (base09 "#999999") - (base0A "#a0a0a0") - (base0B "#8e8e8e") - (base0C "#868686") - (base0D "#686868") - (base0E "#747474") - (base0F "#5e5e5e")) +;; Define the theme +(deftheme base16-grayscale-light) + +;; Add all the faces to the theme +(base16-theme-define 'base16-grayscale-light base16-grayscale-light-colors) + +;; Mark the theme as provided +(provide-theme 'base16-grayscale-light) (provide 'base16-grayscale-light-theme) diff --git a/base16-green-screen-theme.el b/base16-green-screen-theme.el index 708bec1..10dc27a 100644 --- a/base16-green-screen-theme.el +++ b/base16-green-screen-theme.el @@ -30,23 +30,14 @@ :base0F "#005500") "All colors for Base16 Green Screen are defined here.") -(base16-theme-define base16-green-screen - (base00 "#001100") - (base01 "#003300") - (base02 "#005500") - (base03 "#007700") - (base04 "#009900") - (base05 "#00bb00") - (base06 "#00dd00") - (base07 "#00ff00") - (base08 "#007700") - (base09 "#009900") - (base0A "#007700") - (base0B "#00bb00") - (base0C "#005500") - (base0D "#009900") - (base0E "#00bb00") - (base0F "#005500")) +;; Define the theme +(deftheme base16-green-screen) + +;; Add all the faces to the theme +(base16-theme-define 'base16-green-screen base16-green-screen-colors) + +;; Mark the theme as provided +(provide-theme 'base16-green-screen) (provide 'base16-green-screen-theme) diff --git a/base16-harmonic16-dark-theme.el b/base16-harmonic16-dark-theme.el index ddeb7f4..c6a30c3 100644 --- a/base16-harmonic16-dark-theme.el +++ b/base16-harmonic16-dark-theme.el @@ -30,23 +30,14 @@ :base0F "#bf5656") "All colors for Base16 Harmonic16 Dark are defined here.") -(base16-theme-define base16-harmonic16-dark - (base00 "#0b1c2c") - (base01 "#223b54") - (base02 "#405c79") - (base03 "#627e99") - (base04 "#aabcce") - (base05 "#cbd6e2") - (base06 "#e5ebf1") - (base07 "#f7f9fb") - (base08 "#bf8b56") - (base09 "#bfbf56") - (base0A "#8bbf56") - (base0B "#56bf8b") - (base0C "#568bbf") - (base0D "#8b56bf") - (base0E "#bf568b") - (base0F "#bf5656")) +;; Define the theme +(deftheme base16-harmonic16-dark) + +;; Add all the faces to the theme +(base16-theme-define 'base16-harmonic16-dark base16-harmonic16-dark-colors) + +;; Mark the theme as provided +(provide-theme 'base16-harmonic16-dark) (provide 'base16-harmonic16-dark-theme) diff --git a/base16-harmonic16-light-theme.el b/base16-harmonic16-light-theme.el index b1eaa51..8a674c3 100644 --- a/base16-harmonic16-light-theme.el +++ b/base16-harmonic16-light-theme.el @@ -30,23 +30,14 @@ :base0F "#bf5656") "All colors for Base16 Harmonic16 Light are defined here.") -(base16-theme-define base16-harmonic16-light - (base00 "#f7f9fb") - (base01 "#e5ebf1") - (base02 "#cbd6e2") - (base03 "#aabcce") - (base04 "#627e99") - (base05 "#405c79") - (base06 "#223b54") - (base07 "#0b1c2c") - (base08 "#bf8b56") - (base09 "#bfbf56") - (base0A "#8bbf56") - (base0B "#56bf8b") - (base0C "#568bbf") - (base0D "#8b56bf") - (base0E "#bf568b") - (base0F "#bf5656")) +;; Define the theme +(deftheme base16-harmonic16-light) + +;; Add all the faces to the theme +(base16-theme-define 'base16-harmonic16-light base16-harmonic16-light-colors) + +;; Mark the theme as provided +(provide-theme 'base16-harmonic16-light) (provide 'base16-harmonic16-light-theme) diff --git a/base16-hopscotch-theme.el b/base16-hopscotch-theme.el index 1f81e9d..397dce9 100644 --- a/base16-hopscotch-theme.el +++ b/base16-hopscotch-theme.el @@ -30,23 +30,14 @@ :base0F "#b33508") "All colors for Base16 Hopscotch are defined here.") -(base16-theme-define base16-hopscotch - (base00 "#322931") - (base01 "#433b42") - (base02 "#5c545b") - (base03 "#797379") - (base04 "#989498") - (base05 "#b9b5b8") - (base06 "#d5d3d5") - (base07 "#ffffff") - (base08 "#dd464c") - (base09 "#fd8b19") - (base0A "#fdcc59") - (base0B "#8fc13e") - (base0C "#149b93") - (base0D "#1290bf") - (base0E "#c85e7c") - (base0F "#b33508")) +;; Define the theme +(deftheme base16-hopscotch) + +;; Add all the faces to the theme +(base16-theme-define 'base16-hopscotch base16-hopscotch-colors) + +;; Mark the theme as provided +(provide-theme 'base16-hopscotch) (provide 'base16-hopscotch-theme) diff --git a/base16-ir-black-theme.el b/base16-ir-black-theme.el index 2239b3d..3f14acd 100644 --- a/base16-ir-black-theme.el +++ b/base16-ir-black-theme.el @@ -30,23 +30,14 @@ :base0F "#b18a3d") "All colors for Base16 IR Black are defined here.") -(base16-theme-define base16-ir-black - (base00 "#000000") - (base01 "#242422") - (base02 "#484844") - (base03 "#6c6c66") - (base04 "#918f88") - (base05 "#b5b3aa") - (base06 "#d9d7cc") - (base07 "#fdfbee") - (base08 "#ff6c60") - (base09 "#e9c062") - (base0A "#ffffb6") - (base0B "#a8ff60") - (base0C "#c6c5fe") - (base0D "#96cbfe") - (base0E "#ff73fd") - (base0F "#b18a3d")) +;; Define the theme +(deftheme base16-ir-black) + +;; Add all the faces to the theme +(base16-theme-define 'base16-ir-black base16-ir-black-colors) + +;; Mark the theme as provided +(provide-theme 'base16-ir-black) (provide 'base16-ir-black-theme) diff --git a/base16-isotope-theme.el b/base16-isotope-theme.el index 857d45e..454894f 100644 --- a/base16-isotope-theme.el +++ b/base16-isotope-theme.el @@ -30,23 +30,14 @@ :base0F "#3300ff") "All colors for Base16 Isotope are defined here.") -(base16-theme-define base16-isotope - (base00 "#000000") - (base01 "#404040") - (base02 "#606060") - (base03 "#808080") - (base04 "#c0c0c0") - (base05 "#d0d0d0") - (base06 "#e0e0e0") - (base07 "#ffffff") - (base08 "#ff0000") - (base09 "#ff9900") - (base0A "#ff0099") - (base0B "#33ff00") - (base0C "#00ffff") - (base0D "#0066ff") - (base0E "#cc00ff") - (base0F "#3300ff")) +;; Define the theme +(deftheme base16-isotope) + +;; Add all the faces to the theme +(base16-theme-define 'base16-isotope base16-isotope-colors) + +;; Mark the theme as provided +(provide-theme 'base16-isotope) (provide 'base16-isotope-theme) diff --git a/base16-london-tube-theme.el b/base16-london-tube-theme.el index bbcc4a3..6a0da54 100644 --- a/base16-london-tube-theme.el +++ b/base16-london-tube-theme.el @@ -30,23 +30,14 @@ :base0F "#b06110") "All colors for Base16 London Tube are defined here.") -(base16-theme-define base16-london-tube - (base00 "#231f20") - (base01 "#1c3f95") - (base02 "#5a5758") - (base03 "#737171") - (base04 "#959ca1") - (base05 "#d9d8d8") - (base06 "#e7e7e8") - (base07 "#ffffff") - (base08 "#ee2e24") - (base09 "#f386a1") - (base0A "#ffd204") - (base0B "#00853e") - (base0C "#85cebc") - (base0D "#009ddc") - (base0E "#98005d") - (base0F "#b06110")) +;; Define the theme +(deftheme base16-london-tube) + +;; Add all the faces to the theme +(base16-theme-define 'base16-london-tube base16-london-tube-colors) + +;; Mark the theme as provided +(provide-theme 'base16-london-tube) (provide 'base16-london-tube-theme) diff --git a/base16-macintosh-theme.el b/base16-macintosh-theme.el index 7ace7c0..7b3b955 100644 --- a/base16-macintosh-theme.el +++ b/base16-macintosh-theme.el @@ -30,23 +30,14 @@ :base0F "#90713a") "All colors for Base16 Macintosh are defined here.") -(base16-theme-define base16-macintosh - (base00 "#000000") - (base01 "#404040") - (base02 "#404040") - (base03 "#808080") - (base04 "#808080") - (base05 "#c0c0c0") - (base06 "#c0c0c0") - (base07 "#ffffff") - (base08 "#dd0907") - (base09 "#ff6403") - (base0A "#fbf305") - (base0B "#1fb714") - (base0C "#02abea") - (base0D "#0000d3") - (base0E "#4700a5") - (base0F "#90713a")) +;; Define the theme +(deftheme base16-macintosh) + +;; Add all the faces to the theme +(base16-theme-define 'base16-macintosh base16-macintosh-colors) + +;; Mark the theme as provided +(provide-theme 'base16-macintosh) (provide 'base16-macintosh-theme) diff --git a/base16-marrakesh-theme.el b/base16-marrakesh-theme.el index 7820120..14a5532 100644 --- a/base16-marrakesh-theme.el +++ b/base16-marrakesh-theme.el @@ -30,23 +30,14 @@ :base0F "#b3588e") "All colors for Base16 Marrakesh are defined here.") -(base16-theme-define base16-marrakesh - (base00 "#201602") - (base01 "#302e00") - (base02 "#5f5b17") - (base03 "#6c6823") - (base04 "#86813b") - (base05 "#948e48") - (base06 "#ccc37a") - (base07 "#faf0a5") - (base08 "#c35359") - (base09 "#b36144") - (base0A "#a88339") - (base0B "#18974e") - (base0C "#75a738") - (base0D "#477ca1") - (base0E "#8868b3") - (base0F "#b3588e")) +;; Define the theme +(deftheme base16-marrakesh) + +;; Add all the faces to the theme +(base16-theme-define 'base16-marrakesh base16-marrakesh-colors) + +;; Mark the theme as provided +(provide-theme 'base16-marrakesh) (provide 'base16-marrakesh-theme) diff --git a/base16-materia-theme.el b/base16-materia-theme.el index 4beac74..bcb7c7a 100644 --- a/base16-materia-theme.el +++ b/base16-materia-theme.el @@ -30,23 +30,14 @@ :base0F "#EC5F67") "All colors for Base16 Materia are defined here.") -(base16-theme-define base16-materia - (base00 "#263238") - (base01 "#2C393F") - (base02 "#37474F") - (base03 "#707880") - (base04 "#C9CCD3") - (base05 "#CDD3DE") - (base06 "#D5DBE5") - (base07 "#FFFFFF") - (base08 "#EC5F67") - (base09 "#EA9560") - (base0A "#FFCC00") - (base0B "#8BD649") - (base0C "#80CBC4") - (base0D "#89DDFF") - (base0E "#82AAFF") - (base0F "#EC5F67")) +;; Define the theme +(deftheme base16-materia) + +;; Add all the faces to the theme +(base16-theme-define 'base16-materia base16-materia-colors) + +;; Mark the theme as provided +(provide-theme 'base16-materia) (provide 'base16-materia-theme) diff --git a/base16-mexico-light-theme.el b/base16-mexico-light-theme.el index 08e12dd..d3e82f6 100644 --- a/base16-mexico-light-theme.el +++ b/base16-mexico-light-theme.el @@ -30,23 +30,14 @@ :base0F "#a16946") "All colors for Base16 Mexico Light are defined here.") -(base16-theme-define base16-mexico-light - (base00 "#f8f8f8") - (base01 "#e8e8e8") - (base02 "#d8d8d8") - (base03 "#b8b8b8") - (base04 "#585858") - (base05 "#383838") - (base06 "#282828") - (base07 "#181818") - (base08 "#ab4642") - (base09 "#dc9656") - (base0A "#f79a0e") - (base0B "#538947") - (base0C "#4b8093") - (base0D "#7cafc2") - (base0E "#96609e") - (base0F "#a16946")) +;; Define the theme +(deftheme base16-mexico-light) + +;; Add all the faces to the theme +(base16-theme-define 'base16-mexico-light base16-mexico-light-colors) + +;; Mark the theme as provided +(provide-theme 'base16-mexico-light) (provide 'base16-mexico-light-theme) diff --git a/base16-mocha-theme.el b/base16-mocha-theme.el index 59f503c..912e6b6 100644 --- a/base16-mocha-theme.el +++ b/base16-mocha-theme.el @@ -30,23 +30,14 @@ :base0F "#bb9584") "All colors for Base16 Mocha are defined here.") -(base16-theme-define base16-mocha - (base00 "#3B3228") - (base01 "#534636") - (base02 "#645240") - (base03 "#7e705a") - (base04 "#b8afad") - (base05 "#d0c8c6") - (base06 "#e9e1dd") - (base07 "#f5eeeb") - (base08 "#cb6077") - (base09 "#d28b71") - (base0A "#f4bc87") - (base0B "#beb55b") - (base0C "#7bbda4") - (base0D "#8ab3b5") - (base0E "#a89bb9") - (base0F "#bb9584")) +;; Define the theme +(deftheme base16-mocha) + +;; Add all the faces to the theme +(base16-theme-define 'base16-mocha base16-mocha-colors) + +;; Mark the theme as provided +(provide-theme 'base16-mocha) (provide 'base16-mocha-theme) diff --git a/base16-monokai-theme.el b/base16-monokai-theme.el index 6242a8a..caf504f 100644 --- a/base16-monokai-theme.el +++ b/base16-monokai-theme.el @@ -30,23 +30,14 @@ :base0F "#cc6633") "All colors for Base16 Monokai are defined here.") -(base16-theme-define base16-monokai - (base00 "#272822") - (base01 "#383830") - (base02 "#49483e") - (base03 "#75715e") - (base04 "#a59f85") - (base05 "#f8f8f2") - (base06 "#f5f4f1") - (base07 "#f9f8f5") - (base08 "#f92672") - (base09 "#fd971f") - (base0A "#f4bf75") - (base0B "#a6e22e") - (base0C "#a1efe4") - (base0D "#66d9ef") - (base0E "#ae81ff") - (base0F "#cc6633")) +;; Define the theme +(deftheme base16-monokai) + +;; Add all the faces to the theme +(base16-theme-define 'base16-monokai base16-monokai-colors) + +;; Mark the theme as provided +(provide-theme 'base16-monokai) (provide 'base16-monokai-theme) diff --git a/base16-ocean-theme.el b/base16-ocean-theme.el index 2b0ec9f..9f18f6e 100644 --- a/base16-ocean-theme.el +++ b/base16-ocean-theme.el @@ -30,23 +30,14 @@ :base0F "#ab7967") "All colors for Base16 Ocean are defined here.") -(base16-theme-define base16-ocean - (base00 "#2b303b") - (base01 "#343d46") - (base02 "#4f5b66") - (base03 "#65737e") - (base04 "#a7adba") - (base05 "#c0c5ce") - (base06 "#dfe1e8") - (base07 "#eff1f5") - (base08 "#bf616a") - (base09 "#d08770") - (base0A "#ebcb8b") - (base0B "#a3be8c") - (base0C "#96b5b4") - (base0D "#8fa1b3") - (base0E "#b48ead") - (base0F "#ab7967")) +;; Define the theme +(deftheme base16-ocean) + +;; Add all the faces to the theme +(base16-theme-define 'base16-ocean base16-ocean-colors) + +;; Mark the theme as provided +(provide-theme 'base16-ocean) (provide 'base16-ocean-theme) diff --git a/base16-oceanicnext-theme.el b/base16-oceanicnext-theme.el index df8f1e3..3cdb42c 100644 --- a/base16-oceanicnext-theme.el +++ b/base16-oceanicnext-theme.el @@ -30,23 +30,14 @@ :base0F "#AB7967") "All colors for Base16 OceanicNext are defined here.") -(base16-theme-define base16-oceanicnext - (base00 "#1B2B34") - (base01 "#343D46") - (base02 "#4F5B66") - (base03 "#65737E") - (base04 "#A7ADBA") - (base05 "#C0C5CE") - (base06 "#CDD3DE") - (base07 "#D8DEE9") - (base08 "#EC5f67") - (base09 "#F99157") - (base0A "#FAC863") - (base0B "#99C794") - (base0C "#5FB3B3") - (base0D "#6699CC") - (base0E "#C594C5") - (base0F "#AB7967")) +;; Define the theme +(deftheme base16-oceanicnext) + +;; Add all the faces to the theme +(base16-theme-define 'base16-oceanicnext base16-oceanicnext-colors) + +;; Mark the theme as provided +(provide-theme 'base16-oceanicnext) (provide 'base16-oceanicnext-theme) diff --git a/base16-paraiso-theme.el b/base16-paraiso-theme.el index a0fc36f..e9676d7 100644 --- a/base16-paraiso-theme.el +++ b/base16-paraiso-theme.el @@ -30,23 +30,14 @@ :base0F "#e96ba8") "All colors for Base16 Paraiso are defined here.") -(base16-theme-define base16-paraiso - (base00 "#2f1e2e") - (base01 "#41323f") - (base02 "#4f424c") - (base03 "#776e71") - (base04 "#8d8687") - (base05 "#a39e9b") - (base06 "#b9b6b0") - (base07 "#e7e9db") - (base08 "#ef6155") - (base09 "#f99b15") - (base0A "#fec418") - (base0B "#48b685") - (base0C "#5bc4bf") - (base0D "#06b6ef") - (base0E "#815ba4") - (base0F "#e96ba8")) +;; Define the theme +(deftheme base16-paraiso) + +;; Add all the faces to the theme +(base16-theme-define 'base16-paraiso base16-paraiso-colors) + +;; Mark the theme as provided +(provide-theme 'base16-paraiso) (provide 'base16-paraiso-theme) diff --git a/base16-phd-theme.el b/base16-phd-theme.el index 112bf9e..a5204d1 100644 --- a/base16-phd-theme.el +++ b/base16-phd-theme.el @@ -30,23 +30,14 @@ :base0F "#b08060") "All colors for Base16 PhD are defined here.") -(base16-theme-define base16-phd - (base00 "#061229") - (base01 "#2a3448") - (base02 "#4d5666") - (base03 "#717885") - (base04 "#9a99a3") - (base05 "#b8bbc2") - (base06 "#dbdde0") - (base07 "#ffffff") - (base08 "#d07346") - (base09 "#f0a000") - (base0A "#fbd461") - (base0B "#99bf52") - (base0C "#72b9bf") - (base0D "#5299bf") - (base0E "#9989cc") - (base0F "#b08060")) +;; Define the theme +(deftheme base16-phd) + +;; Add all the faces to the theme +(base16-theme-define 'base16-phd base16-phd-colors) + +;; Mark the theme as provided +(provide-theme 'base16-phd) (provide 'base16-phd-theme) diff --git a/base16-pico-theme.el b/base16-pico-theme.el index cc73fad..3db35da 100644 --- a/base16-pico-theme.el +++ b/base16-pico-theme.el @@ -30,23 +30,14 @@ :base0F "#ffccaa") "All colors for Base16 Pico are defined here.") -(base16-theme-define base16-pico - (base00 "#000000") - (base01 "#1d2b53") - (base02 "#7e2553") - (base03 "#008751") - (base04 "#ab5236") - (base05 "#5f574f") - (base06 "#c2c3c7") - (base07 "#fff1e8") - (base08 "#ff004d") - (base09 "#ffa300") - (base0A "#fff024") - (base0B "#00e756") - (base0C "#29adff") - (base0D "#83769c") - (base0E "#ff77a8") - (base0F "#ffccaa")) +;; Define the theme +(deftheme base16-pico) + +;; Add all the faces to the theme +(base16-theme-define 'base16-pico base16-pico-colors) + +;; Mark the theme as provided +(provide-theme 'base16-pico) (provide 'base16-pico-theme) diff --git a/base16-pop-theme.el b/base16-pop-theme.el index 9bb6333..daaf7f0 100644 --- a/base16-pop-theme.el +++ b/base16-pop-theme.el @@ -30,23 +30,14 @@ :base0F "#7a2d00") "All colors for Base16 Pop are defined here.") -(base16-theme-define base16-pop - (base00 "#000000") - (base01 "#202020") - (base02 "#303030") - (base03 "#505050") - (base04 "#b0b0b0") - (base05 "#d0d0d0") - (base06 "#e0e0e0") - (base07 "#ffffff") - (base08 "#eb008a") - (base09 "#f29333") - (base0A "#f8ca12") - (base0B "#37b349") - (base0C "#00aabb") - (base0D "#0e5a94") - (base0E "#b31e8d") - (base0F "#7a2d00")) +;; Define the theme +(deftheme base16-pop) + +;; Add all the faces to the theme +(base16-theme-define 'base16-pop base16-pop-colors) + +;; Mark the theme as provided +(provide-theme 'base16-pop) (provide 'base16-pop-theme) diff --git a/base16-railscasts-theme.el b/base16-railscasts-theme.el index 80c8be1..3185a85 100644 --- a/base16-railscasts-theme.el +++ b/base16-railscasts-theme.el @@ -30,23 +30,14 @@ :base0F "#bc9458") "All colors for Base16 Railscasts are defined here.") -(base16-theme-define base16-railscasts - (base00 "#2b2b2b") - (base01 "#272935") - (base02 "#3a4055") - (base03 "#5a647e") - (base04 "#d4cfc9") - (base05 "#e6e1dc") - (base06 "#f4f1ed") - (base07 "#f9f7f3") - (base08 "#da4939") - (base09 "#cc7833") - (base0A "#ffc66d") - (base0B "#a5c261") - (base0C "#519f50") - (base0D "#6d9cbe") - (base0E "#b6b3eb") - (base0F "#bc9458")) +;; Define the theme +(deftheme base16-railscasts) + +;; Add all the faces to the theme +(base16-theme-define 'base16-railscasts base16-railscasts-colors) + +;; Mark the theme as provided +(provide-theme 'base16-railscasts) (provide 'base16-railscasts-theme) diff --git a/base16-seti-ui-theme.el b/base16-seti-ui-theme.el index 2f109bd..f005b78 100644 --- a/base16-seti-ui-theme.el +++ b/base16-seti-ui-theme.el @@ -30,23 +30,14 @@ :base0F "#8a553f") "All colors for Base16 Seti UI are defined here.") -(base16-theme-define base16-seti-ui - (base00 "#151718") - (base01 "#8ec43d") - (base02 "#3B758C") - (base03 "#41535B") - (base04 "#43a5d5") - (base05 "#d6d6d6") - (base06 "#eeeeee") - (base07 "#ffffff") - (base08 "#Cd3f45") - (base09 "#db7b55") - (base0A "#e6cd69") - (base0B "#9fca56") - (base0C "#55dbbe") - (base0D "#55b5db") - (base0E "#a074c4") - (base0F "#8a553f")) +;; Define the theme +(deftheme base16-seti-ui) + +;; Add all the faces to the theme +(base16-theme-define 'base16-seti-ui base16-seti-ui-colors) + +;; Mark the theme as provided +(provide-theme 'base16-seti-ui) (provide 'base16-seti-ui-theme) diff --git a/base16-shapeshifter-theme.el b/base16-shapeshifter-theme.el index cf22e59..b7bf852 100644 --- a/base16-shapeshifter-theme.el +++ b/base16-shapeshifter-theme.el @@ -30,23 +30,14 @@ :base0F "#69542d") "All colors for Base16 Shapeshifter are defined here.") -(base16-theme-define base16-shapeshifter - (base00 "#f9f9f9") - (base01 "#e0e0e0") - (base02 "#ababab") - (base03 "#555555") - (base04 "#343434") - (base05 "#102015") - (base06 "#040404") - (base07 "#000000") - (base08 "#e92f2f") - (base09 "#e09448") - (base0A "#dddd13") - (base0B "#0ed839") - (base0C "#23edda") - (base0D "#3b48e3") - (base0E "#f996e2") - (base0F "#69542d")) +;; Define the theme +(deftheme base16-shapeshifter) + +;; Add all the faces to the theme +(base16-theme-define 'base16-shapeshifter base16-shapeshifter-colors) + +;; Mark the theme as provided +(provide-theme 'base16-shapeshifter) (provide 'base16-shapeshifter-theme) diff --git a/base16-solar-flare-theme.el b/base16-solar-flare-theme.el index 6ca3698..ab812be 100644 --- a/base16-solar-flare-theme.el +++ b/base16-solar-flare-theme.el @@ -30,23 +30,14 @@ :base0F "#D73C9A") "All colors for Base16 Solar Flare are defined here.") -(base16-theme-define base16-solar-flare - (base00 "#18262F") - (base01 "#222E38") - (base02 "#586875") - (base03 "#667581") - (base04 "#85939E") - (base05 "#A6AFB8") - (base06 "#E8E9ED") - (base07 "#F5F7FA") - (base08 "#EF5253") - (base09 "#E66B2B") - (base0A "#E4B51C") - (base0B "#7CC844") - (base0C "#52CBB0") - (base0D "#33B5E1") - (base0E "#A363D5") - (base0F "#D73C9A")) +;; Define the theme +(deftheme base16-solar-flare) + +;; Add all the faces to the theme +(base16-theme-define 'base16-solar-flare base16-solar-flare-colors) + +;; Mark the theme as provided +(provide-theme 'base16-solar-flare) (provide 'base16-solar-flare-theme) diff --git a/base16-solarized-dark-theme.el b/base16-solarized-dark-theme.el index 4d5f8af..fa0c1cc 100644 --- a/base16-solarized-dark-theme.el +++ b/base16-solarized-dark-theme.el @@ -30,23 +30,14 @@ :base0F "#d33682") "All colors for Base16 Solarized Dark are defined here.") -(base16-theme-define base16-solarized-dark - (base00 "#002b36") - (base01 "#073642") - (base02 "#586e75") - (base03 "#657b83") - (base04 "#839496") - (base05 "#93a1a1") - (base06 "#eee8d5") - (base07 "#fdf6e3") - (base08 "#dc322f") - (base09 "#cb4b16") - (base0A "#b58900") - (base0B "#859900") - (base0C "#2aa198") - (base0D "#268bd2") - (base0E "#6c71c4") - (base0F "#d33682")) +;; Define the theme +(deftheme base16-solarized-dark) + +;; Add all the faces to the theme +(base16-theme-define 'base16-solarized-dark base16-solarized-dark-colors) + +;; Mark the theme as provided +(provide-theme 'base16-solarized-dark) (provide 'base16-solarized-dark-theme) diff --git a/base16-solarized-light-theme.el b/base16-solarized-light-theme.el index 7d1f6eb..fb3b945 100644 --- a/base16-solarized-light-theme.el +++ b/base16-solarized-light-theme.el @@ -30,23 +30,14 @@ :base0F "#d33682") "All colors for Base16 Solarized Light are defined here.") -(base16-theme-define base16-solarized-light - (base00 "#fdf6e3") - (base01 "#eee8d5") - (base02 "#93a1a1") - (base03 "#839496") - (base04 "#657b83") - (base05 "#586e75") - (base06 "#073642") - (base07 "#002b36") - (base08 "#dc322f") - (base09 "#cb4b16") - (base0A "#b58900") - (base0B "#859900") - (base0C "#2aa198") - (base0D "#268bd2") - (base0E "#6c71c4") - (base0F "#d33682")) +;; Define the theme +(deftheme base16-solarized-light) + +;; Add all the faces to the theme +(base16-theme-define 'base16-solarized-light base16-solarized-light-colors) + +;; Mark the theme as provided +(provide-theme 'base16-solarized-light) (provide 'base16-solarized-light-theme) diff --git a/base16-spacemacs-theme.el b/base16-spacemacs-theme.el index 6b54909..8a85483 100644 --- a/base16-spacemacs-theme.el +++ b/base16-spacemacs-theme.el @@ -30,23 +30,14 @@ :base0F "#b03060") "All colors for Base16 Spacemacs are defined here.") -(base16-theme-define base16-spacemacs - (base00 "#1f2022") - (base01 "#282828") - (base02 "#444155") - (base03 "#585858") - (base04 "#b8b8b8") - (base05 "#a3a3a3") - (base06 "#e8e8e8") - (base07 "#f8f8f8") - (base08 "#f2241f") - (base09 "#ffa500") - (base0A "#b1951d") - (base0B "#67b11d") - (base0C "#2d9574") - (base0D "#4f97d7") - (base0E "#a31db1") - (base0F "#b03060")) +;; Define the theme +(deftheme base16-spacemacs) + +;; Add all the faces to the theme +(base16-theme-define 'base16-spacemacs base16-spacemacs-colors) + +;; Mark the theme as provided +(provide-theme 'base16-spacemacs) (provide 'base16-spacemacs-theme) diff --git a/base16-summerfruit-theme.el b/base16-summerfruit-theme.el index fb0f46b..ba12e47 100644 --- a/base16-summerfruit-theme.el +++ b/base16-summerfruit-theme.el @@ -30,23 +30,14 @@ :base0F "#cc6633") "All colors for Base16 Summerfruit are defined here.") -(base16-theme-define base16-summerfruit - (base00 "#151515") - (base01 "#202020") - (base02 "#303030") - (base03 "#505050") - (base04 "#B0B0B0") - (base05 "#D0D0D0") - (base06 "#E0E0E0") - (base07 "#FFFFFF") - (base08 "#FF0086") - (base09 "#FD8900") - (base0A "#ABA800") - (base0B "#00C918") - (base0C "#1faaaa") - (base0D "#3777E6") - (base0E "#AD00A1") - (base0F "#cc6633")) +;; Define the theme +(deftheme base16-summerfruit) + +;; Add all the faces to the theme +(base16-theme-define 'base16-summerfruit base16-summerfruit-colors) + +;; Mark the theme as provided +(provide-theme 'base16-summerfruit) (provide 'base16-summerfruit-theme) diff --git a/base16-theme.el b/base16-theme.el index 10dfa02..257f469 100644 --- a/base16-theme.el +++ b/base16-theme.el @@ -14,517 +14,571 @@ ;;; Code: -(defmacro base16-theme-define (theme-name &rest theme-colors) - "Define a base16 colorscheme given a THEME-NAME and a list of THEME-COLORS." - `(let (,@theme-colors) - ;; These mappings are based on the xresources themes. If you're - ;; using something else, you may want to look for an alternate - ;; theme for use in the terminal. - (unless (>= (display-color-cells) 256) - (setq base00 "black" - base01 "brightgreen" - base02 "brightyellow" - base03 "brightblack" - base04 "brightblue" - base05 "white" - base06 "brightmagenta" - base07 "brightwhite" - base08 "red" - base09 "brightred" - base0A "yellow" - base0B "green" - base0C "cyan" - base0D "blue" - base0E "magenta" - base0F "brightcyan")) - - (deftheme ,theme-name) - - (custom-theme-set-faces - (quote ,theme-name) - - ;; Built-in stuff (Emacs 23) - `(border ((t (:background ,base03)))) - `(border-glyph ((t (nil)))) - `(cursor ((t (:background ,base08)))) - `(default ((t (:foreground ,base05 :background ,base00)))) - `(fringe ((t (:background ,base02)))) - `(gui-element ((t (:foreground ,base06 :background ,base03)))) - `(highlight ((t (:background ,base01)))) - `(link ((t (:foreground ,base0D)))) - `(link-visited ((t (:foreground ,base0E)))) - `(minibuffer-prompt ((t (:foreground ,base0D)))) - `(mode-line ((t (:foreground ,base04 :background ,base02 :box nil)))) - `(mode-line-buffer-id ((t (:foreground ,base0B :background nil)))) - `(mode-line-emphasis ((t (:foreground ,base06 :slant italic)))) - `(mode-line-highlight ((t (:foreground ,base0E :box nil :weight bold)))) - `(mode-line-inactive ((t (:foreground ,base03 :background ,base01 :box nil)))) - `(region ((t (:background ,base02)))) - `(secondary-selection ((t (:background ,base03)))) - `(error ((t (:foreground ,base08 :weight bold)))) - `(warning ((t (:foreground ,base09 :weight bold)))) - `(success ((t (:foreground ,base0B :weight bold)))) - - `(header-line ((t (:foreground ,base0E :background nil :inherit mode-line)))) - - ;; Font-lock stuff - `(font-lock-builtin-face ((t (:foreground ,base0C)))) - `(font-lock-comment-delimiter-face ((t (:foreground ,base02)))) - `(font-lock-comment-face ((t (:foreground ,base03)))) - `(font-lock-constant-face ((t (:foreground ,base09)))) - `(font-lock-doc-face ((t (:foreground ,base04)))) - `(font-lock-doc-string-face ((t (:foreground ,base03)))) - `(font-lock-function-name-face ((t (:foreground ,base0D)))) - `(font-lock-keyword-face ((t (:foreground ,base0E)))) - `(font-lock-negation-char-face ((t (:foreground ,base0B)))) - `(font-lock-preprocessor-face ((t (:foreground ,base0D)))) - `(font-lock-regexp-grouping-backslash ((t (:foreground ,base0A)))) - `(font-lock-regexp-grouping-construct ((t (:foreground ,base0E)))) - `(font-lock-string-face ((t (:foreground ,base0B)))) - `(font-lock-type-face ((t (:foreground ,base0A)))) - `(font-lock-variable-name-face ((t (:foreground ,base08)))) - `(font-lock-warning-face ((t (:foreground ,base08)))) - - ;; linum-mode - `(linum ((t (:foreground ,base03 :background ,base01)))) - - ;; Search - `(match ((t (:foreground ,base0D :background ,base01 :inverse-video t)))) - `(isearch ((t (:foreground ,base0A :background ,base01 :inverse-video t)))) - `(isearch-lazy-highlight-face ((t (:foreground ,base0C :background ,base01 :inverse-video t)))) - `(isearch-fail ((t (:background ,base01 :inverse-video t :inherit font-lock-warning-face)))) - `(evil-search-highlight-persist-highlight-face ((t (:background ,base01 :inverse-video t :inherit font-lock-warning-face)))) - - ;; Popups - `(popup-face ((t (:foreground ,base05 :background ,base02)))) - `(popup-isearch-match ((t (:foreground ,base00 :background ,base0B)))) - `(popup-scroll-bar-background-face ((t (:background ,base03)))) - `(popup-scroll-bar-foreground-face ((t (:background ,base05)))) - `(popup-summary-face ((t (:foreground ,base04)))) - `(popup-tip-face ((t (:foreground ,base00 :background ,base0A)))) - `(popup-menu-mouse-face ((t (:foreground ,base00 :background ,base0D)))) - `(popup-menu-selection-face ((t (:foreground ,base00 :background ,base0C)))) - - ;; company-mode - `(company-tooltip ((t (:background ,base01 :inherit default)))) - `(company-scrollbar-bg ((t (:background ,base07)))) - `(company-scrollbar-fg ((t (:background ,base04)))) - `(company-tooltip-annotation ((t (:foreground ,base08)))) - `(company-tooltip-common ((t (:inherit font-lock-constant-face)))) - `(company-tooltip-selection ((t (:background ,base02 :inherit font-lock-function-name-face)))) - `(company-preview-common ((t (:inherit secondary-selection)))) - - ;; ivy-mode - `(ivy-current-match ((t (:foreground ,base09 :background ,base01)))) - `(ivy-minibuffer-match-face-1 ((t (:foreground ,base0E)))) - `(ivy-minibuffer-match-face-2 ((t (:foreground ,base0D)))) - `(ivy-minibuffer-match-face-3 ((t (:foreground ,base0C)))) - `(ivy-minibuffer-match-face-4 ((t (:foreground ,base0B)))) - `(ivy-confirm-face ((t (:foreground ,base0B)))) - `(ivy-match-required-face ((t (:foreground ,base08)))) - `(ivy-virtual ((t (:foreground ,base04)))) - `(ivy-action ((t (:foreground ,base0D)))) - - ;; Flymake - `(flymake-warnline ((t (:background ,base01 :underline ,base09)))) - `(flymake-errline ((t (:background ,base01 :underline ,base08)))) - - ;; Clojure errors - `(clojure-test-failure-face ((t (:background nil :inherit flymake-warnline)))) - `(clojure-test-error-face ((t (:background nil :inherit flymake-errline)))) - `(clojure-test-success-face ((t (:foreground nil :background nil :underline ,base0B)))) - - ;; For Brian Carper's extended clojure syntax table - `(clojure-keyword ((t (:foreground ,base0A)))) - `(clojure-parens ((t (:foreground ,base06)))) - `(clojure-braces ((t (:foreground ,base0B)))) - `(clojure-brackets ((t (:foreground ,base0A)))) - `(clojure-double-quote ((t (:foreground ,base0C :background nil)))) - `(clojure-special ((t (:foreground ,base0D)))) - `(clojure-java-call ((t (:foreground ,base0E)))) - - ;; MMM-mode - `(mmm-code-submode-face ((t (:background ,base03)))) - `(mmm-comment-submode-face ((t (:inherit font-lock-comment-face)))) - `(mmm-output-submode-face ((t (:background ,base03)))) - - ;; rainbow-delimiters - `(rainbow-delimiters-depth-1-face ((t (:foreground ,base0E)))) - `(rainbow-delimiters-depth-2-face ((t (:foreground ,base0D)))) - `(rainbow-delimiters-depth-3-face ((t (:foreground ,base0C)))) - `(rainbow-delimiters-depth-4-face ((t (:foreground ,base0B)))) - `(rainbow-delimiters-depth-5-face ((t (:foreground ,base0A)))) - `(rainbow-delimiters-depth-6-face ((t (:foreground ,base09)))) - `(rainbow-delimiters-depth-7-face ((t (:foreground ,base08)))) - `(rainbow-delimiters-depth-8-face ((t (:foreground ,base03)))) - `(rainbow-delimiters-depth-9-face ((t (:foreground ,base05)))) - - ;; IDO - `(ido-subdir ((t (:foreground ,base04)))) - `(ido-first-match ((t (:foreground ,base09 :weight bold)))) - `(ido-only-match ((t (:foreground ,base08 :weight bold)))) - `(ido-indicator ((t (:foreground ,base08 :background ,base01)))) - `(ido-virtual ((t (:foreground ,base04)))) - - ;; which-function - `(which-func ((t (:foreground ,base0D :background nil :weight bold)))) - - `(trailing-whitespace ((t (:foreground ,base0A :background ,base0C)))) - `(whitespace-empty ((t (:foreground ,base08 :background ,base0A)))) - `(whitespace-hspace ((t (:foreground ,base04 :background ,base04)))) - `(whitespace-indentation ((t (:foreground ,base08 :background ,base0A)))) - `(whitespace-line ((t (:foreground ,base0F :background ,base01)))) - `(whitespace-newline ((t (:foreground ,base04)))) - `(whitespace-space ((t (:foreground ,base04 :background ,base01)))) - `(whitespace-space-after-tab ((t (:foreground ,base08 :background ,base0A)))) - `(whitespace-space-before-tab ((t (:foreground ,base08 :background ,base09)))) - `(whitespace-tab ((t (:foreground ,base04 :background ,base04)))) - `(whitespace-trailing ((t (:foreground ,base0A :background ,base08)))) - - ;; Parenthesis matching (built-in) - `(show-paren-match ((t (:foreground ,base03 :background ,base0D)))) - `(show-paren-mismatch ((t (:foreground ,base03 :background ,base09)))) - - ;; Parenthesis matching (mic-paren) - `(paren-face-match ((t (:foreground nil :background nil :inherit show-paren-match)))) - `(paren-face-mismatch ((t (:foreground nil :background nil :inherit show-paren-mismatch)))) - `(paren-face-no-match ((t (:foreground nil :background nil :inherit show-paren-mismatch)))) - - ;; Parenthesis dimming (parenface) - `(paren-face ((t (:foreground ,base04 :background nil)))) - - `(sh-heredoc ((t (:foreground nil :weight normal :inherit font-lock-string-face)))) - `(sh-quoted-exec ((t (:foreground nil :inherit font-lock-preprocessor-face)))) - `(slime-highlight-edits-face ((t (:weight bold)))) - `(slime-repl-input-face ((t (:weight normal :underline nil)))) - `(slime-repl-prompt-face ((t (:foreground ,base0E :underline nil :weight bold)))) - `(slime-repl-result-face ((t (:foreground ,base0B)))) - `(slime-repl-output-face ((t (:foreground ,base0D :background ,base01)))) - - `(csv-separator-face ((t (:foreground ,base09)))) - - `(diff-added ((t (:foreground ,base0B)))) - `(diff-changed ((t (:foreground ,base0A)))) - `(diff-removed ((t (:foreground ,base08)))) - `(diff-header ((t (:background ,base01)))) - `(diff-file-header ((t (:background ,base02)))) - `(diff-hunk-header ((t (:foreground ,base0E :background ,base01)))) - - `(diff-hl-change ((t (:foreground ,base0A)))) - `(diff-hl-delete ((t (:foreground ,base08)))) - `(diff-hl-insert ((t (:foreground ,base0B)))) - - `(ediff-even-diff-A ((t (:foreground nil :background nil :inverse-video t)))) - `(ediff-even-diff-B ((t (:foreground nil :background nil :inverse-video t)))) - `(ediff-odd-diff-A ((t (:foreground ,base04 :background nil :inverse-video t)))) - `(ediff-odd-diff-B ((t (:foreground ,base04 :background nil :inverse-video t)))) - - `(eldoc-highlight-function-argument ((t (:foreground ,base0B :weight bold)))) - - ;; undo-tree - `(undo-tree-visualizer-default-face ((t (:foreground ,base06)))) - `(undo-tree-visualizer-current-face ((t (:foreground ,base0B :weight bold)))) - `(undo-tree-visualizer-active-branch-face ((t (:foreground ,base08)))) - `(undo-tree-visualizer-register-face ((t (:foreground ,base0A)))) - - ;; auctex - `(font-latex-bold-face ((t (:foreground ,base0B)))) - `(font-latex-doctex-documentation-face ((t (:background ,base03)))) - `(font-latex-italic-face ((t (:foreground ,base0B)))) - `(font-latex-math-face ((t (:foreground ,base09)))) - `(font-latex-sectioning-0-face ((t (:foreground ,base0A)))) - `(font-latex-sectioning-1-face ((t (:foreground ,base0A)))) - `(font-latex-sectioning-2-face ((t (:foreground ,base0A)))) - `(font-latex-sectioning-3-face ((t (:foreground ,base0A)))) - `(font-latex-sectioning-4-face ((t (:foreground ,base0A)))) - `(font-latex-sectioning-5-face ((t (:foreground ,base0A)))) - `(font-latex-sedate-face ((t (:foreground ,base0C)))) - `(font-latex-string-face ((t (:foreground ,base0A)))) - `(font-latex-verbatim-face ((t (:foreground ,base09)))) - `(font-latex-warning-face ((t (:foreground ,base08)))) - - ;; dired+ - `(diredp-compressed-file-suffix ((t (:foreground ,base0D)))) - `(diredp-dir-heading ((t (:foreground nil :background nil :inherit heading)))) - `(diredp-dir-priv ((t (:foreground ,base0C :background nil)))) - `(diredp-exec-priv ((t (:foreground ,base0D :background nil)))) - `(diredp-executable-tag ((t (:foreground ,base08 :background nil)))) - `(diredp-file-name ((t (:foreground ,base0A)))) - `(diredp-file-suffix ((t (:foreground ,base0B)))) - `(diredp-flag-mark-line ((t (:background nil :inherit highlight)))) - `(diredp-ignored-file-name ((t (:foreground ,base04)))) - `(diredp-link-priv ((t (:foreground ,base0E :background nil)))) - `(diredp-mode-line-flagged ((t (:foreground ,base08)))) - `(diredp-mode-line-marked ((t (:foreground ,base0B)))) - `(diredp-no-priv ((t (:background nil)))) - `(diredp-number ((t (:foreground ,base0A)))) - `(diredp-other-priv ((t (:foreground ,base0E :background nil)))) - `(diredp-rare-priv ((t (:foreground ,base08 :background nil)))) - `(diredp-read-priv ((t (:foreground ,base0B :background nil)))) - `(diredp-symlink ((t (:foreground ,base0E)))) - `(diredp-write-priv ((t (:foreground ,base0A :background nil)))) - - ;; term and ansi-term - `(term-color-black ((t (:foreground ,base02 :background ,base00)))) - `(term-color-white ((t (:foreground ,base05 :background ,base07)))) - `(term-color-red ((t (:foreground ,base08 :background ,base08)))) - `(term-color-yellow ((t (:foreground ,base0A :background ,base0A)))) - `(term-color-green ((t (:foreground ,base0B :background ,base0B)))) - `(term-color-cyan ((t (:foreground ,base0C :background ,base0C)))) - `(term-color-blue ((t (:foreground ,base0D :background ,base0D)))) - `(term-color-magenta ((t (:foreground ,base0E :background ,base0E)))) - - `(link ((t (:foreground nil :underline t)))) - `(widget-button ((t (:underline t)))) - `(widget-field ((t (:background ,base03 :box (:line-width 1 :color ,base06))))) - - ;; Compilation (most faces politely inherit from 'success, 'error, 'warning etc.) - `(compilation-column-number ((t (:foreground ,base0A)))) - `(compilation-line-number ((t (:foreground ,base0A)))) - `(compilation-message-face ((t (:foreground ,base0D)))) - `(compilation-mode-line-exit ((t (:foreground ,base0B)))) - `(compilation-mode-line-fail ((t (:foreground ,base08)))) - `(compilation-mode-line-run ((t (:foreground ,base0D)))) - - ;; Grep - `(grep-context-face ((t (:foreground ,base04)))) - `(grep-error-face ((t (:foreground ,base08 :weight bold :underline t)))) - `(grep-hit-face ((t (:foreground ,base0D)))) - `(grep-match-face ((t (:foreground nil :background nil :inherit match)))) - - `(regex-tool-matched-face ((t (:foreground nil :background nil :inherit match)))) - - ;; Cscope - `(cscope-file-face ((t (:foreground ,base0B)))) - `(cscope-function-face ((t (:foreground ,base0D)))) - `(cscope-line-number-face ((t (:foreground ,base0A)))) - `(cscope-mouse-face ((t (:foreground ,base04 :background ,base01)))) - `(cscope-separator-face ((t (:foreground ,base08 :overline t :underline t :weight bold)))) - - ;; mark-multiple - `(mm/master-face ((t (:foreground nil :background nil :inherit region)))) - `(mm/mirror-face ((t (:foreground nil :background nil :inherit region)))) - - ;; org-mode - `(org-agenda-structure ((t (:foreground ,base0E)))) - `(org-agenda-date ((t (:foreground ,base0D :underline nil)))) - `(org-agenda-done ((t (:foreground ,base0B)))) - `(org-agenda-dimmed-todo-face ((t (:foreground ,base04)))) - `(org-block ((t (:foreground ,base09)))) - `(org-code ((t (:foreground ,base0A)))) - `(org-column ((t (:background ,base01)))) - `(org-column-title ((t (:weight bold :underline t :inherit org-column)))) - `(org-date ((t (:foreground ,base0E :underline t)))) - `(org-document-info ((t (:foreground ,base0C)))) - `(org-document-info-keyword ((t (:foreground ,base0B)))) - `(org-document-title ((t (:foreground ,base09 :weight bold :height 1.44)))) - `(org-done ((t (:foreground ,base0B)))) - `(org-ellipsis ((t (:foreground ,base04)))) - `(org-footnote ((t (:foreground ,base0C)))) - `(org-formula ((t (:foreground ,base08)))) - `(org-hide ((t (:foreground ,base03)))) - `(org-link ((t (:foreground ,base0D)))) - `(org-scheduled ((t (:foreground ,base0B)))) - `(org-scheduled-previously ((t (:foreground ,base09)))) - `(org-scheduled-today ((t (:foreground ,base0B)))) - `(org-special-keyword ((t (:foreground ,base09)))) - `(org-table ((t (:foreground ,base0E)))) - `(org-todo ((t (:foreground ,base08)))) - `(org-upcoming-deadline ((t (:foreground ,base09)))) - `(org-warning ((t (:foreground ,base08 :weight bold)))) - - `(markdown-url-face ((t (:inherit link)))) - `(markdown-link-face ((t (:foreground ,base0D :underline t)))) - - `(hl-sexp-face ((t (:background ,base03)))) - `(highlight-80+ ((t (:background ,base03)))) - - ;; Python-specific overrides - `(py-builtins-face ((t (:foreground ,base09 :weight normal)))) - - ;; js2-mode - `(js2-warning-face ((t (:underline ,base09)))) - `(js2-error-face ((t (:foreground nil :underline ,base08)))) - `(js2-external-variable-face ((t (:foreground ,base0E)))) - `(js2-function-param-face ((t (:foreground ,base0D)))) - `(js2-instance-member-face ((t (:foreground ,base0D)))) - `(js2-private-function-call-face ((t (:foreground ,base08)))) - - ;; js3-mode - `(js3-warning-face ((t (:underline ,base09)))) - `(js3-error-face ((t (:foreground nil :underline ,base08)))) - `(js3-external-variable-face ((t (:foreground ,base0E)))) - `(js3-function-param-face ((t (:foreground ,base0D)))) - `(js3-jsdoc-tag-face ((t (:foreground ,base09)))) - `(js3-jsdoc-type-face ((t (:foreground ,base0C)))) - `(js3-jsdoc-value-face ((t (:foreground ,base0A)))) - `(js3-jsdoc-html-tag-name-face ((t (:foreground ,base0D)))) - `(js3-jsdoc-html-tag-delimiter-face ((t (:foreground ,base0B)))) - `(js3-instance-member-face ((t (:foreground ,base0D)))) - `(js3-private-function-call-face ((t (:foreground ,base08)))) - - ;; nxml - `(nxml-name-face ((t (:foreground unspecified :inherit font-lock-constant-face)))) - `(nxml-attribute-local-name-face ((t (:foreground unspecified :inherit font-lock-variable-name-face)))) - `(nxml-ref-face ((t (:foreground unspecified :inherit font-lock-preprocessor-face)))) - `(nxml-delimiter-face ((t (:foreground unspecified :inherit font-lock-keyword-face)))) - `(nxml-delimited-data-face ((t (:foreground unspecified :inherit font-lock-string-face)))) - `(rng-error-face ((t (:underline ,base08)))) - - ;; RHTML - `(erb-delim-face ((t (:background ,base03)))) - `(erb-exec-face ((t (:background ,base03 :weight bold)))) - `(erb-exec-delim-face ((t (:background ,base03)))) - `(erb-out-face ((t (:background ,base03 :weight bold)))) - `(erb-out-delim-face ((t (:background ,base03)))) - `(erb-comment-face ((t (:background ,base03 :weight bold :slant italic)))) - `(erb-comment-delim-face ((t (:background ,base03)))) - - ;; Message-mode - `(message-header-other ((t (:foreground nil :background nil :weight normal)))) - `(message-header-subject ((t (:foreground ,base0A :weight bold :inherit message-header-other)))) - `(message-header-to ((t (:foreground ,base09 :weight bold :inherit message-header-other)))) - `(message-header-cc ((t (:foreground nil :inherit message-header-to)))) - `(message-header-name ((t (:foreground ,base0D :background nil)))) - `(message-header-newsgroups ((t (:foreground ,base0C :background nil :slant normal)))) - `(message-separator ((t (:foreground ,base0E)))) - - ;; Jabber - `(jabber-chat-prompt-local ((t (:foreground ,base0A)))) - `(jabber-chat-prompt-foreign ((t (:foreground ,base09)))) - `(jabber-chat-prompt-system ((t (:foreground ,base0A :weight bold)))) - `(jabber-chat-text-local ((t (:foreground ,base0A)))) - `(jabber-chat-text-foreign ((t (:foreground ,base09)))) - `(jabber-chat-text-error ((t (:foreground ,base08)))) - - `(jabber-roster-user-online ((t (:foreground ,base0B)))) - `(jabber-roster-user-xa ((t (:foreground ,base04)))) - `(jabber-roster-user-dnd ((t (:foreground ,base0A)))) - `(jabber-roster-user-away ((t (:foreground ,base09)))) - `(jabber-roster-user-chatty ((t (:foreground ,base0E)))) - `(jabber-roster-user-error ((t (:foreground ,base08)))) - `(jabber-roster-user-offline ((t (:foreground ,base04)))) - - `(jabber-rare-time-face ((t (:foreground ,base04)))) - `(jabber-activity-face ((t (:foreground ,base0E)))) - `(jabber-activity-personal-face ((t (:foreground ,base0C)))) - - ;; Gnus - `(gnus-cite-1 ((t (:foreground nil :inherit outline-1)))) - `(gnus-cite-2 ((t (:foreground nil :inherit outline-2)))) - `(gnus-cite-3 ((t (:foreground nil :inherit outline-3)))) - `(gnus-cite-4 ((t (:foreground nil :inherit outline-4)))) - `(gnus-cite-5 ((t (:foreground nil :inherit outline-5)))) - `(gnus-cite-6 ((t (:foreground nil :inherit outline-6)))) - `(gnus-cite-7 ((t (:foreground nil :inherit outline-7)))) - `(gnus-cite-8 ((t (:foreground nil :inherit outline-8)))) - ;; there are several more -cite- faces... - `(gnus-header-content ((t (:inherit message-header-other)))) - `(gnus-header-subject ((t (:inherit message-header-subject)))) - `(gnus-header-from ((t (:foreground ,base09 :weight bold :inherit message-header-other-face)))) - `(gnus-header-name ((t (:inherit message-header-name)))) - `(gnus-button ((t (:foreground nil :inherit link)))) - `(gnus-signature ((t (:inherit font-lock-comment-face)))) - - `(gnus-summary-normal-unread ((t (:foreground ,base0D :weight normal)))) - `(gnus-summary-normal-read ((t (:foreground ,base06 :weight normal)))) - `(gnus-summary-normal-ancient ((t (:foreground ,base0C :weight normal)))) - `(gnus-summary-normal-ticked ((t (:foreground ,base09 :weight normal)))) - `(gnus-summary-low-unread ((t (:foreground ,base04 :weight normal)))) - `(gnus-summary-low-read ((t (:foreground ,base04 :weight normal)))) - `(gnus-summary-low-ancient ((t (:foreground ,base04 :weight normal)))) - `(gnus-summary-high-unread ((t (:foreground ,base0A :weight normal)))) - `(gnus-summary-high-read ((t (:foreground ,base0B :weight normal)))) - `(gnus-summary-high-ancient ((t (:foreground ,base0B :weight normal)))) - `(gnus-summary-high-ticked ((t (:foreground ,base09 :weight normal)))) - `(gnus-summary-cancelled ((t (:foreground ,base08 :background nil :weight normal)))) - - `(gnus-group-mail-low ((t (:foreground ,base04)))) - `(gnus-group-mail-low-empty ((t (:foreground ,base04)))) - `(gnus-group-mail-1 ((t (:foreground nil :weight normal :inherit outline-1)))) - `(gnus-group-mail-2 ((t (:foreground nil :weight normal :inherit outline-2)))) - `(gnus-group-mail-3 ((t (:foreground nil :weight normal :inherit outline-3)))) - `(gnus-group-mail-4 ((t (:foreground nil :weight normal :inherit outline-4)))) - `(gnus-group-mail-5 ((t (:foreground nil :weight normal :inherit outline-5)))) - `(gnus-group-mail-6 ((t (:foreground nil :weight normal :inherit outline-6)))) - `(gnus-group-mail-1-empty ((t (:foreground ,base04 :inherit gnus-group-mail-1)))) - `(gnus-group-mail-2-empty ((t (:foreground ,base04 :inherit gnus-group-mail-2)))) - `(gnus-group-mail-3-empty ((t (:foreground ,base04 :inherit gnus-group-mail-3)))) - `(gnus-group-mail-4-empty ((t (:foreground ,base04 :inherit gnus-group-mail-4)))) - `(gnus-group-mail-5-empty ((t (:foreground ,base04 :inherit gnus-group-mail-5)))) - `(gnus-group-mail-6-empty ((t (:foreground ,base04 :inherit gnus-group-mail-6)))) - `(gnus-group-news-1 ((t (:foreground nil :weight normal :inherit outline-5)))) - `(gnus-group-news-2 ((t (:foreground nil :weight normal :inherit outline-6)))) - `(gnus-group-news-3 ((t (:foreground nil :weight normal :inherit outline-7)))) - `(gnus-group-news-4 ((t (:foreground nil :weight normal :inherit outline-8)))) - `(gnus-group-news-5 ((t (:foreground nil :weight normal :inherit outline-1)))) - `(gnus-group-news-6 ((t (:foreground nil :weight normal :inherit outline-2)))) - `(gnus-group-news-1-empty ((t (:foreground ,base04 :inherit gnus-group-news-1)))) - `(gnus-group-news-2-empty ((t (:foreground ,base04 :inherit gnus-group-news-2)))) - `(gnus-group-news-3-empty ((t (:foreground ,base04 :inherit gnus-group-news-3)))) - `(gnus-group-news-4-empty ((t (:foreground ,base04 :inherit gnus-group-news-4)))) - `(gnus-group-news-5-empty ((t (:foreground ,base04 :inherit gnus-group-news-5)))) - `(gnus-group-news-6-empty ((t (:foreground ,base04 :inherit gnus-group-news-6)))) - - `(erc-direct-msg-face ((t (:foreground ,base09)))) - `(erc-error-face ((t (:foreground ,base08)))) - `(erc-header-face ((t (:foreground ,base06 :background ,base04)))) - `(erc-input-face ((t (:foreground ,base0B)))) - `(erc-keyword-face ((t (:foreground ,base0A)))) - `(erc-current-nick-face ((t (:foreground ,base0B)))) - `(erc-my-nick-face ((t (:foreground ,base0B)))) - `(erc-nick-default-face ((t (:foreground ,base0E :weight normal)))) - `(erc-nick-msg-face ((t (:foreground ,base0A :weight normal)))) - `(erc-notice-face ((t (:foreground ,base04)))) - `(erc-pal-face ((t (:foreground ,base09)))) - `(erc-prompt-face ((t (:foreground ,base0D)))) - `(erc-timestamp-face ((t (:foreground ,base0C)))) - - ;; helm - `(helm-M-x-key ((t (:foreground ,base0C)))) - `(helm-action ((t (:foreground ,base05)))) - `(helm-buffer-directory ((t (:foreground ,base04 :background nil :weight bold)))) - `(helm-buffer-file ((t (:foreground ,base0C)))) - `(helm-buffer-not-saved ((t (:foreground ,base08)))) - `(helm-buffer-process ((t (:foreground ,base03)))) - `(helm-buffer-saved-out ((t (:foreground ,base0F)))) - `(helm-buffer-size ((t (:foreground ,base09)))) - `(helm-candidate-number ((t (:foreground ,base00 :background ,base09)))) - `(helm-ff-directory ((t (:foreground ,base04 :background nil :weight bold)))) - `(helm-ff-executable ((t (:foreground ,base0B)))) - `(helm-ff-file ((t (:foreground ,base0C)))) - `(helm-ff-invalid-symlink ((t (:foreground ,base00 :background ,base08)))) - `(helm-ff-prefix ((t (:foreground nil :background nil)))) - `(helm-ff-symlink ((t (:foreground ,base00 :background ,base0C)))) - `(helm-grep-cmd-line ((t (:foreground ,base0B)))) - `(helm-grep-file ((t (:foreground ,base0C)))) - `(helm-grep-finish ((t (:foreground ,base00 :background ,base09)))) - `(helm-grep-lineno ((t (:foreground ,base03)))) - `(helm-grep-match ((t (:foreground ,base0A)))) - `(helm-grep-running ((t (:foreground ,base09)))) - `(helm-header ((t (:foreground ,base0A :background ,base00 :underline nil)))) - `(helm-match ((t (:foreground ,base0A)))) - `(helm-moccur-buffer ((t (:foreground ,base0C)))) - `(helm-selection ((t (:foreground nil :background ,base02 :underline nil)))) - `(helm-selection-line ((t (:foreground nil :background ,base02)))) - `(helm-separator ((t (:foreground ,base02)))) - `(helm-source-header ((t (:foreground ,base05 :background ,base01 :weight bold)))) - `(helm-visible-mark ((t (:foreground ,base00 :background ,base0B)))) - - `(custom-variable-tag ((t (:foreground ,base0D)))) - `(custom-group-tag ((t (:foreground ,base0D)))) - `(custom-state ((t (:foreground ,base0B))))) - - (custom-theme-set-variables - (quote ,theme-name) - `(ansi-color-names-vector - ;; black, base08, base0B, base0A, base0D, magenta, cyan, white - [,base00 ,base08 ,base0B ,base0A ,base0D ,base0E ,base0D ,base05]) - `(ansi-term-color-vector - ;; black, base08, base0B, base0A, base0D, magenta, cyan, white - [unspecified ,base00 ,base08 ,base0B ,base0A ,base0D ,base0E ,base0D ,base05])) - - (provide-theme (quote ,theme-name)))) +(defvar base16-shell-colors + '(:base00 "black" + :base01 "brightgreen" + :base02 "brightyellow" + :base03 "brightblack" + :base04 "brightblue" + :base05 "white" + :base06 "brightmagenta" + :base07 "brightwhite" + :base08 "red" + :base09 "brightred" + :base0A "yellow" + :base0B "green" + :base0C "cyan" + :base0D "blue" + :base0E "magenta" + :base0F "brightcyan") + "Base16 colors used when in a terminal. + +These mappings are based on the xresources themes. If you're +using a different terminal color scheme, you may want to look for +an alternate theme for use in the terminal.") + +(defun base16-transform-spec (spec colors) + "Transform a theme `SPEC' into a face spec using `COLORS'." + (let ((output)) + (while spec + (let* ((key (car spec)) + (value (cadr spec)) + (color-key (if (symbolp value) (intern (concat ":" (symbol-name value))) nil)) + (color (plist-get colors color-key))) + + ;; Append the transformed element + (cond + ((and (memq key '(:box)) (listp value)) + (setq output (append output (list key (base16-transform-spec value colors))))) + (color + (setq output (append output (list key color)))) + (t + (setq output (append output (list key value)))))) + + ;; Go to the next element in the list + (setq spec (cddr spec))) + + ;; Return the transformed spec + output)) + +(defun base16-transform-face (spec colors) + "Transform a face `SPEC' into an Emacs theme face definition using `COLORS'." + (let* ((face (car spec)) + (definition (cdr spec))) + + (list face `((((min-colors 256)) ,(base16-transform-spec definition colors)) + (t ,(base16-transform-spec definition base16-shell-colors)))))) + +(defun base16-set-faces (theme-name colors faces) + "" + (apply 'custom-theme-set-faces theme-name + (mapcar #'(lambda (face) + (base16-transform-face face colors)) + faces))) + +(defun base16-theme-define (theme-name theme-colors) + "Define the faces for a base16 colorscheme given a `THEME-NAME' and a plist of `THEME-COLORS'." + (base16-set-faces + theme-name + theme-colors + + '(;; Built in stuff (Emacs 23) + (border :background base03) + (border-glyph) + (cursor :background base08) + (default :foreground base05 :background base00) + (fringe :background base02) + (gui-element :background base01) + (highlight :background base01) + (link :foreground base0D) + (link-visited :foreground base0E) + (minibuffer-prompt :foreground base0D) + (mode-line :foreground base04 :background base02 :box nil) + (mode-line-buffer-id :foreground base0B :background nil) + (mode-line-emphasis :foreground base06 :slant italic) + (mode-line-highlight :foreground base0E :box nil :weight bold) + (mode-line-inactive :foreground base03 :background base01 :box nil) + (region :background base02) + (secondary-selection :background base03) + (error :foreground base08 :weight bold) + (warning :foreground base09 :weight bold) + (success :foreground base0B :weight bold) + + (header-line :foreground base0E :background nil :inherit mode-line) + + ;; Font-lock stuff + (font-lock-builtin-face :foreground base0C) + (font-lock-comment-delimiter-face :foreground base02) + (font-lock-comment-face :foreground base03) + (font-lock-constant-face :foreground base09) + (font-lock-doc-face :foreground base04) + (font-lock-doc-string-face :foreground base03) + (font-lock-function-name-face :foreground base0D) + (font-lock-keyword-face :foreground base0E) + (font-lock-negation-char-face :foreground base0B) + (font-lock-preprocessor-face :foreground base0D) + (font-lock-regexp-grouping-backslash :foreground base0A) + (font-lock-regexp-grouping-construct :foreground base0E) + (font-lock-string-face :foreground base0B) + (font-lock-type-face :foreground base0A) + (font-lock-variable-name-face :foreground base08) + (font-lock-warning-face :foreground base08) + + ;; linum-mode + (linum :foreground base03 :background base01) + + ;; Search + (match :foreground base0D :background base01 :inverse-video t) + (isearch :foreground base0A :background base01 :inverse-video t) + (isearch-lazy-highlight-face :foreground base0C :background base01 :inverse-video t) + (isearch-fail :background base01 :inverse-video t :inherit font-lock-warning-face) + (evil-search-highlight-persist-highlight-face :background base01 :inverse-video t :inherit font-lock-warning-face) + + ;; Popups + (popup-face :foreground base05 :background base02) + (popup-isearch-match :foreground base00 :background base0B) + (popup-scroll-bar-background-face :background base03) + (popup-scroll-bar-foreground-face :background base05) + (popup-summary-face :foreground base04) + (popup-tip-face :foreground base00 :background base0A) + (popup-menu-mouse-face :foreground base00 :background base0D) + (popup-menu-selection-face :foreground base00 :background base0C) + + ;; company-mode + (company-tooltip :background base01 :inherit default) + (company-scrollbar-bg :background base07) + (company-scrollbar-fg :background base04) + (company-tooltip-annotation :foreground base08) + (company-tooltip-common :inherit font-lock-constant-face) + (company-tooltip-selection :background base02 :inherit font-lock-function-name-face) + (company-preview-common :inherit secondary-selection) + + ;; ivy-mode + (ivy-current-match :foreground base09 :background base01) + (ivy-minibuffer-match-face-1 :foreground base0E) + (ivy-minibuffer-match-face-2 :foreground base0D) + (ivy-minibuffer-match-face-3 :foreground base0C) + (ivy-minibuffer-match-face-4 :foreground base0B) + (ivy-confirm-face :foreground base0B) + (ivy-match-required-face :foreground base08) + (ivy-virtual :foreground base04) + (ivy-action :foreground base0D) + + ;; Flymake + (flymake-warnline :background base01 :underline base09) + (flymake-errline :background base01 :underline base08) + + ;; Clojure errors + (clojure-test-failure-face :background nil :inherit flymake-warnline) + (clojure-test-error-face :background nil :inherit flymake-errline) + (clojure-test-success-face :foreground nil :background nil :underline base0B) + + ;; For Brian Carper's extended clojure syntax table + (clojure-keyword :foreground base0A) + (clojure-parens :foreground base06) + (clojure-braces :foreground base0B) + (clojure-brackets :foreground base0A) + (clojure-double-quote :foreground base0C :background nil) + (clojure-special :foreground base0D) + (clojure-java-call :foreground base0E) + + ;; MMM-mode + (mmm-code-submode-face :background base03) + (mmm-comment-submode-face :inherit font-lock-comment-face) + (mmm-output-submode-face :background base03) + + ;; rainbow-delimiters + (rainbow-delimiters-depth-1-face :foreground base0E) + (rainbow-delimiters-depth-2-face :foreground base0D) + (rainbow-delimiters-depth-3-face :foreground base0C) + (rainbow-delimiters-depth-4-face :foreground base0B) + (rainbow-delimiters-depth-5-face :foreground base0A) + (rainbow-delimiters-depth-6-face :foreground base09) + (rainbow-delimiters-depth-7-face :foreground base08) + (rainbow-delimiters-depth-8-face :foreground base03) + (rainbow-delimiters-depth-9-face :foreground base05) + + ;; IDO + (ido-subdir :foreground base04) + (ido-first-match :foreground base09 :weight bold) + (ido-only-match :foreground base08 :weight bold) + (ido-indicator :foreground base08 :background base01) + (ido-virtual :foreground base04) + + ;; which-function + (which-func :foreground base0D :background nil :weight bold) + + (trailing-whitespace :foreground base0A :background base0C) + (whitespace-empty :foreground base08 :background base0A) + (whitespace-hspace :foreground base04 :background base04) + (whitespace-indentation :foreground base08 :background base0A) + (whitespace-line :foreground base0F :background base01) + (whitespace-newline :foreground base04) + (whitespace-space :foreground base04 :background base01) + (whitespace-space-after-tab :foreground base08 :background base0A) + (whitespace-space-before-tab :foreground base08 :background base09) + (whitespace-tab :foreground base04 :background base04) + (whitespace-trailing :foreground base0A :background base08) + + ;; Parenthesis matching (built-in) + (show-paren-match :foreground base03 :background base0D) + (show-paren-mismatch :foreground base03 :background base09) + + ;; Parenthesis matching (mic-paren) + (paren-face-match :foreground nil :background nil :inherit show-paren-match) + (paren-face-mismatch :foreground nil :background nil :inherit show-paren-mismatch) + (paren-face-no-match :foreground nil :background nil :inherit show-paren-mismatch) + + ;; Parenthesis dimming (parenface) + (paren-face :foreground base04 :background nil) + + (sh-heredoc :foreground nil :weight normal :inherit font-lock-string-face) + (sh-quoted-exec :foreground nil :inherit font-lock-preprocessor-face) + (slime-highlight-edits-face :weight bold) + (slime-repl-input-face :weight normal :underline nil) + (slime-repl-prompt-face :foreground base0E :underline nil :weight bold) + (slime-repl-result-face :foreground base0B) + (slime-repl-output-face :foreground base0D :background base01) + + (csv-separator-face :foreground base09) + + (diff-added :foreground base0B) + (diff-changed :foreground base0A) + (diff-removed :foreground base08) + (diff-header :background base01) + (diff-file-header :background base02) + (diff-hunk-header :foreground base0E :background base01) + + (diff-hl-change :foreground base0A) + (diff-hl-delete :foreground base08) + (diff-hl-insert :foreground base0B) + + (ediff-even-diff-A :foreground nil :background nil :inverse-video t) + (ediff-even-diff-B :foreground nil :background nil :inverse-video t) + (ediff-odd-diff-A :foreground base04 :background nil :inverse-video t) + (ediff-odd-diff-B :foreground base04 :background nil :inverse-video t) + + (eldoc-highlight-function-argument :foreground base0B :weight bold) + + ;; undo-tree + (undo-tree-visualizer-default-face :foreground base06) + (undo-tree-visualizer-current-face :foreground base0B :weight bold) + (undo-tree-visualizer-active-branch-face :foreground base08) + (undo-tree-visualizer-register-face :foreground base0A) + + ;; auctex + (font-latex-bold-face :foreground base0B) + (font-latex-doctex-documentation-face :background base03) + (font-latex-italic-face :foreground base0B) + (font-latex-math-face :foreground base09) + (font-latex-sectioning-0-face :foreground base0A) + (font-latex-sectioning-1-face :foreground base0A) + (font-latex-sectioning-2-face :foreground base0A) + (font-latex-sectioning-3-face :foreground base0A) + (font-latex-sectioning-4-face :foreground base0A) + (font-latex-sectioning-5-face :foreground base0A) + (font-latex-sedate-face :foreground base0C) + (font-latex-string-face :foreground base0A) + (font-latex-verbatim-face :foreground base09) + (font-latex-warning-face :foreground base08) + + ;; dired+ + (diredp-compressed-file-suffix :foreground base0D) + (diredp-dir-heading :foreground nil :background nil :inherit heading) + (diredp-dir-priv :foreground base0C :background nil) + (diredp-exec-priv :foreground base0D :background nil) + (diredp-executable-tag :foreground base08 :background nil) + (diredp-file-name :foreground base0A) + (diredp-file-suffix :foreground base0B) + (diredp-flag-mark-line :background nil :inherit highlight) + (diredp-ignored-file-name :foreground base04) + (diredp-link-priv :foreground base0E :background nil) + (diredp-mode-line-flagged :foreground base08) + (diredp-mode-line-marked :foreground base0B) + (diredp-no-priv :background nil) + (diredp-number :foreground base0A) + (diredp-other-priv :foreground base0E :background nil) + (diredp-rare-priv :foreground base08 :background nil) + (diredp-read-priv :foreground base0B :background nil) + (diredp-symlink :foreground base0E) + (diredp-write-priv :foreground base0A :background nil) + + ;; term and ansi-term + (term-color-black :foreground base02 :background base00) + (term-color-white :foreground base05 :background base07) + (term-color-red :foreground base08 :background base08) + (term-color-yellow :foreground base0A :background base0A) + (term-color-green :foreground base0B :background base0B) + (term-color-cyan :foreground base0C :background base0C) + (term-color-blue :foreground base0D :background base0D) + (term-color-magenta :foreground base0E :background base0E) + + (link :foreground nil :underline t) + (widget-button :underline t) + (widget-field :background base03 :box (:line-width 1 :color base06)) + + ;; Compilation (most faces politely inherit from 'success, 'error, 'warning etc.) + (compilation-column-number :foreground base0A) + (compilation-line-number :foreground base0A) + (compilation-message-face :foreground base0D) + (compilation-mode-line-exit :foreground base0B) + (compilation-mode-line-fail :foreground base08) + (compilation-mode-line-run :foreground base0D) + + ;; Grep + (grep-context-face :foreground base04) + (grep-error-face :foreground base08 :weight bold :underline t) + (grep-hit-face :foreground base0D) + (grep-match-face :foreground nil :background nil :inherit match) + + (regex-tool-matched-face :foreground nil :background nil :inherit match) + + ;; Cscope + (cscope-file-face :foreground base0B) + (cscope-function-face :foreground base0D) + (cscope-line-number-face :foreground base0A) + (cscope-mouse-face :foreground base04 :background base01) + (cscope-separator-face :foreground base08 :overline t :underline t :weight bold) + + ;; mark-multiple + (mm/master-face :foreground nil :background nil :inherit region) + (mm/mirror-face :foreground nil :background nil :inherit region) + + ;; org-mode + (org-agenda-structure :foreground base0E) + (org-agenda-date :foreground base0D :underline nil) + (org-agenda-done :foreground base0B) + (org-agenda-dimmed-todo-face :foreground base04) + (org-block :foreground base09) + (org-code :foreground base0A) + (org-column :background base01) + (org-column-title :weight bold :underline t :inherit org-column) + (org-date :foreground base0E :underline t) + (org-document-info :foreground base0C) + (org-document-info-keyword :foreground base0B) + (org-document-title :foreground base09 :weight bold :height 1.44) + (org-done :foreground base0B) + (org-ellipsis :foreground base04) + (org-footnote :foreground base0C) + (org-formula :foreground base08) + (org-hide :foreground base03) + (org-link :foreground base0D) + (org-scheduled :foreground base0B) + (org-scheduled-previously :foreground base09) + (org-scheduled-today :foreground base0B) + (org-special-keyword :foreground base09) + (org-table :foreground base0E) + (org-todo :foreground base08) + (org-upcoming-deadline :foreground base09) + (org-warning :foreground base08 :weight bold) + + (markdown-url-face :inherit link) + (markdown-link-face :foreground base0D :underline t) + + (hl-sexp-face :background base03) + (highlight-80+ :background base03) + + ;; Python-specific overrides + (py-builtins-face :foreground base09 :weight normal) + + ;; js2-mode + (js2-warning-face :underline base09) + (js2-error-face :foreground nil :underline base08) + (js2-external-variable-face :foreground base0E) + (js2-function-param-face :foreground base0D) + (js2-instance-member-face :foreground base0D) + (js2-private-function-call-face :foreground base08) + + ;; js3-mode + (js3-warning-face :underline base09) + (js3-error-face :foreground nil :underline base08) + (js3-external-variable-face :foreground base0E) + (js3-function-param-face :foreground base0D) + (js3-jsdoc-tag-face :foreground base09) + (js3-jsdoc-type-face :foreground base0C) + (js3-jsdoc-value-face :foreground base0A) + (js3-jsdoc-html-tag-name-face :foreground base0D) + (js3-jsdoc-html-tag-delimiter-face :foreground base0B) + (js3-instance-member-face :foreground base0D) + (js3-private-function-call-face :foreground base08) + + ;; nxml + (nxml-name-face :foreground unspecified :inherit font-lock-constant-face) + (nxml-attribute-local-name-face :foreground unspecified :inherit font-lock-variable-name-face) + (nxml-ref-face :foreground unspecified :inherit font-lock-preprocessor-face) + (nxml-delimiter-face :foreground unspecified :inherit font-lock-keyword-face) + (nxml-delimited-data-face :foreground unspecified :inherit font-lock-string-face) + (rng-error-face :underline base08) + + ;; RHTML + (erb-delim-face :background base03) + (erb-exec-face :background base03 :weight bold) + (erb-exec-delim-face :background base03) + (erb-out-face :background base03 :weight bold) + (erb-out-delim-face :background base03) + (erb-comment-face :background base03 :weight bold :slant italic) + (erb-comment-delim-face :background base03) + + ;; Message-mode + (message-header-other :foreground nil :background nil :weight normal) + (message-header-subject :foreground base0A :weight bold :inherit message-header-other) + (message-header-to :foreground base09 :weight bold :inherit message-header-other) + (message-header-cc :foreground nil :inherit message-header-to) + (message-header-name :foreground base0D :background nil) + (message-header-newsgroups :foreground base0C :background nil :slant normal) + (message-separator :foreground base0E) + + ;; Jabber + (jabber-chat-prompt-local :foreground base0A) + (jabber-chat-prompt-foreign :foreground base09) + (jabber-chat-prompt-system :foreground base0A :weight bold) + (jabber-chat-text-local :foreground base0A) + (jabber-chat-text-foreign :foreground base09) + (jabber-chat-text-error :foreground base08) + + (jabber-roster-user-online :foreground base0B) + (jabber-roster-user-xa :foreground base04) + (jabber-roster-user-dnd :foreground base0A) + (jabber-roster-user-away :foreground base09) + (jabber-roster-user-chatty :foreground base0E) + (jabber-roster-user-error :foreground base08) + (jabber-roster-user-offline :foreground base04) + + (jabber-rare-time-face :foreground base04) + (jabber-activity-face :foreground base0E) + (jabber-activity-personal-face :foreground base0C) + + ;; Gnus + (gnus-cite-1 :foreground nil :inherit outline-1) + (gnus-cite-2 :foreground nil :inherit outline-2) + (gnus-cite-3 :foreground nil :inherit outline-3) + (gnus-cite-4 :foreground nil :inherit outline-4) + (gnus-cite-5 :foreground nil :inherit outline-5) + (gnus-cite-6 :foreground nil :inherit outline-6) + (gnus-cite-7 :foreground nil :inherit outline-7) + (gnus-cite-8 :foreground nil :inherit outline-8) + ;; there are several more -cite- faces... + (gnus-header-content :inherit message-header-other) + (gnus-header-subject :inherit message-header-subject) + (gnus-header-from :foreground base09 :weight bold :inherit message-header-other-face) + (gnus-header-name :inherit message-header-name) + (gnus-button :foreground nil :inherit link) + (gnus-signature :inherit font-lock-comment-face) + + (gnus-summary-normal-unread :foreground base0D :weight normal) + (gnus-summary-normal-read :foreground base06 :weight normal) + (gnus-summary-normal-ancient :foreground base0C :weight normal) + (gnus-summary-normal-ticked :foreground base09 :weight normal) + (gnus-summary-low-unread :foreground base04 :weight normal) + (gnus-summary-low-read :foreground base04 :weight normal) + (gnus-summary-low-ancient :foreground base04 :weight normal) + (gnus-summary-high-unread :foreground base0A :weight normal) + (gnus-summary-high-read :foreground base0B :weight normal) + (gnus-summary-high-ancient :foreground base0B :weight normal) + (gnus-summary-high-ticked :foreground base09 :weight normal) + (gnus-summary-cancelled :foreground base08 :background nil :weight normal) + + (gnus-group-mail-low :foreground base04) + (gnus-group-mail-low-empty :foreground base04) + (gnus-group-mail-1 :foreground nil :weight normal :inherit outline-1) + (gnus-group-mail-2 :foreground nil :weight normal :inherit outline-2) + (gnus-group-mail-3 :foreground nil :weight normal :inherit outline-3) + (gnus-group-mail-4 :foreground nil :weight normal :inherit outline-4) + (gnus-group-mail-5 :foreground nil :weight normal :inherit outline-5) + (gnus-group-mail-6 :foreground nil :weight normal :inherit outline-6) + (gnus-group-mail-1-empty :foreground base04 :inherit gnus-group-mail-1) + (gnus-group-mail-2-empty :foreground base04 :inherit gnus-group-mail-2) + (gnus-group-mail-3-empty :foreground base04 :inherit gnus-group-mail-3) + (gnus-group-mail-4-empty :foreground base04 :inherit gnus-group-mail-4) + (gnus-group-mail-5-empty :foreground base04 :inherit gnus-group-mail-5) + (gnus-group-mail-6-empty :foreground base04 :inherit gnus-group-mail-6) + (gnus-group-news-1 :foreground nil :weight normal :inherit outline-5) + (gnus-group-news-2 :foreground nil :weight normal :inherit outline-6) + (gnus-group-news-3 :foreground nil :weight normal :inherit outline-7) + (gnus-group-news-4 :foreground nil :weight normal :inherit outline-8) + (gnus-group-news-5 :foreground nil :weight normal :inherit outline-1) + (gnus-group-news-6 :foreground nil :weight normal :inherit outline-2) + (gnus-group-news-1-empty :foreground base04 :inherit gnus-group-news-1) + (gnus-group-news-2-empty :foreground base04 :inherit gnus-group-news-2) + (gnus-group-news-3-empty :foreground base04 :inherit gnus-group-news-3) + (gnus-group-news-4-empty :foreground base04 :inherit gnus-group-news-4) + (gnus-group-news-5-empty :foreground base04 :inherit gnus-group-news-5) + (gnus-group-news-6-empty :foreground base04 :inherit gnus-group-news-6) + + (erc-direct-msg-face :foreground base09) + (erc-error-face :foreground base08) + (erc-header-face :foreground base06 :background base04) + (erc-input-face :foreground base0B) + (erc-keyword-face :foreground base0A) + (erc-current-nick-face :foreground base0B) + (erc-my-nick-face :foreground base0B) + (erc-nick-default-face :foreground base0E :weight normal) + (erc-nick-msg-face :foreground base0A :weight normal) + (erc-notice-face :foreground base04) + (erc-pal-face :foreground base09) + (erc-prompt-face :foreground base0D) + (erc-timestamp-face :foreground base0C) + + ;; helm + (helm-M-x-key :foreground base0C) + (helm-action :foreground base05) + (helm-buffer-directory :foreground base04 :background nil :weight bold) + (helm-buffer-file :foreground base0C) + (helm-buffer-not-saved :foreground base08) + (helm-buffer-process :foreground base03) + (helm-buffer-saved-out :foreground base0F) + (helm-buffer-size :foreground base09) + (helm-candidate-number :foreground base00 :background base09) + (helm-ff-directory :foreground base04 :background nil :weight bold) + (helm-ff-executable :foreground base0B) + (helm-ff-file :foreground base0C) + (helm-ff-invalid-symlink :foreground base00 :background base08) + (helm-ff-prefix :foreground nil :background nil) + (helm-ff-symlink :foreground base00 :background base0C) + (helm-grep-cmd-line :foreground base0B) + (helm-grep-file :foreground base0C) + (helm-grep-finish :foreground base00 :background base09) + (helm-grep-lineno :foreground base03) + (helm-grep-match :foreground base0A) + (helm-grep-running :foreground base09) + (helm-header :foreground base0A :background base00 :underline nil) + (helm-match :foreground base0A) + (helm-moccur-buffer :foreground base0C) + (helm-selection :foreground nil :background base02 :underline nil) + (helm-selection-line :foreground nil :background base02) + (helm-separator :foreground base02) + (helm-source-header :foreground base05 :background base01 :weight bold) + (helm-visible-mark :foreground base00 :background base0B) + + (custom-variable-tag :foreground base0D) + (custom-group-tag :foreground base0D) + (custom-state :foreground base0B))) + + ;; Anything leftover that doesn't fall neatly into a face goes here. + (let ((base00 (plist-get theme-colors :base00)) + (base01 (plist-get theme-colors :base01)) + (base02 (plist-get theme-colors :base01)) + (base03 (plist-get theme-colors :base01)) + (base04 (plist-get theme-colors :base01)) + (base05 (plist-get theme-colors :base01)) + (base06 (plist-get theme-colors :base01)) + (base07 (plist-get theme-colors :base01)) + (base08 (plist-get theme-colors :base01)) + (base09 (plist-get theme-colors :base01)) + (base0A (plist-get theme-colors :base01)) + (base0B (plist-get theme-colors :base01)) + (base0C (plist-get theme-colors :base01)) + (base0D (plist-get theme-colors :base01)) + (base0E (plist-get theme-colors :base01)) + (base0F (plist-get theme-colors :base01))) + (custom-theme-set-variables + theme-name + '(ansi-color-names-vector + ;; black, base08, base0B, base0A, base0D, magenta, cyan, white + [base00 base08 base0B base0A base0D base0E base0D base05]) + '(ansi-term-color-vector + ;; black, base08, base0B, base0A, base0D, magenta, cyan, white + [unspecified base00 base08 base0B base0A base0D base0E base0D base05])))) ;;;###autoload (and load-file-name diff --git a/base16-tomorrow-night-theme.el b/base16-tomorrow-night-theme.el index 32b9797..f7ebc76 100644 --- a/base16-tomorrow-night-theme.el +++ b/base16-tomorrow-night-theme.el @@ -30,23 +30,14 @@ :base0F "#a3685a") "All colors for Base16 Tomorrow Night are defined here.") -(base16-theme-define base16-tomorrow-night - (base00 "#1d1f21") - (base01 "#282a2e") - (base02 "#373b41") - (base03 "#969896") - (base04 "#b4b7b4") - (base05 "#c5c8c6") - (base06 "#e0e0e0") - (base07 "#ffffff") - (base08 "#cc6666") - (base09 "#de935f") - (base0A "#f0c674") - (base0B "#b5bd68") - (base0C "#8abeb7") - (base0D "#81a2be") - (base0E "#b294bb") - (base0F "#a3685a")) +;; Define the theme +(deftheme base16-tomorrow-night) + +;; Add all the faces to the theme +(base16-theme-define 'base16-tomorrow-night base16-tomorrow-night-colors) + +;; Mark the theme as provided +(provide-theme 'base16-tomorrow-night) (provide 'base16-tomorrow-night-theme) diff --git a/base16-tomorrow-theme.el b/base16-tomorrow-theme.el index b38a5ee..902b2cd 100644 --- a/base16-tomorrow-theme.el +++ b/base16-tomorrow-theme.el @@ -30,23 +30,14 @@ :base0F "#a3685a") "All colors for Base16 Tomorrow are defined here.") -(base16-theme-define base16-tomorrow - (base00 "#ffffff") - (base01 "#e0e0e0") - (base02 "#d6d6d6") - (base03 "#8e908c") - (base04 "#969896") - (base05 "#4d4d4c") - (base06 "#282a2e") - (base07 "#1d1f21") - (base08 "#c82829") - (base09 "#f5871f") - (base0A "#eab700") - (base0B "#718c00") - (base0C "#3e999f") - (base0D "#4271ae") - (base0E "#8959a8") - (base0F "#a3685a")) +;; Define the theme +(deftheme base16-tomorrow) + +;; Add all the faces to the theme +(base16-theme-define 'base16-tomorrow base16-tomorrow-colors) + +;; Mark the theme as provided +(provide-theme 'base16-tomorrow) (provide 'base16-tomorrow-theme) diff --git a/base16-twilight-theme.el b/base16-twilight-theme.el index 5cbe8d3..f7874b6 100644 --- a/base16-twilight-theme.el +++ b/base16-twilight-theme.el @@ -30,23 +30,14 @@ :base0F "#9b703f") "All colors for Base16 Twilight are defined here.") -(base16-theme-define base16-twilight - (base00 "#1e1e1e") - (base01 "#323537") - (base02 "#464b50") - (base03 "#5f5a60") - (base04 "#838184") - (base05 "#a7a7a7") - (base06 "#c3c3c3") - (base07 "#ffffff") - (base08 "#cf6a4c") - (base09 "#cda869") - (base0A "#f9ee98") - (base0B "#8f9d6a") - (base0C "#afc4db") - (base0D "#7587a6") - (base0E "#9b859d") - (base0F "#9b703f")) +;; Define the theme +(deftheme base16-twilight) + +;; Add all the faces to the theme +(base16-theme-define 'base16-twilight base16-twilight-colors) + +;; Mark the theme as provided +(provide-theme 'base16-twilight) (provide 'base16-twilight-theme) diff --git a/templates/default.mustache b/templates/default.mustache index 7de4625..082edb2 100644 --- a/templates/default.mustache +++ b/templates/default.mustache @@ -30,23 +30,14 @@ :base0F "#{{base0F-hex}}") "All colors for Base16 {{scheme-name}} are defined here.") -(base16-theme-define base16-{{scheme-slug}} - (base00 "#{{base00-hex}}") - (base01 "#{{base01-hex}}") - (base02 "#{{base02-hex}}") - (base03 "#{{base03-hex}}") - (base04 "#{{base04-hex}}") - (base05 "#{{base05-hex}}") - (base06 "#{{base06-hex}}") - (base07 "#{{base07-hex}}") - (base08 "#{{base08-hex}}") - (base09 "#{{base09-hex}}") - (base0A "#{{base0A-hex}}") - (base0B "#{{base0B-hex}}") - (base0C "#{{base0C-hex}}") - (base0D "#{{base0D-hex}}") - (base0E "#{{base0E-hex}}") - (base0F "#{{base0F-hex}}")) +;; Define the theme +(deftheme base16-{{scheme-slug}}) + +;; Add all the faces to the theme +(base16-theme-define 'base16-{{scheme-slug}} base16-{{scheme-slug}}-colors) + +;; Mark the theme as provided +(provide-theme 'base16-{{scheme-slug}}) (provide 'base16-{{scheme-slug}}-theme)