Add dark/light mode support for icon and logo.
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="100px" height="102px" viewBox="0 0 100 102" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
+ <title>bdk-icon</title>
+ <desc>Created with Sketch.</desc>
+ <defs></defs>
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+ <g id="bdk-icon" transform="translate(5.000000, 5.000000)">
+ <rect id="Rectangle-Rounded" stroke="#13161F" stroke-width="9" x="0" y="0" width="90" height="92" rx="9"></rect>
+ <text id="B" fill="#000000" font-family="Futura-Bold, Futura" font-size="36" font-weight="bold">
+ <tspan x="9" y="47">B</tspan>
+ </text>
+ <text id="DK" fill="#000000" font-family="Futura-Bold, Futura" font-size="36" font-weight="bold">
+ <tspan x="9" y="81">DK</tspan>
+ </text>
+ </g>
+ </g>
+</svg>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 189.01 193.84">
- <defs>
- <style>
- .cls-1 {
- fill: #13161f;
- fill-rule: evenodd;
- }
-
- .cls-2 {
- fill: #fff;
- }
-
- .cls-3 {
- fill: none;
- stroke: #13161f;
- stroke-width: 9px;
- }
- </style>
- </defs>
- <g id="Page-1">
- <g id="Logo-Rounded">
- <g id="BDK-Logo">
- <!-- <rect id="Rectangle" class="cls-2" x="3.81" y="3.84" width="181" height="184"/> -->
- <!-- <rect id="Rectangle-Rounded" class="cls-3" x="4.5" y="4.5" width="180.01" height="184.84" rx="10" ry="10"/> -->
- <path id="Bitcoin-Dev-Kit" class="cls-1" d="M24.84,84.26h1.98c2.27,0,3.9-.29,4.88-.88.98-.58,1.47-1.52,1.47-2.81s-.49-2.23-1.47-2.81c-.98-.58-2.61-.88-4.88-.88h-1.98v7.37ZM24.84,70.16h1.66c2.83,0,4.24-1.12,4.24-3.36s-1.41-3.36-4.24-3.36h-1.66v6.73ZM15.81,56.52h13.46c3.19,0,5.62.77,7.28,2.3,1.66,1.54,2.49,3.75,2.49,6.64,0,1.75-.31,3.2-.94,4.35-.63,1.15-1.59,2.13-2.88,2.93,1.29.25,2.39.62,3.29,1.13.91.51,1.64,1.13,2.21,1.87.57.74.98,1.57,1.22,2.49.25.92.37,1.9.37,2.95,0,1.63-.28,3.07-.85,4.33-.57,1.26-1.37,2.32-2.4,3.18-1.03.86-2.28,1.51-3.76,1.94-1.47.43-3.13.65-4.98.65h-14.52v-34.74ZM55.25,67.62v23.64h-8.34v-23.64h8.34ZM46.36,58.54c0-.65.12-1.25.37-1.82.25-.57.58-1.07,1.01-1.5.43-.43.93-.77,1.5-1.01.57-.25,1.18-.37,1.82-.37s1.25.12,1.82.37c.57.25,1.07.58,1.5,1.01.43.43.77.93,1.01,1.5.25.57.37,1.18.37,1.82s-.12,1.25-.37,1.82c-.25.57-.58,1.07-1.01,1.5s-.93.77-1.5,1.01c-.57.25-1.18.37-1.82.37s-1.25-.12-1.82-.37c-.57-.25-1.07-.58-1.5-1.01s-.77-.93-1.01-1.5c-.25-.57-.37-1.18-.37-1.82ZM70.28,74.58v16.68h-8.34v-16.68h-2.76v-6.96h2.76v-7.1h8.34v7.1h4.75v6.96h-4.75ZM95.99,75.27c-1.44-.98-2.9-1.47-4.38-1.47-.8,0-1.54.14-2.23.41-.69.28-1.3.67-1.82,1.18-.52.51-.93,1.11-1.22,1.8-.29.69-.44,1.47-.44,2.33s.15,1.59.44,2.28c.29.69.69,1.29,1.2,1.8.51.51,1.11.9,1.82,1.18.71.28,1.46.41,2.26.41,1.57,0,3.03-.54,4.38-1.61v7.1c-2.06.89-4.01,1.34-5.85,1.34-1.72,0-3.36-.29-4.91-.88-1.55-.58-2.92-1.42-4.1-2.51-1.18-1.09-2.13-2.4-2.83-3.92-.71-1.52-1.06-3.22-1.06-5.09s.34-3.59,1.01-5.14c.68-1.55,1.6-2.89,2.76-4.01s2.56-2,4.17-2.63c1.61-.63,3.34-.94,5.18-.94,2.03,0,3.9.43,5.62,1.29v7.1ZM108.62,79.33c0,.8.15,1.53.44,2.19.29.66.68,1.24,1.15,1.73.48.49,1.04.88,1.7,1.15s1.36.41,2.1.41,1.44-.14,2.1-.41,1.23-.66,1.7-1.15c.48-.49.86-1.07,1.15-1.73.29-.66.44-1.37.44-2.14s-.15-1.44-.44-2.1-.68-1.24-1.15-1.73c-.48-.49-1.04-.88-1.7-1.15s-1.36-.41-2.1-.41-1.44.14-2.1.41-1.23.66-1.7,1.15c-.48.49-.86,1.06-1.15,1.7-.29.65-.44,1.34-.44,2.07ZM99.81,79.23c0-1.75.35-3.39,1.06-4.91.71-1.52,1.69-2.84,2.95-3.96,1.26-1.12,2.76-2,4.49-2.65,1.74-.65,3.63-.97,5.69-.97s3.91.31,5.64.94c1.74.63,3.24,1.51,4.52,2.63,1.27,1.12,2.27,2.46,2.97,4.01.71,1.55,1.06,3.26,1.06,5.14s-.36,3.59-1.08,5.14c-.72,1.55-1.71,2.89-2.97,4.01-1.26,1.12-2.77,1.99-4.54,2.6-1.77.61-3.68.92-5.74.92s-3.9-.31-5.62-.92-3.2-1.49-4.45-2.63c-1.24-1.14-2.22-2.5-2.93-4.08-.71-1.58-1.06-3.34-1.06-5.28ZM141.33,67.62v23.64h-8.34v-23.64h8.34ZM132.44,58.54c0-.65.12-1.25.37-1.82.25-.57.58-1.07,1.01-1.5.43-.43.93-.77,1.5-1.01.57-.25,1.18-.37,1.82-.37s1.25.12,1.82.37c.57.25,1.07.58,1.5,1.01.43.43.77.93,1.01,1.5.25.57.37,1.18.37,1.82s-.12,1.25-.37,1.82c-.25.57-.58,1.07-1.01,1.5-.43.43-.93.77-1.5,1.01-.57.25-1.18.37-1.82.37s-1.25-.12-1.82-.37c-.57-.25-1.07-.58-1.5-1.01-.43-.43-.77-.93-1.01-1.5-.25-.57-.37-1.18-.37-1.82ZM147.05,67.62h8.34v3c1.14-1.38,2.29-2.31,3.46-2.79,1.17-.48,2.53-.71,4.1-.71,1.66,0,3.08.27,4.26.81,1.18.54,2.19,1.3,3.02,2.28.68.8,1.14,1.69,1.38,2.67.25.98.37,2.1.37,3.36v15.02h-8.34v-11.93c0-1.17-.08-2.11-.25-2.83s-.47-1.3-.9-1.73c-.37-.37-.78-.63-1.24-.78-.46-.15-.95-.23-1.47-.23-1.41,0-2.5.42-3.25,1.27-.75.84-1.13,2.05-1.13,3.62v12.63h-8.34v-23.64ZM24.84,125.85h2.07c1.57,0,2.96-.25,4.19-.74,1.23-.49,2.27-1.17,3.11-2.03.84-.86,1.49-1.88,1.94-3.06s.67-2.48.67-3.89-.23-2.67-.69-3.87c-.46-1.2-1.11-2.23-1.96-3.09-.84-.86-1.88-1.54-3.11-2.03s-2.61-.74-4.15-.74h-2.07v19.45ZM15.81,98.76h13.36c2.37,0,4.58.48,6.66,1.43,2.07.95,3.89,2.22,5.44,3.8,1.55,1.58,2.77,3.43,3.66,5.53s1.34,4.31,1.34,6.61-.44,4.46-1.31,6.57c-.88,2.1-2.09,3.96-3.64,5.55-1.55,1.6-3.36,2.87-5.44,3.82-2.07.95-4.31,1.43-6.7,1.43h-13.36v-34.74ZM68.53,118.25c-.28-1.17-.84-2.1-1.7-2.81-.86-.71-1.9-1.06-3.13-1.06-1.29,0-2.34.34-3.16,1.01-.81.68-1.33,1.63-1.54,2.86h9.54ZM58.76,123.09c0,3.59,1.69,5.39,5.07,5.39,1.81,0,3.18-.74,4.1-2.21h8.06c-1.63,5.41-5.7,8.11-12.21,8.11-2,0-3.82-.3-5.48-.9-1.66-.6-3.08-1.45-4.26-2.56-1.18-1.11-2.1-2.43-2.74-3.96-.65-1.54-.97-3.26-.97-5.16s.31-3.74.92-5.32c.61-1.58,1.49-2.93,2.63-4.03,1.14-1.11,2.51-1.96,4.12-2.56,1.61-.6,3.43-.9,5.46-.9s3.79.3,5.39.9c1.6.6,2.95,1.47,4.06,2.6,1.11,1.14,1.95,2.53,2.53,4.17.58,1.64.88,3.49.88,5.55v.88h-17.56ZM86.5,109.86l5.62,12.12,5.71-12.12h9.31l-12.3,23.64h-5.58l-12.17-23.64h9.4ZM24.84,155.33l11.01-14.33h11.15l-13.78,16.45,15.07,18.29h-11.7l-11.75-15.07v15.07h-9.03v-34.74h9.03v14.33ZM59.86,152.1v23.64h-8.34v-23.64h8.34ZM50.97,143.02c0-.65.12-1.25.37-1.82s.58-1.07,1.01-1.5c.43-.43.93-.77,1.5-1.01.57-.25,1.18-.37,1.82-.37s1.25.12,1.82.37c.57.25,1.07.58,1.5,1.01s.77.93,1.01,1.5.37,1.18.37,1.82-.12,1.25-.37,1.82-.58,1.07-1.01,1.5-.93.77-1.5,1.01c-.57.25-1.18.37-1.82.37s-1.25-.12-1.82-.37c-.57-.25-1.07-.58-1.5-1.01-.43-.43-.77-.93-1.01-1.5s-.37-1.18-.37-1.82ZM74.89,159.06v16.68h-8.34v-16.68h-2.76v-6.96h2.76v-7.1h8.34v7.1h4.75v6.96h-4.75Z"/>
- </g>
- </g>
- </g>
-</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
-<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 189.01 193.84">
- <defs>
- <style>
- .cls-1 {
- fill: #13161f;
- fill-rule: evenodd;
- }
-
- .cls-2 {
- fill: #fff;
- }
-
- .cls-3 {
- fill: none;
- stroke: #13161f;
- stroke-width: 9px;
- }
- </style>
- </defs>
- <g id="Page-1">
- <g id="Logo-Rounded">
- <g id="BDK-Logo">
- <rect id="Rectangle" class="cls-2" x="3.81" y="3.84" width="181" height="184"/>
- <rect id="Rectangle-Rounded" class="cls-3" x="4.5" y="4.5" width="180.01" height="184.84" rx="10" ry="10"/>
- <path id="Bitcoin-Dev-Kit" class="cls-1" d="M24.84,84.26h1.98c2.27,0,3.9-.29,4.88-.88.98-.58,1.47-1.52,1.47-2.81s-.49-2.23-1.47-2.81c-.98-.58-2.61-.88-4.88-.88h-1.98v7.37ZM24.84,70.16h1.66c2.83,0,4.24-1.12,4.24-3.36s-1.41-3.36-4.24-3.36h-1.66v6.73ZM15.81,56.52h13.46c3.19,0,5.62.77,7.28,2.3,1.66,1.54,2.49,3.75,2.49,6.64,0,1.75-.31,3.2-.94,4.35-.63,1.15-1.59,2.13-2.88,2.93,1.29.25,2.39.62,3.29,1.13.91.51,1.64,1.13,2.21,1.87.57.74.98,1.57,1.22,2.49.25.92.37,1.9.37,2.95,0,1.63-.28,3.07-.85,4.33-.57,1.26-1.37,2.32-2.4,3.18-1.03.86-2.28,1.51-3.76,1.94-1.47.43-3.13.65-4.98.65h-14.52v-34.74ZM55.25,67.62v23.64h-8.34v-23.64h8.34ZM46.36,58.54c0-.65.12-1.25.37-1.82.25-.57.58-1.07,1.01-1.5.43-.43.93-.77,1.5-1.01.57-.25,1.18-.37,1.82-.37s1.25.12,1.82.37c.57.25,1.07.58,1.5,1.01.43.43.77.93,1.01,1.5.25.57.37,1.18.37,1.82s-.12,1.25-.37,1.82c-.25.57-.58,1.07-1.01,1.5s-.93.77-1.5,1.01c-.57.25-1.18.37-1.82.37s-1.25-.12-1.82-.37c-.57-.25-1.07-.58-1.5-1.01s-.77-.93-1.01-1.5c-.25-.57-.37-1.18-.37-1.82ZM70.28,74.58v16.68h-8.34v-16.68h-2.76v-6.96h2.76v-7.1h8.34v7.1h4.75v6.96h-4.75ZM95.99,75.27c-1.44-.98-2.9-1.47-4.38-1.47-.8,0-1.54.14-2.23.41-.69.28-1.3.67-1.82,1.18-.52.51-.93,1.11-1.22,1.8-.29.69-.44,1.47-.44,2.33s.15,1.59.44,2.28c.29.69.69,1.29,1.2,1.8.51.51,1.11.9,1.82,1.18.71.28,1.46.41,2.26.41,1.57,0,3.03-.54,4.38-1.61v7.1c-2.06.89-4.01,1.34-5.85,1.34-1.72,0-3.36-.29-4.91-.88-1.55-.58-2.92-1.42-4.1-2.51-1.18-1.09-2.13-2.4-2.83-3.92-.71-1.52-1.06-3.22-1.06-5.09s.34-3.59,1.01-5.14c.68-1.55,1.6-2.89,2.76-4.01s2.56-2,4.17-2.63c1.61-.63,3.34-.94,5.18-.94,2.03,0,3.9.43,5.62,1.29v7.1ZM108.62,79.33c0,.8.15,1.53.44,2.19.29.66.68,1.24,1.15,1.73.48.49,1.04.88,1.7,1.15s1.36.41,2.1.41,1.44-.14,2.1-.41,1.23-.66,1.7-1.15c.48-.49.86-1.07,1.15-1.73.29-.66.44-1.37.44-2.14s-.15-1.44-.44-2.1-.68-1.24-1.15-1.73c-.48-.49-1.04-.88-1.7-1.15s-1.36-.41-2.1-.41-1.44.14-2.1.41-1.23.66-1.7,1.15c-.48.49-.86,1.06-1.15,1.7-.29.65-.44,1.34-.44,2.07ZM99.81,79.23c0-1.75.35-3.39,1.06-4.91.71-1.52,1.69-2.84,2.95-3.96,1.26-1.12,2.76-2,4.49-2.65,1.74-.65,3.63-.97,5.69-.97s3.91.31,5.64.94c1.74.63,3.24,1.51,4.52,2.63,1.27,1.12,2.27,2.46,2.97,4.01.71,1.55,1.06,3.26,1.06,5.14s-.36,3.59-1.08,5.14c-.72,1.55-1.71,2.89-2.97,4.01-1.26,1.12-2.77,1.99-4.54,2.6-1.77.61-3.68.92-5.74.92s-3.9-.31-5.62-.92-3.2-1.49-4.45-2.63c-1.24-1.14-2.22-2.5-2.93-4.08-.71-1.58-1.06-3.34-1.06-5.28ZM141.33,67.62v23.64h-8.34v-23.64h8.34ZM132.44,58.54c0-.65.12-1.25.37-1.82.25-.57.58-1.07,1.01-1.5.43-.43.93-.77,1.5-1.01.57-.25,1.18-.37,1.82-.37s1.25.12,1.82.37c.57.25,1.07.58,1.5,1.01.43.43.77.93,1.01,1.5.25.57.37,1.18.37,1.82s-.12,1.25-.37,1.82c-.25.57-.58,1.07-1.01,1.5-.43.43-.93.77-1.5,1.01-.57.25-1.18.37-1.82.37s-1.25-.12-1.82-.37c-.57-.25-1.07-.58-1.5-1.01-.43-.43-.77-.93-1.01-1.5-.25-.57-.37-1.18-.37-1.82ZM147.05,67.62h8.34v3c1.14-1.38,2.29-2.31,3.46-2.79,1.17-.48,2.53-.71,4.1-.71,1.66,0,3.08.27,4.26.81,1.18.54,2.19,1.3,3.02,2.28.68.8,1.14,1.69,1.38,2.67.25.98.37,2.1.37,3.36v15.02h-8.34v-11.93c0-1.17-.08-2.11-.25-2.83s-.47-1.3-.9-1.73c-.37-.37-.78-.63-1.24-.78-.46-.15-.95-.23-1.47-.23-1.41,0-2.5.42-3.25,1.27-.75.84-1.13,2.05-1.13,3.62v12.63h-8.34v-23.64ZM24.84,125.85h2.07c1.57,0,2.96-.25,4.19-.74,1.23-.49,2.27-1.17,3.11-2.03.84-.86,1.49-1.88,1.94-3.06s.67-2.48.67-3.89-.23-2.67-.69-3.87c-.46-1.2-1.11-2.23-1.96-3.09-.84-.86-1.88-1.54-3.11-2.03s-2.61-.74-4.15-.74h-2.07v19.45ZM15.81,98.76h13.36c2.37,0,4.58.48,6.66,1.43,2.07.95,3.89,2.22,5.44,3.8,1.55,1.58,2.77,3.43,3.66,5.53s1.34,4.31,1.34,6.61-.44,4.46-1.31,6.57c-.88,2.1-2.09,3.96-3.64,5.55-1.55,1.6-3.36,2.87-5.44,3.82-2.07.95-4.31,1.43-6.7,1.43h-13.36v-34.74ZM68.53,118.25c-.28-1.17-.84-2.1-1.7-2.81-.86-.71-1.9-1.06-3.13-1.06-1.29,0-2.34.34-3.16,1.01-.81.68-1.33,1.63-1.54,2.86h9.54ZM58.76,123.09c0,3.59,1.69,5.39,5.07,5.39,1.81,0,3.18-.74,4.1-2.21h8.06c-1.63,5.41-5.7,8.11-12.21,8.11-2,0-3.82-.3-5.48-.9-1.66-.6-3.08-1.45-4.26-2.56-1.18-1.11-2.1-2.43-2.74-3.96-.65-1.54-.97-3.26-.97-5.16s.31-3.74.92-5.32c.61-1.58,1.49-2.93,2.63-4.03,1.14-1.11,2.51-1.96,4.12-2.56,1.61-.6,3.43-.9,5.46-.9s3.79.3,5.39.9c1.6.6,2.95,1.47,4.06,2.6,1.11,1.14,1.95,2.53,2.53,4.17.58,1.64.88,3.49.88,5.55v.88h-17.56ZM86.5,109.86l5.62,12.12,5.71-12.12h9.31l-12.3,23.64h-5.58l-12.17-23.64h9.4ZM24.84,155.33l11.01-14.33h11.15l-13.78,16.45,15.07,18.29h-11.7l-11.75-15.07v15.07h-9.03v-34.74h9.03v14.33ZM59.86,152.1v23.64h-8.34v-23.64h8.34ZM50.97,143.02c0-.65.12-1.25.37-1.82s.58-1.07,1.01-1.5c.43-.43.93-.77,1.5-1.01.57-.25,1.18-.37,1.82-.37s1.25.12,1.82.37c.57.25,1.07.58,1.5,1.01s.77.93,1.01,1.5.37,1.18.37,1.82-.12,1.25-.37,1.82-.58,1.07-1.01,1.5-.93.77-1.5,1.01c-.57.25-1.18.37-1.82.37s-1.25-.12-1.82-.37c-.57-.25-1.07-.58-1.5-1.01-.43-.43-.77-.93-1.01-1.5s-.37-1.18-.37-1.82ZM74.89,159.06v16.68h-8.34v-16.68h-2.76v-6.96h2.76v-7.1h8.34v7.1h4.75v6.96h-4.75Z"/>
- </g>
+<svg width="190px" height="194px" viewBox="0 0 190 194" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
+ <title>bdk-logo</title>
+ <desc>Created with Sketch.</desc>
+ <defs></defs>
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+ <g id="bdk-logo" transform="translate(4.000000, 4.000000)">
+ <rect id="Rectangle-Rounded" stroke="#13161F" stroke-width="9" x="0.5" y="0.5" width="180.01" height="184.84" rx="10"></rect>
+ <text id="Bitcoin" fill="#000000" font-family="Futura-Bold, Futura" font-size="45" font-weight="bold">
+ <tspan x="9" y="89">Bitcoin</tspan>
+ </text>
+ <text id="Dev" fill="#000000" font-family="Futura-Bold, Futura" font-size="45" font-weight="bold">
+ <tspan x="9" y="131">Dev</tspan>
+ </text>
+ <text id="Kit" fill="#000000" font-family="Futura-Bold, Futura" font-size="45" font-weight="bold">
+ <tspan x="9" y="173">Kit</tspan>
+ </text>
+ </g>
</g>
- </g>
</svg>
\ No newline at end of file
--- /dev/null
+/* Invert logo colors for dark mode */
+[data-md-color-scheme="slate"] .md-logo img,
+[data-md-color-scheme="slate"] .md-content img[src*="bdk-logo"] {
+ filter: invert(1);
+}
#
# Read more: https://zensical.org/docs/customization/#additional-css
#
-#extra_css = ["stylesheets/extra.css"]
+extra_css = ["stylesheets/extra.css"]
# With the `extra_javascript` option you can add your own JavaScript to your
# project to customize the behavior according to your needs.
# Section for configuring theme options
# ----------------------------------------------------------------------------
[project.theme]
-logo = "assets/bdk-logo-text.svg"
+logo = "/assets/bdk-icon.svg"
# change this to "classic" to use the traditional Material for MkDocs look.
#variant = "classic"
# - https://zensical.org/docs/setup/logo-and-icons/#favicon
# - https://developer.mozilla.org/en-US/docs/Glossary/Favicon
#
-#favicon = "images/favicon.png"
+favicon = "/assets/bdk-icon.svg"
# Zensical supports more than 60 different languages. This means that the
# labels and tooltips that Zensical's templates produce are translated.