Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: slider outline #19

Closed
brpeterso opened this issue Aug 31, 2023 · 3 comments
Closed

Feature Request: slider outline #19

brpeterso opened this issue Aug 31, 2023 · 3 comments

Comments

@brpeterso
Copy link

When using certain themes, it means you don't have visibility of the the sliders until they are on. Would it be possible to have a thin outline of the icon area and the slider area? This is different from the card border you recently fixed. Maybe this could be accomplished using card_mod, but I haven't had luck just yet.

Example below:

  1. First light group has a lighter background, so you lose slider shape.
  2. Second light group...When at the top/bottom of a stacked card, you lose outer edge of slider.
  3. Third light group is just a mushroom example for comparison.

image

Fyi...using waves dark theme.

Thanks.

@Clooos
Copy link
Owner

Clooos commented Sep 6, 2023

Hi and thanks for the feedback, you can add a border to your buttons easily with card-mod, just add this:

card_mod:
  style: |
    ha-card {
        border: 1px solid white !important;
    }

@Clooos Clooos closed this as completed Sep 6, 2023
@brpeterso
Copy link
Author

brpeterso commented Sep 6, 2023

So I just tried this. This solution gives a border for the card (rectangle), but not for the slider. I was thinking is there a way to have a border that follows the round edges of the slider and the icon circle. Hopefully I'm making sense.

@Clooos
Copy link
Owner

Clooos commented Sep 6, 2023

Oh yeah I forgot, add this:

card_mod:
  style: |
    ha-card {
        border-radius: 25px !important;
        border: 1px solid white !important;
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants