Add new theme Scarlet for layout Modish.

        Patch by afuna. 

diffs (82 lines):

diff -r 5aa1e1c71f14 -r 4eca0856a596 bin/upgrading/s2layers-local.dat
--- a/bin/upgrading/s2layers-local.dat  Sat Aug 08 18:20:02 2009 +0000
+++ b/bin/upgrading/s2layers-local.dat  Sat Aug 08 18:30:15 2009 +0000
@@ -1,5 +1,7 @@
 ################################################################
 # base filename         layer type      parent
+
+modish/themes-local     theme+          modish/layout
 
 transmogrified/layout   layout          core2
 transmogrified/themes   theme+          transmogrified/layout
diff -r 5aa1e1c71f14 -r 4eca0856a596 
bin/upgrading/s2layers/modish/themes-local.s2
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/upgrading/s2layers/modish/themes-local.s2     Sat Aug 08 18:30:15 
2009 +0000
@@ -0,0 +1,45 @@
+#NEWLAYER: modish/scarlet
+layerinfo "type" = "theme";
+layerinfo "name" = "Modish Scarlet";
+layerinfo redist_uniq = "modish/scarlet";
+layerinfo author_name = "branchandroot";
+
+set layout_resources = [ { "name" => "Stock.XCHNG", "url" => 
"http://www.sxc.hu"; } ];
+
+##===============================
+## Page Colors
+##===============================
+
+set color_page_background = "#ffffff";
+set color_page_text = "#222222";
+set color_page_link = "#B82015";
+set color_page_link_active = "#444444";
+set color_page_link_visited = "#850B0D";
+set color_page_title = "#ffffff";
+
+set color_header_background = "#B82015";
+set color_footer_background = "#B82015";
+
+##===============================
+## Entry Colors
+##===============================
+
+set color_entry_title = "#222222";
+set color_entry_title_background = "";
+set color_entry_border = "#B82015";
+
+##===============================
+## Module Colors
+##===============================
+
+set color_module_title = "#222222";
+set color_module_border = "#B82015";
+
+#=================
+# Images
+#=================
+
+set image_background_header_url = "modish/scarlet.jpg";
+set image_background_header_repeat = "no-repeat";
+set image_background_header_position = "bottom right";
+set image_background_header_height = 100;
diff -r 5aa1e1c71f14 -r 4eca0856a596 cgi-bin/LJ/S2Theme/modish_local.pm
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cgi-bin/LJ/S2Theme/modish_local.pm        Sat Aug 08 18:30:15 2009 +0000
@@ -0,0 +1,5 @@
+package LJ::S2Theme::modish::scarlet;
+use base qw( LJ::S2Theme::modish );
+sub cats { qw( featured ) }
+
+1;
diff -r 5aa1e1c71f14 -r 4eca0856a596 cgi-bin/LJ/S2Theme_local.pm
--- a/cgi-bin/LJ/S2Theme_local.pm       Sat Aug 08 18:20:02 2009 +0000
+++ b/cgi-bin/LJ/S2Theme_local.pm       Sat Aug 08 18:30:15 2009 +0000
@@ -4,6 +4,7 @@ use Carp qw(croak);
 
 sub local_default_themes {
     return (
+        modish => 'modish/scarlet',
         transmogrified => 'transmogrified/basic',
     );
 }
diff -r 5aa1e1c71f14 -r 4eca0856a596 htdocs/stc/modish/scarlet.jpg
Binary file htdocs/stc/modish/scarlet.jpg has changed
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to