#1178 closed defect (bug) (fixed)
Improve WordPress.org RTL styles and generate RTLCSS via a Grunt task
Reported by: | netweb | Owned by: | obenland |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | General | Keywords: | has-patch needs-refresh |
Cc: |
Description
Improve WordPress.org RTL styles generated by RTLCSS
Similar to r1771 a Gruntfile was added to generate the RTL WordPress.org Themes styles.
Attached patch adds a grunt task grunt build
(or grunt rtlcss
) to generate RTL stylesheets for the following:
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/style
forum-wp4-rtl.css
wp4-rtl.css
Note: An svn:ignore
property should also be added for the node_modules
folder
Attachments (2)
Change History (13)
This ticket was mentioned in Slack in #meta by sam. View the logs.
9 years ago
#6
follow-up:
↓ 7
@
9 years ago
- Keywords needs-refresh added
Is there a way to combine the tasks with the theme directory sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes and other projects? Some type of "global tasks"?
#7
in reply to:
↑ 6
@
9 years ago
Replying to ocean90:
Is there a way to combine the tasks with the theme directory sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes and other projects? Some type of "global tasks"?
Probably remove the tasks in the above repo and add a more "global tasks" config further up the repo, the CSS in most of the following top level folders could probably do with this enhancement:
- https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/style
- https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins
- https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/themes
Adding a Gruntfile.js
and package.json
at https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org and then checking for CSS/JS in all folders under /public_html
is the option that comes to mind at the moment.
In 1178.diff is the base patch and 1178-rtlcss.diff is the result of running
grunt build
from the/style
folder