michael-hack / bulma-calendar

Bulma's extension to display a calendar
MIT License
289 stars 165 forks source link

'Today' colour is too light in the latest Bulma #300

Open brendon opened 2 years ago

brendon commented 2 years ago

Bug Report

Environment

Current Behavior The default 'warning' colour in the latest Bulma is too light to be used on a white background. Interestingly they don't show examples of its use in the Buttons gallery when it would be yellow text on a white background. Strange, and annoying, but it's the way it is.

I've done some digging and you're hard-coding the use of the warning colour for the 'Today' button. Perhaps the easiest solution would be to change this to one of the other colours instead? Happy to do a PR for this, though it's just a one-line change. Candidates would be 'link', 'info', or 'success'.

Screen Shot 2022-06-30 at 6 45 04 PM
MetallianFR68 commented 2 years ago

+1 I needed to overwrite the CSS : .datetimepicker-footer-today{color:#404040 !important}

brendon commented 2 years ago

I ended up compiling the sass source for bulma-calendar so that it used my custom definition of the $warning colour that is a darker yellow.