mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-04-26 06:34 pm

[dw-nonfree] Wizard subheaders cleanup

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/ad34fff4f6bb]

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

Cleanup wizard headings for Transmogrified.

Patch by [personal profile] afuna.

Files modified:
  • cgi-bin/LJ/S2Theme/transmogrified.pm
--------------------------------------------------------------------------------
diff -r 13cad5b0d2b6 -r ad34fff4f6bb cgi-bin/LJ/S2Theme/transmogrified.pm
--- a/cgi-bin/LJ/S2Theme/transmogrified.pm	Fri Apr 24 04:43:26 2009 +0000
+++ b/cgi-bin/LJ/S2Theme/transmogrified.pm	Sun Apr 26 18:34:10 2009 +0000
@@ -4,4 +4,72 @@ sub cats { qw( featured ) }
 sub cats { qw( featured ) }
 sub designer { "Yvonne" }
 
+sub page_props {
+    my $self = shift;
+    my @props = qw( color_page_title_background color_main_background );
+    return $self->_append_props( "page_props", @props );
+}
+
+sub header_props {
+    my $self = shift;
+    my @props = qw( color_header_background color_header_text color_header_hover_background color_header_hover );
+    return $self->_append_props( "header_props", @props );
+}
+
+sub module_props {
+    my $self = shift;
+    my @props = qw( color_module_title_background color_module_title_border );
+    return $self->_append_props( "module_props", @props );
+}
+
+sub entry_props {
+    my $self = shift;
+    my @props = qw(
+        color_entry_title_border
+        color_entry_title_background
+        color_entry_border_alt
+        color_entry_background_alt
+        color_entry_link_alt
+        color_entry_text_alt
+        color_entry_subject_alt
+        color_entry_subject_alt_border
+        color_entry_subject_alt_background
+    );
+    return $self->_append_props( "entry_props", @props );
+}
+
+sub comment_props {
+    my $self = shift;
+    my @props = qw( color_comments_form_border );
+    return $self->_append_props( "comment_props", @props );
+}
+
+sub footer_props {
+    my $self = shift;
+    my @props = qw( color_footer_background color_footer_text color_footer_link );
+    return $self->_append_props( "footer_props", @props );
+}
+
+sub archive_props {
+    my $self = shift;
+    my @props = qw( 
+        color_archivemonth_background
+        color_archivemonth_border
+        color_archivemonth_title_background
+        color_archivemonth_title_border
+        color_archivemonth_title
+    );
+    return $self->_append_props( "archive_props", @props );
+}
+
+sub navigation_props {
+    my $self = shift;
+    my @props = qw(
+        color_navigation_background
+        color_navigation_text
+        color_navigation_border
+    );
+    return $self->_append_props( "navigation_props", @props );
+}
+
 1;
--------------------------------------------------------------------------------