You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ribbon at bottom right corner displaying 'Fork on GitHub' have its background color changing every second.
It can be even same as the color of the text which renders it invisible for that moment.
We want to fix this by applying complementary color to the text with respect to its Background.
Hey @amitoj-singh I have tweaked the code of color_flipper.js. I researched if there was any pattern for hex-code for dark and bright colors, but alas, there is none. So what I did is, I made the color flipping semi-random. I chose around 110 dark and bright colors for the ribbon's background randomly from an array, and set the text color according to that. I have also tested it for all the colors, everything looks good. Please review the PR . ^_^
Hey @amitoj-singh I have tweaked the code of color_flipper.js. I researched if there was any pattern for hex-code for dark and bright colors, but alas, there is none. So what I did is, I made the color flipping semi-random. I chose around 110 dark and bright colors for the ribbon's background randomly from an array, and set the text color according to that. I have also tested it for all the colors, everything looks good. Please review the PR . ^_^
Refer to Canva color wheel.
This will help you see a pattern in complementary colors.
The ribbon at bottom right corner displaying 'Fork on GitHub' have its background color changing every second.
It can be even same as the color of the text which renders it invisible for that moment.
We want to fix this by applying complementary color to the text with respect to its Background.
Please go through the contributing guidelines, if you feel like helping🙂
The text was updated successfully, but these errors were encountered: