Repository navigation
Twenty Nineteen sass adjustments, replacing import
#68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
sabernhardt
wants to merge
8
commits into
trunk
Choose a base branch
from
t19-sass-replace-import
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
d105ae6
audit fix
sabernhardt 7b3beea
npm dedupe
sabernhardt 7affe17
run build commands sequentially
sabernhardt 2954d79
fix global-builtin deprecation
sabernhardt 782a5f8
fix slash-div deprecations in font variables
sabernhardt 34a3b1f
fix slash-div deprecations in comments styles
sabernhardt 7bcfab8
replace `@import`, adding file header files
sabernhardt 29c5561
Merge remote-tracking branch 'upstream/trunk' into t19-sass-replace-i…
sabernhardt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| /* Normalize */ | ||
| /*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */ | ||
|
|
||
| /* Document | ||
|
|
||
7 changes: 7 additions & 0 deletions
7
src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/wp-content/themes/twentynineteen/sass/elements/_lists.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/wp-content/themes/twentynineteen/sass/elements/_tables.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/wp-content/themes/twentynineteen/sass/forms/_buttons.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,2 @@ | ||
| @import "buttons"; | ||
|
|
||
| @import "fields"; | ||
| @use "buttons" as *; | ||
| @use "fields" as *; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
|
|
||
| /* Layout */ | ||
| /** === Layout === */ | ||
|
|
||
| #page { | ||
|
|
||
10 changes: 10 additions & 0 deletions
10
src/wp-content/themes/twentynineteen/sass/media/_captions.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/wp-content/themes/twentynineteen/sass/media/_galleries.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/wp-content/themes/twentynineteen/sass/mixins/_utilities.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/wp-content/themes/twentynineteen/sass/modules/_accessibility.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/wp-content/themes/twentynineteen/sass/modules/_alignments.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/wp-content/themes/twentynineteen/sass/modules/_clearings.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| @use "../mixins/mixins-master" as *; | ||
|
|
||
| /* Clearings */ | ||
| .clear:before, | ||
| .clear:after, | ||
| .entry-content:before, | ||
|
|
||
5 changes: 5 additions & 0 deletions
5
src/wp-content/themes/twentynineteen/sass/modules/_file-header-editor.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| /*! | ||
| Twenty Nineteen Editor Styles | ||
| */ | ||
|
|
||
| /** === Includes === */ |
63 changes: 63 additions & 0 deletions
63
src/wp-content/themes/twentynineteen/sass/modules/_file-header.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| /* | ||
| Theme Name: Twenty Nineteen | ||
| Theme URI: https://wordpress.org/themes/twentynineteen/ | ||
| Author: the WordPress team | ||
| Author URI: https://wordpress.org/ | ||
| Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether you’re running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes. | ||
| Tested up to: 7.1 | ||
| Requires at least: 4.7 | ||
| Requires PHP: 5.2.4 | ||
| Version: 3.4 | ||
| License: GNU General Public License v2 or later | ||
| License URI: http://www.gnu.org/licenses/gpl-2.0.html | ||
| Text Domain: twentynineteen | ||
| Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready, block-patterns | ||
|
|
||
| This theme, like WordPress, is licensed under the GPL. | ||
| Use it to make something cool, have fun, and share what you've learned with others. | ||
|
|
||
| Twenty Nineteen is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc. | ||
| Underscores is distributed under the terms of the GNU GPL v2 or later. | ||
|
|
||
| Normalizing styles have been helped along thanks to the fine work of | ||
| Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ | ||
|
|
||
| Bundled block pattern images: | ||
| Abstract Background by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-background-0SRRVNMKBX | ||
| Abstract Waves by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-waves-0KREGLTZQ3 | ||
| Abstract Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-bokeh-P4KVZBMQ6L | ||
| Colorful Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/colorful-bokeh-VN4G84GL8H | ||
| */ | ||
|
|
||
| /*-------------------------------------------------------------- | ||
| >>> TABLE OF CONTENTS: | ||
| ---------------------------------------------------------------- | ||
| # Variables | ||
| # Normalize | ||
| # Typography | ||
| ## Headings | ||
| ## Copy | ||
| # Elements | ||
| ## Lists | ||
| ## Tables | ||
| # Forms | ||
| ## Buttons | ||
| ## Fields | ||
| # Navigation | ||
| ## Links | ||
| ## Menus | ||
| ## Next & Previous | ||
| # Accessibility | ||
| # Alignments | ||
| # Clearings | ||
| # Layout | ||
| # Widgets | ||
| # Content | ||
| ## Archives | ||
| ## Posts and pages | ||
| ## Comments | ||
| # Blocks | ||
| # Media | ||
| ## Captions | ||
| ## Galleries | ||
| --------------------------------------------------------------*/ |
7 changes: 7 additions & 0 deletions
7
src/wp-content/themes/twentynineteen/sass/navigation/_links.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/wp-content/themes/twentynineteen/sass/navigation/_menu-main-navigation.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/wp-content/themes/twentynineteen/sass/navigation/_menu-social-navigation.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 5 additions & 16 deletions
21
src/wp-content/themes/twentynineteen/sass/navigation/_navigation.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,5 @@ | ||
| /*-------------------------------------------------------------- | ||
| ## Links | ||
| --------------------------------------------------------------*/ | ||
| @import "links"; | ||
|
|
||
| /*-------------------------------------------------------------- | ||
| ## Menus | ||
| --------------------------------------------------------------*/ | ||
| @import "menu-main-navigation"; | ||
| @import "menu-social-navigation"; | ||
| @import "menu-footer-navigation"; | ||
|
|
||
| /*-------------------------------------------------------------- | ||
| ## Next / Previous | ||
| --------------------------------------------------------------*/ | ||
| @import "next-previous"; | ||
| @use "links" as *; | ||
| @use "menu-main-navigation" as *; | ||
| @use "menu-social-navigation" as *; | ||
| @use "menu-footer-navigation" as *; | ||
| @use "next-previous" as *; |
10 changes: 10 additions & 0 deletions
10
src/wp-content/themes/twentynineteen/sass/navigation/_next-previous.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,6 @@ | ||
|
|
||
| /*-------------------------------------------------------------- | ||
| ## Header | ||
| --------------------------------------------------------------*/ | ||
| @import "header/site-header"; | ||
| @import "header/site-featured-image"; | ||
|
|
||
| /*-------------------------------------------------------------- | ||
| ## Posts and pages | ||
| --------------------------------------------------------------*/ | ||
| @import "primary/posts-and-pages"; | ||
|
|
||
| /*-------------------------------------------------------------- | ||
| ## Comments | ||
| --------------------------------------------------------------*/ | ||
| @import "primary/comments"; | ||
|
|
||
| /*-------------------------------------------------------------- | ||
| ## Archives | ||
| --------------------------------------------------------------*/ | ||
| @import "primary/archives"; | ||
|
|
||
| /*-------------------------------------------------------------- | ||
| ## Footer | ||
| --------------------------------------------------------------*/ | ||
| @import "footer/site-footer"; | ||
|
|
||
| @use "header/site-header" as *; | ||
| @use "header/site-featured-image" as *; | ||
| @use "primary/posts-and-pages" as *; | ||
| @use "primary/comments" as *; | ||
| @use "primary/archives" as *; | ||
| @use "footer/site-footer" as *; |
8 changes: 8 additions & 0 deletions
8
src/wp-content/themes/twentynineteen/sass/site/footer/_site-footer.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/wp-content/themes/twentynineteen/sass/site/header/_site-featured-image.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/wp-content/themes/twentynineteen/sass/site/header/_site-header.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
_listsstylesheet is moved after_elements, placing theimg,figureandblockquoterules before lists.