mirror of
https://github.com/D-Modem/brand.git
synced 2026-11-28 17:58:05 -08:00
Sydney chose Zensical for the sites. It reads the same mkdocs.yml settings and theme overrides; the accent's lookup is written for its templates (no dict .get), and tools/site.sh and the workflow run zensical build --strict. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
20 lines
694 B
HTML
20 lines
694 B
HTML
{#- The D-Modem sites' theme: Zensical's with the suite's bar on top and the
|
|
repository's Rainbow Book as its accent (extra.repo in mkdocs.yml). -#}
|
|
{% extends "base.html" %}
|
|
|
|
{% block extrahead %}
|
|
{%- set books = {
|
|
"D-Modem": "#ff4d5e", "hardware": "#ff8a3d", "app": "#ffd23d",
|
|
"menu": "#3ddc84", "bbs": "#3d8bff", "go3270": "#a66bff",
|
|
"brand": "#f2f4fa", "D-Modem.github.io": "#3dff9a"
|
|
} -%}
|
|
<style>:root { --suite-accent: {{ books[config.extra.repo] or "#3dff9a" }}; }</style>
|
|
<link rel="stylesheet" href="{{ 'assets/suite/d-modem.css' | url }}">
|
|
{{ super() }}
|
|
{% endblock %}
|
|
|
|
{% block header %}
|
|
{% include "partials/suite.html" %}
|
|
{{ super() }}
|
|
{% endblock %}
|