Making WordPress.org


Ignore:
Timestamp:
08/23/2016 10:35:28 PM (10 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/typography/_copy.scss

    r3676 r3847  
    66        &.subheading {
    77                color: #82878c;
    8                 @include font-size( ms-unitless( ms(2) ) );
     8                font-size: ms( 2 );
    99                font-weight: 300;
    10                 margin: -6.4px auto 32px;
    1110                margin: -0.4rem auto 2rem;
    1211                text-align: center;
     
    1413
    1514        &.intro {
    16                 @include font-size( ms-unitless( ms(2) ) );
     15                font-size: ms( 2 );
    1716        }
    1817
    1918        &.aside {
    20                 @include font-size( ms-unitless( ms(-2) ) );
     19                font-size: ms( -2 );
    2120        }
    2221
    2322        &.note {
    24                 @include font-size( ms-unitless( ms(-4) ) );
    25                 letter-spacing: 0.16px;
     23                font-size: ms( -4 );
    2624                letter-spacing: 0.01rem;
    2725                max-width: ms(26);
     
    4442        background: $color__background-pre;
    4543        font-family: $font__pre;
    46         @include font-size(0.9375);
     44        font-size: 0.9375rem;
    4745        line-height: $font__line-height-pre;
    4846        margin-bottom: 1.6em;
     
    5452code, kbd, tt, var {
    5553        font-family: $font__code;
    56         @include font-size(0.9375);
     54        font-size: 0.9375rem;
    5755}
    5856
Note: See TracChangeset for help on using the changeset viewer.