Home

tailwind-ctp-intellisense @19cb859b5d92897c16cdd271786ca07d8d06d011 - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tailwind-ctp-intellisense / packages / tailwindcss-language-server / tests / code-actions / invalid-screen.json
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  "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"
            }
          ]
        }
      }
    }
  ]
}