afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-11-08 06:03 pm

[dw-free] Theme: Light on Dark (Bases)

[commit: http://hg.dwscoalition.org/dw-free/rev/6bc8ab85cd66]

http://bugs.dwscoalition.org/show_bug.cgi?id=1938

Light on Dark theme for Bases by [personal profile] cesy

Patch and screenshot by 900degrees.

Files modified:
  • bin/upgrading/s2layers/bases/themes.s2
  • cgi-bin/LJ/S2Theme/bases.pm
  • htdocs/img/customize/previews/bases/lightondark.png
--------------------------------------------------------------------------------
diff -r 777603d4f97f -r 6bc8ab85cd66 bin/upgrading/s2layers/bases/themes.s2
--- a/bin/upgrading/s2layers/bases/themes.s2	Sun Nov 08 17:54:03 2009 +0000
+++ b/bin/upgrading/s2layers/bases/themes.s2	Sun Nov 08 18:02:27 2009 +0000
@@ -1,3 +1,54 @@
+#NEWLAYER: bases/lightondark
+layerinfo type = "theme";
+layerinfo name = "Light On Dark";
+layerinfo redist_uniq = "bases/lightondark";
+layerinfo author_name = "cesy";
+
+set layout_authors = [ { "name" => "cesy", "type" => "user" }];
+
+set color_page_background = "#000000";
+set color_page_text = "#ffffff";
+set color_page_link = "#ddddff";
+set color_page_link_active = "#ffcccc";
+set color_page_border = "#ffffff";
+set color_page_title = "#000066";
+set color_page_link_hover = "#ccffcc";
+set color_page_link_visited = "#ffffcc";
+
+set color_header_background = "#cccccc";
+
+set color_module_background = "#000000";
+set color_module_border = "#ffffff";
+set color_module_link = "#ddddff";
+set color_module_link_active = "#ffcccc";
+set color_module_link_hover = "#ccffcc";
+set color_module_link_visited = "#ffffcc";
+set color_module_text = "#ffffff";
+set color_module_title = "#ffffff";
+set color_module_title_background = "#666666";
+
+set color_entry_background = "#000000";
+set color_entry_border = "#ffffff";
+set color_entry_interaction_links = "#ffffff";
+set color_entry_link = "#ddddff";
+set color_entry_link_active = "#ffcccc";
+set color_entry_link_hover = "#ccffcc";
+set color_entry_link_visited = "#ffffcc";
+set color_entry_text = "#ffffff";
+set color_entry_title = "#ffffff";
+set color_entry_title_background = "#660066";
+
+set color_comment_title_background = "#000000";
+
+function Page::print_theme_stylesheet()
+{
+"""
+.module-navlinks .module-list-item a:hover {background: #660066 !important;}
+.module-navlinks .module-list-item a.current {background: #660066 !important;}
+""";
+}
+
+
 #NEWLAYER: bases/strawberrysundae
 layerinfo type = "theme";
 layerinfo name = "Strawberry Sundae";
diff -r 777603d4f97f -r 6bc8ab85cd66 cgi-bin/LJ/S2Theme/bases.pm
--- a/cgi-bin/LJ/S2Theme/bases.pm	Sun Nov 08 17:54:03 2009 +0000
+++ b/cgi-bin/LJ/S2Theme/bases.pm	Sun Nov 08 18:02:27 2009 +0000
@@ -5,6 +5,11 @@ sub layout_prop { "layout_type" }
 sub layout_prop { "layout_type" }
 
 sub designer { "Malionette" }
+
+package LJ::S2Theme::bases::lightondark;
+use base qw( LJ::S2Theme::bases );
+sub cats { qw( ) }
+sub designer { "cesy" }
 
 package LJ::S2Theme::bases::strawberrysundae;
 use base qw( LJ::S2Theme::bases );
diff -r 777603d4f97f -r 6bc8ab85cd66 htdocs/img/customize/previews/bases/lightondark.png
Binary file htdocs/img/customize/previews/bases/lightondark.png has changed
--------------------------------------------------------------------------------