qistoph / MMM-nstreinen

MagicMirror² module to show Dutch train information
12 stars 4 forks source link

add style to delayed time (red/colored) #14

Closed mdissel closed 5 years ago

mdissel commented 5 years ago

Maybe add some color to the rendered html with a red label for the delayed time.

qistoph commented 5 years ago

Sounds nice. Though I prefer my screen black&white. If you write a PR, please make it configurable.

Maybe something like "use_color": "boolean".

qistoph commented 5 years ago

Dear @mdissel,

If you update to the latest version you'll be able to change the styling from your custom.css:

 .nstreinen .delayed .time {
     color: red;
 }