~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion] andreijiroh.dev
zensical mkdocs-material website

chore: revert mkdocs config changes from commit 6437e2fa15751337e797fa4a168805e4837089ab

Lucide icons only available in Zensical, hence the build errors on,
Mkdocs side. Because of that I also apply these changes to Zensical config too
to keep them in sync in the meanwhile.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

andreijiroh.dev 77b13959 d89cafb8

verified
Changed files
+62 -4
+4 -4
mkdocs.yml
···
primary: green
accent: yellow
toggle:
-
icon: lucide/sun-moon
+
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
···
primary: green
accent: yellow
toggle:
-
icon: lucide/sun
-
name: Switch to dark mode
+
icon: material/brightness-7
+
name: Switch to system preference
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
···
primary: green
accent: yellow
toggle:
-
icon: lucide/moon
+
icon: material/brightness-4
name: Switch to light mode
# plugins
+58
zensical.toml
···
+
[project]
+
# basic metadata
+
site_name = "~ajhalili2006"
+
site_url = "https://andreijiroh.dev"
+
docs_dir = "markdown"
+
site_dir = "public"
+
site_author = "Andrei Jiroh Halili"
+
copyright = "Copyright &copy; 2022-present - Andrei Jiroh Halili and contributors, licensed under the <a href=\"https://creativecommons.org/licenses/by-sa/4.0\">CC BY-SA 4.0</a> license."
+
use_directory_urls = true
+
+
[project.extra]
+
fediverse_handle = "@ajhalili2006:tilde.zone"
+
+
[project.theme]
+
custom_dir = "overrides"
+
# project features
+
features = [
+
"announce.dismiss",
+
"content.action.edit",
+
"content.action.view",
+
"content.code.annotate",
+
"content.code.copy",
+
"navigation.footer",
+
"avigation.indexes",
+
"navigation.sections",
+
"navigation.tabs",
+
"navigation.top",
+
"navigation.tracking",
+
"search.highlight",
+
"search.share",
+
"search.suggest",
+
"toc.follow",
+
]
+
+
# Palette
+
## Palette toggle for automatic mode
+
[[project.theme.palette]]
+
media = "(prefers-color-scheme)"
+
palette.primary = "green"
+
palette.accent = "yellow"
+
toggle.icon = "material/brightness-auto"
+
toggle.name = "Switch to light mode"
+
## Palette toggle for light mode
+
[[project.theme.palette]]
+
media = "(prefers-color-scheme: light)"
+
scheme = "default"
+
palette.primary = "green"
+
palette.accent = "yellow"
+
toggle.icon = "material/brightness-7"
+
toggle.name = "Switch to dark mode"
+
## Palette toggle for dark mode
+
[[project.theme.palette]]
+
media = "(prefers-color-scheme: dark)"
+
scheme = "slate"
+
palette.primary = "green"
+
palette.accent = "yellow"
+
toggle.icon = "material/brightness-4"
+
toggle.name = "Switch to system preference"