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 copied
1 moved

Legend:

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

    r3844 r3847  
    1 @import "variables-site/variables-site";
    2 @import "mixins/mixins-master";
     1@import "styles/variables-site/variables-site";
     2@import "styles/mixins/mixins-master";
    33
    44/*--------------------------------------------------------------
    55# Normalize
    66--------------------------------------------------------------*/
    7 @import "normalize";
     7@import "styles/normalize";
    88
    99/*--------------------------------------------------------------
    1010# Typography
    1111--------------------------------------------------------------*/
    12 @import "typography/typography";
     12@import "styles/typography/typography";
    1313
    1414/*--------------------------------------------------------------
    1515# Elements
    1616--------------------------------------------------------------*/
    17 @import "elements/elements";
     17@import "styles/elements/elements";
    1818
    1919/*--------------------------------------------------------------
    2020# Forms
    2121--------------------------------------------------------------*/
    22 @import "forms/forms";
     22@import "styles/forms/forms";
    2323
    2424/*--------------------------------------------------------------
    2525# Navigation
    2626--------------------------------------------------------------*/
    27 @import "navigation/navigation";
     27@import "styles/navigation/navigation";
    2828
    2929/*--------------------------------------------------------------
    3030# Accessibility
    3131--------------------------------------------------------------*/
    32 @import "modules/accessibility";
     32@import "styles/modules/accessibility";
    3333
    3434/*--------------------------------------------------------------
    3535# Alignments
    3636--------------------------------------------------------------*/
    37 @import "modules/alignments";
     37@import "styles/modules/alignments";
    3838
    3939/*--------------------------------------------------------------
    4040# Clearings
    4141--------------------------------------------------------------*/
    42 @import "modules/clearings";
    43 
    44 /*--------------------------------------------------------------
    45 # Widgets
    46 --------------------------------------------------------------*/
    47 @import "site/secondary/widgets";
     42@import "styles/modules/clearings";
    4843
    4944/*--------------------------------------------------------------
    5045# Content
    5146--------------------------------------------------------------*/
    52 @import "site/site";
     47@import "styles/site/site";
    5348
    5449/*--------------------------------------------------------------
    5550# Infinite scroll
    5651--------------------------------------------------------------*/
    57 @import "modules/infinite-scroll";
     52@import "styles/modules/infinite-scroll";
    5853
    5954/*--------------------------------------------------------------
    6055# Media
    6156--------------------------------------------------------------*/
    62 @import "media/media";
     57@import "styles/media/media";
     58
     59/*--------------------------------------------------------------
     60# Components
     61--------------------------------------------------------------*/
     62@import "styles/components";
Note: See TracChangeset for help on using the changeset viewer.