[wp-trac] [WordPress Trac] #18211: Paint the Tracshed

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 25 19:28:44 UTC 2011


#18211: Paint the Tracshed
----------------------------+----------------------------
 Reporter:  nacin           |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  WordPress.org
Component:  Graphic Design  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+----------------------------

Comment (by nacin):

 Should be noted though that a touch of the inline rules are actually for
 the benefit of the bbPress and BuddyPress stylings:

 {{{
 .wp-notice { background: ${bg_color}; border: 2px solid ${accent_color} }
 .  .  .
 :link, :visited, dt em, .milestone .info h2 em,
 #content.build h2.config :link,
 #content.build h2.config :visited { color: ${accent_color}; }
 }}}

 Here's what we use in our templating file:
 {{{
         if project_slug == 'bbpress' :
                 profile_link = 'http://bbpress.org/forums/profile/'
                 support_link = 'http://bbpress.org/forums/'
                 accent_color = '#080'
                 bg_color = '#eaf9ed'
         elif project_slug == 'buddypress' :
                 profile_link = 'http://buddypress.org/community/members/'
                 support_link = 'http://buddypress.org/support/topics/'
                 accent_color = '#d84800'
                 bg_color = '#fff3ec'
         else :
                 support_link = 'http://wordpress.org/support/'
                 profile_link = 'http://profiles.wordpress.org/users/'
                 accent_color = '#21759b'
                 bg_color = '#eff6f9'
 }}}

 If there are any colors that should be tweaked across the different color
 schemes, we can continue to sprinkle in a few more inline styles.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18211#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list