[wp-trac] [WordPress Trac] #22862: Consider a CSS preprocessor

WordPress Trac noreply at wordpress.org
Tue Aug 6 09:07:32 UTC 2013


#22862: Consider a CSS preprocessor
-----------------------------+------------------------------
 Reporter:  chriswallace     |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by TJNowell):

 One should bear in mind that using lessphp allowed WP-LESS to add filters
 and hooks for Less variables. One can use a variable in LESS whose value
 was defined in the theme customiser in PHP, and it re-generates the
 stylesheet as those values change.

 The benefit of this being that you could have instead of a blue and a
 green and a red admin style, you could have a single style with a colour
 picker and let the user choose what they like best, and have the
 stylesheet procedurally generate the colours via math.

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


More information about the wp-trac mailing list