WordPress.org

Making WordPress.org


Ignore:
Timestamp:
08/23/2016 10:35:28 PM (3 years ago)
Author:
obenland
Message:

Plugin Directory: Restructuring Sass and React client.

Merges Sass files into the React component structure. This allows styles to be
bundled with their React components. In an ideal world that would extend to
their PHP fallback templates as well, but it remains to be seen how feasible
that is.
Also introduces Sass Globbing and Pixrem pre-processing to automatically import
Sass files and add pixel fallbacks for rem values.

See #1719.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/styles/site/_site.scss

    r3825 r3847  
    1 /*--------------------------------------------------------------
    2 ## Header
    3 --------------------------------------------------------------*/
    4 @import "header";
    5 
    6 /*--------------------------------------------------------------
    7 ## Front Page
    8 --------------------------------------------------------------*/
    9 @import "primary/front-page";
    10 
    111/*--------------------------------------------------------------
    122## Body
    133--------------------------------------------------------------*/
    14 @import "primary/main";
    15 @import "primary/plugin/index";
    164@import "primary/plugin/single";
    17 
    18 /*--------------------------------------------------------------
    19 ## Template Hierarchy
    20 --------------------------------------------------------------*/
    21 @import "primary/404";
    22 
    23 @import "primary/page";
    24 @import "archive";
    25 @import "search";
    26 
    27 /*--------------------------------------------------------------
    28 ## Comments
    29 --------------------------------------------------------------*/
    30 @import "primary/comments";
    315
    326/*--------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.