maunium / stickerpicker

A fast and simple Matrix sticker picker widget
GNU Affero General Public License v3.0
328 stars 615 forks source link

Nicer darkmode support #17

Closed Rafaeltheraven closed 4 years ago

Rafaeltheraven commented 4 years ago

The stickerpicker looks quite nice using light mode, but when using darkmode the text for the stickerpacks bleeds into the background and the top bar stays an oddly contrasted white. Might be good to consider just enforcing a white background or changing the text to white if the background is dark (though I'm not sure how feasible that is). image

tulir commented 4 years ago

There's currently no support for dark themes. The navbar having an explicit background color isn't necessary anymore, but I'm not exactly sure how to detect the app theme in widgets to fix the text and icon color

Rafaeltheraven commented 4 years ago

I kind of assumed that would be impossible, but perhaps consider setting

body {
background-color: white
}

this enforces a white background regardless of client settings, which works in both light and dark mode. image