behave-contrib / behave-html-pretty-formatter

HTML Pretty formatter for Behave
GNU General Public License v3.0
13 stars 4 forks source link

Adding a button to toggle between dark/light mode #54

Closed abdullahsaf closed 11 months ago

abdullahsaf commented 11 months ago

Hi,

The current behavior of the package displays the generated HTML report based on the user's browser settings, which can result in it being styled in dark mode if that's the user's preference. I would like to suggest the addition of a button, similar to a high contrast button, that allows users to easily toggle between light and dark modes.

Thanks.

fpokryvk commented 11 months ago

Hi, thank you for suggestion of impovement. I would like to have a release done next week, this seems possible to be included in the release. For me it works to switch automatically by sunset/sunrise, but I understand that switch button might be handy.