Feature request: control over the color if I want to change it
SHND opened this issue · 2 comments
Problem:
users (developer using window colors) may not like to change the root_directory_name but is forced to see a theme that they hate.
Proposing an idea:
Since it seems that you use the hash to come up with window colors, means:
createColorHex(hash(root_directory_name))
If you add a global setting to your project to map root_directory_name
to some user chosen value, you can give some sort of control to users, who really doesn't like the color of the window but don't want to rename their project root directory name.
// Lets say `global_settings_map` is the mapping between `root_directory_name` to `user_choice_value`
user_choice_value = global_settings_map.get(root_directory_name)
createColorHex(hash(root_directory_name + user_choice_value))
Let me know if it's not clear what I mean, but I believe this can be a great useful feature.
It would be great if the user could set the "user_choice_value" not only globally but per project. That way multiple projects with similar names would no longer end up with the same color but could be differentiated properly.
Why is it a hash of the directory name in the first place? Should be a randomly chosen color (from a pool, perhaps).
And then add a command to re-roll the color selection if desired.