Change of stroke slider/text color in dark theme to more visible

Add any particular hints or tricks you have found to help with your ZoneMinder experience.
Post Reply
User avatar
worm6666
Posts: 5
Joined: Tue Mar 31, 2020 10:19 am

Change of stroke slider/text color in dark theme to more visible

Post by worm6666 »

Change color/width of stroke slider and actual time text to yellow in timeline in montagereview - in dark css it is not good visible when blue:

Image

file:

/usr/share/zoneminder/www/skins/classic/views/js/montagereview.js

line 305 - var sliderLineWidth=1; -> change to:

var sliderLineWidth=2;

line 337 - ctx.strokeStyle = 'black'; -> change to:

ctx.strokeStyle = 'yellow';

line 348 - o.style.color = "blue"; -> change to:

o.style.color = "yellow";

hope this helps someone a little... ;-) without a creating whole new scheme...
User avatar
Gascoigne
Posts: 4
Joined: Wed Jun 09, 2021 7:43 am

Re: Change of stroke slider/text color in dark theme to more visible

Post by Gascoigne »

Thank you for sharing, I think it will really give any project more "life"
User avatar
worm6666
Posts: 5
Joined: Tue Mar 31, 2020 10:19 am

Re: Change of stroke slider/text color in dark theme to more visible

Post by worm6666 »

the anwer is very simple. similar color invisibility...

very small blue and thin font on dark gray backround is really very hard to read... and the same applies to black frame...
Post Reply