Skip to content

Commit

Permalink
Twenty Twenty-One: Update NPM dependencies.
Browse files Browse the repository at this point in the history
This updates the NPM dependencies for the Twenty Twenty-One theme to the latest versions.

Modifications to the built files are included in this commit, which are a result of updating the `sass` dependency to the latest version.

Previously, trailing loud comments (`/* ... */`) were pushed to the next line,. Now the comment location is preserved, resulting in the built CSS files more closely resembling the theme’s SCSS files.

See #55652.

git-svn-id: https://develop.svn.wordpress.org/trunk@53761 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Jul 22, 2022
1 parent b7bae69 commit f3339e9
Show file tree
Hide file tree
Showing 12 changed files with 270 additions and 451 deletions.

Large diffs are not rendered by default.

132 changes: 32 additions & 100 deletions src/wp-content/themes/twentytwentyone/assets/css/ie.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,8 @@ Twenty Twenty-One is distributed under the terms of the GNU GPL.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15;

/* 1 */
-webkit-text-size-adjust: 100%;

/* 2 */
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
Expand Down Expand Up @@ -201,28 +197,18 @@ h1 {
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box;

/* 1 */
height: 0;

/* 1 */
overflow: visible;

/* 2 */
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace;

/* 1 */
font-size: 1em;

/* 2 */
font-family: monospace; /* 1 */
font-size: 1em; /* 2 */
}

/* Text-level semantics
Expand All @@ -241,15 +227,9 @@ a {
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;

/* 1 */
text-decoration: underline;

/* 2 */
text-decoration-style: dotted;

/* 2 */
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration-style: dotted; /* 2 */
}

/**
Expand All @@ -267,12 +247,8 @@ strong {
code,
kbd,
samp {
font-family: monospace;

/* 1 */
font-size: 1em;

/* 2 */
font-family: monospace; /* 1 */
font-size: 1em; /* 2 */
}

/**
Expand Down Expand Up @@ -324,28 +300,18 @@ input,
optgroup,
select,
textarea {
font-family: inherit;

/* 1 */
font-size: 100%;

/* 1 */
line-height: 1.15;

/* 1 */
margin: 0;

/* 2 */
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {

/* 1 */
input { /* 1 */
overflow: visible;
}

Expand All @@ -354,9 +320,7 @@ input {
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {

/* 1 */
select { /* 1 */
text-transform: none;
}

Expand Down Expand Up @@ -405,24 +369,12 @@ fieldset {
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box;

/* 1 */
color: inherit;

/* 2 */
display: table;

/* 1 */
max-width: 100%;

/* 1 */
padding: 0;

/* 3 */
white-space: normal;

/* 1 */
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}

/**
Expand All @@ -445,12 +397,8 @@ textarea {
*/
[type=checkbox],
[type=radio] {
box-sizing: border-box;

/* 1 */
padding: 0;

/* 2 */
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}

/**
Expand All @@ -466,12 +414,8 @@ textarea {
* 2. Correct the outline style in Safari.
*/
[type=search] {
-webkit-appearance: textfield;

/* 1 */
outline-offset: -2px;

/* 2 */
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}

/**
Expand All @@ -486,12 +430,8 @@ textarea {
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;

/* 1 */
font: inherit;

/* 2 */
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}

/* Interactive
Expand Down Expand Up @@ -1867,12 +1807,8 @@ input[type=radio] + label {
@supports (-webkit-appearance: none) or (-moz-appearance: none) {

input[type=range] {
-webkit-appearance: none;

/* Hides the slider so that custom slider can be made */
width: 100%;

/* Specific width is required for Firefox. */
-webkit-appearance: none; /* Hides the slider so that custom slider can be made */
width: 100%; /* Specific width is required for Firefox. */
height: 6px;
background: #39414d;
border-radius: 6px;
Expand Down Expand Up @@ -4776,14 +4712,12 @@ table.wp-calendar-table caption {
.entry-content > .alignleft {
max-width: calc(50% - (100vw - min(calc(100vw - 4 * 25px), 610px)) *1);
}

@media only screen and (min-width: 482px) {

.entry-content > .alignleft {
max-width: calc(50% - (100vw - min(calc(100vw - 4 * 25px), 610px)) *1);
}
}

@media only screen and (min-width: 822px) {

.entry-content > .alignleft {
Expand Down Expand Up @@ -4844,14 +4778,12 @@ table.wp-calendar-table caption {
.entry-content > .alignright {
max-width: calc(50% - (100vw - min(calc(100vw - 4 * 25px), 610px)) *1);
}

@media only screen and (min-width: 482px) {

.entry-content > .alignright {
max-width: calc(50% - (100vw - min(calc(100vw - 4 * 25px), 610px)) *1);
}
}

@media only screen and (min-width: 822px) {

.entry-content > .alignright {
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 4 additions & 12 deletions src/wp-content/themes/twentytwentyone/assets/css/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,11 @@
--global--color-white: #fff;
--global--color-white-50: rgba(255, 255, 255, 0.5);
--global--color-white-90: rgba(255, 255, 255, 0.9);
--global--color-primary: var(--global--color-dark-gray);

/* Body text color, site title, footer text color. */
--global--color-secondary: var(--global--color-gray);

/* Headings */
--global--color-primary: var(--global--color-dark-gray); /* Body text color, site title, footer text color. */
--global--color-secondary: var(--global--color-gray); /* Headings */
--global--color-primary-hover: var(--global--color-primary);
--global--color-background: var(--global--color-green);

/* Mint, default body background */
--global--color-border: var(--global--color-primary);

/* Used for borders (separators) */
--global--color-background: var(--global--color-green); /* Mint, default body background */
--global--color-border: var(--global--color-primary); /* Used for borders (separators) */

/* Spacing */
--global--spacing-unit: 20px;
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit f3339e9

Please sign in to comment.