In an oh-clock widget the style parameter pass the css attributes directly to the block holding the time text so
- component: oh-clock
config:
style:
color: green
Will get you green text for the time. However, in an oh-clock-card the style parameter is passed to the card and, due to all the layers of built-in formatting for the card, many attributes won’t trickle down to the actual time text. In this case you’ll have to use more direct css via the stylesheet property:
- component: oh-clock-card
config:
stylesheet: |
.col > div {
color: blue
}