mkdocs-material/docs/schema/theme.json

890 lines
25 KiB
JSON
Raw Permalink Normal View History

2022-01-29 18:12:25 +03:00
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Theme configuration",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/",
"type": "object",
"properties": {
"name": {
"title": "Theme name",
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#name",
"oneOf": [
{
"const": "material"
2022-01-29 18:12:25 +03:00
},
{
"type": "null"
}
2022-01-29 20:19:42 +03:00
],
"default": "material"
2022-01-29 18:12:25 +03:00
},
"custom_dir": {
"title": "Directory with theme overrides",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#setup-and-theme-structure",
2022-01-30 16:19:35 +03:00
"type": "string",
"defaultSnippets": [
{
"body": "${1:overrides}"
}
]
2022-01-29 18:12:25 +03:00
},
"static_templates": {
"title": "Static templates to render",
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#static_templates",
"type": "array",
"items": {
2022-01-29 20:19:42 +03:00
"title": "Path to HTML file",
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#static_templates",
2022-01-29 18:12:25 +03:00
"pattern": "\\.html$"
},
"uniqueItems": true,
"minItems": 1
},
"language": {
"title": "Site language",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/",
"oneOf": [
{
"title": "Site language: Custom",
2022-02-06 11:14:59 +03:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#custom-translations",
"const": "custom"
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Afrikaans",
"const": "af"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Arabic",
"const": "ar"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Bulgarian",
"const": "bg"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Bengali (Bangla)",
"const": "bn"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Catalan",
"const": "ca"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Czech",
"const": "cs"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Danish",
"const": "da"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: German",
"const": "de"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Greek",
"const": "el"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: English",
"const": "en"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Esperanto",
"const": "eo"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Spanish",
"const": "es"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Estonian",
"const": "et"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Persian (Farsi)",
"const": "fa"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Finnish",
"const": "fi"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: French",
"const": "fr"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Galician",
"const": "gl"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Hebrew",
"const": "he"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Hindi",
"const": "hi"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Croatian",
"const": "hr"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Hungarian",
"const": "hu"
2022-01-29 18:12:25 +03:00
},
2022-08-13 10:00:52 +03:00
{
"title": "Site language: Armenian",
"const": "hy"
2022-08-13 10:00:52 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Indonesian",
"const": "id"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Icelandic",
"const": "is"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Italian",
"const": "it"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Japanese",
"const": "ja"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Georgian",
"const": "ka"
2022-01-29 18:12:25 +03:00
},
2023-05-02 09:41:24 +03:00
{
"title": "Site language: Kannada",
"const": "kn"
2023-05-02 09:41:24 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Korean",
"const": "ko"
2022-01-29 18:12:25 +03:00
},
2022-08-13 10:12:58 +03:00
{
"title": "Site language: Lithuanian",
"const": "lt"
2022-08-13 10:12:58 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Latvian",
"const": "lv"
2022-01-29 18:12:25 +03:00
},
2022-04-24 13:38:52 +03:00
{
"title": "Site language: Macedonian",
"const": "mk"
2022-04-24 13:38:52 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Mongolian",
"const": "mn"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Bahasa Malaysia",
"const": "ms"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Burmese",
"const": "my"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Dutch",
"const": "nl"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Norwegian (Bokmål)",
"const": "nb"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Norwegian (Nynorsk)",
"const": "nn"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Polish",
"const": "pl"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Portuguese",
"const": "pt"
2022-01-29 18:12:25 +03:00
},
2022-02-13 15:45:28 +03:00
{
"title": "Site language: Portuguese (Brasilian)",
"const": "pt-BR"
2022-02-13 15:45:28 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Romanian",
"const": "ro"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Russian",
"const": "ru"
2022-01-29 18:12:25 +03:00
},
2023-05-02 09:41:24 +03:00
{
"title": "Site language: Sanskrit",
"const": "sa"
2023-05-02 09:41:24 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Serbo-Croatian",
"const": "sh"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Sinhalese",
"const": "si"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Slovak",
"const": "sk"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Slovenian",
"const": "sl"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Serbian",
"const": "sr"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Swedish",
"const": "sv"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Tamil",
"const": "ta"
},
2023-05-02 09:41:24 +03:00
{
"title": "Site language: Telugu",
"const": "te"
2023-05-02 09:41:24 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Thai",
"const": "th"
2022-01-29 18:12:25 +03:00
},
2022-08-13 10:19:16 +03:00
{
"title": "Site language: Tagalog",
"const": "tl"
2022-08-13 10:19:16 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Turkish",
"const": "tr"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Ukrainian",
"const": "uk"
2022-01-29 18:12:25 +03:00
},
2022-08-13 10:00:52 +03:00
{
"title": "Site language: Urdu",
"const": "ur"
2022-08-13 10:00:52 +03:00
},
{
"title": "Site language: Uzbek",
"const": "uz"
2022-08-13 10:00:52 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Site language: Vietnamese",
"const": "vi"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Chinese (Simplified)",
"const": "zh"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Chinese (Traditional)",
"const": "zh-Hant"
2022-01-29 18:12:25 +03:00
},
{
"title": "Site language: Chinese (Taiwanese)",
"const": "zh-TW"
2022-01-29 18:12:25 +03:00
}
2022-01-29 20:19:42 +03:00
],
"default": "en"
},
"direction": {
"title": "Directionality",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#directionality",
"enum": [
"ltr",
"rtl"
2022-01-29 18:12:25 +03:00
]
},
2022-01-29 20:19:42 +03:00
"favicon": {
"title": "Favicon",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#favicon",
2022-01-30 16:19:35 +03:00
"pattern": "\\.(ico|png|svg|jpe?g)$",
"defaultSnippets": [
{
2022-06-05 11:26:58 +03:00
"body": "${1:path/to/file}.png"
2022-01-30 16:19:35 +03:00
}
]
2022-01-29 20:19:42 +03:00
},
"logo": {
2022-01-29 21:14:23 +03:00
"title": "Logo",
2022-01-29 20:19:42 +03:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#logo",
2022-01-30 16:19:35 +03:00
"pattern": "\\.(png|svg|jpe?g)$",
"defaultSnippets": [
{
2022-06-05 11:26:58 +03:00
"body": "${1:path/to/file}.png"
2022-01-30 16:19:35 +03:00
}
]
2022-01-29 20:19:42 +03:00
},
"icon": {
"title": "Icons",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/",
"type": "object",
"properties": {
2022-09-01 17:54:05 +03:00
"edit": {
"$ref": "#/$defs/icon"
2022-09-01 17:54:05 +03:00
},
"view": {
"$ref": "#/$defs/icon"
},
2022-01-29 20:19:42 +03:00
"logo": {
"$ref": "#/$defs/icon"
2022-01-29 21:14:23 +03:00
},
"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",
"type": "object",
"properties": {
"note": {
"$ref": "#/$defs/icon"
},
"abstract": {
"$ref": "#/$defs/icon"
},
"info": {
"$ref": "#/$defs/icon"
},
"tip": {
"$ref": "#/$defs/icon"
},
"success": {
"$ref": "#/$defs/icon"
},
"question": {
"$ref": "#/$defs/icon"
},
"warning": {
"$ref": "#/$defs/icon"
},
"failure": {
"$ref": "#/$defs/icon"
},
"danger": {
"$ref": "#/$defs/icon"
},
"bug": {
"$ref": "#/$defs/icon"
},
"example": {
"$ref": "#/$defs/icon"
},
"quote": {
"$ref": "#/$defs/icon"
}
},
2022-01-30 16:19:35 +03:00
"additionalProperties": false,
"defaultSnippets": [
{
"label": "note",
2022-11-13 19:42:28 +03:00
"body": "note: ${1:material/pencil-circle}"
2022-01-30 16:19:35 +03:00
},
{
"label": "abstract",
"body": "abstract: ${1:material/clipboard-text}"
},
{
"label": "info",
"body": "info: ${1:material/information}"
},
{
"label": "tip",
"body": "tip: ${1:material/fire}"
},
{
"label": "success",
2022-11-13 19:42:28 +03:00
"body": "success: ${1:material/check}"
2022-01-30 16:19:35 +03:00
},
{
"label": "question",
"body": "question: ${1:material/help-circle}"
},
{
"label": "warning",
"body": "warning: ${1:material/alert}"
},
{
"label": "failure",
2022-11-13 19:42:28 +03:00
"body": "failure: ${1:material/close}"
2022-01-30 16:19:35 +03:00
},
{
"label": "danger",
2022-11-13 19:42:28 +03:00
"body": "danger: ${1:material/lightning-bolt-circle}"
2022-01-30 16:19:35 +03:00
},
{
"label": "bug",
2022-11-13 19:42:28 +03:00
"body": "bug: ${1:material/shield-bug}"
2022-01-30 16:19:35 +03:00
},
{
"label": "example",
2022-11-13 19:42:28 +03:00
"body": "example: ${1:material/test-tube}"
2022-01-30 16:19:35 +03:00
},
{
"label": "quote",
"body": "quote: ${1:material/format-quote-close}"
}
]
2022-04-25 00:15:26 +03:00
},
"tag": {
"title": "Tag icon",
2022-10-22 09:43:36 +03:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#tag-icons-and-identifiers",
2022-04-25 00:15:26 +03:00
"type": "object",
"patternProperties": {
2022-11-13 15:56:17 +03:00
"^[\\w-]+$": {
"$ref": "#/$defs/icon"
2022-04-25 00:15:26 +03:00
}
},
"additionalProperties": false
2022-01-29 20:19:42 +03:00
}
2022-01-30 16:19:35 +03:00
},
"additionalProperties": false,
"defaultSnippets": [
2022-09-01 17:54:05 +03:00
{
"label": "edit",
"body": "edit: ${1:material/pencil}"
},
2022-01-30 16:19:35 +03:00
{
"label": "logo",
"body": "logo: ${1:material/library}"
},
{
"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}"
2022-01-30 16:19:35 +03:00
}
]
2022-01-29 20:19:42 +03:00
},
2022-01-29 18:12:25 +03:00
"features": {
"title": "Feature flags",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/",
"type": "array",
"items": {
"oneOf": [
2022-01-29 21:14:23 +03:00
{
"title": "Mark as read",
2022-01-30 16:19:35 +03:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-header/#mark-as-read",
"const": "announce.dismiss"
2022-01-29 21:14:23 +03:00
},
{
"title": "Edit this page",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#code-actions",
"const": "content.action.edit"
},
{
"title": "View source of this page",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#code-actions",
"const": "content.action.view"
},
2022-01-29 18:12:25 +03:00
{
"title": "Code annotations",
2022-01-30 16:19:35 +03:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-annotations",
"const": "content.code.annotate"
2022-01-29 18:12:25 +03:00
},
{
"title": "Code copy button",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-copy-button",
"const": "content.code.copy"
},
2023-07-07 12:22:30 +03:00
{
"title": "Code selection button",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-selection-button",
"const": "content.code.select"
2023-07-07 12:22:30 +03:00
},
2024-01-24 11:45:24 +03:00
{
"title": "Footnote tooltips",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/footnotes/#footnote-tooltips",
"const": "content.footnote.tooltips"
},
2022-01-29 18:12:25 +03:00
{
"title": "Linked content tabs",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#linked-content-tabs",
"const": "content.tabs.link"
2022-01-29 18:12:25 +03:00
},
2022-05-08 18:50:57 +03:00
{
"title": "Improved tooltips",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/tooltips/#improved-tooltips",
"const": "content.tooltips"
2022-05-08 18:50:57 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Header hides automatically when scrolling",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-header/#automatic-hiding",
"const": "header.autohide"
2022-01-29 18:12:25 +03:00
},
{
"title": "Navigation expansion",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-expansion",
"const": "navigation.expand"
2022-01-29 18:12:25 +03:00
},
{
"title": "Navigation footer",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-footer",
"const": "navigation.footer"
},
2022-01-29 18:12:25 +03:00
{
"title": "Section index pages",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#section-index-pages",
"const": "navigation.indexes"
2022-01-29 18:12:25 +03:00
},
{
"title": "Instant loading",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-loading",
"const": "navigation.instant"
2022-01-29 18:12:25 +03:00
},
2023-10-03 00:14:08 +03:00
{
"title": "Instant prefetching",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-prefetching",
"const": "navigation.instant.prefetch"
2023-10-03 00:14:08 +03:00
},
{
"title": "Progress indicator",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#progress-indicator",
"const": "navigation.instant.progress"
2023-10-03 00:14:08 +03:00
},
2023-01-14 22:29:27 +03:00
{
"title": "Navigation path (Breadcrumbs)",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-path",
"const": "navigation.path"
2023-01-14 22:29:27 +03:00
},
2022-05-25 10:57:20 +03:00
{
"title": "Navigation pruning",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-pruning",
"const": "navigation.prune"
2022-05-25 10:57:20 +03:00
},
2022-01-29 18:12:25 +03:00
{
"title": "Navigation sections",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-sections",
"const": "navigation.sections"
2022-01-29 18:12:25 +03:00
},
{
"title": "Navigation tabs",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-tabs",
"const": "navigation.tabs"
2022-01-29 18:12:25 +03:00
},
{
"title": "Sticky navigation tabs",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#sticky-navigation-tabs",
"const": "navigation.tabs.sticky"
2022-01-29 18:12:25 +03:00
},
{
"title": "Back-to-top button",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#back-to-top-button",
"const": "navigation.top"
2022-01-29 18:12:25 +03:00
},
{
"title": "Anchor tracking",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-tracking",
"const": "navigation.tracking"
2022-01-29 18:12:25 +03:00
},
{
2024-04-01 17:50:08 +03:00
"title": "Search highlighting",
2022-01-29 18:12:25 +03:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-highlighting",
"const": "search.highlight"
2022-01-29 18:12:25 +03:00
},
{
"title": "Search sharing",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-sharing",
"const": "search.share"
2022-01-29 18:12:25 +03:00
},
{
"title": "Search suggestions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-suggestions",
"const": "search.suggest"
2022-01-29 18:12:25 +03:00
},
{
"title": "Integrated table of contents",
2022-02-06 13:12:14 +03:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-following",
"const": "toc.follow"
2022-02-06 13:12:14 +03:00
},
{
"title": "Integrated table of contents",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-integration",
"const": "toc.integrate"
2022-01-29 18:12:25 +03:00
}
]
},
"uniqueItems": true,
"minItems": 1
},
2022-01-29 20:19:42 +03:00
"palette": {
"oneOf": [
{
"title": "Color palette",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/",
"type": "object",
"properties": {
"scheme": {
"$ref": "#/$defs/scheme"
2022-01-29 20:19:42 +03:00
},
"primary": {
"$ref": "#/$defs/primary"
2022-01-29 20:19:42 +03:00
},
"accent": {
"$ref": "#/$defs/accent"
2022-01-29 20:19:42 +03:00
}
},
"additionalProperties": false
},
{
"title": "Color palette",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/",
"type": "array",
"items": {
"type": "object",
"properties": {
"scheme": {
"$ref": "#/$defs/scheme"
2022-01-29 20:19:42 +03:00
},
"primary": {
"$ref": "#/$defs/primary"
2022-01-29 20:19:42 +03:00
},
"accent": {
"$ref": "#/$defs/accent"
2022-01-29 20:19:42 +03:00
},
"media": {
"oneOf": [
{
2022-01-30 16:19:35 +03:00
"title": "System preference",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#system-preference",
"type": "string",
2022-01-29 20:19:42 +03:00
"enum": [
"\"(prefers-color-scheme: light)\"",
"\"(prefers-color-scheme: dark)\""
]
},
{
"type": "string"
}
2022-01-30 16:19:35 +03:00
],
"defaultSnippets": [
{
"label": "\"(prefers-color-scheme: light)\"",
"body": "\"(prefers-color-scheme: ${1:light})\""
}
2022-01-29 20:19:42 +03:00
]
},
"toggle": {
"title": "Color palette toggle",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-palette-toggle",
"properties": {
"icon": {
"$ref": "#/$defs/icon"
2022-01-29 20:19:42 +03:00
},
"name": {
"title": "Color palette toggle name",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#toggle-name",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"icon",
"name"
]
}
},
"additionalProperties": false,
"required": [
"toggle"
]
},
"uniqueItems": true,
"minItems": 1
}
],
"default": {
"scheme": "default",
"primary": "indigo",
"accent": "indigo"
}
},
"font": {
"oneOf": [
{
"title": "Google Fonts",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/",
"type": "object",
2022-01-29 20:19:42 +03:00
"properties": {
"text": {
2022-01-30 11:04:11 +03:00
"$ref": "assets/fonts.json"
2022-01-29 20:19:42 +03:00
},
"code": {
2022-01-30 11:04:11 +03:00
"$ref": "assets/fonts.json"
2022-01-29 20:19:42 +03:00
}
},
2022-03-06 13:45:09 +03:00
"additionalProperties": false
2022-01-29 20:19:42 +03:00
},
{
"title": "Disable Google Fonts",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/#autoloading",
"enum": [
false
]
}
2022-01-30 16:19:35 +03:00
],
"defaultSnippets": [
{
"body": {
"text": "${1:Roboto}",
"code": "${2:Roboto Mono}"
}
}
2022-01-29 20:19:42 +03:00
]
2022-01-29 18:12:25 +03:00
}
},
"additionalProperties": false,
"required": [
"name"
2022-01-29 20:19:42 +03:00
],
"$defs": {
2022-01-29 20:19:42 +03:00
"scheme": {
"title": "Color scheme",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-scheme",
2023-01-14 22:48:22 +03:00
"anyOf": [
2022-01-29 20:19:42 +03:00
{
"enum": [
"default",
"slate"
]
},
{
"type": "string"
}
]
},
"primary": {
"title": "Primary color",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#primary-color",
"enum": [
"red",
"pink",
"purple",
"deep purple",
"indigo",
"blue",
"light blue",
"cyan",
"teal",
"green",
"light green",
"lime",
"yellow",
"amber",
"orange",
"deep orange",
"brown",
"grey",
"blue grey",
"black",
2023-04-28 13:57:37 +03:00
"white",
"custom"
2022-01-29 20:19:42 +03:00
]
},
"accent": {
"title": "Accent color",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#accent-color",
"enum": [
"red",
"pink",
"purple",
"deep purple",
"indigo",
"blue",
"light blue",
"cyan",
"teal",
"green",
"light green",
"lime",
"yellow",
"amber",
"orange",
"deep orange",
"brown",
"grey",
2022-01-30 16:19:35 +03:00
"blue grey",
2022-01-29 20:19:42 +03:00
"black",
2023-04-28 13:57:37 +03:00
"white",
"custom"
2022-01-29 20:19:42 +03:00
]
2022-01-30 16:19:35 +03:00
},
"icon": {
2023-01-14 22:48:22 +03:00
"anyOf": [
2022-01-30 16:19:35 +03:00
{
"$ref": "assets/icons.json"
},
{
2022-01-30 20:00:23 +03:00
"title": "Unknown icon",
2022-01-30 16:19:35 +03:00
"type": "string"
}
]
2022-01-29 20:19:42 +03:00
}
}
2022-01-29 18:12:25 +03:00
}