tailwind-ctp-intellisense/packages/tailwindcss-language-server/tests/code-actions/invalid-screen.json

36 lines
825 B
JSON

{
"code": "@screen small",
"language": "css",
"expected": [
{
"title": "Replace with 'sm'",
"kind": "quickfix",
"diagnostics": [
{
"code": "invalidScreen",
"range": {
"start": { "line": 0, "character": 8 },
"end": { "line": 0, "character": 13 }
},
"severity": 1,
"message": "The screen 'small' does not exist in your theme config. Did you mean 'sm'?",
"suggestions": ["sm"]
}
],
"edit": {
"changes": {
"{{URI}}": [
{
"range": {
"start": { "line": 0, "character": 8 },
"end": { "line": 0, "character": 13 }
},
"newText": "sm"
}
]
}
}
}
]
}