@docusaurus/theme-classic 0.0.0-4463 → 0.0.0-4479

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/lib/validateThemeConfig.js +3 -1
  2. package/lib-next/theme/BackToTopButton/styles.module.css +1 -1
  3. package/lib-next/theme/BlogPostAuthor/index.js +1 -1
  4. package/lib-next/theme/BlogPostAuthors/styles.module.css +1 -2
  5. package/lib-next/theme/BlogPostPage/index.js +1 -1
  6. package/lib-next/theme/BlogSidebar/styles.module.css +2 -0
  7. package/lib-next/theme/CodeBlock/styles.module.css +3 -3
  8. package/lib-next/theme/DocCard/styles.module.css +3 -3
  9. package/lib-next/theme/DocItem/index.js +2 -2
  10. package/lib-next/theme/DocPage/styles.module.css +1 -0
  11. package/lib-next/theme/DocSidebar/styles.module.css +1 -0
  12. package/lib-next/theme/DocSidebarItem/styles.module.css +1 -0
  13. package/lib-next/theme/DocSidebarItems/styles.module.css +1 -0
  14. package/lib-next/theme/Heading/styles.css +1 -1
  15. package/lib-next/theme/TOCCollapsible/styles.module.css +2 -2
  16. package/lib-next/theme/Tag/styles.module.css +4 -4
  17. package/lib-next/theme/Toggle/styles.module.css +6 -6
  18. package/package.json +12 -12
  19. package/src/theme/BackToTopButton/styles.module.css +1 -1
  20. package/src/theme/BlogPostAuthor/index.tsx +1 -1
  21. package/src/theme/BlogPostAuthors/styles.module.css +1 -2
  22. package/src/theme/BlogPostPage/index.tsx +1 -1
  23. package/src/theme/BlogSidebar/styles.module.css +2 -0
  24. package/src/theme/CodeBlock/styles.module.css +3 -3
  25. package/src/theme/DocCard/styles.module.css +3 -3
  26. package/src/theme/DocItem/index.tsx +2 -2
  27. package/src/theme/DocPage/styles.module.css +1 -0
  28. package/src/theme/DocSidebar/styles.module.css +1 -0
  29. package/src/theme/DocSidebarItem/styles.module.css +1 -0
  30. package/src/theme/DocSidebarItems/styles.module.css +1 -0
  31. package/src/theme/Heading/styles.css +1 -1
  32. package/src/theme/TOCCollapsible/styles.module.css +2 -2
  33. package/src/theme/Tag/styles.module.css +4 -4
  34. package/src/theme/Toggle/styles.module.css +6 -6
  35. package/src/validateThemeConfig.ts +2 -0
