Giter Club home page Giter Club logo

Comments (8)

trieska avatar trieska commented on July 21, 2024 1

sorry for late response

I did solve this by renaming logo file to bm.svg and bm-dark.svg and update configuration

params:
  navbar:
    displayTitle: true
    displayLogo: true
    logo:
      path: images/bm.svg
      dark: images/bm-dark.svg
      width: 50
      height: 50

from hextra.

imfing avatar imfing commented on July 21, 2024

Hi, may i ask how did you configure the dark logo?

from hextra.

trieska avatar trieska commented on July 21, 2024

I did put logo.svg and logo-dark.svg to static/images

light version is working ok but dark one not

from hextra.

imfing avatar imfing commented on July 21, 2024

can you help provide an example minimal repository that reproduce this issue?

from hextra.

librehugohu avatar librehugohu commented on July 21, 2024

My repos has the same problem.

from hextra.

imfing avatar imfing commented on July 21, 2024

@librehugohu thanks for providing your repo as an example. I'll have a look at it.

from hextra.

librehugohu avatar librehugohu commented on July 21, 2024

@librehugohu thanks for providing your repo as an example. I'll have a look at it.

I tried the solution above, and it worked now. You'll see this in my latest commit. And the doc seems should be updated?

from hextra.

imfing avatar imfing commented on July 21, 2024

I still couldn't reproduce this on my instance.

params:
  navbar:
    displayTitle: true
    displayLogo: true
    logo:
      path: images/logo.svg
      dark: images/logo-dark.svg
      link: /
      width: 40
      height: 20

image

from hextra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.