wonderslug / MMM-HomeAssistantDisplay

A Magic Mirror Module to display information from Home Assistant.
MIT License
83 stars 6 forks source link

Which classes can I use? #9

Closed bphermansson closed 1 year ago

bphermansson commented 1 year ago

What are the options for the class keyword? For example, in one example there is 'class: "put-outs". But where is "put-outs" defined? What can I replace it with?

bphermansson commented 1 year ago

Ok I answer myself: The class name is one you choose yourself, to use as a reference. For example, I set class: "HAValues" in config. Then in css/custom.css I can style the Home Assistant values by referencing ".HAvalues":

.HAvalues {
    font-size: 22px;
}