Home

tailwind-ctp-intellisense @76cbaa494871177cf7e4239fcbf5b053dddae77c - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tailwind-ctp-intellisense / packages / vscode-tailwindcss / syntaxes / theme-fn.tmLanguage.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
  "scopeName": "tailwindcss.theme-fn.injection",
  "fileTypes": [],
  "injectionSelector": "L:meta.property-list.css -comment",
  "name": "TailwindCSS",
  "patterns": [
    {
      "begin": "(?i)(?<![\\w-])(config)(\\()",
      "beginCaptures": {
        "1": {
          "name": "support.function.config.tailwind"
        },
        "2": {
          "name": "punctuation.section.function.begin.bracket.round.css"
        }
      },
      "end": "\\)",
      "endCaptures": {
        "0": {
          "name": "punctuation.section.function.end.bracket.round.css"
        }
      },
      "patterns": [
        {
          "include": "source.css#string"
        },
        {
          "match": "[^\\s\\)]+",
          "name": "variable.parameter.screen.tailwind"
        }
      ]
    },
    {
      "begin": "(?i)(?<![\\w-])(theme)(\\()",
      "beginCaptures": {
        "1": {
          "name": "support.function.theme.tailwind"
        },
        "2": {
          "name": "punctuation.section.function.begin.bracket.round.css"
        }
      },
      "end": "\\)",
      "endCaptures": {
        "0": {
          "name": "punctuation.section.function.end.bracket.round.css"
        }
      },
      "patterns": [
        {
          "include": "source.css#string"
        },
        {
          "match": "[^\\s\\)]+",
          "name": "variable.parameter.screen.tailwind"
        }
      ]
    }
  ]
}