Twenty Twenty-One: Combine duplicate CSS rules.

Use the postcss-merge-rules package when building TT1 stylesheets to reduce duplicate code in production CSS.

Props SergeyBiryukov, ryelle, Shaharyar10, shital-patel, mukesh27, poena.
Fixes #53605.



git-svn-id: https://develop.svn.wordpress.org/trunk@52238 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Wilson 2021-11-24 03:33:02 +00:00
parent 5252489c0c
commit 03d2275051
8 changed files with 308 additions and 1210 deletions

View File

@ -147,11 +147,7 @@ blockquote p {
line-height: 1.7;
}
blockquote cite {
font-weight: normal;
letter-spacing: normal;
}
blockquote cite,
blockquote footer {
font-weight: normal;
letter-spacing: normal;
@ -162,33 +158,16 @@ blockquote.alignright {
padding-left: inherit;
}
blockquote.alignleft p {
font-size: 1.125rem;
max-width: inherit;
width: inherit;
}
blockquote.alignleft p,
blockquote.alignright p {
font-size: 1.125rem;
max-width: inherit;
width: inherit;
}
blockquote.alignleft cite {
font-size: 1rem;
letter-spacing: normal;
}
blockquote.alignleft footer {
font-size: 1rem;
letter-spacing: normal;
}
blockquote.alignright cite {
font-size: 1rem;
letter-spacing: normal;
}
blockquote.alignleft cite,
blockquote.alignleft footer,
blockquote.alignright cite,
blockquote.alignright footer {
font-size: 1rem;
letter-spacing: normal;
@ -206,18 +185,8 @@ blockquote:before {
left: -12px;
}
blockquote .wp-block-quote__citation {
color: #28303d;
font-size: 1rem;
font-style: normal;
}
blockquote cite {
color: #28303d;
font-size: 1rem;
font-style: normal;
}
blockquote .wp-block-quote__citation,
blockquote cite,
blockquote footer {
color: #28303d;
font-size: 1rem;
@ -236,16 +205,14 @@ blockquote footer {
img {
height: auto;
max-width: 100%;
vertical-align: middle;
}
/* Classic editor images */
.entry-content img {
max-width: 100%;
}
/* Make sure embeds and iframes fit their containers. */
img,
.entry-content img,
embed,
iframe,
object,
@ -254,33 +221,9 @@ video {
}
/* Media captions */
figcaption {
color: currentColor;
font-size: 1rem;
line-height: 1.7;
margin-top: 10px;
margin-bottom: 20px;
text-align: center;
}
.wp-caption {
color: currentColor;
font-size: 1rem;
line-height: 1.7;
margin-top: 10px;
margin-bottom: 20px;
text-align: center;
}
.wp-caption-text {
color: currentColor;
font-size: 1rem;
line-height: 1.7;
margin-top: 10px;
margin-bottom: 20px;
text-align: center;
}
figcaption,
.wp-caption,
.wp-caption-text,
.wp-block-embed figcaption {
color: currentColor;
font-size: 1rem;
@ -580,13 +523,7 @@ a:hover {
color: currentColor;
}
.wp-block-cover {
background-color: #000;
min-height: 450px;
margin-top: inherit;
margin-bottom: inherit;
}
.wp-block-cover,
.wp-block-cover-image {
background-color: #000;
min-height: 450px;
@ -629,10 +566,7 @@ a:hover {
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover-image .wp-block-cover-image-text,
.wp-block-cover-image .wp-block-cover-text,
.wp-block-cover-image .block-editor-block-list__block {
color: currentColor;
}
.wp-block-cover-image .block-editor-block-list__block,
.wp-block-cover .wp-block-cover__inner-container a,
.wp-block-cover .wp-block-cover-image-text a,
.wp-block-cover .wp-block-cover-text a,
@ -644,34 +578,13 @@ a:hover {
color: currentColor;
}
.wp-block-cover .wp-block-cover__inner-container .has-link-color a {
color: #28303d;
}
.wp-block-cover .wp-block-cover-image-text .has-link-color a {
color: #28303d;
}
.wp-block-cover .wp-block-cover-text .has-link-color a {
color: #28303d;
}
.wp-block-cover .block-editor-block-list__block .has-link-color a {
color: #28303d;
}
.wp-block-cover-image .wp-block-cover__inner-container .has-link-color a {
color: #28303d;
}
.wp-block-cover-image .wp-block-cover-image-text .has-link-color a {
color: #28303d;
}
.wp-block-cover-image .wp-block-cover-text .has-link-color a {
color: #28303d;
}
.wp-block-cover .wp-block-cover__inner-container .has-link-color a,
.wp-block-cover .wp-block-cover-image-text .has-link-color a,
.wp-block-cover .wp-block-cover-text .has-link-color a,
.wp-block-cover .block-editor-block-list__block .has-link-color a,
.wp-block-cover-image .wp-block-cover__inner-container .has-link-color a,
.wp-block-cover-image .wp-block-cover-image-text .has-link-color a,
.wp-block-cover-image .wp-block-cover-text .has-link-color a,
.wp-block-cover-image .block-editor-block-list__block .has-link-color a {
color: #28303d;
}
@ -753,10 +666,7 @@ a:hover {
text-align: right;
}
.wp-block-cover.is-style-twentytwentyone-border {
border: 3px solid #28303d;
}
.wp-block-cover.is-style-twentytwentyone-border,
.wp-block-cover-image.is-style-twentytwentyone-border {
border: 3px solid #28303d;
}
@ -1019,182 +929,46 @@ a:hover {
width: 100%;
}
.wp-block-heading h1 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h1 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h1 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h2 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h2 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h2 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h3 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h3 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h3 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h4 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h4 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h4 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h5 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h5 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.h5 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h6 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
h6 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h1,
h1,
.h1,
.wp-block-heading h2,
h2,
.h2,
.wp-block-heading h3,
h3,
.h3,
.wp-block-heading h4,
h4,
.h4,
.wp-block-heading h5,
h5,
.h5,
.wp-block-heading h6,
h6,
.h6 {
clear: both;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: normal;
}
.wp-block-heading h1 strong {
font-weight: 600;
}
h1 strong {
font-weight: 600;
}
.h1 strong {
font-weight: 600;
}
.wp-block-heading h2 strong {
font-weight: 600;
}
h2 strong {
font-weight: 600;
}
.h2 strong {
font-weight: 600;
}
.wp-block-heading h3 strong {
font-weight: 600;
}
h3 strong {
font-weight: 600;
}
.h3 strong {
font-weight: 600;
}
.wp-block-heading h4 strong {
font-weight: 600;
}
h4 strong {
font-weight: 600;
}
.h4 strong {
font-weight: 600;
}
.wp-block-heading h5 strong {
font-weight: 600;
}
h5 strong {
font-weight: 600;
}
.h5 strong {
font-weight: 600;
}
.wp-block-heading h6 strong {
font-weight: 600;
}
h6 strong {
font-weight: 600;
}
.wp-block-heading h1 strong,
h1 strong,
.h1 strong,
.wp-block-heading h2 strong,
h2 strong,
.h2 strong,
.wp-block-heading h3 strong,
h3 strong,
.h3 strong,
.wp-block-heading h4 strong,
h4 strong,
.h4 strong,
.wp-block-heading h5 strong,
h5 strong,
.h5 strong,
.wp-block-heading h6 strong,
h6 strong,
.h6 strong {
font-weight: 600;
}
@ -1388,20 +1162,8 @@ h3 {
}
}
.wp-block-heading h4 {
font-size: 1.5rem;
font-weight: 600;
letter-spacing: normal;
line-height: 1.3;
}
h4 {
font-size: 1.5rem;
font-weight: 600;
letter-spacing: normal;
line-height: 1.3;
}
.wp-block-heading h4,
h4,
.h4 {
font-size: 1.5rem;
font-weight: 600;
@ -1409,20 +1171,8 @@ h4 {
line-height: 1.3;
}
.wp-block-heading h5 {
font-size: 1.125rem;
font-weight: 600;
letter-spacing: 0.05em;
line-height: 1.3;
}
h5 {
font-size: 1.125rem;
font-weight: 600;
letter-spacing: 0.05em;
line-height: 1.3;
}
.wp-block-heading h5,
h5,
.h5 {
font-size: 1.125rem;
font-weight: 600;
@ -1430,20 +1180,8 @@ h5 {
line-height: 1.3;
}
.wp-block-heading h6 {
font-size: 1rem;
font-weight: 600;
letter-spacing: 0.05em;
line-height: 1.3;
}
h6 {
font-size: 1rem;
font-weight: 600;
letter-spacing: 0.05em;
line-height: 1.3;
}
.wp-block-heading h6,
h6,
.h6 {
font-size: 1rem;
font-weight: 600;
@ -1468,10 +1206,7 @@ h6 {
}
/* Block Styles */
.wp-block-image.is-style-twentytwentyone-border img {
border: 3px solid #28303d;
}
.wp-block-image.is-style-twentytwentyone-border img,
.wp-block-image.is-style-twentytwentyone-image-frame img {
border: 3px solid #28303d;
}
@ -1480,10 +1215,7 @@ h6 {
padding: 20px;
}
.wp-block-latest-comments {
padding-left: 0;
}
.wp-block-latest-comments,
.wp-block-latest-posts {
padding-left: 0;
}
@ -1559,13 +1291,7 @@ h6 {
color: currentColor;
}
.wp-block-latest-posts .wp-block-latest-posts__post-excerpt {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem;
line-height: 1.7;
margin-top: 20px;
}
.wp-block-latest-posts .wp-block-latest-posts__post-excerpt,
.wp-block-latest-posts .wp-block-latest-posts__post-full-content {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem;
@ -1693,12 +1419,7 @@ h6 {
display: block;
}
ul {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 30px 0;
padding-left: 50px;
}
ul,
ol {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 30px 0;
@ -1842,18 +1563,8 @@ pre.wp-block-preformatted {
color: currentColor;
}
.wp-block-pullquote .wp-block-pullquote__citation {
font-size: 1rem;
font-style: normal;
text-transform: none;
}
.wp-block-pullquote cite {
font-size: 1rem;
font-style: normal;
text-transform: none;
}
.wp-block-pullquote .wp-block-pullquote__citation,
.wp-block-pullquote cite,
.wp-block-pullquote footer {
font-size: 1rem;
font-style: normal;
@ -1883,12 +1594,7 @@ pre.wp-block-preformatted {
text-align: left;
}
.wp-block-pullquote.is-style-solid-color.alignleft blockquote {
padding-left: 20px;
padding-right: 20px;
max-width: inherit;
}
.wp-block-pullquote.is-style-solid-color.alignleft blockquote,
.wp-block-pullquote.is-style-solid-color.alignright blockquote {
padding-left: 20px;
padding-right: 20px;
@ -2002,14 +1708,7 @@ pre.wp-block-preformatted {
display: none;
}
.wp-block-quote.is-large {
padding-left: 0;
/* Resetting margins to match _block-container.scss */
margin-top: 30px;
margin-bottom: 30px;
}
.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
padding-left: 0;
@ -2100,10 +1799,7 @@ pre.wp-block-preformatted {
}
@media only screen and (max-width: 481px) {
.wp-block-quote.is-large {
padding-left: 25px;
}
.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
padding-left: 25px;
}
@ -2113,11 +1809,7 @@ pre.wp-block-preformatted {
left: 0;
}
.wp-block-quote.is-large.has-text-align-right {
padding-left: 0;
padding-right: 25px;
}
.wp-block-quote.is-large.has-text-align-right,
.wp-block-quote.is-style-large.has-text-align-right {
padding-left: 0;
padding-right: 25px;
@ -2250,13 +1942,7 @@ pre.wp-block-preformatted {
color: currentColor;
}
.wp-block-rss .wp-block-rss__item-excerpt {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem;
line-height: 1.7;
margin-top: 20px;
}
.wp-block-rss .wp-block-rss__item-excerpt,
.wp-block-rss .wp-block-rss__item-full-content {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem;
@ -2299,17 +1985,7 @@ pre.wp-block-preformatted {
margin-bottom: 10px;
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
border: 3px solid #39414d;
border-radius: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.125rem;
line-height: 1.7;
max-width: inherit;
margin-right: -3px;
padding: 10px;
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.wp-block-search .wp-block-search__input {
border: 3px solid #39414d;
border-radius: 0;
@ -2321,18 +1997,12 @@ pre.wp-block-preformatted {
padding: 10px;
}
.is-dark-theme .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
background: rgba(255, 255, 255, 0.9);
}
.is-dark-theme .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.is-dark-theme .wp-block-search .wp-block-search__input {
background: rgba(255, 255, 255, 0.9);
}
.has-background .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
border-color: #28303d !important;
}
.has-background .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.has-background .wp-block-search .wp-block-search__input {
border-color: #28303d !important;
}
@ -2438,10 +2108,7 @@ pre.wp-block-preformatted {
color: #28303d;
}
.is-dark-theme .wp-block-search.wp-block-search__button-inside.wp-block-search__text-button .wp-block-search__button {
color: #28303d;
}
.is-dark-theme .wp-block-search.wp-block-search__button-inside.wp-block-search__text-button .wp-block-search__button,
.is-dark-theme .wp-block-search.wp-block-search__button-inside.wp-block-search__icon-button .wp-block-search__button {
color: #28303d;
}
@ -2468,12 +2135,7 @@ pre.wp-block-preformatted {
justify-content: center;
}
.wp-block-separator {
border-bottom: 1px solid #28303d;
clear: both;
opacity: 1;
}
.wp-block-separator,
hr {
border-bottom: 1px solid #28303d;
clear: both;
@ -2535,10 +2197,7 @@ hr:not(.is-style-dots) {
max-width: inherit;
}
.wp-block-separator.is-style-twentytwentyone-separator-thick {
border-bottom-width: 3px;
}
.wp-block-separator.is-style-twentytwentyone-separator-thick,
hr.is-style-twentytwentyone-separator-thick {
border-bottom-width: 3px;
}
@ -2601,74 +2260,32 @@ table tfoot,
text-align: center;
}
table th {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
table th,
.wp-block-table th {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
table td {
padding: 10px;
}
table th {
padding: 10px;
}
.wp-block-table td {
padding: 10px;
}
table td,
table th,
.wp-block-table td,
.wp-block-table th {
padding: 10px;
}
table.is-style-regular .has-background {
color: #28303d;
}
table.is-style-stripes .has-background {
color: #28303d;
}
table.is-style-stripes .has-background thead tr {
color: #28303d;
}
table.is-style-stripes .has-background tfoot tr {
color: #28303d;
}
table.is-style-stripes .has-background tbody tr {
color: #28303d;
}
.wp-block-table.is-style-regular .has-background {
color: #28303d;
}
.wp-block-table.is-style-stripes .has-background {
color: #28303d;
}
.wp-block-table.is-style-stripes .has-background thead tr {
color: #28303d;
}
.wp-block-table.is-style-stripes .has-background tfoot tr {
color: #28303d;
}
table.is-style-regular .has-background,
table.is-style-stripes .has-background,
table.is-style-stripes .has-background thead tr,
table.is-style-stripes .has-background tfoot tr,
table.is-style-stripes .has-background tbody tr,
.wp-block-table.is-style-regular .has-background,
.wp-block-table.is-style-stripes .has-background,
.wp-block-table.is-style-stripes .has-background thead tr,
.wp-block-table.is-style-stripes .has-background tfoot tr,
.wp-block-table.is-style-stripes .has-background tbody tr {
color: #28303d;
}
table.is-style-stripes {
border-color: #f0f0f0;
}
table.is-style-stripes,
.wp-block-table.is-style-stripes {
border-color: #f0f0f0;
}
@ -3065,20 +2682,23 @@ pre.wp-block-verse {
}
html {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
line-height: 1.7;
}
html,
body {
color: #28303d;
background-color: #d1e4dd;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
body {
background-color: #d1e4dd;
font-size: 1.25rem;
font-weight: normal;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
body,
.wp-block a {
color: #28303d;
}
@ -3092,10 +2712,7 @@ body {
text-decoration: none;
}
.has-background .has-link-color a {
color: #28303d;
}
.has-background .has-link-color a,
.has-background.has-link-color a {
color: #28303d;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1300,6 +1300,18 @@
"quick-lru": "^4.0.1"
}
},
"caniuse-api": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",
"integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==",
"dev": true,
"requires": {
"browserslist": "^4.0.0",
"caniuse-lite": "^1.0.0",
"lodash.memoize": "^4.1.2",
"lodash.uniq": "^4.5.0"
}
},
"caniuse-lite": {
"version": "1.0.30001164",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001164.tgz",
@ -1461,6 +1473,12 @@
"integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
"dev": true
},
"cssnano-utils": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-2.0.1.tgz",
"integrity": "sha512-i8vLRZTnEH9ubIyfdZCAdIdgnHAUeQeByEeQ2I7oTilvP9oHO6RScpeq3GsFUVqeB8uZgOQ9pw8utofNn32hhQ==",
"dev": true
},
"damerau-levenshtein": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.7.tgz",
@ -3130,6 +3148,12 @@
"integrity": "sha1-Cwih3PaDl8OXhVwyOXg4Mt90A9E=",
"dev": true
},
"lodash.memoize": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
"integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=",
"dev": true
},
"lodash.merge": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
@ -3154,6 +3178,12 @@
"integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=",
"dev": true
},
"lodash.uniq": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
"integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=",
"dev": true
},
"log-symbols": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
@ -4624,6 +4654,30 @@
"integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=",
"dev": true
},
"postcss-merge-rules": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.0.3.tgz",
"integrity": "sha512-cEKTMEbWazVa5NXd8deLdCnXl+6cYG7m2am+1HzqH0EnTdy8fRysatkaXb2dEnR+fdaDxTvuZ5zoBdv6efF6hg==",
"dev": true,
"requires": {
"browserslist": "^4.16.6",
"caniuse-api": "^3.0.0",
"cssnano-utils": "^2.0.1",
"postcss-selector-parser": "^6.0.5"
},
"dependencies": {
"postcss-selector-parser": {
"version": "6.0.6",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz",
"integrity": "sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==",
"dev": true,
"requires": {
"cssesc": "^3.0.0",
"util-deprecate": "^1.0.2"
}
}
}
},
"postcss-nested": {
"version": "5.0.6",
"resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-5.0.6.tgz",

View File

@ -28,6 +28,7 @@
"postcss-custom-media": "^8.0.0",
"postcss-discard-duplicates": "^5.0.1",
"postcss-focus-within": "^5.0.1",
"postcss-merge-rules": "^5.0.3",
"postcss-nested": "^5.0.6",
"rtlcss": "^3.5.0",
"sass": "^1.43.4",

View File

@ -8,6 +8,7 @@ module.exports = {
require('postcss-calc')({
precision: 0
}),
require('postcss-discard-duplicates')
require('postcss-discard-duplicates'),
require('postcss-merge-rules')
]
};

File diff suppressed because one or more lines are too long