XKit-Rewritten icon indicating copy to clipboard operation
XKit-Rewritten copied to clipboard

Colors for Quick Reblog

Open AprilSylph opened this issue 2 years ago • 3 comments

Discussed in https://github.com/AprilSylph/XKit-Rewritten/discussions/1136

Originally posted by PrincessPrince July 12, 2023 I think it'd be nice if we could color code maybe using the blogs colors or our own the dropdown list where we choose our blog in the Quick Reblog Menu, it would make it even easier to choose the right blog you want to reblog to and I think it'd be fun!! We already have icons showing up once it's selected but I thought itd be nice to have color block, i hope the example makes sense.

20230711 Xkit Quick Reblog Blog Color Menu


Since XKit Rewritten preferences are account-agnostic this would have to use blog colours. To avoid eyestrain, this should be an off-by-default option.

AprilSylph avatar Jul 12 '23 08:07 AprilSylph

Ooh, cute idea!

Would this require moving from a native select element to a constructed one? I don't think you can style the options dropdown in a native select.

Interesting alternative to that: <select multiple>, which on the one hand might look a bit strange but on the other hand is actually quite a bit faster and easier to use than a regular select!

marcustyphoon avatar Jul 12 '23 08:07 marcustyphoon

You can style <option> elements on Firefox, does it not work in Chromium?

AprilSylph avatar Jul 12 '23 09:07 AprilSylph

I believe <select> uses an OS-native menu on MacOS regardless of browser; I think this is one of those questions that needs answering on both an OS and browser level.

marcustyphoon avatar Jul 12 '23 09:07 marcustyphoon