From 0e8ed32bda73b79e48357585c5fd2e9d71bfa9d5 Mon Sep 17 00:00:00 2001 From: Hudson Date: Sun, 7 Apr 2024 09:43:56 +1000 Subject: [PATCH] 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 --- docs/schema/theme.json | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/docs/schema/theme.json b/docs/schema/theme.json index 66813a24c..4318ceee7 100644 --- a/docs/schema/theme.json +++ b/docs/schema/theme.json @@ -344,6 +344,33 @@ "repo": { "$ref": "#/$defs/icon" }, + "annotation": { + "$ref": "#/$defs/icon" + }, + "top": { + "$ref": "#/$defs/icon" + }, + "share": { + "$ref": "#/$defs/icon" + }, + "menu": { + "$ref": "#/$defs/icon" + }, + "alternate": { + "$ref": "#/$defs/icon" + }, + "search": { + "$ref": "#/$defs/icon" + }, + "close": { + "$ref": "#/$defs/icon" + }, + "previous": { + "$ref": "#/$defs/icon" + }, + "next": { + "$ref": "#/$defs/icon" + }, "admonition": { "title": "Admonition icon", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/admonitions/#admonition-icons", @@ -463,6 +490,34 @@ { "label": "repo", "body": "repo: ${1:fontawesome/brands/git-alt}" + }, + { + "label": "top", + "body": "top: ${1:material/arrow-up}" + }, + { + "label": "menu", + "body": "menu: ${1:material/menu}" + }, + { + "label": "alternate", + "body": "alternate: ${1:material/translate}" + }, + { + "label": "share", + "body": "share: ${1:material/share-variant}" + }, + { + "label": "search", + "body": "search: ${1:material/magnify}" + }, + { + "label": "previous", + "body": "previous: ${1:material/arrow-left}" + }, + { + "label": "next", + "body": "next: ${1:material/arrow-right}" } ] },