GithubHelp home page GithubHelp logo

Comments (5)

aukedejong avatar aukedejong commented on June 8, 2024

HI Sander.
I'm not sure I understand your question correctly. You want to display a windrose on a picture elements card. Is that correct?
I don't have experience with the picture elements card. I see there is a custom option.

If you need a transparent background option in the windrose card, I think that possible.

from lovelace-windrose-card.

sanderlv avatar sanderlv commented on June 8, 2024

Yes, correct. I can start investigating myself but hoped you would have a ready to use option 😀.

from lovelace-windrose-card.

aukedejong avatar aukedejong commented on June 8, 2024

I'm sorry, I don't have a ready to use option.

So, to be sure, a transparent background options would make this possible, right?

I will have look at this, see how easy it can be done.

from lovelace-windrose-card.

sanderlv avatar sanderlv commented on June 8, 2024

Transparent would indeed help a lot!

from lovelace-windrose-card.

aukedejong avatar aukedejong commented on June 8, 2024

Hi Sander. I had a look at the code and decided not to make an option for this in de card itself.

You can change the background color of the card with card_mod.
See: https://github.com/thomasloven/lovelace-card-mod

If you add this to the card configuration:

card_mod:
  style: |
    ha-card {
      background-color: transparent
    }

The background becomes transparent.

Hope this helpsl

You need the latest release of the windrose-card. There was a long standing bug preventing card_mod to work, which I today finally fixed. It needed a small code change, but it took me a lot of time to find out what to change.

from lovelace-windrose-card.

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.