Dear all,
i am trying to make a dark screensaver page for my wall tablet.
However i am struggeling by adapting the default widgets to black background and white text color.
By the help of this post i managed to change the clock color to white:
But i am not able to do this with a oh-label-card widget:
There is white-space around the widgets and the text is still black (this is why i made the background gray for test purpose).
This is how my YAML looks like:
- component: oh-grid-item
config:
x: 8
y: 11
h: 3
w: 3
slots:
default:
- component: oh-image-card
config:
item: EchoSpotSchlafzimmer_BildURL
noBorder: true
noShadow: true
background: black
style:
white-space: nowrap
background: black
outline: false
slots: null
- component: oh-grid-item
config:
x: 0
y: 11
h: 1
w: 8
slots:
default:
- component: oh-label-card
config:
themeDark: true
stylesheet: |
.col > div {
color: white
}
item: EchoSpotSchlafzimmer_Untertitel1
background: gray
style:
color: green
slots: null
- component: oh-grid-item
config:
x: 0
y: 12
h: 2
w: 8
slots:
default:
- component: oh-label-card
config:
noBorder: true
noShadow: true
background: gray
item: EchoSpotSchlafzimmer_Titel
It would be alot easier if it would be possible to just set a complete back to “dark theme” …
Using this “rows” and “cols” this seems to work. Why not with “fixed grid”?
- component: oh-grid-col
config:
themeDark: true
slots:
default:
- component: oh-image-card
config:
item: EchoSpotSchlafzimmer_BildURL
Can someone help?