tailwind-ctp-intellisense/packages/tailwindcss-language-server/tests/diagnostics/invalid-theme/simple.json

14 lines
409 B
JSON
Raw Permalink Normal View History

2023-08-29 09:37:51 +00:00
{
"code": ".test { color: theme(colors.red.901) }",
"language": "css",
"expected": [
{
"code": "invalidConfigPath",
"range": { "start": { "line": 0, "character": 21 }, "end": { "line": 0, "character": 35 } },
"severity": 1,
"message": "'colors.red.901' does not exist in your theme config. Did you mean 'colors.red.900'?",
"suggestions": ["colors.red.900"]
}
]
}