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
Put differently, I feel $state better expresses that these are in fact color mode states e.g. "dark" state or "light" state or "my-custom-mode" state; NOT a color per se.
I know this is a nitpick but definitely felt my cognitive effort wasted attempting to figure this out the first perusal of the code. Happy to help if folks agree here. Feel free to close if it's a stupid idea ;)
Motivation and context
Less wasted cognitive effort to read the code
Easier onboarding understanding for folks new to the codebase
The text was updated successfully, but these errors were encountered:
Prerequisites
Proposal
This should have no functional consequences but would perhaps improve the quality and readability.
It appears there are two approaches and I think the later below is clearer:
vs
Put differently, I feel
$state
better expresses that these are in fact color mode states e.g. "dark" state or "light" state or "my-custom-mode" state; NOT a color per se.I know this is a nitpick but definitely felt my cognitive effort wasted attempting to figure this out the first perusal of the code. Happy to help if folks agree here. Feel free to close if it's a stupid idea ;)
Motivation and context
The text was updated successfully, but these errors were encountered: