Skip to content

Option to selectively chose if an image's colour is inverted when viewed using Dark Mode #5131

@JNR8

Description

@JNR8

Describe the feature you'd like

I am creating a site which will include various black and white diagrams with transparent backgrounds. Currently when viewing the site with Dark Mode enabled these images will show as black lines on a very dark background, making them very difficult to read. I would like an option to choose to invert the image colour if the image is displayed when viewing the site with Dark Mode enabled. Being able to choosing this on a per image basis when adding the image to the page would avoid affecting other images on that page or the rest of the site that should not have their colours inverted.

Describe the benefits this would bring to existing BookStack users

This would enable consistency across light and dark themes for black and white transparent images. I currently use a verions of the diagrams with a white background, but when viewed in Dark mode this is quite a striking inconsistency compared to viewing in light mode.

Can the goal of this request already be achieved via other means?

I am uncertain. I am have done some googling, but I am not particularly skilled with this type of thing, so may have missed an obvious answer. Having the option wthin Books Stacks WYSIWYG menu would be a more elegant solution.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

1 to 5 years

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions