Git Product home page Git Product logo

material-rounded-theme's Issues

Cards jumping in Section View

Hi,
First of all i love this theme, incredible work.
But i started playing with the new section view layout for the dashboard, and i noticed, that if i change views, the cards reorient to the top (probably since there is no header i guess). This only appears with the section layout, if i change back to any other, its not present. It also only shows with the material rounded theme (with the header mod). Is this something that could be looked into, or is this a problem with the section view in general?
I would love to keep using this theme, but the little jump after each change makes it look soo buggy :(

ezgif-3-c9e2068eb9

Examples?

Is your feature request related to a problem? Please describe.
Can you please provide examples of the cards shows in the images?

Describe the solution you'd like
an examples YAML or something?

Describe alternatives you've considered
?

Additional context
Nothing, again just examples for the card styles shown in the example images. Thanks

View doesn't expand to sides on mobile

When viewing a dashboard with multiple views created on mobile, the view doesn't expand to the screen edges and leaves a small border.

Screenshot_20240519-093936_Home Assistant

Additionally, the view menu at the bottom is squished and it is hard to access the buttons on either side.

Not entirely sure where to start with debugging this, but happy to help in any way possible.

Device: Pixel 8 Pro
Home Assistant: Core 2024.4.3, Frontend 20240404.2
Companion: 2024.4.1-full

How to turn of the view names?

Great work, one question: How to turn off the view names? Did not found a clew in the card-mod section.
I am asking because they are overlaying in HA companion app.

badge colors

I really like the looks of this theme. But I don't like the badge colors in a picture-element card. They look a bit pinky instead of red.
afbeelding

Also, in light mode I cannot see the upper navigation bar. See attached screenshot.
afbeelding

Can I edit these things somehow without modifying your theme yaml ? Because that would give me issues whenever I update the theme.

Dashboard title overlapping with menu icon

Checklist:

  • [x ] I updated to the latest version available
  • [x ] I cleared the cache of my browser

Release with the issue:
2.1.0-beta.003

Browser and Operating System:
Home assistant companion app
Vivaldi (chromium)
Android 14
Pixel 7 Pro
1440 x 3120 resolution

Description of problem:
The title of the dashboard pops under the navigation drawer menu icon on the mobile browser. (And on desktop browser with the window resized to a mobile resolution).

Title of the dashboard also visibly pops under the menu icon on page load.

Page title should sit next to the menu icon, not under it.

Screenshot_20240729-083241

screen-20240729-084218.2.mp4

Edge distances are different to the HA theme?

Today I found this theme and I do like it very much: The optic is very nice and it was always my whish to have the titlebar on the bottom.
I recently redesigned my dashboard to fit on iPhone, iPad and desktop and I also use the new badges (HA2024.8) on the top now.

Now I noticed one problem with this new theme:
The distances to right and left edges of the screen seem to be different than in the HA theme and that leads to changes in my layout, specially on my iPhone (the most narrow sceen)
IMG_3730
IMG_3731

The navigation bar shrinks after using navigate in lovelace.

Latest version 1.6 installed, but was an issue with older versions, too.

I'm using the navigate function to other lovelace pages on some chip or mushroom cards and whenever I go back the navigation bar on the bottoms shrinks horizontally as shown in the video.
https://github.com/Nerwyn/material-rounded-theme/assets/98790344/a615f87c-46da-4ca4-985d-3bb8c94b574f

The problem shows on Chrome on Mac, Home Assistant App on Mac, Chrome on Android and Home Assistant app on Android.

The bottom bar will not move down

Checklist:

  • [ X] I updated to the latest version available
  • [ X] I cleared the cache of my browser

Release with the issue:
latest

I have tried multiple browsers but cannot seem to get the bar to move down even if I install manually

move title and back-arrow of a subview (iOS)

Is your feature request related to a problem? Please describe.
position of the backarrow and title of a subview is off

Describe the solution you'd like
adding following code moves both items:

      .main-title {
        padding-bottom: 10px;
      }
      .mdc-icon-button {
        padding-bottom: 20px;
      }
      ha-icon-button-arrow-prev {
        padding-bottom: 10px;
        padding-left: 20px;
      }

Additional context

how it looks right now (looks way worse on an iphone 13 pro)

photo_2024-03-01_15-34-01

how it looks fixed:

photo_2024-03-01_15-34-10

Rubberband effect and status bar/nav bar colors

Is your feature request related to a problem? Please describe.
When it come to get as close as possible to Google Home app, i can see 2 details :
1)Rubber band effect when scrolling on limitations
2)Top status bar and bottom nav bar colors

Describe the solution you'd like
1)Rubber band effect should be avoided on homme assistant app nav bar
2)Top status bar should be same as background
3)Bottom nav bar should be same color app nav bar

Describe alternatives you've considered
Android 14 comes with a solution that is not working for Bottom nav bar color in dev settings, it's called transparent navigation bar.

Additional context
Probably related to companion app and not themes, but is there something that can be done ?

VIDEOS

0503.mp4
0503.1.mp4
0503.2.mp4

Dynamic base color

The base color of the Material You can be set or adjusted depending on the selected background image. Wouldn't it be cool to adopt this here in HA as well?

Screenshot_20240427-071321

Place the navigation bar at the top of dashboard subviews.

Is your feature request related to a problem? Please describe.
As this theme is inspired by the Google Home app, having the back button/exit button at the top left of sub-views would make the overall experience more intuitive and alike to the Google Home app. Currently, because of the global nav bar adjustment, the back button appears at the bottom of the screen alongside the page title.

Describe the solution you'd like
Allow the navigation bar to appear at the top of each sub-view page, along with the sub-view title, and remove the shading on the navigation bar.

Additional context
You can also see that the navigation bar on Home Assistant is shaded, whereas in the screenshot in Google Home, there’s no background to that navigation bar.

image

image

<3

Navigation Bar not respecting safe area

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
2.1.0
Last working release (if known):
unknown
Browser and Operating System:
Home Assistant Companion App on iOS 17.6.1

Description of problem:
Somehow the Navigation Bar at the bottom doesn’t seem to take safe-area-insets into account.

IMG_0822

Javascript errors shown in the web inspector (if applicable):


Additional information:
I’m new to Home Assistant and just set this up so I don’t know if this was working before. Judging from the screenshots in the readme, it probably did.

Footer stretches with overflow

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue: 1.0

Last working release (if known): This has always been the case

Browser and Operating System: Home Assistant companion app for Android

Description of problem:

When I hit the edge of the scroll view on Android, the footer stretches with the overflow stretch. Instead, it should stay static.

Javascript errors shown in the web inspector (if applicable):


Additional information:

screen-20240515-174041.2.mp4

Can't see dropdown text in History time period selection

great them , plan to use it from now on, but problem is with text visibility in History period selection :

image

the dropdown test is almost invisible, compared to default theme 👍

image

It would be nice if the text was darker.
I looked at the theme yaml , but I could not work out which color variable to change!

rgds, jeff

More fleshed out documentation, please?

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
Could we get a little more documentation on how to use the theme? It took me a while to figure out that it's a dashboard theme and not a card theme, for example. Could we get some more sample code for the light cards you show in your screenshots? An example dashboard, essentially. :)

Describe alternatives you've considered
N/A

Additional context
N/A

Broken "Material Rounded" theme?

Checklist:

  • [X ] I updated to the latest version available
  • [ X] I cleared the cache of my browser

Release with the issue: 1.5.1

Last working release (if known):

Browser and Operating System: Android HA App/Chrome/Firefox

Description of problem: When using the "Material Rounded No Mod" theme, icons are displayed fine. When using the normal "Material Rounded" theme, icons do not appear. With the normal theme, the card-mod features does not appear to work.

Screenshot_20240301-013830
Screenshot_20240301-013900

Javascript errors shown in the web inspector (if applicable):

Nothing is shown as an error in Chrome web inspector.

Additional information: This issue appears in Chrome/Firefox on my desktop and in Chrome on Android as well as the the HA app. All are latest versions.

Text not readable / Text or Background Color adjustment

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Browser and Operating System:
Chrome latest

Description of problem:
Color / Text not readable. The Dark Blue is "Condition not passed"
Condition passed on Green is readable

Test Not passed
Test passed

Issue with 2024.6/7 with new view

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
2024.6 | Now 2024.7
Last working release (if known):
2024.5 (before new experimental views)

Browser and Operating System:
Chrome, Firefox, Windows & Linux.
Smartphone too. All Newest Versions

Description of problem:
The new sections have been set up in the new version of Homeassistant.
These new sections directly define how many elements fit next to each other.
There are "headings" for these sections, which saves you additional entities / elements.

These headings are completely removed with the Material Round Design and the view is moved to the top

Pic 1:
Other Theme (Google Theme) - Headings visible:
image

Pic 2:
Material Theme - Headings invisible, all moved up
image

Only the Material Theme (No Mods) works.
Is that how it should be? If so, feel free to close the bug

Javascript errors shown in the web inspector (if applicable):
No Problem.

Additional information:

sideways scrolling in bottom bar

I have about 8 pages in my dashboard. Would be nice if sideways scrolling was possible, since they all get squished together in the bottom bar on the companion app now.
It's default behaviour in the app without this theme

Transparent Selection

I love this theme and would also use the transparent option.
However, one thing should be changed: the selection window is unreadable...

Screenshot 2024-04-27 100705
Screenshot 2024-04-27 100746

Seperate Dark/Light Themes

I love the theme and got it in use on all my devices! But on my wallpanels, there is no dark mode and i can only toggle dark/light mode with browser mod, which is kind of buggy sometimes. Would it be possible to get the theme as additional dark/light version that can be set with the default theme service and can be easier applied with automations to devices without the dark/light mode choosen by the device itself?

Allow background image

Is your feature request related to a problem? Please describe.
Currently if a background is defined in de Lovelace config e.g.
background: center / cover no-repeat url(/local/wallpaper.jpg)
The background is not visibile

Describe the solution you'd like
Allow the background to render behind the view. Either always or as a sub-theme.

Describe alternatives you've considered
I tried using card-mod but since the background is outside the card scope it is hard to do.

Additional context
I do understand the theme is meant to reflect the Google Home look and feel, however there might be a use-case for allow a background image to be (partly) visible.

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.