Apply Stylelint to vendor/ code, fix errors (#1508)

Changes are in three categories:

- whitespace
- devendoring prefixes for properties that have entered the CSS spec - reasonable to autofix
- removing a duplicate `monospace` in `monospace, monospace` `font-family` decl in normalize.scss - not autofix
This commit is contained in:
Matt Wang 2024-08-12 12:10:00 -07:00 committed by GitHub
parent 4862864318
commit 060bb31a78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 138 additions and 9 deletions

View File

@ -20,6 +20,7 @@ Code changes to `main` that are *not* in the latest release:
- Added: `nav_enabled` site, layout, and page-level variable to selectively show or hide the side/mobile menu by [@kevinlin1] in [#1441]. The minimal layout was reimplemented using this feature, and now has support for the site-wide search bar and auxiliary links. - Added: `nav_enabled` site, layout, and page-level variable to selectively show or hide the side/mobile menu by [@kevinlin1] in [#1441]. The minimal layout was reimplemented using this feature, and now has support for the site-wide search bar and auxiliary links.
- Fixed: protect `search-data.json` file from front matter default for layout by [@mattxwang] in [#1468] - Fixed: protect `search-data.json` file from front matter default for layout by [@mattxwang] in [#1468]
- Fixed: Sass mixed declarations by [@bobvandevijver] in [#1495] - Fixed: Sass mixed declarations by [@bobvandevijver] in [#1495]
- Fixed: redundant `monospace` in `pre`, `code`, `kbd`, `samp` reset by [@mattxwang] in [#1508]
Docs changes made since the latest release: Docs changes made since the latest release:
@ -29,6 +30,7 @@ Docs changes made since the latest release:
[#1468]: https://github.com/just-the-docs/just-the-docs/pull/1468 [#1468]: https://github.com/just-the-docs/just-the-docs/pull/1468
[#1495]: https://github.com/just-the-docs/just-the-docs/pull/1495 [#1495]: https://github.com/just-the-docs/just-the-docs/pull/1495
[#1508]: https://github.com/just-the-docs/just-the-docs/pull/1508
## Release v0.8.2 ## Release v0.8.2

View File

@ -5,198 +5,261 @@ pre.highlight {
background: #31343f; background: #31343f;
color: #dee2f7; color: #dee2f7;
} }
.highlight pre { .highlight pre {
background: #31343f; background: #31343f;
} }
.highlight .hll { .highlight .hll {
background: #31343f; background: #31343f;
} }
.highlight .c { .highlight .c {
color: #63677e; color: #63677e;
font-style: italic; font-style: italic;
} }
.highlight .err { .highlight .err {
color: #960050; color: #960050;
background-color: #1e0010; background-color: #1e0010;
} }
.highlight .k { .highlight .k {
color: #e19ef5; color: #e19ef5;
} }
.highlight .l { .highlight .l {
color: #a3eea0; color: #a3eea0;
} }
.highlight .n { .highlight .n {
color: #dee2f7; color: #dee2f7;
} }
.highlight .o { .highlight .o {
color: #dee2f7; color: #dee2f7;
} }
.highlight .p { .highlight .p {
color: #dee2f7; color: #dee2f7;
} }
.highlight .cm { .highlight .cm {
color: #63677e; color: #63677e;
font-style: italic; font-style: italic;
} }
.highlight .cp { .highlight .cp {
color: #63677e; color: #63677e;
font-style: italic; font-style: italic;
} }
.highlight .c1 { .highlight .c1 {
color: #63677e; color: #63677e;
font-style: italic; font-style: italic;
} }
.highlight .cs { .highlight .cs {
color: #63677e; color: #63677e;
font-style: italic; font-style: italic;
} }
.highlight .ge { .highlight .ge {
font-style: italic; font-style: italic;
} }
.highlight .gs { .highlight .gs {
font-weight: 700; font-weight: 700;
} }
.highlight .kc { .highlight .kc {
color: #e19ef5; color: #e19ef5;
} }
.highlight .kd { .highlight .kd {
color: #e19ef5; color: #e19ef5;
} }
.highlight .kn { .highlight .kn {
color: #e19ef5; color: #e19ef5;
} }
.highlight .kp { .highlight .kp {
color: #e19ef5; color: #e19ef5;
} }
.highlight .kr { .highlight .kr {
color: #e19ef5; color: #e19ef5;
} }
.highlight .kt { .highlight .kt {
color: #e19ef5; color: #e19ef5;
} }
.highlight .ld { .highlight .ld {
color: #a3eea0; color: #a3eea0;
} }
.highlight .m { .highlight .m {
color: #eddc96; color: #eddc96;
} }
.highlight .s { .highlight .s {
color: #a3eea0; color: #a3eea0;
} }
.highlight .na { .highlight .na {
color: #eddc96; color: #eddc96;
} }
.highlight .nb { .highlight .nb {
color: #fdce68; color: #fdce68;
} }
.highlight .nc { .highlight .nc {
color: #fdce68; color: #fdce68;
} }
.highlight .no { .highlight .no {
color: #fdce68; color: #fdce68;
} }
.highlight .nd { .highlight .nd {
color: #fdce68; color: #fdce68;
} }
.highlight .ni { .highlight .ni {
color: #fdce68; color: #fdce68;
} }
.highlight .ne { .highlight .ne {
color: #fdce68; color: #fdce68;
} }
.highlight .nf { .highlight .nf {
color: #dee2f7; color: #dee2f7;
} }
.highlight .nl { .highlight .nl {
color: #fdce68; color: #fdce68;
} }
.highlight .nn { .highlight .nn {
color: #dee2f7; color: #dee2f7;
} }
.highlight .nx { .highlight .nx {
color: #dee2f7; color: #dee2f7;
} }
.highlight .py { .highlight .py {
color: #fdce68; color: #fdce68;
} }
.highlight .nt { .highlight .nt {
color: #f9867b; color: #f9867b;
} }
.highlight .nv { .highlight .nv {
color: #fdce68; color: #fdce68;
} }
.highlight .ow { .highlight .ow {
font-weight: 700; font-weight: 700;
} }
.highlight .w { .highlight .w {
color: #f8f8f2; color: #f8f8f2;
} }
.highlight .mf { .highlight .mf {
color: #eddc96; color: #eddc96;
} }
.highlight .mh { .highlight .mh {
color: #eddc96; color: #eddc96;
} }
.highlight .mi { .highlight .mi {
color: #eddc96; color: #eddc96;
} }
.highlight .mo { .highlight .mo {
color: #eddc96; color: #eddc96;
} }
.highlight .sb { .highlight .sb {
color: #a3eea0; color: #a3eea0;
} }
.highlight .sc { .highlight .sc {
color: #a3eea0; color: #a3eea0;
} }
.highlight .sd { .highlight .sd {
color: #a3eea0; color: #a3eea0;
} }
.highlight .s2 { .highlight .s2 {
color: #a3eea0; color: #a3eea0;
} }
.highlight .se { .highlight .se {
color: #a3eea0; color: #a3eea0;
} }
.highlight .sh { .highlight .sh {
color: #a3eea0; color: #a3eea0;
} }
.highlight .si { .highlight .si {
color: #a3eea0; color: #a3eea0;
} }
.highlight .sx { .highlight .sx {
color: #a3eea0; color: #a3eea0;
} }
.highlight .sr { .highlight .sr {
color: #7be2f9; color: #7be2f9;
} }
.highlight .s1 { .highlight .s1 {
color: #a3eea0; color: #a3eea0;
} }
.highlight .ss { .highlight .ss {
color: #7be2f9; color: #7be2f9;
} }
.highlight .bp { .highlight .bp {
color: #fdce68; color: #fdce68;
} }
.highlight .vc { .highlight .vc {
color: #fdce68; color: #fdce68;
} }
.highlight .vg { .highlight .vg {
color: #fdce68; color: #fdce68;
} }
.highlight .vi { .highlight .vi {
color: #f9867b; color: #f9867b;
} }
.highlight .il { .highlight .il {
color: #eddc96; color: #eddc96;
} }
.highlight .gu { .highlight .gu {
color: #75715e; color: #75715e;
} }
.highlight .gd { .highlight .gd {
color: #f92672; color: #f92672;
} }
.highlight .gi { .highlight .gi {
color: #a6e22e; color: #a6e22e;
} }

View File

@ -5,204 +5,269 @@ pre.highlight {
background: #f9f9f9; background: #f9f9f9;
color: #383942; color: #383942;
} }
.highlight pre { .highlight pre {
background: #f9f9f9; background: #f9f9f9;
} }
.highlight .hll { .highlight .hll {
background: #f9f9f9; background: #f9f9f9;
} }
.highlight .c { .highlight .c {
color: #9fa0a6; color: #9fa0a6;
font-style: italic; font-style: italic;
} }
.highlight .err { .highlight .err {
color: #fff; color: #fff;
background-color: #e05151; background-color: #e05151;
} }
.highlight .k { .highlight .k {
color: #a625a4; color: #a625a4;
} }
.highlight .l { .highlight .l {
color: #50a04f; color: #50a04f;
} }
.highlight .n { .highlight .n {
color: #383942; color: #383942;
} }
.highlight .o { .highlight .o {
color: #383942; color: #383942;
} }
.highlight .p { .highlight .p {
color: #383942; color: #383942;
} }
.highlight .cm { .highlight .cm {
color: #9fa0a6; color: #9fa0a6;
font-style: italic; font-style: italic;
} }
.highlight .cp { .highlight .cp {
color: #9fa0a6; color: #9fa0a6;
font-style: italic; font-style: italic;
} }
.highlight .c1 { .highlight .c1 {
color: #9fa0a6; color: #9fa0a6;
font-style: italic; font-style: italic;
} }
.highlight .cs { .highlight .cs {
color: #9fa0a6; color: #9fa0a6;
font-style: italic; font-style: italic;
} }
.highlight .ge { .highlight .ge {
font-style: italic; font-style: italic;
} }
.highlight .gs { .highlight .gs {
font-weight: 700; font-weight: 700;
} }
.highlight .kc { .highlight .kc {
color: #a625a4; color: #a625a4;
} }
.highlight .kd { .highlight .kd {
color: #a625a4; color: #a625a4;
} }
.highlight .kn { .highlight .kn {
color: #a625a4; color: #a625a4;
} }
.highlight .kp { .highlight .kp {
color: #a625a4; color: #a625a4;
} }
.highlight .kr { .highlight .kr {
color: #a625a4; color: #a625a4;
} }
.highlight .kt { .highlight .kt {
color: #a625a4; color: #a625a4;
} }
.highlight .ld { .highlight .ld {
color: #50a04f; color: #50a04f;
} }
.highlight .m { .highlight .m {
color: #b66a00; color: #b66a00;
} }
.highlight .s { .highlight .s {
color: #50a04f; color: #50a04f;
} }
.highlight .na { .highlight .na {
color: #b66a00; color: #b66a00;
} }
.highlight .nb { .highlight .nb {
color: #ca7601; color: #ca7601;
} }
.highlight .nc { .highlight .nc {
color: #ca7601; color: #ca7601;
} }
.highlight .no { .highlight .no {
color: #ca7601; color: #ca7601;
} }
.highlight .nd { .highlight .nd {
color: #ca7601; color: #ca7601;
} }
.highlight .ni { .highlight .ni {
color: #ca7601; color: #ca7601;
} }
.highlight .ne { .highlight .ne {
color: #ca7601; color: #ca7601;
} }
.highlight .nf { .highlight .nf {
color: #383942; color: #383942;
} }
.highlight .nl { .highlight .nl {
color: #ca7601; color: #ca7601;
} }
.highlight .nn { .highlight .nn {
color: #383942; color: #383942;
} }
.highlight .nx { .highlight .nx {
color: #383942; color: #383942;
} }
.highlight .py { .highlight .py {
color: #ca7601; color: #ca7601;
} }
.highlight .nt { .highlight .nt {
color: #e35549; color: #e35549;
} }
.highlight .nv { .highlight .nv {
color: #ca7601; color: #ca7601;
} }
.highlight .ow { .highlight .ow {
font-weight: 700; font-weight: 700;
} }
.highlight .w { .highlight .w {
color: #f8f8f2; color: #f8f8f2;
} }
.highlight .mf { .highlight .mf {
color: #b66a00; color: #b66a00;
} }
.highlight .mh { .highlight .mh {
color: #b66a00; color: #b66a00;
} }
.highlight .mi { .highlight .mi {
color: #b66a00; color: #b66a00;
} }
.highlight .mo { .highlight .mo {
color: #b66a00; color: #b66a00;
} }
.highlight .sb { .highlight .sb {
color: #50a04f; color: #50a04f;
} }
.highlight .sc { .highlight .sc {
color: #50a04f; color: #50a04f;
} }
.highlight .sd { .highlight .sd {
color: #50a04f; color: #50a04f;
} }
.highlight .s2 { .highlight .s2 {
color: #50a04f; color: #50a04f;
} }
.highlight .se { .highlight .se {
color: #50a04f; color: #50a04f;
} }
.highlight .sh { .highlight .sh {
color: #50a04f; color: #50a04f;
} }
.highlight .si { .highlight .si {
color: #50a04f; color: #50a04f;
} }
.highlight .sx { .highlight .sx {
color: #50a04f; color: #50a04f;
} }
.highlight .sr { .highlight .sr {
color: #0083bb; color: #0083bb;
} }
.highlight .s1 { .highlight .s1 {
color: #50a04f; color: #50a04f;
} }
.highlight .ss { .highlight .ss {
color: #0083bb; color: #0083bb;
} }
.highlight .bp { .highlight .bp {
color: #ca7601; color: #ca7601;
} }
.highlight .vc { .highlight .vc {
color: #ca7601; color: #ca7601;
} }
.highlight .vg { .highlight .vg {
color: #ca7601; color: #ca7601;
} }
.highlight .vi { .highlight .vi {
color: #e35549; color: #e35549;
} }
.highlight .il { .highlight .il {
color: #b66a00; color: #b66a00;
} }
.highlight .gu { .highlight .gu {
color: #75715e; color: #75715e;
} }
.highlight .gd { .highlight .gd {
color: #e05151; color: #e05151;
} }
.highlight .gi { .highlight .gi {
color: #43d089; color: #43d089;
} }
.highlight .language-json .w + .s2 { .highlight .language-json .w + .s2 {
color: #e35549; color: #e35549;
} }
.highlight .language-json .kc { .highlight .language-json .kc {
color: #0083bb; color: #0083bb;
} }

View File

@ -10,7 +10,7 @@
html { html {
line-height: 1.15; /* 1 */ line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */ text-size-adjust: 100%; /* 2 */
} }
/* Sections /* Sections
@ -62,7 +62,7 @@ hr {
*/ */
pre { pre {
font-family: monospace, monospace; /* 1 */ font-family: monospace; /* 1 */
font-size: 1em; /* 2 */ font-size: 1em; /* 2 */
} }
@ -105,7 +105,7 @@ strong {
code, code,
kbd, kbd,
samp { samp {
font-family: monospace, monospace; /* 1 */ font-family: monospace; /* 1 */
font-size: 1em; /* 2 */ font-size: 1em; /* 2 */
} }
@ -198,7 +198,7 @@ button,
[type="button"], [type="button"],
[type="reset"], [type="reset"],
[type="submit"] { [type="submit"] {
-webkit-appearance: button; appearance: button;
} }
/** /**
@ -290,7 +290,7 @@ textarea {
*/ */
[type="search"] { [type="search"] {
-webkit-appearance: textfield; /* 1 */ appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */ outline-offset: -2px; /* 2 */
} }
@ -299,7 +299,7 @@ textarea {
*/ */
[type="search"]::-webkit-search-decoration { [type="search"]::-webkit-search-decoration {
-webkit-appearance: none; appearance: none;
} }
/** /**
@ -308,7 +308,7 @@ textarea {
*/ */
::-webkit-file-upload-button { ::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */ appearance: button; /* 1 */
font: inherit; /* 2 */ font: inherit; /* 2 */
} }

View File

@ -22,8 +22,7 @@
"ignoreFiles": [ "ignoreFiles": [
"assets/css/just-the-docs-default.scss", "assets/css/just-the-docs-default.scss",
"assets/css/just-the-docs-light.scss", "assets/css/just-the-docs-light.scss",
"assets/css/just-the-docs-dark.scss", "assets/css/just-the-docs-dark.scss"
"_sass/vendor/**/*.scss"
], ],
"extends": [ "extends": [
"stylelint-config-standard-scss" "stylelint-config-standard-scss"