The grid (rendering) ยท console.warn
Custom variant '{name}' overrides a built-in token. The built-in colours are contrast-checked in both themes; the override is now your responsibility.
Printed by The grid (rendering), prefixed [lattice], since 1.0.1.
Warnings reference › variant-override:*
- Identifier
variant-override:*- Raised by
- The grid (rendering)
- Since
- 1.0.1
What happened
A custom variant was registered under the name of a built-in, and it replaced it. Nothing is broken and the registration stands; the point of the line is that the built-in's contrast guarantee no longer applies to any cell using that token, anywhere in the application.
The fix
Register under a name of your own if you did not mean to replace the built-in. If you did, check the contrast of both themes yourself.
Reference
Covered in full at the API reference.