- Jan 17, 2015
- 5,263
- 4,955
Considering that the "natural" theme of BHW is black, a lot of users have the great idea to use high contrast colours for black in their threads in a burst of pure originality (like yellow), completely forgetting that some users are using the white theme, which have 0% contrast with those colours
This said, I know it's not straight forward to be implemented but I just throw an idea: modifying the COLOR bbcode script to invert when selected theme is different
Example:
https://github.com/villfa/php-invert-color
So for example if the user uses yellow it makes the automatic conversion to yellow that is the exact opposite colour in the scale. This will make 100% post easily readable for all users regardless of their black or white theme chosen.
There is only one caveat, the inversion would only occur on certain themes like white one, so obviously if a user that uses the white theme, uses colors in his thread for white high contrast, them his thread will be horrible for everyone low contrast in both regular (black) and inverted (themes). But I'm sure that the people that use white theme are aware of this. So I think it's a little price to pay in exchange for a huge value of the most common scenario of people using yellow (for example) in their black themes.
This said, I know it's not straight forward to be implemented but I just throw an idea: modifying the COLOR bbcode script to invert when selected theme is different
Example:
https://github.com/villfa/php-invert-color
So for example if the user uses yellow it makes the automatic conversion to yellow that is the exact opposite colour in the scale. This will make 100% post easily readable for all users regardless of their black or white theme chosen.
There is only one caveat, the inversion would only occur on certain themes like white one, so obviously if a user that uses the white theme, uses colors in his thread for white high contrast, them his thread will be horrible for everyone low contrast in both regular (black) and inverted (themes). But I'm sure that the people that use white theme are aware of this. So I think it's a little price to pay in exchange for a huge value of the most common scenario of people using yellow (for example) in their black themes.
