commit 3819bdaf1addc2d4a9857eef9a087c3974e91c94
parent c1fe58dab71f67a2c43738c0fa016f3e33bd38ee
Author: Thomas Frössman <thomasf@jossystem.se>
Date: Sat, 27 Jun 2015 22:33:01 +0200
Add child theme example.
Diffstat:
3 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/child-theme-example/my-solarized.el b/child-theme-example/my-solarized.el
@@ -0,0 +1,8 @@
+(defun my-solarized-theme ()
+ "My solarized child theme."
+ (custom-theme-set-faces
+ theme-name
+ `(default ((,class (:foreground ,red :background ,base03))))
+ ))
+
+(provide 'my-solarized)
diff --git a/child-theme-example/themes/my-solarized-dark-theme.el b/child-theme-example/themes/my-solarized-dark-theme.el
@@ -0,0 +1,9 @@
+(require 'solarized)
+(require 'my-solarized)
+
+;; This files needs to be places iside the custom-theme-load-path list
+
+(deftheme my-solarized-dark "The light variant of the Solarized colour theme")
+(create-solarized-theme 'dark 'my-solarized-dark 'my-solarized-theme)
+
+(provide-theme 'my-solarized-dark)
diff --git a/child-theme-example/themes/my-solarized-light-theme.el b/child-theme-example/themes/my-solarized-light-theme.el
@@ -0,0 +1,9 @@
+(require 'solarized)
+(require 'my-solarized)
+
+;; This files needs to be places iside the custom-theme-load-path list
+
+(deftheme my-solarized-light "The light variant of the Solarized colour theme")
+(create-solarized-theme 'light 'my-solarized-light 'my-solarized-theme)
+
+(provide-theme 'my-solarized-light)