baoliay2008 / lccn_predictor

LeetCode Contest Rating Prediction
https://lccn.lbao.site
MIT License
570 stars 22 forks source link

change in Delta value fill color for contest predictions. #2

Closed amitpant14 closed 10 months ago

amitpant14 commented 1 year ago

Currently, when there is a positive change in rating, it is depicted in red color and is green on negative changes. I think it would be better to use green color to reflect positive changes and red for negative ones.

baoliay2008 commented 1 year ago

Hi, @amitpant14 thank you for mentioning this.

Here are some cultural differences, usually red means up and green means down in some countries like China, Korea, Japan, etc. (like stocks, reference)

I'm working on a new version of building webpages using React, and the current pages will be deprecated. So I will try to set the fill color for different countries.

amitpant14 commented 1 year ago

@baoliay2008 I see. Thanks for clarifying. I didn't know about this.

baoliay2008 commented 10 months ago

This feature has been successfully implemented. Now, we automatically detect the user's browser language preference and customize the color scheme based on regional configurations.

For instance, Chinese and Japanese users will experience a color scheme of up: 🟥, down: 🟩, while Korean users will see up: 🟥, down: 🟦. By default, users in other regions, such as North America, Europe, and India, will encounter up: 🟩, down: 🟥.

For details, please check 3404fade22b6eb7a9be4b6114fe4bb9baebdd302