mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
style(docs): add Geist font, Hanzo logo, and shadcn/ui dark theme
- Replace default logo with Hanzo logo (white for dark header) - Add Hanzo favicon - Configure Geist font family from jsdelivr CDN - Configure Geist Mono for code blocks - Implement shadcn/ui zinc color palette - Set pure black header (#000000) matching shadcn dark mode - Set slate scheme as default (dark mode first) - Style code blocks, tables, admonitions with rounded corners - Remove footer, add scrollbar styling - Fix mkdocstrings config (deprecated selection option)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="64" height="64" rx="8" fill="#000000"/>
|
||||
<g transform="translate(8, 8) scale(0.716)">
|
||||
<path d="M22.21 67V44.6369H0V67H22.21Z" fill="#ffffff"/>
|
||||
<path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z" fill="#ffffff"/>
|
||||
<path d="M22.21 0H0V22.3184H22.21V0Z" fill="#ffffff"/>
|
||||
<path d="M66.7198 0H44.5098V22.3184H66.7198V0Z" fill="#ffffff"/>
|
||||
<path d="M66.7198 67V44.6369H44.5098V67H66.7198Z" fill="#ffffff"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 535 B |
+9
-15
@@ -1,15 +1,9 @@
|
||||
<svg width="721" height="721" viewBox="0 0 721 721" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1637_2935)">
|
||||
<g clip-path="url(#clip1_1637_2935)">
|
||||
<path d="M304.246 295.411V249.828C304.246 245.989 305.687 243.109 309.044 241.191L400.692 188.412C413.167 181.215 428.042 177.858 443.394 177.858C500.971 177.858 537.44 222.482 537.44 269.982C537.44 273.34 537.44 277.179 536.959 281.018L441.954 225.358C436.197 222 430.437 222 424.68 225.358L304.246 295.411ZM518.245 472.945V364.024C518.245 357.304 515.364 352.507 509.608 349.149L389.174 279.096L428.519 256.543C431.877 254.626 434.757 254.626 438.115 256.543L529.762 309.323C556.154 324.679 573.905 357.304 573.905 388.971C573.905 425.436 552.315 459.024 518.245 472.941V472.945ZM275.937 376.982L236.592 353.952C233.235 352.034 231.794 349.154 231.794 345.315V239.756C231.794 188.416 271.139 149.548 324.4 149.548C344.555 149.548 363.264 156.268 379.102 168.262L284.578 222.964C278.822 226.321 275.942 231.119 275.942 237.838V376.986L275.937 376.982ZM360.626 425.922L304.246 394.255V327.083L360.626 295.416L417.002 327.083V394.255L360.626 425.922ZM396.852 571.789C376.698 571.789 357.989 565.07 342.151 553.075L436.674 498.374C442.431 495.017 445.311 490.219 445.311 483.499V344.352L485.138 367.382C488.495 369.299 489.936 372.179 489.936 376.018V481.577C489.936 532.917 450.109 571.785 396.852 571.785V571.789ZM283.134 464.79L191.486 412.01C165.094 396.654 147.343 364.029 147.343 332.362C147.343 295.416 169.415 262.309 203.48 248.393V357.791C203.48 364.51 206.361 369.308 212.117 372.665L332.074 442.237L292.729 464.79C289.372 466.707 286.491 466.707 283.134 464.79ZM277.859 543.48C223.639 543.48 183.813 502.695 183.813 452.314C183.813 448.475 184.294 444.636 184.771 440.797L279.295 495.498C285.051 498.856 290.812 498.856 296.568 495.498L417.002 425.927V471.509C417.002 475.349 415.562 478.229 412.204 480.146L320.557 532.926C308.081 540.122 293.206 543.48 277.854 543.48H277.859ZM396.852 600.576C454.911 600.576 503.37 559.313 514.41 504.612C568.149 490.696 602.696 440.315 602.696 388.976C602.696 355.387 588.303 322.762 562.392 299.25C564.791 289.173 566.231 279.096 566.231 269.024C566.231 200.411 510.571 149.067 446.274 149.067C433.322 149.067 420.846 150.984 408.37 155.305C386.775 134.192 357.026 120.758 324.4 120.758C266.342 120.758 217.883 162.02 206.843 216.721C153.104 230.637 118.557 281.018 118.557 332.357C118.557 365.946 132.95 398.571 158.861 422.083C156.462 432.16 155.022 442.237 155.022 452.309C155.022 520.922 210.682 572.266 274.978 572.266C287.931 572.266 300.407 570.349 312.883 566.028C334.473 587.141 364.222 600.576 396.852 600.576Z" fill="white"/>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1637_2935">
|
||||
<rect width="720" height="720" fill="white" transform="translate(0.606934 0.899902)"/>
|
||||
</clipPath>
|
||||
<clipPath id="clip1_1637_2935">
|
||||
<rect width="484.139" height="479.818" fill="white" transform="translate(118.557 120.758)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
<svg viewBox="0 0 67 67" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M22.21 67V44.6369H0V67H22.21Z" fill="#ffffff"/>
|
||||
<path d="M0 44.6369L22.21 46.8285V44.6369H0Z" fill="#DDDDDD"/>
|
||||
<path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z" fill="#ffffff"/>
|
||||
<path d="M22.21 0H0V22.3184H22.21V0Z" fill="#ffffff"/>
|
||||
<path d="M66.7198 0H44.5098V22.3184H66.7198V0Z" fill="#ffffff"/>
|
||||
<path d="M66.6753 22.3185L44.5098 20.0822V22.3185H66.6753Z" fill="#DDDDDD"/>
|
||||
<path d="M66.7198 67V44.6369H44.5098V67H66.7198Z" fill="#ffffff"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 576 B |
+278
-127
@@ -1,194 +1,345 @@
|
||||
/* Geist Font - Vercel's font used by shadcn/ui */
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Hanzo AI Sans";
|
||||
font-style: normal;
|
||||
font-family: 'Geist';
|
||||
src: url('https://cdn.jsdelivr.net/npm/[email protected]/dist/fonts/geist-sans/Geist-Regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
src: url("https://cdn.openai.com/common/fonts/openai-sans/Hanzo AISans-Regular.woff2")
|
||||
format("woff2");
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Geist';
|
||||
src: url('https://cdn.jsdelivr.net/npm/[email protected]/dist/fonts/geist-sans/Geist-Medium.woff2') format('woff2');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
font-family: "Hanzo AI Sans";
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Geist';
|
||||
src: url('https://cdn.jsdelivr.net/npm/[email protected]/dist/fonts/geist-sans/Geist-SemiBold.woff2') format('woff2');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Geist';
|
||||
src: url('https://cdn.jsdelivr.net/npm/[email protected]/dist/fonts/geist-sans/Geist-Bold.woff2') format('woff2');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Geist Mono';
|
||||
src: url('https://cdn.jsdelivr.net/npm/[email protected]/dist/fonts/geist-mono/GeistMono-Regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
src: url("https://cdn.openai.com/common/fonts/openai-sans/Hanzo AISans-RegularItalic.woff2")
|
||||
format("woff2");
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Hanzo AI Sans";
|
||||
font-style: normal;
|
||||
font-family: 'Geist Mono';
|
||||
src: url('https://cdn.jsdelivr.net/npm/[email protected]/dist/fonts/geist-mono/GeistMono-Medium.woff2') format('woff2');
|
||||
font-weight: 500;
|
||||
src: url("https://cdn.openai.com/common/fonts/openai-sans/Hanzo AISans-Medium.woff2")
|
||||
format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Hanzo AI Sans";
|
||||
font-style: italic;
|
||||
font-weight: 500;
|
||||
src: url("https://cdn.openai.com/common/fonts/openai-sans/Hanzo AISans-MediumItalic.woff2")
|
||||
format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Hanzo AI Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url("https://cdn.openai.com/common/fonts/openai-sans/Hanzo AISans-Semibold.woff2")
|
||||
format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Hanzo AI Sans";
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
src: url("https://cdn.openai.com/common/fonts/openai-sans/Hanzo AISans-SemiboldItalic.woff2")
|
||||
format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Hanzo AI Sans";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url("https://cdn.openai.com/common/fonts/openai-sans/Hanzo AISans-Bold.woff2")
|
||||
format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Hanzo AI Sans";
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: url("https://cdn.openai.com/common/fonts/openai-sans/Hanzo AISans-BoldItalic.woff2")
|
||||
format("woff2");
|
||||
}
|
||||
|
||||
/*
|
||||
Root variables that apply to all color schemes.
|
||||
Material for MkDocs automatically switches data-md-color-scheme
|
||||
between "default" (light) and "slate" (dark) when you use the toggles.
|
||||
*/
|
||||
/* Root variables - Light mode defaults */
|
||||
:root {
|
||||
/* Font families */
|
||||
--md-text-font: "Hanzo AI Sans", -apple-system, system-ui, Helvetica, Arial,
|
||||
sans-serif;
|
||||
--md-typeface-heading: "Hanzo AI Sans", -apple-system, system-ui, Helvetica,
|
||||
Arial, sans-serif;
|
||||
--md-text-font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
--md-code-font: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
|
||||
|
||||
/* Global color variables */
|
||||
--md-default-fg-color: #212121;
|
||||
/* shadcn/ui inspired colors - light mode */
|
||||
--md-primary-fg-color: #09090b;
|
||||
--md-primary-fg-color--light: #18181b;
|
||||
--md-primary-fg-color--dark: #000000;
|
||||
--md-primary-bg-color: #ffffff;
|
||||
--md-primary-bg-color--light: #fafafa;
|
||||
|
||||
--md-accent-fg-color: #09090b;
|
||||
--md-accent-fg-color--transparent: rgba(9, 9, 11, 0.1);
|
||||
--md-accent-bg-color: #f4f4f5;
|
||||
|
||||
--md-default-fg-color: #09090b;
|
||||
--md-default-fg-color--light: #71717a;
|
||||
--md-default-fg-color--lighter: #a1a1aa;
|
||||
--md-default-fg-color--lightest: #e4e4e7;
|
||||
--md-default-bg-color: #ffffff;
|
||||
--md-primary-fg-color: #000;
|
||||
--md-accent-fg-color: #000;
|
||||
--md-default-bg-color--light: #fafafa;
|
||||
--md-default-bg-color--lighter: #f4f4f5;
|
||||
--md-default-bg-color--lightest: #e4e4e7;
|
||||
|
||||
/* Code block theming */
|
||||
--md-code-fg-color: red;
|
||||
--md-code-bg-color: #f5f5f5;
|
||||
/* Code */
|
||||
--md-code-fg-color: #09090b;
|
||||
--md-code-bg-color: #f4f4f5;
|
||||
--md-code-hl-color: rgba(9, 9, 11, 0.1);
|
||||
|
||||
/* Tables, blockquotes, etc. */
|
||||
--md-table-row-border-color: #e0e0e0;
|
||||
--md-admonition-bg-color: #f8f8f8;
|
||||
--md-admonition-title-fg-color: #373737;
|
||||
--md-default-fg-color--light: #000;
|
||||
/* Footer */
|
||||
--md-footer-fg-color: #71717a;
|
||||
--md-footer-fg-color--light: #a1a1aa;
|
||||
--md-footer-fg-color--lighter: #d4d4d8;
|
||||
--md-footer-bg-color: #09090b;
|
||||
--md-footer-bg-color--dark: #000000;
|
||||
|
||||
--md-typeset-a-color: #000;
|
||||
--md-accent-fg-color: #000;
|
||||
|
||||
--md-code-fg-color: #000;
|
||||
/* Typography */
|
||||
--md-typeset-color: #09090b;
|
||||
--md-typeset-a-color: #09090b;
|
||||
}
|
||||
|
||||
/* Header styling */
|
||||
/* Dark mode (slate scheme) - Pure black like shadcn */
|
||||
[data-md-color-scheme="slate"] {
|
||||
/* Pure black background like shadcn dark mode */
|
||||
--md-default-bg-color: #09090b;
|
||||
--md-default-bg-color--light: #18181b;
|
||||
--md-default-bg-color--lighter: #27272a;
|
||||
--md-default-bg-color--lightest: #3f3f46;
|
||||
|
||||
/* Light text on dark */
|
||||
--md-default-fg-color: #fafafa;
|
||||
--md-default-fg-color--light: #a1a1aa;
|
||||
--md-default-fg-color--lighter: #71717a;
|
||||
--md-default-fg-color--lightest: #52525b;
|
||||
|
||||
/* Primary colors */
|
||||
--md-primary-fg-color: #fafafa;
|
||||
--md-primary-fg-color--light: #e4e4e7;
|
||||
--md-primary-fg-color--dark: #ffffff;
|
||||
--md-primary-bg-color: #09090b;
|
||||
--md-primary-bg-color--light: #18181b;
|
||||
|
||||
/* Accent */
|
||||
--md-accent-fg-color: #fafafa;
|
||||
--md-accent-fg-color--transparent: rgba(250, 250, 250, 0.1);
|
||||
--md-accent-bg-color: #27272a;
|
||||
|
||||
/* Code blocks */
|
||||
--md-code-fg-color: #fafafa;
|
||||
--md-code-bg-color: #18181b;
|
||||
--md-code-hl-color: rgba(250, 250, 250, 0.1);
|
||||
|
||||
/* Typography */
|
||||
--md-typeset-color: #fafafa;
|
||||
--md-typeset-a-color: #fafafa;
|
||||
|
||||
/* Footer */
|
||||
--md-footer-bg-color: #000000;
|
||||
--md-footer-bg-color--dark: #000000;
|
||||
}
|
||||
|
||||
/* Header - pure black */
|
||||
.md-header {
|
||||
background-color: #000;
|
||||
background-color: #000000;
|
||||
border-bottom: 1px solid #27272a;
|
||||
}
|
||||
|
||||
.md-header--shadow {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.md-content .md-typeset h1 {
|
||||
color: #000;
|
||||
/* Tabs in header */
|
||||
.md-tabs {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.md-typeset p,
|
||||
.md-typeset li {
|
||||
font-size: 16px;
|
||||
/* Navigation sidebar */
|
||||
[data-md-color-scheme="slate"] .md-sidebar {
|
||||
background-color: #09090b;
|
||||
}
|
||||
|
||||
.md-typeset__table p {
|
||||
line-height: 1em;
|
||||
[data-md-color-scheme="slate"] .md-nav {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.md-nav {
|
||||
font-size: 14px;
|
||||
}
|
||||
.md-nav__title {
|
||||
color: #000;
|
||||
font-weight: 600;
|
||||
/* Typography */
|
||||
.md-typeset {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.md-typeset h1,
|
||||
.md-typeset h2,
|
||||
.md-typeset h3,
|
||||
.md-typeset h4 {
|
||||
.md-typeset h4,
|
||||
.md-typeset h5,
|
||||
.md-typeset h6 {
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--md-default-fg-color);
|
||||
}
|
||||
|
||||
.md-typeset h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.md-typeset h2 {
|
||||
font-size: 1.5rem;
|
||||
margin-top: 2rem;
|
||||
padding-bottom: 0.5rem;
|
||||
border-bottom: 1px solid var(--md-default-fg-color--lightest);
|
||||
}
|
||||
|
||||
.md-typeset h3 {
|
||||
font-size: 1.25rem;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.md-typeset p,
|
||||
.md-typeset li {
|
||||
font-size: 0.95rem;
|
||||
color: var(--md-default-fg-color--light);
|
||||
}
|
||||
|
||||
[data-md-color-scheme="slate"] .md-typeset p,
|
||||
[data-md-color-scheme="slate"] .md-typeset li {
|
||||
color: #a1a1aa;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.md-typeset a {
|
||||
color: var(--md-typeset-a-color);
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid var(--md-default-fg-color--lightest);
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
|
||||
.md-typeset a:hover {
|
||||
border-color: var(--md-default-fg-color);
|
||||
}
|
||||
|
||||
/* Code blocks - shadcn style */
|
||||
.md-typeset code {
|
||||
font-family: var(--md-code-font);
|
||||
font-size: 0.875em;
|
||||
padding: 0.2em 0.4em;
|
||||
border-radius: 0.375rem;
|
||||
background-color: var(--md-code-bg-color);
|
||||
color: var(--md-code-fg-color);
|
||||
}
|
||||
|
||||
.md-typeset pre {
|
||||
border-radius: 0.5rem;
|
||||
border: 1px solid var(--md-default-fg-color--lightest);
|
||||
}
|
||||
|
||||
.md-typeset pre > code {
|
||||
font-size: 0.875rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
.md-typeset table:not([class]) {
|
||||
font-size: 0.875rem;
|
||||
border: 1px solid var(--md-default-fg-color--lightest);
|
||||
border-radius: 0.5rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.md-typeset table:not([class]) th {
|
||||
background-color: var(--md-default-bg-color--lighter);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.md-typeset h1 code {
|
||||
color: #000;
|
||||
padding: 0;
|
||||
background-color: transparent;
|
||||
.md-typeset table:not([class]) td,
|
||||
.md-typeset table:not([class]) th {
|
||||
border-color: var(--md-default-fg-color--lightest);
|
||||
padding: 0.75rem 1rem;
|
||||
}
|
||||
|
||||
/* Admonitions - shadcn card style */
|
||||
.md-typeset .admonition,
|
||||
.md-typeset details {
|
||||
border: 1px solid var(--md-default-fg-color--lightest);
|
||||
border-radius: 0.5rem;
|
||||
background-color: var(--md-default-bg-color--light);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.md-typeset .admonition-title,
|
||||
.md-typeset summary {
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid var(--md-default-fg-color--lightest);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
.md-nav__link {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.md-nav__link--active {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Search */
|
||||
.md-search__input {
|
||||
background-color: var(--md-default-bg-color--lighter);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
[data-md-color-scheme="slate"] .md-search__input {
|
||||
background-color: #18181b;
|
||||
}
|
||||
|
||||
/* Content area max-width */
|
||||
.md-content {
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
/* Hide footer */
|
||||
.md-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.md-header__title {
|
||||
margin-left: 0 !important;
|
||||
/* Logo sizing */
|
||||
.md-header__button.md-logo img,
|
||||
.md-header__button.md-logo svg {
|
||||
height: 1.5rem;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.md-typeset .admonition,
|
||||
.md-typeset details {
|
||||
border: none;
|
||||
outline: none;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
/* TOC on the right */
|
||||
.md-sidebar--secondary {
|
||||
border-left: 1px solid var(--md-default-fg-color--lightest);
|
||||
}
|
||||
|
||||
.md-typeset pre > code {
|
||||
font-size: 14px;
|
||||
/* Clipboard button */
|
||||
.md-clipboard {
|
||||
color: var(--md-default-fg-color--lighter);
|
||||
}
|
||||
|
||||
.md-typeset__table code {
|
||||
font-size: 14px;
|
||||
/* Tab styling */
|
||||
.md-typeset .tabbed-labels > label {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* Custom link styling */
|
||||
.md-content a {
|
||||
text-decoration: none;
|
||||
/* Button-like elements */
|
||||
.md-typeset .md-button {
|
||||
border-radius: 0.375rem;
|
||||
font-weight: 500;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.md-content a:hover {
|
||||
text-decoration: underline;
|
||||
/* Scrollbar styling for dark mode */
|
||||
[data-md-color-scheme="slate"] ::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
/* Code block styling */
|
||||
.md-content .md-code__content {
|
||||
border-radius: 8px;
|
||||
[data-md-color-scheme="slate"] ::-webkit-scrollbar-track {
|
||||
background: #18181b;
|
||||
}
|
||||
|
||||
.md-clipboard.md-icon {
|
||||
color: #9e9e9e;
|
||||
[data-md-color-scheme="slate"] ::-webkit-scrollbar-thumb {
|
||||
background: #3f3f46;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Reset scrollbar styling to browser default with high priority */
|
||||
.md-sidebar__scrollwrap {
|
||||
scrollbar-color: auto !important;
|
||||
[data-md-color-scheme="slate"] ::-webkit-scrollbar-thumb:hover {
|
||||
background: #52525b;
|
||||
}
|
||||
|
||||
+6
-4
@@ -6,6 +6,7 @@ repo_name: hanzoai/python-sdk
|
||||
|
||||
theme:
|
||||
name: material
|
||||
custom_dir: docs/overrides
|
||||
features:
|
||||
- content.code.copy
|
||||
- content.code.select
|
||||
@@ -18,20 +19,22 @@ theme:
|
||||
- search.suggest
|
||||
- search.highlight
|
||||
palette:
|
||||
# Dark mode first (default)
|
||||
- scheme: slate
|
||||
primary: black
|
||||
accent: deep-purple
|
||||
accent: zinc
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to light mode
|
||||
- scheme: default
|
||||
primary: black
|
||||
accent: deep-purple
|
||||
accent: zinc
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
logo: assets/logo.svg
|
||||
favicon: assets/favicon.svg
|
||||
font: false
|
||||
|
||||
nav:
|
||||
- Home: index.md
|
||||
@@ -91,9 +94,8 @@ plugins:
|
||||
- "pkg/hanzo-agent/src/agents"
|
||||
- "pkg/hanzo-mcp/hanzo_mcp"
|
||||
- "pkg/hanzo-tools-core/hanzo_tools"
|
||||
selection:
|
||||
docstring_style: google
|
||||
options:
|
||||
docstring_style: google
|
||||
signature_crossrefs: true
|
||||
members_order: source
|
||||
separate_signature: true
|
||||
|
||||
Reference in New Issue
Block a user