@@ -228,8 +228,10 @@ const ThemeConfigSchema = _utilsValidation.Joi.object({
228
228
  image: _utilsValidation.Joi.string(),
229
229
  docs: DocsSchema,
230
230
  metadata: _utilsValidation.Joi.array().items(HtmlMetadataSchema).default(DEFAULT_CONFIG.metadata),
231
+ // cSpell:ignore metadatas
231
232
  metadatas: _utilsValidation.Joi.any().forbidden().messages({
232
- 'any.unknown': 'themeConfig.metadatas has been renamed as themeConfig.metadata. See https://github.com/facebook/docusaurus/pull/5871'
233
+ 'any.unknown': // cSpell:ignore metadatas
234
+ 'themeConfig.metadatas has been renamed as themeConfig.metadata. See https://github.com/facebook/docusaurus/pull/5871'
233
235
  }),
234
236
  announcementBar: _utilsValidation.Joi.object({
235
237
  id: _utilsValidation.Joi.string().default('announcement-bar'),
@@ -21,7 +21,7 @@
21
21
  transform: scale(0);
22
22
  }
23
23
 
24
- .backToTopButton:after {
24
+ .backToTopButton::after {
25
25
  content: ' ';
26
26
  display: inline-block;
27
27
  mask: var(--ifm-menu-link-sublist-icon) 50% / 2rem 2rem no-repeat;
@@ -19,7 +19,7 @@ function BlogPostAuthor({author}) {
19
19
  )}
20
20
 
21
21
  {
22
- // Note: only legacy author frontmatter allow empty name (not frontMatter.authors)
22
+ // Note: only legacy author front matter allow empty name (not frontMatter.authors)
23
23
  name && (
24
24
  <div
25
25
  className="avatar__intro"
@@ -12,8 +12,7 @@
12
12
 
13
13
  .imageOnlyAuthorRow {
14
14
  display: flex;
15
- flex-direction: row;
16
- flex-wrap: wrap;
15
+ flex-flow: row wrap;
17
16
  }
18
17
 
19
18
  .imageOnlyAuthorCol {
@@ -57,7 +57,7 @@ function BlogPostPage(props) {
57
57
  <meta property="og:type" content="article" />
58
58
  <meta property="article:published_time" content={date} />
59
59
 
60
- {/* TODO double check those article metas array syntaxes, see https://ogp.me/#array */}
60
+ {/* TODO double check those article meta array syntaxes, see https://ogp.me/#array */}
61
61
  {authors.some((author) => author.url) && (
62
62
  <meta
63
63
  property="article:author"
@@ -30,9 +30,11 @@
30
30
  .sidebarItemLink {
31
31
  color: var(--ifm-font-color-base);
32
32
  }
33
+
33
34
  .sidebarItemLink:hover {
34
35
  text-decoration: none;
35
36
  }
37
+
36
38
  .sidebarItemLinkActive {
37
39
  color: var(--ifm-color-primary) !important;
38
40
  }
@@ -13,7 +13,7 @@
13
13
 
14
14
  .codeBlockContent {
15
15
  position: relative;
16
- /*rtl:ignore*/
16
+ /* rtl:ignore */
17
17
  direction: ltr;
18
18
  }
19
19
 
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  .copyButton {
46
- background: rgba(0, 0, 0, 0.3);
46
+ background: rgb(0 0 0 / 30%);
47
47
  border-radius: var(--ifm-global-radius);
48
48
  color: var(--ifm-color-white);
49
49
  opacity: 0;
@@ -63,7 +63,7 @@
63
63
 
64
64
  .codeBlockLines {
65
65
  font: inherit;
66
- /*rtl:ignore*/
66
+ /* rtl:ignore */
67
67
  float: left;
68
68
  min-width: 100%;
69
69
  padding: var(--ifm-pre-padding);
@@ -7,14 +7,13 @@
7
7
 
8
8
  .cardContainer {
9
9
  height: 8rem;
10
-
11
10
  color: var(--ifm-color-emphasis-800);
12
11
  --ifm-link-color: var(--ifm-color-emphasis-800);
13
12
  --ifm-link-hover-color: var(--ifm-color-emphasis-800);
14
13
  --ifm-link-hover-decoration: none;
15
14
 
16
15
  /* box-shadow: var(--ifm-global-shadow-lw); */
17
- box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.15);
16
+ box-shadow: 0 1.5px 3px 0 rgb(0 0 0 / 15%);
18
17
  border: 1px solid var(--ifm-color-emphasis-200);
19
18
  transition: box-shadow var(--ifm-transition-fast) ease,
20
19
  background-color var(--ifm-transition-fast) ease;
@@ -22,8 +21,9 @@
22
21
 
23
22
  .cardContainer.cardContainerLink:hover {
24
23
  /* box-shadow: var(--ifm-global-shadow-md); */
25
- box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
24
+ box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
26
25
  }
26
+
27
27
  html[data-theme='dark'] .cardContainer.cardContainerLink:hover {
28
28
  --ifm-card-background-color: #2d2d2d; /* original, non-hovered color is #242526 */
29
29
  }
@@ -28,7 +28,7 @@ export default function DocItem(props) {
28
28
  toc_max_heading_level: tocMaxHeadingLevel,
29
29
  } = frontMatter;
30
30
  const {description, title} = metadata; // We only add a title if:
31
- // - user asks to hide it with frontmatter
31
+ // - user asks to hide it with front matter
32
32
  // - the markdown content does not already contain a top-level h1 heading
33
33
 
34
34
  const shouldAddTitle =
@@ -74,7 +74,7 @@ export default function DocItem(props) {
74
74
  <div
75
75
  className={clsx(ThemeClassNames.docs.docMarkdown, 'markdown')}>
76
76
  {/*
77
- Title can be declared inside md content or declared through frontmatter and added manually
77
+ Title can be declared inside md content or declared through front matter and added manually
78
78
  To make both cases consistent, the added title is added under the same div.markdown block
79
79
  See https://github.com/facebook/docusaurus/pull/4882#issuecomment-853021120
80
80
  */}
@@ -68,6 +68,7 @@
68
68
  .expandSidebarButtonIcon {
69
69
  transform: rotate(0);
70
70
  }
71
+
71
72
  html[dir='rtl'] .expandSidebarButtonIcon {
72
73
  transform: rotate(180deg);
73
74
  }
@@ -71,6 +71,7 @@
71
71
  transform: rotate(180deg);
72
72
  margin-top: 4px;
73
73
  }
74
+
74
75
  html[dir='rtl'] .collapseSidebarButtonIcon {
75
76
  transform: rotate(0);
76
77
  }
@@ -9,6 +9,7 @@
9
9
  .menuLinkText {
10
10
  cursor: initial;
11
11
  }
12
+
12
13
  .menuLinkText:hover {
13
14
  background: none;
14
15
  }
@@ -9,6 +9,7 @@
9
9
  .menuLinkText {
10
10
  cursor: initial;
11
11
  }
12
+
12
13
  .menuLinkText:hover {
13
14
  background: none;
14
15
  }
@@ -12,7 +12,7 @@
12
12
  user-select: none;
13
13
  }
14
14
 
15
- .hash-link:before {
15
+ .hash-link::before {
16
16
  content: '#';
17
17
  }
18
18
 
@@ -20,7 +20,7 @@
20
20
  width: 100%;
21
21
  }
22
22
 
23
- .tocCollapsibleButton:after {
23
+ .tocCollapsibleButton::after {
24
24
  content: '';
25
25
  background: var(--ifm-menu-link-sublist-icon) 50% 50% / 2rem 2rem no-repeat;
26
26
  filter: var(--ifm-menu-link-sublist-icon-filter);
@@ -45,6 +45,6 @@
45
45
  display: block;
46
46
  }
47
47
 
48
- .tocCollapsibleExpanded .tocCollapsibleButton:after {
48
+ .tocCollapsibleExpanded .tocCollapsibleButton::after {
49
49
  transform: none;
50
50
  }
@@ -33,8 +33,8 @@
33
33
  border-left: 0;
34
34
  }
35
35
 
36
- .tagWithCount:before,
37
- .tagWithCount:after {
36
+ .tagWithCount::before,
37
+ .tagWithCount::after {
38
38
  content: '';
39
39
  position: absolute;
40
40
  top: 50%;
@@ -42,7 +42,7 @@
42
42
  transition: inherit;
43
43
  }
44
44
 
45
- .tagWithCount:before {
45
+ .tagWithCount::before {
46
46
  right: 100%;
47
47
  transform: translate(50%, -50%) rotate(-45deg);
48
48
  width: 1.18rem;
@@ -51,7 +51,7 @@
51
51
  border-bottom: 0;
52
52
  }
53
53
 
54
- .tagWithCount:after {
54
+ .tagWithCount::after {
55
55
  left: 0;
56
56
  transform: translateY(-50%);
57
57
  width: 0.5rem;
@@ -39,8 +39,8 @@
39
39
  position: absolute;
40
40
  width: 14px;
41
41
  height: 10px;
42
- top: 0px;
43
- bottom: 0px;
42
+ top: 0;
43
+ bottom: 0;
44
44
  margin: auto 0;
45
45
  left: 8px;
46
46
  opacity: 0;
@@ -57,8 +57,8 @@
57
57
  position: absolute;
58
58
  width: 10px;
59
59
  height: 10px;
60
- top: 0px;
61
- bottom: 0px;
60
+ top: 0;
61
+ bottom: 0;
62
62
  margin: auto 0;
63
63
  right: 10px;
64
64
  opacity: 1;
@@ -84,7 +84,7 @@
84
84
 
85
85
  .toggleFocused .toggleTrackThumb,
86
86
  .toggle:hover .toggleTrackThumb {
87
- box-shadow: 0px 0px 2px 3px var(--ifm-color-primary);
87
+ box-shadow: 0 0 2px 3px var(--ifm-color-primary);
88
88
  }
89
89
 
90
90
  /* stylelint-disable-next-line no-descending-specificity */
@@ -94,7 +94,7 @@
94
94
  }
95
95
 
96
96
  .toggle:active:not(.toggleDisabled) .toggleTrackThumb {
97
- box-shadow: 0px 0px 5px 5px var(--ifm-color-primary);
97
+ box-shadow: 0 0 5px 5px var(--ifm-color-primary);
98
98
  }
99
99
 
100
100
  .toggleIcon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-classic",
3
- "version": "0.0.0-4463",
3
+ "version": "0.0.0-4479",
4
4
  "description": "Classic theme for Docusaurus",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/theme-classic.d.ts",
@@ -23,14 +23,14 @@
23
23
  "update-code-translations": "node -e 'require(\"./update-code-translations.js\").run()'"
24
24
  },
25
25
  "dependencies": {
26
- "@docusaurus/core": "0.0.0-4463",
27
- "@docusaurus/plugin-content-blog": "0.0.0-4463",
28
- "@docusaurus/plugin-content-docs": "0.0.0-4463",
29
- "@docusaurus/plugin-content-pages": "0.0.0-4463",
30
- "@docusaurus/theme-common": "0.0.0-4463",
31
- "@docusaurus/theme-translations": "0.0.0-4463",
32
- "@docusaurus/utils": "0.0.0-4463",
33
- "@docusaurus/utils-validation": "0.0.0-4463",
26
+ "@docusaurus/core": "0.0.0-4479",
27
+ "@docusaurus/plugin-content-blog": "0.0.0-4479",
28
+ "@docusaurus/plugin-content-docs": "0.0.0-4479",
29
+ "@docusaurus/plugin-content-pages": "0.0.0-4479",
30
+ "@docusaurus/theme-common": "0.0.0-4479",
31
+ "@docusaurus/theme-translations": "0.0.0-4479",
32
+ "@docusaurus/utils": "0.0.0-4479",
33
+ "@docusaurus/utils-validation": "0.0.0-4479",
34
34
  "@mdx-js/react": "^1.6.21",
35
35
  "clsx": "^1.1.1",
36
36
  "copy-text-to-clipboard": "^3.0.1",
@@ -43,8 +43,8 @@
43
43
  "rtlcss": "^3.3.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@docusaurus/module-type-aliases": "0.0.0-4463",
47
- "@docusaurus/types": "0.0.0-4463",
46
+ "@docusaurus/module-type-aliases": "0.0.0-4479",
47
+ "@docusaurus/types": "0.0.0-4479",
48
48
  "@types/mdx-js__react": "^1.5.4",
49
49
  "@types/parse-numeric-range": "^0.0.1",
50
50
  "@types/rtlcss": "^3.1.1",
@@ -59,5 +59,5 @@
59
59
  "engines": {
60
60
  "node": ">=14"
61
61
  },
62
- "gitHead": "bb38179c9797527fa1877c8aa20a10a42c7900ad"
62
+ "gitHead": "c85b2f2a43cfed30c1621ccb21057dfd19770a33"
63
63
  }
@@ -21,7 +21,7 @@
21
21
  transform: scale(0);
22
22
  }
23
23
 
24
- .backToTopButton:after {
24
+ .backToTopButton::after {
25
25
  content: ' ';
26
26
  display: inline-block;
27
27
  mask: var(--ifm-menu-link-sublist-icon) 50% / 2rem 2rem no-repeat;
@@ -22,7 +22,7 @@ function BlogPostAuthor({author}: Props): JSX.Element {
22
22
  )}
23
23
 
24
24
  {
25
- // Note: only legacy author frontmatter allow empty name (not frontMatter.authors)
25
+ // Note: only legacy author front matter allow empty name (not frontMatter.authors)
26
26
  name && (
27
27
  <div
28
28
  className="avatar__intro"
@@ -12,8 +12,7 @@
12
12
 
13
13
  .imageOnlyAuthorRow {
14
14
  display: flex;
15
- flex-direction: row;
16
- flex-wrap: wrap;
15
+ flex-flow: row wrap;
17
16
  }
18
17
 
19
18
  .imageOnlyAuthorCol {
@@ -62,7 +62,7 @@ function BlogPostPage(props: Props): JSX.Element {
62
62
  <meta property="og:type" content="article" />
63
63
  <meta property="article:published_time" content={date} />
64
64
 
65
- {/* TODO double check those article metas array syntaxes, see https://ogp.me/#array */}
65
+ {/* TODO double check those article meta array syntaxes, see https://ogp.me/#array */}
66
66
  {authors.some((author) => author.url) && (
67
67
  <meta
68
68
  property="article:author"
@@ -30,9 +30,11 @@
30
30
  .sidebarItemLink {
31
31
  color: var(--ifm-font-color-base);
32
32
  }
33
+
33
34
  .sidebarItemLink:hover {
34
35
  text-decoration: none;
35
36
  }
37
+
36
38
  .sidebarItemLinkActive {
37
39
  color: var(--ifm-color-primary) !important;
38
40
  }
@@ -13,7 +13,7 @@
13
13
 
14
14
  .codeBlockContent {
15
15
  position: relative;
16
- /*rtl:ignore*/
16
+ /* rtl:ignore */
17
17
  direction: ltr;
18
18
  }
19
19
 
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  .copyButton {
46
- background: rgba(0, 0, 0, 0.3);
46
+ background: rgb(0 0 0 / 30%);
47
47
  border-radius: var(--ifm-global-radius);
48
48
  color: var(--ifm-color-white);
49
49
  opacity: 0;
@@ -63,7 +63,7 @@
63
63
 
64
64
  .codeBlockLines {
65
65
  font: inherit;
66
- /*rtl:ignore*/
66
+ /* rtl:ignore */
67
67
  float: left;
68
68
  min-width: 100%;
69
69
  padding: var(--ifm-pre-padding);
@@ -7,14 +7,13 @@
7
7
 
8
8
  .cardContainer {
9
9
  height: 8rem;
10
-
11
10
  color: var(--ifm-color-emphasis-800);
12
11
  --ifm-link-color: var(--ifm-color-emphasis-800);
13
12
  --ifm-link-hover-color: var(--ifm-color-emphasis-800);
14
13
  --ifm-link-hover-decoration: none;
15
14
 
16
15
  /* box-shadow: var(--ifm-global-shadow-lw); */
17
- box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.15);
16
+ box-shadow: 0 1.5px 3px 0 rgb(0 0 0 / 15%);
18
17
  border: 1px solid var(--ifm-color-emphasis-200);
19
18
  transition: box-shadow var(--ifm-transition-fast) ease,
20
19
  background-color var(--ifm-transition-fast) ease;
@@ -22,8 +21,9 @@
22
21
 
23
22
  .cardContainer.cardContainerLink:hover {
24
23
  /* box-shadow: var(--ifm-global-shadow-md); */
25
- box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
24
+ box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
26
25
  }
26
+
27
27
  html[data-theme='dark'] .cardContainer.cardContainerLink:hover {
28
28
  --ifm-card-background-color: #2d2d2d; /* original, non-hovered color is #242526 */
29
29
  }
@@ -33,7 +33,7 @@ export default function DocItem(props: Props): JSX.Element {
33
33
  const {description, title} = metadata;
34
34
 
35
35
  // We only add a title if:
36
- // - user asks to hide it with frontmatter
36
+ // - user asks to hide it with front matter
37
37
  // - the markdown content does not already contain a top-level h1 heading
38
38
  const shouldAddTitle =
39
39
  !hideTitle && typeof DocContent.contentTitle === 'undefined';
@@ -75,7 +75,7 @@ export default function DocItem(props: Props): JSX.Element {
75
75
  <div
76
76
  className={clsx(ThemeClassNames.docs.docMarkdown, 'markdown')}>
77
77
  {/*
78
- Title can be declared inside md content or declared through frontmatter and added manually
78
+ Title can be declared inside md content or declared through front matter and added manually
79
79
  To make both cases consistent, the added title is added under the same div.markdown block
80
80
  See https://github.com/facebook/docusaurus/pull/4882#issuecomment-853021120
81
81
  */}
@@ -68,6 +68,7 @@
68
68
  .expandSidebarButtonIcon {
69
69
  transform: rotate(0);
70
70
  }
71
+
71
72
  html[dir='rtl'] .expandSidebarButtonIcon {
72
73
  transform: rotate(180deg);
73
74
  }
@@ -71,6 +71,7 @@
71
71
  transform: rotate(180deg);
72
72
  margin-top: 4px;
73
73
  }
74
+
74
75
  html[dir='rtl'] .collapseSidebarButtonIcon {
75
76
  transform: rotate(0);
76
77
  }
@@ -9,6 +9,7 @@
9
9
  .menuLinkText {
10
10
  cursor: initial;
11
11
  }
12
+
12
13
  .menuLinkText:hover {
13
14
  background: none;
14
15
  }
@@ -9,6 +9,7 @@
9
9
  .menuLinkText {
10
10
  cursor: initial;
11
11
  }
12
+
12
13
  .menuLinkText:hover {
13
14
  background: none;
14
15
  }
@@ -12,7 +12,7 @@
12
12
  user-select: none;
13
13
  }
14
14
 
15
- .hash-link:before {
15
+ .hash-link::before {
16
16
  content: '#';
17
17
  }
18
18
 
@@ -20,7 +20,7 @@
20
20
  width: 100%;
21
21
  }
22
22
 
23
- .tocCollapsibleButton:after {
23
+ .tocCollapsibleButton::after {
24
24
  content: '';
25
25
  background: var(--ifm-menu-link-sublist-icon) 50% 50% / 2rem 2rem no-repeat;
26
26
  filter: var(--ifm-menu-link-sublist-icon-filter);
@@ -45,6 +45,6 @@
45
45
  display: block;
46
46
  }
47
47
 
48
- .tocCollapsibleExpanded .tocCollapsibleButton:after {
48
+ .tocCollapsibleExpanded .tocCollapsibleButton::after {
49
49
  transform: none;
50
50
  }
@@ -33,8 +33,8 @@
33
33
  border-left: 0;
34
34
  }
35
35
 
36
- .tagWithCount:before,
37
- .tagWithCount:after {
36
+ .tagWithCount::before,
37
+ .tagWithCount::after {
38
38
  content: '';
39
39
  position: absolute;
40
40
  top: 50%;
@@ -42,7 +42,7 @@
42
42
  transition: inherit;
43
43
  }
44
44
 
45
- .tagWithCount:before {
45
+ .tagWithCount::before {
46
46
  right: 100%;
47
47
  transform: translate(50%, -50%) rotate(-45deg);
48
48
  width: 1.18rem;
@@ -51,7 +51,7 @@
51
51
  border-bottom: 0;
52
52
  }
53
53
 
54
- .tagWithCount:after {
54
+ .tagWithCount::after {
55
55
  left: 0;
56
56
  transform: translateY(-50%);
57
57
  width: 0.5rem;
@@ -39,8 +39,8 @@
39
39
  position: absolute;
40
40
  width: 14px;
41
41
  height: 10px;
42
- top: 0px;
43
- bottom: 0px;
42
+ top: 0;
43
+ bottom: 0;
44
44
  margin: auto 0;
45
45
  left: 8px;
46
46
  opacity: 0;
@@ -57,8 +57,8 @@
57
57
  position: absolute;
58
58
  width: 10px;
59
59
  height: 10px;
60
- top: 0px;
61
- bottom: 0px;
60
+ top: 0;
61
+ bottom: 0;
62
62
  margin: auto 0;
63
63
  right: 10px;
64
64
  opacity: 1;
@@ -84,7 +84,7 @@
84
84
 
85
85
  .toggleFocused .toggleTrackThumb,
86
86
  .toggle:hover .toggleTrackThumb {
87
- box-shadow: 0px 0px 2px 3px var(--ifm-color-primary);
87
+ box-shadow: 0 0 2px 3px var(--ifm-color-primary);
88
88
  }
89
89
 
90
90
  /* stylelint-disable-next-line no-descending-specificity */
@@ -94,7 +94,7 @@
94
94
  }
95
95
 
96
96
  .toggle:active:not(.toggleDisabled) .toggleTrackThumb {
97
- box-shadow: 0px 0px 5px 5px var(--ifm-color-primary);
97
+ box-shadow: 0 0 5px 5px var(--ifm-color-primary);
98
98
  }
99
99
 
100
100
  .toggleIcon {
@@ -277,8 +277,10 @@ const ThemeConfigSchema = Joi.object({
277
277
  metadata: Joi.array()
278
278
  .items(HtmlMetadataSchema)
279
279
  .default(DEFAULT_CONFIG.metadata),
280
+ // cSpell:ignore metadatas
280
281
  metadatas: Joi.any().forbidden().messages({
281
282
  'any.unknown':
283
+ // cSpell:ignore metadatas
282
284
  'themeConfig.metadatas has been renamed as themeConfig.metadata. See https://github.com/facebook/docusaurus/pull/5871',
283
285
  }),
284
286
  announcementBar: Joi.object({