Hi. i switch to yaml mode dashboard.
Everything work like a charm, but have a problem with somethin.
Using same ha-card background settings for few cards. is there a way to use it globally but in files?
take a look.
card_mod: !include ../../style/tlo.yaml work well and that file looks like:
style: | ha-card { background: rgba(15, 15, 15, 0.8); /* Przezroczyste tło (szare) */ }
Can i move:
ha-card { background: rgba(15, 15, 15, 0.8); /* Przezroczyste tło (szare) */ }
to one file
and:
ha-card:active { transform: scale(0.975); transition: 0s; }
to other file?
and how to do it.
Hi. i switch to yaml mode dashboard. Everything work like a charm, but have a problem with somethin. Using same ha-card background settings for few cards. is there a way to use it globally but in files? take a look.
card_mod: !include ../../style/tlo.yaml
work well and that file looks like:style: | ha-card { background: rgba(15, 15, 15, 0.8); /* Przezroczyste tło (szare) */ }
But have few different things like:
card_mod: style: | ha-card { background: rgba(15, 15, 15, 0.8); /* Przezroczyste tło (szare) */ } ha-card:active { transform: scale(0.975); transition: 0s; }
Can i move:
ha-card { background: rgba(15, 15, 15, 0.8); /* Przezroczyste tło (szare) */ }
to one file and:ha-card:active { transform: scale(0.975); transition: 0s; }
to other file? and how to do it.hope that You understand me.