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": "#212225"
}
},
"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.
40 changes: 40 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,43 @@ table tbody td:first-child {
width: 100%;
}
}

/* dark mode overrides */
html.dark .prose table,
html.dark article table,
html.dark table {
border-color: rgba(237, 238, 240, 0.1) !important;
background-color: rgba(237, 238, 240, 0.02) !important;
}

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

html.dark .prose table tbody tr,
html.dark article table tbody tr,
html.dark table tbody tr {
border-bottom-color: rgba(237, 238, 240, 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(237, 238, 240, 0.04) !important;
}

/* tinker box border */
html.dark .tinker-box {
border-color: rgba(237, 238, 240, 0.14);
}

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

/* hero bot dark recolor */
html.dark img[src*="/images/tinker-bot.svg"] { content: url("/images/tinker-bot-dark.svg"); }
Loading