Skip to content

Commit 0e8ed32

Browse files
authored
Added missing icons and their defaults to JSON schema (#7020)
* add missing `icon`s to theme schema https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/?h=icons#site-icons * Add missing schema defaults
1 parent e4eb74e commit 0e8ed32

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

docs/schema/theme.json

+55
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,33 @@
344344
"repo": {
345345
"$ref": "#/$defs/icon"
346346
},
347+
"annotation": {
348+
"$ref": "#/$defs/icon"
349+
},
350+
"top": {
351+
"$ref": "#/$defs/icon"
352+
},
353+
"share": {
354+
"$ref": "#/$defs/icon"
355+
},
356+
"menu": {
357+
"$ref": "#/$defs/icon"
358+
},
359+
"alternate": {
360+
"$ref": "#/$defs/icon"
361+
},
362+
"search": {
363+
"$ref": "#/$defs/icon"
364+
},
365+
"close": {
366+
"$ref": "#/$defs/icon"
367+
},
368+
"previous": {
369+
"$ref": "#/$defs/icon"
370+
},
371+
"next": {
372+
"$ref": "#/$defs/icon"
373+
},
347374
"admonition": {
348375
"title": "Admonition icon",
349376
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/admonitions/#admonition-icons",
@@ -463,6 +490,34 @@
463490
{
464491
"label": "repo",
465492
"body": "repo: ${1:fontawesome/brands/git-alt}"
493+
},
494+
{
495+
"label": "top",
496+
"body": "top: ${1:material/arrow-up}"
497+
},
498+
{
499+
"label": "menu",
500+
"body": "menu: ${1:material/menu}"
501+
},
502+
{
503+
"label": "alternate",
504+
"body": "alternate: ${1:material/translate}"
505+
},
506+
{
507+
"label": "share",
508+
"body": "share: ${1:material/share-variant}"
509+
},
510+
{
511+
"label": "search",
512+
"body": "search: ${1:material/magnify}"
513+
},
514+
{
515+
"label": "previous",
516+
"body": "previous: ${1:material/arrow-left}"
517+
},
518+
{
519+
"label": "next",
520+
"body": "next: ${1:material/arrow-right}"
466521
}
467522
]
468523
},

0 commit comments

Comments
 (0)