From: Steve Myers Date: Wed, 22 Apr 2026 02:18:19 +0000 (-0500) Subject: style: update logo, icons and favicon X-Git-Url: http://internal-gitweb-vhost/parse/keychain/struct.DerivationAdditions.html?a=commitdiff_plain;h=HEAD;p=bitcoindevkit.org style: update logo, icons and favicon Add dark/light mode support for icon and logo. --- diff --git a/docs/assets/bdk-icon.svg b/docs/assets/bdk-icon.svg new file mode 100644 index 0000000000..73859cfe06 --- /dev/null +++ b/docs/assets/bdk-icon.svg @@ -0,0 +1,18 @@ + + + + bdk-icon + Created with Sketch. + + + + + + B + + + DK + + + + \ No newline at end of file diff --git a/docs/assets/bdk-logo-text.svg b/docs/assets/bdk-logo-text.svg deleted file mode 100644 index d132a497e6..0000000000 --- a/docs/assets/bdk-logo-text.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/docs/assets/bdk-logo.svg b/docs/assets/bdk-logo.svg index 7ae46af4ee..1670d0a60a 100644 --- a/docs/assets/bdk-logo.svg +++ b/docs/assets/bdk-logo.svg @@ -1,30 +1,21 @@ - - - - - - - + + + bdk-logo + Created with Sketch. + + + - \ No newline at end of file diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css new file mode 100644 index 0000000000..9328c2e7db --- /dev/null +++ b/docs/stylesheets/extra.css @@ -0,0 +1,5 @@ +/* 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); +} diff --git a/zensical.toml b/zensical.toml index 45b22287f4..f8068f8ced 100644 --- a/zensical.toml +++ b/zensical.toml @@ -79,7 +79,7 @@ nav = [ # # 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. @@ -93,7 +93,7 @@ nav = [ # 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" @@ -116,7 +116,7 @@ logo = "assets/bdk-logo-text.svg" # - 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.