It is currently Wed Jan 23, 2019 11:09 am




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Three features + patches
Unread postPosted: Mon Feb 01, 2016 9:16 pm 
Offline

Joined: Mon Feb 01, 2016 8:48 pm
Posts: 1
I have altered your plugin slightly in three respects. Would you consider adding these additions in the official version?

CSS hooks for the * and the time, so that they can be styled (or hidden) individually. I wanted to show the calendar days with display=block and the * prevented me to do this. Also, I wanted to hide the text all day because all my events happen to be all day. http://www.tammo80.nl/files/css-hooks.patch

Determine FG colors based on background: for dark category colors, it would be better to render the text in white rather than the default color. Adding this to the database is probably a hassle, and it's quite easy to determine the 'best' foreground color to maximize contrast with the background color. http://www.tammo80.nl/files/contrast.patch

Use category colors in the minical. Does what it says. For multiple events on a day, the color of the first one is used. This uses the contrast patch above. http://www.tammo80.nl/files/color-minical.patch


Top
 Profile  
 
 Post subject: Re: Three features + patches
Unread postPosted: Sun Feb 18, 2018 8:46 pm 
Offline
User avatar

Joined: Sat May 26, 2007 1:55 pm
Posts: 2031
Location: London
Thank you for these, I'll look into them for the next release - I suspect that 1.3.10 already has the first one or a variant thereof, but will look at them all anyway. Thanks.

_________________
Kieran O'Shea


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron