GithubHelp home page GithubHelp logo

Comments (5)

pkissling avatar pkissling commented on June 3, 2024

thanks for reporting the issue. you have a very valid point. i never used the card with white background. will have a look on how to fix the issue shortly.

from clock-weather-card.

Watison avatar Watison commented on June 3, 2024

Hey @pkissling, can I asked what are the colour hex values and corresponding temps you’ve used? I’d like to match the rest of my theme to them. I’d suggest a new feature to change the colours aka mini-graph-card, but I like them as they are.

from clock-weather-card.

pkissling avatar pkissling commented on June 3, 2024

hi there, sorry that i haven't found the time yet to work on this issue.
colors can be found here: https://github.com/pkissling/clock-weather-card/blob/master/src/clock-weather-card.ts#L48
key is the temperature in Celsius, value the corresponding RGB color

from clock-weather-card.

noiob avatar noiob commented on June 3, 2024

I worked around the issue for myself by removing the background and adding a bunch of CSS filters to improve contrast and saturation using card-mod. I'll share it here in case someone is interested, note that it'll look a bit weird on an LCD, but it works well for my color E-Ink panel

card_mod:
  style: |
    .card-content {
      padding: 0 8px !important;
    }
    forecast-temperature-bar-background {
      display: none;
    }
    forecast-temperature-bar {
      filter: brightness(80%) saturate(200%) contrast(200%);
    }
    forecast-icon {
      filter: saturate(200%) contrast(200%) brightness(60%);
    }

from clock-weather-card.

airmaxx avatar airmaxx commented on June 3, 2024

Great idea with card_mod. I've added one entry so that the main icon for gets also updated.

clock-weather-card-today-left {
  filter: saturate(200%) contrast(200%) brightness(60%);
}

from clock-weather-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.