[wp-trac] [WordPress Trac] #26315: Grunt: RTL & CSSMin Color schemes
WordPress Trac
noreply at wordpress.org
Sun Dec 1 06:25:17 UTC 2013
#26315: Grunt: RTL & CSSMin Color schemes
--------------------------+------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.8
Component: Build Tools | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------
Comment (by dd32):
Upon further thinking here.. It might be best to make all colour schemes
not require a RTL variant at all.
This would mean removing cases like `border-left: 4px solid #7ad03a;` and
replacing it with `border-left-color: #7ad03a`, and adding the appropriate
`border-left:` declaration in the standard stylesheets, `box-shadow:`
could cause a bit of pain though, as will gradients.
This has several benefits, the primary one being that 3rd party colour
schemes will not have to include .rtl variants and we don't need to make
significant changes to our existing colour stylesheet code.
In the event that we DO require 2 different colour borders on an element,
we'd have to use `.rtl` ourselves in the stylesheet instead.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26315#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list