Home

tailwind-ctp-intellisense @d5dbede4f8cfb66a2913884ab3eb6e0714efa584 - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tailwind-ctp-intellisense / packages / tailwindcss-language-server / tests / code-actions / variant-order.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
{
  "code": "<div class=\"hover:focus:uppercase\">",
  "expected": [
    {
      "title": "Replace with 'focus:hover:uppercase'",
      "kind": "quickfix",
      "diagnostics": [
        {
          "code": "recommendedVariantOrder",
          "suggestions": ["focus:hover:uppercase"],
          "range": {
            "start": { "line": 0, "character": 12 },
            "end": { "line": 0, "character": 33 }
          },
          "severity": 2,
          "message": "Variants are not in the recommended order, which may cause unexpected CSS output."
        }
      ],
      "edit": {
        "changes": {
          "{{URI}}": [
            {
              "range": {
                "start": { "line": 0, "character": 12 },
                "end": { "line": 0, "character": 33 }
              },
              "newText": "focus:hover:uppercase"
            }
          ]
        }
      }
    }
  ]
}