Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/wp-content/themes/twentynineteen/sass/_normalize.scss
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
Expand Down
7 changes: 7 additions & 0 deletions src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
@use "../mixins/mixins-master" as *;
@use "../mixins/utilities" as *;
@use "../variables-site/colors" as *;
@use "../variables-site/fonts" as *;
@use "../variables-site/structure" as *;

/* Blocks */
/* !Block styles */


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
@use "../mixins/mixins-master" as *;
@use "../mixins/utilities" as *;
@use "../variables-site/colors" as *;
@use "../variables-site/structure" as *;

/* Elements */
html {
box-sizing: border-box;
}
Expand Down Expand Up @@ -56,8 +62,6 @@ hr {
height: 2px;
}

@import "lists";

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The _lists stylesheet is moved after _elements, placing the img, figure and blockquote rules before lists.


img {
height: auto;
max-width: 100%;
Expand All @@ -81,5 +85,3 @@ blockquote {
color: $color__text-light;
}
}

@import "tables";
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use "../variables-site/fonts" as *;
@use "../variables-site/structure" as *;

ul,
ol {
padding-left: ( 1 * $size__spacing-unit );
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@use "../mixins/mixins-master" as *;
@use "../variables-site/colors" as *;
@use "../variables-site/fonts" as *;
@use "../variables-site/structure" as *;

table {
margin: 0 0 $size__spacing-unit;
border-collapse: collapse;
Expand Down
7 changes: 7 additions & 0 deletions src/wp-content/themes/twentynineteen/sass/forms/_buttons.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
@use "../mixins/mixins-master" as *;
@use "../mixins/utilities" as *;
@use "../variables-site/colors" as *;
@use "../variables-site/fonts" as *;
@use "../variables-site/structure" as *;

/* Forms */
.button,
button,
input[type="button"],
Expand Down
3 changes: 3 additions & 0 deletions src/wp-content/themes/twentynineteen/sass/forms/_fields.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use "../variables-site/colors" as *;
@use "../variables-site/structure" as *;

input[type="text"],
input[type="email"],
input[type="url"],
Expand Down
5 changes: 2 additions & 3 deletions src/wp-content/themes/twentynineteen/sass/forms/_forms.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
@import "buttons";

@import "fields";
@use "buttons" as *;
@use "fields" as *;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

/* Layout */
/** === Layout === */

#page {
Expand Down
10 changes: 10 additions & 0 deletions src/wp-content/themes/twentynineteen/sass/media/_captions.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
@use "../mixins/mixins-master" as *;
@use "../mixins/utilities" as *;
@use "../variables-site/colors" as *;
@use "../variables-site/fonts" as *;
@use "../variables-site/structure" as *;

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
margin-bottom: calc(1.5 * #{$size__spacing-unit});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
@use "../mixins/mixins-master" as *;
@use "../variables-site/colors" as *;
@use "../variables-site/fonts" as *;
@use "../variables-site/structure" as *;

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
display: flex;
flex-flow: row wrap;
Expand Down
13 changes: 3 additions & 10 deletions src/wp-content/themes/twentynineteen/sass/media/_media.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use "../variables-site/transitions" as *;

/* Media */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
Expand Down Expand Up @@ -27,13 +30,3 @@ svg {
transition: fill $icon_transition ease-in-out;
fill: currentColor;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
@import "captions";

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
@import "galleries";
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
@use "sass:string";
@use "../variables-site/colors" as *;
@use "../variables-site/columns" as *;
@use "../variables-site/fonts" as *;
@use "../variables-site/structure" as *;
@use "utilities" as *;

// Rem output with px fallback
@mixin font-size($sizeValue: 1) {
Expand Down Expand Up @@ -144,5 +149,3 @@
%non-latin-fonts {
@include non-latin-fonts();
}

@import "utilities";
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "../variables-site/structure" as *;
@use "../variables-site/transitions" as *;

@mixin media( $res ) {
@if mobile == $res {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use "../variables-site/colors" as *;

/* Accessibility */
/* Text meant only for screen readers. */
.screen-reader-text {
border: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@use "../mixins/mixins-master" as *;
@use "../mixins/utilities" as *;
@use "../variables-site/structure" as *;

/* Alignments */
.alignleft {
/*rtl:ignore*/
float: left;
Expand Down
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,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*!
Twenty Nineteen Editor Styles
*/

/** === Includes === */
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
--------------------------------------------------------------*/
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
@use "../mixins/utilities" as *;
@use "../variables-site/colors" as *;

/* Navigation */
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {

@include link-transition;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
@use "../mixins/utilities" as *;
@use "../variables-site/colors" as *;
@use "../variables-site/fonts" as *;
@use "../variables-site/structure" as *;

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

/** === Main menu === */

.main-navigation {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
@use "../mixins/mixins-master" as *;
@use "../mixins/utilities" as *;
@use "../variables-site/colors" as *;
@use "../variables-site/structure" as *;
@use "../variables-site/transitions" as *;

/* Social menu */

.social-navigation {
Expand Down
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 *;
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
@use "../mixins/mixins-master" as *;
@use "../mixins/utilities" as *;
@use "../variables-site/colors" as *;
@use "../variables-site/fonts" as *;
@use "../variables-site/structure" as *;

/*--------------------------------------------------------------
## Next / Previous
--------------------------------------------------------------*/

/* Next/Previous navigation */

// Singular navigation
Expand Down
33 changes: 6 additions & 27 deletions src/wp-content/themes/twentynineteen/sass/site/_site.scss
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 *;
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
@use "../../mixins/utilities" as *;
@use "../../variables-site/colors" as *;
@use "../../variables-site/structure" as *;

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

/* Site footer */

#colophon {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@use "../../mixins/utilities" as *;
@use "../../variables-site/colors" as *;
@use "../../variables-site/structure" as *;
@use "../../variables-site/transitions" as *;

// Featured image styles

.site-header.featured-image {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
@use "../../mixins/utilities" as *;
@use "../../variables-site/colors" as *;
@use "../../variables-site/structure" as *;
@use "../../variables-site/transitions" as *;

/* Content */
/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

// Site header

.site-header {
Expand Down
Loading
Loading