easonwong-de / Adaptive-Tab-Bar-Colour

Changes the colour of Firefox tab bar to match the website theme.
https://addons.mozilla.org/firefox/addon/adaptive-tab-bar-colour/
MIT License
310 stars 11 forks source link

Modifiable Light/Dark Threshold #58

Open CennoxX opened 1 year ago

CennoxX commented 1 year ago

Currently brightness thresold is calculated by brightness = 0.299 × r + 0.587 × g + 0.114 × b; if brightness > 128, then color is bright; otherwise is it dark. grafik But it seems, the threshold of dark/light color does not work out for everyone. For me, the contrast here isn't enough, for others it might be. So a better option could be to make a setting to set the brightness threshold of currently 128 in the settings

easonwong-de commented 1 year ago

This feature will be added. Thanks for the suggestion.

KunjanChauhan commented 11 months ago

with the dark themes, i find the contrast between active and no-active tabs is missing. Can the contrast be increased by a user selectable slider or similar? also the same parameters should apply to the STG or Siple Tab Groups add on for consistency and usability. ty.

CennoxX commented 11 months ago

with the dark themes, i find the contrast between active and no-active tabs is missing. Can the contrast be increased by a user selectable slider or similar? also the same parameters should apply to the STG or Siple Tab Groups add on for consistency and usability. ty.

@KunjanChauhan Please create an own issue, if it's not related to this one.