Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"theme": "palm",
"appearance": {
"default": "light",
"strict": true
"strict": false
},
"name": "Kernel",
"colors": {
Expand Down Expand Up @@ -283,10 +283,14 @@
}
]
},
"logo": "/logo/black.svg",
"logo": {
"light": "/logo/black.svg",
"dark": "/logo/light.svg"
},
"background": {
"color": {
"light": "#F0F0F3"
"light": "#F0F0F3",
"dark": "#111113"
}
},
"footer": {
Expand Down
3 changes: 3 additions & 0 deletions images/tinker-bot-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions logo/light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,50 @@ table tbody td:first-child {
width: 100%;
}
}

/* dark mode overrides
light mode is the default above; these only apply when Mintlify adds .dark to <html>.
The base rules hardcode light colors (opaque light table fill, rgba(0,0,0,...) borders,
#000 button border), which read as bright boxes or invisible lines on a dark background. */

/* tables: swap the opaque light fill and black-alpha borders for white-alpha on dark */
html.dark .prose table,
html.dark article table,
html.dark table {
border-color: rgb(255 255 255 / 0.1) !important;
background-color: rgb(255 255 255 / 0.02) !important;
}

html.dark .prose table thead th,
html.dark article table thead th,
html.dark table thead th {
background-color: rgba(255, 255, 255, 0.04) !important;
border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark .prose table tbody tr,
html.dark article table tbody tr,
html.dark table tbody tr {
border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .prose table tbody tr:hover,
html.dark article table tbody tr:hover,
html.dark table tbody tr:hover {
background-color: rgba(255, 255, 255, 0.04) !important;
}

/* tinker box border is invisible on dark without this */
html.dark .tinker-box {
border-color: rgba(255, 255, 255, 0.14);
}

/* pricing calculator button border */
html.dark {
--btn-border: #fff;
}

/* hero bot: a flat #1C2024 silhouette with no card frame, invisible against #111113.
the card illustrations (o11y, chromium, auth, stealth) intentionally keep their light
tiles on dark — they read as framed illustrations, not page leakage. */
html.dark img[src*="/images/tinker-bot.svg"] { content: url("/images/tinker-bot-dark.svg"); }
Loading