We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ColorModeInstance.value
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
color-mode/src/runtime/types.ts
Line 4 in df97711
colorMode.value should be readonly at least as type.
I always fall for writing to value instead of preference. Maybe with readonly type we can make it more obvious not to write to value.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
color-mode/src/runtime/types.ts
Line 4 in df97711
Is your feature request related to a problem? Please describe.
colorMode.value should be readonly at least as type.
Additional context
I always fall for writing to value instead of preference. Maybe with readonly type we can make it more obvious not to write to value.
The text was updated successfully, but these errors were encountered: