@stainless-api/docs-ui 0.1.0-beta.9 → 0.1.0-beta.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/breadcrumbs-DC2_z7nh.d.ts +25 -0
  2. package/dist/chunk-pbuEa-1d.js +13 -0
  3. package/dist/component-generics-DYxBWv1v.js +42 -0
  4. package/dist/component-generics-q-ujwX4P.d.ts +30 -0
  5. package/dist/components/MaskedInput.d.ts +14 -0
  6. package/dist/components/MaskedInput.js +74 -0
  7. package/dist/components/breadcrumbs.d.ts +2 -0
  8. package/dist/components/breadcrumbs.js +62 -0
  9. package/dist/components/icons.d.ts +72 -0
  10. package/dist/components/icons.js +953 -0
  11. package/dist/components/index.d.ts +10 -0
  12. package/dist/components/index.js +73 -0
  13. package/dist/components/method.d.ts +2 -0
  14. package/dist/components/method.js +95 -0
  15. package/dist/components/overview.d.ts +2 -0
  16. package/dist/components/overview.js +140 -0
  17. package/dist/components/primitives.d.ts +2 -0
  18. package/dist/components/primitives.js +251 -0
  19. package/dist/components/properties.d.ts +2 -0
  20. package/dist/components/properties.js +144 -0
  21. package/dist/components/sdk-sidebar.d.ts +2 -0
  22. package/dist/components/sdk-sidebar.js +50 -0
  23. package/dist/components/sdk.d.ts +2 -0
  24. package/dist/components/sdk.js +488 -0
  25. package/dist/components/snippets.d.ts +2 -0
  26. package/dist/components/snippets.js +184 -0
  27. package/dist/components/stl-sidebar.d.ts +2 -0
  28. package/dist/components/stl-sidebar.js +112 -0
  29. package/dist/contexts/component-generics.d.ts +2 -0
  30. package/dist/contexts/component-generics.js +2 -0
  31. package/dist/contexts/component-types.d.ts +6 -0
  32. package/dist/contexts/component-types.js +0 -0
  33. package/dist/contexts/component.d.ts +20 -0
  34. package/dist/contexts/component.js +21 -0
  35. package/dist/contexts/docs.d.ts +2 -0
  36. package/dist/contexts/docs.js +89 -0
  37. package/dist/contexts/index.d.ts +6 -0
  38. package/dist/contexts/index.js +43 -0
  39. package/dist/contexts/markdown.d.ts +2 -0
  40. package/dist/contexts/markdown.js +62 -0
  41. package/dist/contexts/navigation.d.ts +2 -0
  42. package/dist/contexts/navigation.js +21 -0
  43. package/dist/contexts/use-components.d.ts +5 -0
  44. package/dist/contexts/use-components.js +5 -0
  45. package/dist/docs-DSjdvCh5.d.ts +62 -0
  46. package/dist/index-DFr9Mesr.d.ts +1776 -0
  47. package/dist/index-gGDaf6FK.d.ts +464 -0
  48. package/dist/index.d.ts +5 -0
  49. package/dist/index.js +8 -7542
  50. package/dist/languages/cli.d.ts +2 -0
  51. package/dist/languages/cli.js +165 -0
  52. package/dist/languages/csharp.d.ts +2 -0
  53. package/dist/languages/csharp.js +282 -0
  54. package/dist/languages/go.d.ts +2 -0
  55. package/dist/languages/go.js +302 -0
  56. package/dist/languages/http.d.ts +2 -0
  57. package/dist/languages/http.js +385 -0
  58. package/dist/languages/index.d.ts +2 -0
  59. package/dist/languages/index.js +31 -0
  60. package/dist/languages/java.d.ts +2 -0
  61. package/dist/languages/java.js +402 -0
  62. package/dist/languages/php.d.ts +2 -0
  63. package/dist/languages/php.js +311 -0
  64. package/dist/languages/python.d.ts +2 -0
  65. package/dist/languages/python.js +268 -0
  66. package/dist/languages/ruby.d.ts +2 -0
  67. package/dist/languages/ruby.js +386 -0
  68. package/dist/languages/terraform.d.ts +2 -0
  69. package/dist/languages/terraform.js +259 -0
  70. package/dist/languages/typescript.d.ts +2 -0
  71. package/dist/languages/typescript.js +448 -0
  72. package/dist/markdown/index.d.ts +11 -0
  73. package/dist/markdown/index.js +87 -0
  74. package/dist/markdown/md.d.ts +15 -0
  75. package/dist/markdown/md.js +39 -0
  76. package/dist/markdown/printer.d.ts +13 -0
  77. package/dist/markdown/printer.js +74 -0
  78. package/dist/markdown/utils.d.ts +28 -0
  79. package/dist/markdown/utils.js +31 -0
  80. package/dist/markdown-Cwdboi_V.d.ts +33 -0
  81. package/dist/method-CNRMOUfn.d.ts +59 -0
  82. package/dist/navigation-C9ckAfpV.d.ts +29 -0
  83. package/dist/overview-CDvh184n.d.ts +39 -0
  84. package/dist/primitives-DFE_4MvV.d.ts +107 -0
  85. package/dist/properties-CVwrzWVa.d.ts +54 -0
  86. package/dist/routing-yTSG7nWM.d.ts +61 -0
  87. package/dist/routing.d.ts +2 -0
  88. package/dist/routing.js +174 -150
  89. package/dist/sdk-BkW3MDco.d.ts +128 -0
  90. package/dist/sdk-sidebar-BpDlOMat.d.ts +15 -0
  91. package/dist/spec.d.ts +65 -0
  92. package/dist/spec.js +165 -0
  93. package/dist/stl-sidebar-CKrR5ZGs.d.ts +58 -0
  94. package/dist/style.d.ts +178 -0
  95. package/dist/style.js +178 -0
  96. package/dist/styles/main.css +765 -755
  97. package/dist/styles/primitives.css +359 -442
  98. package/dist/styles/resets.css +25 -41
  99. package/dist/styles/search.css +187 -270
  100. package/dist/styles/sidebar.css +155 -69
  101. package/dist/styles/variables.css +23 -89
  102. package/dist/styles.css +3171 -0
  103. package/dist/utils.d.ts +20 -0
  104. package/dist/utils.js +52 -0
  105. package/package.json +75 -22
  106. package/dist/mcp.js +0 -16003
  107. package/dist/styles/snippets.css +0 -132
  108. package/src/components/breadcrumbs.tsx +0 -94
  109. package/src/components/chat.tsx +0 -154
  110. package/src/components/dropdown.tsx +0 -91
  111. package/src/components/icons.tsx +0 -584
  112. package/src/components/index.ts +0 -9
  113. package/src/components/method.tsx +0 -146
  114. package/src/components/overview.tsx +0 -160
  115. package/src/components/primitives.tsx +0 -284
  116. package/src/components/properties.tsx +0 -130
  117. package/src/components/scripts/dropdown.ts +0 -78
  118. package/src/components/sdk.tsx +0 -403
  119. package/src/components/sidebar.tsx +0 -99
  120. package/src/components/snippets.tsx +0 -180
  121. package/src/contexts/component-generics.tsx +0 -48
  122. package/src/contexts/component-types.tsx +0 -5
  123. package/src/contexts/component.tsx +0 -32
  124. package/src/contexts/docs.tsx +0 -75
  125. package/src/contexts/index.tsx +0 -17
  126. package/src/contexts/markdown.tsx +0 -43
  127. package/src/contexts/navigation.tsx +0 -44
  128. package/src/contexts/search.tsx +0 -28
  129. package/src/contexts/use-components.tsx +0 -4
  130. package/src/index.ts +0 -6
  131. package/src/languages/go.tsx +0 -281
  132. package/src/languages/http.tsx +0 -321
  133. package/src/languages/index.ts +0 -26
  134. package/src/languages/java.tsx +0 -358
  135. package/src/languages/python.tsx +0 -255
  136. package/src/languages/ruby.tsx +0 -320
  137. package/src/languages/typescript.tsx +0 -393
  138. package/src/markdown/index.ts +0 -107
  139. package/src/markdown/md.ts +0 -45
  140. package/src/markdown/utils.ts +0 -49
  141. package/src/routing.ts +0 -238
  142. package/src/search/form.tsx +0 -127
  143. package/src/search/index.tsx +0 -1
  144. package/src/search/indexer.ts +0 -246
  145. package/src/search/mcp.ts +0 -61
  146. package/src/search/printer.tsx +0 -86
  147. package/src/search/providers/algolia.ts +0 -88
  148. package/src/search/providers/fuse.ts +0 -19
  149. package/src/search/providers/pagefind.ts +0 -17
  150. package/src/search/providers/walker.ts +0 -30
  151. package/src/search/results.tsx +0 -182
  152. package/src/search/state.ts +0 -64
  153. package/src/search/types.ts +0 -116
  154. package/src/style.ts +0 -196
  155. package/src/styles/main.css +0 -986
  156. package/src/styles/primitives.css +0 -580
  157. package/src/styles/resets.css +0 -39
  158. package/src/styles/search.css +0 -341
  159. package/src/styles/sidebar.css +0 -85
  160. package/src/styles/snippets.css +0 -130
  161. package/src/styles/variables.css +0 -86
  162. package/src/utils.ts +0 -41
@@ -0,0 +1,3171 @@
1
+ @layer stl-ui.tokens {
2
+ :root {
3
+ --stl-typography-font: "Geist", system-ui, sans-serif;
4
+ --stl-typography-font-mono: "Geist Mono", ui-monospace, monospace;
5
+ --stl-typography-font-heading: var(--stl-typography-font);
6
+ --stl-typography-line-height: 1.5;
7
+ --stl-typography-line-height-heading: 1.2;
8
+ --stl-typography-text-body: var(--stl-typography-scale-base);
9
+ --stl-typography-text-body-sm: var(--stl-typography-scale-sm);
10
+ --stl-typography-text-body-xs: var(--stl-typography-scale-xs);
11
+ --stl-typography-text-code: max(.875em, var(--stl-typography-scale-xs));
12
+ --stl-typography-text-h1: var(--stl-typography-scale-5xl);
13
+ --stl-typography-text-h2: var(--stl-typography-scale-4xl);
14
+ --stl-typography-text-h3: var(--stl-typography-scale-3xl);
15
+ --stl-typography-text-h4: var(--stl-typography-scale-2xl);
16
+ --stl-typography-text-h5: var(--stl-typography-scale-xl);
17
+ --stl-typography-scale-xs: 12px;
18
+ --stl-typography-scale-sm: 14px;
19
+ --stl-typography-scale-base: 16px;
20
+ --stl-typography-scale-lg: 18px;
21
+ --stl-typography-scale-xl: 20px;
22
+ --stl-typography-scale-2xl: 24px;
23
+ --stl-typography-scale-3xl: 29px;
24
+ --stl-typography-scale-4xl: 35px;
25
+ --stl-typography-scale-5xl: 42px;
26
+ --stl-typography-scale-6xl: 64px;
27
+ --stl-color-text-selection-foreground: /* unset by default; text colors are unchanged */;
28
+ --stl-color-text-selection-background: light-dark(rgb(from var(--stl-color-text-selection) r g b / calc(alpha * .15)), rgb(from var(--stl-color-text-selection) r g b / calc(alpha * .35)));
29
+ --stl-ui-layout-border-radius-xs: 4px;
30
+ --stl-ui-layout-border-radius-sml: 8px;
31
+ --stl-ui-layout-border-radius: 12px;
32
+ --stl-ui-layout-border-radius-med: 16px;
33
+ --stl-ui-layout-border-radius-max: 100vmax;
34
+ --stl-ui-left-content-indent: 24px;
35
+ --stl-ui-page-padding-inline: 20px;
36
+ --stl-opacity-level-080: .8;
37
+ --stl-opacity-level-040: .4;
38
+ --stl-opacity-level-016: .16;
39
+ --stl-opacity-level-008: .08;
40
+ --stl-opacity-level-004: .04;
41
+ --stl-color-background: light-dark(#fff, #0a0a0a);
42
+ --stl-color-background-hover: light-dark(rgb(from var(--stl-color-foreground) r g b/calc(alpha * var(--stl-opacity-level-004))), rgb(from var(--stl-color-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))));
43
+ --stl-color-muted-background: light-dark(rgb(from var(--stl-color-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
44
+ --stl-color-muted-background-hover: rgb(from var(--stl-color-muted-background) r g b/calc(alpha * 2));
45
+ --stl-color-faint-background: rgb(from var(--stl-color-foreground) r g b/calc(alpha * var(--stl-opacity-level-004)));
46
+ --stl-color-faint-background-hover: rgb(from var(--stl-color-faint-background) r g b/calc(alpha * 2));
47
+ --stl-color-ui-background: light-dark(var(--stl-color-background), rgb(from var(--stl-color-foreground) r g b/calc(alpha * var(--stl-opacity-level-004))));
48
+ --stl-color-ui-background-hover: light-dark(var(--stl-color-background-hover), rgb(from var(--stl-color-ui-background) r g b/calc(alpha * 2)));
49
+ --stl-color-foreground: light-dark(#262626, #f5f5f5);
50
+ --stl-color-foreground-reduced: rgb(from var(--stl-color-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
51
+ --stl-color-foreground-muted: rgb(from var(--stl-color-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
52
+ --stl-color-inverse-background: var(--stl-color-foreground);
53
+ --stl-color-inverse-background-hover: rgb(from var(--stl-color-inverse-background) r g b/calc(alpha * .9));
54
+ --stl-color-inverse-foreground: var(--stl-color-background);
55
+ --stl-color-border: rgb(from var(--stl-color-foreground) r g b/calc(alpha * var(--stl-opacity-level-016)));
56
+ --stl-color-border-faint: rgb(from var(--stl-color-border) r g b/calc(alpha * .5));
57
+ --stl-color-border-strong: rgb(from var(--stl-color-border) r g b/calc(alpha * 2.5));
58
+ --stl-color-accent: light-dark(#155dfc, #2b7fff);
59
+ --stl-color-accent-foreground: var(--stl-color-accent);
60
+ --stl-color-accent-foreground-reduced: rgb(from var(--stl-color-accent-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
61
+ --stl-color-accent-foreground-muted: rgb(from var(--stl-color-accent-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
62
+ --stl-color-accent-muted-background: light-dark(rgb(from var(--stl-color-accent-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-accent-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
63
+ --stl-color-accent-muted-background-hover: rgb(from var(--stl-color-accent-muted-background) r g b/calc(alpha * 2));
64
+ --stl-color-accent-border: light-dark(rgb(from var(--stl-color-accent) r g b/calc(alpha * var(--stl-opacity-level-016))), rgb(from var(--stl-color-accent) r g b/calc(alpha * calc(var(--stl-opacity-level-016) * 1.5))));
65
+ --stl-color-accent-border-faint: rgb(from var(--stl-color-accent-border) r g b/calc(alpha * .5));
66
+ --stl-color-accent-border-strong: var(--stl-color-accent);
67
+ --stl-color-accent-inverse-background: var(--stl-color-accent);
68
+ --stl-color-accent-inverse-background-hover: rgb(from var(--stl-color-accent-inverse-background) r g b/calc(alpha * var(--stl-opacity-level-080)));
69
+ --stl-color-accent-inverse-foreground: #fff;
70
+ --stl-color-red: light-dark(#d01e22, #e34041);
71
+ --stl-color-red-foreground: var(--stl-color-red);
72
+ --stl-color-red-foreground-reduced: rgb(from var(--stl-color-red-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
73
+ --stl-color-red-foreground-muted: rgb(from var(--stl-color-red-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
74
+ --stl-color-red-muted-background: light-dark(rgb(from var(--stl-color-red-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-red-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
75
+ --stl-color-red-muted-background-hover: rgb(from var(--stl-color-red-muted-background) r g b/calc(alpha * 2));
76
+ --stl-color-red-border: light-dark(rgb(from var(--stl-color-red) r g b/calc(alpha * var(--stl-opacity-level-016))), rgb(from var(--stl-color-red) r g b/calc(alpha * calc(var(--stl-opacity-level-016) * 1.5))));
77
+ --stl-color-red-border-faint: rgb(from var(--stl-color-red-border) r g b/calc(alpha * .5));
78
+ --stl-color-red-border-strong: var(--stl-color-red);
79
+ --stl-color-red-inverse-background: var(--stl-color-red);
80
+ --stl-color-red-inverse-background-hover: rgb(from var(--stl-color-red-inverse-background) r g b/calc(alpha * var(--stl-opacity-level-080)));
81
+ --stl-color-red-inverse-foreground: #fff;
82
+ --stl-color-green: light-dark(#16a34a, #22c55e);
83
+ --stl-color-green-foreground: var(--stl-color-green);
84
+ --stl-color-green-foreground-reduced: rgb(from var(--stl-color-green-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
85
+ --stl-color-green-foreground-muted: rgb(from var(--stl-color-green-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
86
+ --stl-color-green-muted-background: light-dark(rgb(from var(--stl-color-green-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-green-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
87
+ --stl-color-green-muted-background-hover: rgb(from var(--stl-color-green-muted-background) r g b/calc(alpha * 2));
88
+ --stl-color-green-border: light-dark(rgb(from var(--stl-color-green) r g b/calc(alpha * var(--stl-opacity-level-016))), rgb(from var(--stl-color-green) r g b/calc(alpha * calc(var(--stl-opacity-level-016) * 1.5))));
89
+ --stl-color-green-border-faint: rgb(from var(--stl-color-green-border) r g b/calc(alpha * .5));
90
+ --stl-color-green-border-strong: var(--stl-color-green);
91
+ --stl-color-green-inverse-background: var(--stl-color-green);
92
+ --stl-color-green-inverse-background-hover: rgb(from var(--stl-color-green-inverse-background) r g b/calc(alpha * var(--stl-opacity-level-080)));
93
+ --stl-color-green-inverse-foreground: #fff;
94
+ --stl-color-blue: light-dark(#155dfc, #2b7fff);
95
+ --stl-color-blue-foreground: var(--stl-color-blue);
96
+ --stl-color-blue-foreground-reduced: rgb(from var(--stl-color-blue-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
97
+ --stl-color-blue-foreground-muted: rgb(from var(--stl-color-blue-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
98
+ --stl-color-blue-muted-background: light-dark(rgb(from var(--stl-color-blue-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-blue-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
99
+ --stl-color-blue-muted-background-hover: rgb(from var(--stl-color-blue-muted-background) r g b/calc(alpha * 2));
100
+ --stl-color-blue-border: light-dark(rgb(from var(--stl-color-blue) r g b/calc(alpha * var(--stl-opacity-level-016))), rgb(from var(--stl-color-blue) r g b/calc(alpha * calc(var(--stl-opacity-level-016) * 1.5))));
101
+ --stl-color-blue-border-faint: rgb(from var(--stl-color-blue-border) r g b/calc(alpha * .5));
102
+ --stl-color-blue-border-strong: var(--stl-color-blue);
103
+ --stl-color-blue-inverse-background: var(--stl-color-blue);
104
+ --stl-color-blue-inverse-background-hover: rgb(from var(--stl-color-blue-inverse-background) r g b/calc(alpha * var(--stl-opacity-level-080)));
105
+ --stl-color-blue-inverse-foreground: #fff;
106
+ --stl-color-yellow: light-dark(#ca8a04, #eab308);
107
+ --stl-color-yellow-foreground: var(--stl-color-yellow);
108
+ --stl-color-yellow-foreground-reduced: rgb(from var(--stl-color-yellow-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
109
+ --stl-color-yellow-foreground-muted: rgb(from var(--stl-color-yellow-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
110
+ --stl-color-yellow-muted-background: light-dark(rgb(from var(--stl-color-yellow-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-yellow-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
111
+ --stl-color-yellow-muted-background-hover: rgb(from var(--stl-color-yellow-muted-background) r g b/calc(alpha * 2));
112
+ --stl-color-yellow-border: light-dark(rgb(from var(--stl-color-yellow) r g b/calc(alpha * var(--stl-opacity-level-016))), rgb(from var(--stl-color-yellow) r g b/calc(alpha * calc(var(--stl-opacity-level-016) * 1.5))));
113
+ --stl-color-yellow-border-faint: rgb(from var(--stl-color-yellow-border) r g b/calc(alpha * .5));
114
+ --stl-color-yellow-border-strong: var(--stl-color-yellow);
115
+ --stl-color-yellow-inverse-background: var(--stl-color-yellow);
116
+ --stl-color-yellow-inverse-background-hover: rgb(from var(--stl-color-yellow-inverse-background) r g b/calc(alpha * var(--stl-opacity-level-080)));
117
+ --stl-color-yellow-inverse-foreground: #fff;
118
+ --stl-color-orange: light-dark(#ea580c, #f97316);
119
+ --stl-color-orange-foreground: var(--stl-color-orange);
120
+ --stl-color-orange-foreground-reduced: rgb(from var(--stl-color-orange-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
121
+ --stl-color-orange-foreground-muted: rgb(from var(--stl-color-orange-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
122
+ --stl-color-orange-muted-background: light-dark(rgb(from var(--stl-color-orange-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-orange-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
123
+ --stl-color-orange-muted-background-hover: rgb(from var(--stl-color-orange-muted-background) r g b/calc(alpha * 2));
124
+ --stl-color-orange-border: light-dark(rgb(from var(--stl-color-orange) r g b/calc(alpha * var(--stl-opacity-level-016))), rgb(from var(--stl-color-orange) r g b/calc(alpha * calc(var(--stl-opacity-level-016) * 1.5))));
125
+ --stl-color-orange-border-faint: rgb(from var(--stl-color-orange-border) r g b/calc(alpha * .5));
126
+ --stl-color-orange-border-strong: var(--stl-color-orange);
127
+ --stl-color-orange-inverse-background: var(--stl-color-orange);
128
+ --stl-color-orange-inverse-background-hover: rgb(from var(--stl-color-orange-inverse-background) r g b/calc(alpha * var(--stl-opacity-level-080)));
129
+ --stl-color-orange-inverse-foreground: #fff;
130
+ --stl-color-purple: light-dark(#9333ea, #a855f7);
131
+ --stl-color-purple-foreground: var(--stl-color-purple);
132
+ --stl-color-purple-foreground-reduced: rgb(from var(--stl-color-purple-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
133
+ --stl-color-purple-foreground-muted: rgb(from var(--stl-color-purple-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
134
+ --stl-color-purple-muted-background: light-dark(rgb(from var(--stl-color-purple-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-purple-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
135
+ --stl-color-purple-muted-background-hover: rgb(from var(--stl-color-purple-muted-background) r g b/calc(alpha * 2));
136
+ --stl-color-purple-border: light-dark(rgb(from var(--stl-color-purple) r g b/calc(alpha * var(--stl-opacity-level-016))), rgb(from var(--stl-color-purple) r g b/calc(alpha * calc(var(--stl-opacity-level-016) * 1.5))));
137
+ --stl-color-purple-border-faint: rgb(from var(--stl-color-purple-border) r g b/calc(alpha * .5));
138
+ --stl-color-purple-border-strong: var(--stl-color-purple);
139
+ --stl-color-purple-inverse-background: var(--stl-color-purple);
140
+ --stl-color-purple-inverse-background-hover: rgb(from var(--stl-color-purple-inverse-background) r g b/calc(alpha * var(--stl-opacity-level-080)));
141
+ --stl-color-purple-inverse-foreground: #fff;
142
+ --stl-color-cyan: light-dark(#0891b2, #06b6d4);
143
+ --stl-color-cyan-foreground: var(--stl-color-cyan);
144
+ --stl-color-cyan-foreground-reduced: rgb(from var(--stl-color-cyan-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
145
+ --stl-color-cyan-foreground-muted: rgb(from var(--stl-color-cyan-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
146
+ --stl-color-cyan-muted-background: light-dark(rgb(from var(--stl-color-cyan-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-cyan-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
147
+ --stl-color-cyan-muted-background-hover: rgb(from var(--stl-color-cyan-muted-background) r g b/calc(alpha * 2));
148
+ --stl-color-cyan-border: light-dark(rgb(from var(--stl-color-cyan) r g b/calc(alpha * var(--stl-opacity-level-016))), rgb(from var(--stl-color-cyan) r g b/calc(alpha * calc(var(--stl-opacity-level-016) * 1.5))));
149
+ --stl-color-cyan-border-faint: rgb(from var(--stl-color-cyan-border) r g b/calc(alpha * .5));
150
+ --stl-color-cyan-border-strong: var(--stl-color-cyan);
151
+ --stl-color-cyan-inverse-background: var(--stl-color-cyan);
152
+ --stl-color-cyan-inverse-background-hover: rgb(from var(--stl-color-cyan-inverse-background) r g b/calc(alpha * var(--stl-opacity-level-080)));
153
+ --stl-color-cyan-inverse-foreground: #fff;
154
+ --stl-color-pink: light-dark(#ec4899, #ec4899);
155
+ --stl-color-pink-foreground: var(--stl-color-pink);
156
+ --stl-color-pink-foreground-reduced: rgb(from var(--stl-color-pink-foreground) r g b/calc(alpha * var(--stl-opacity-level-080)));
157
+ --stl-color-pink-foreground-muted: rgb(from var(--stl-color-pink-foreground) r g b/calc(alpha * var(--stl-opacity-level-040)));
158
+ --stl-color-pink-muted-background: light-dark(rgb(from var(--stl-color-pink-foreground) r g b/calc(alpha * var(--stl-opacity-level-008))), rgb(from var(--stl-color-pink-foreground) r g b/calc(alpha * var(--stl-opacity-level-016))));
159
+ --stl-color-pink-muted-background-hover: rgb(from var(--stl-color-pink-muted-background) r g b/calc(alpha * 2));
160
+ --stl-color-pink-border: light-dark(rgb(from var(--stl-color-pink) r g b/calc(alpha * var(--stl-opacity-level-016))), rgb(from var(--stl-color-pink) r g b/calc(alpha * calc(var(--stl-opacity-level-016) * 1.5))));
161
+ --stl-color-pink-border-faint: rgb(from var(--stl-color-pink-border) r g b/calc(alpha * .5));
162
+ --stl-color-pink-border-strong: var(--stl-color-pink);
163
+ --stl-color-pink-inverse-background: var(--stl-color-pink);
164
+ --stl-color-pink-inverse-background-hover: rgb(from var(--stl-color-pink-inverse-background) r g b/calc(alpha * var(--stl-opacity-level-080)));
165
+ --stl-color-pink-inverse-foreground: #fff;
166
+ }
167
+
168
+ :root[data-theme="dark"], .stl-theme-dark {
169
+ color-scheme: dark;
170
+ background: var(--stl-color-background);
171
+ color: var(--stl-color-foreground);
172
+ }
173
+
174
+ :root[data-theme="light"], .stl-theme-light {
175
+ color-scheme: light;
176
+ background: var(--stl-color-background);
177
+ color: var(--stl-color-foreground);
178
+ }
179
+
180
+ :root {
181
+ --stl-color-link-foreground: var(--stl-color-accent-foreground);
182
+ --stl-color-text-selection: var(--stl-color-accent-inverse-background);
183
+ }
184
+ }
185
+
186
+ body {
187
+ font-family: var(--stl-typography-font);
188
+ }
189
+
190
+ .stl-ui-prose {
191
+ letter-spacing: -.01em;
192
+ font-weight: 400;
193
+ line-height: var(--stl-typography-line-height);
194
+ font-size: var(--stl-typography-text-body);
195
+ color: var(--stl-color-foreground-reduced);
196
+
197
+ & :where(.stl-ui-not-prose) {
198
+ letter-spacing: initial;
199
+ font-weight: initial;
200
+ line-height: initial;
201
+ font-size: initial;
202
+ color: initial;
203
+ }
204
+
205
+ &.small {
206
+ font-size: var(--stl-typography-scale-sm);
207
+ letter-spacing: normal;
208
+ }
209
+
210
+ & :where(strong:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose strong) {
211
+ color: rgb(from currentColor r g b / 1);
212
+ }
213
+
214
+ & :where(a:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose a) {
215
+ color: var(--stl-color-link-foreground);
216
+ text-decoration-color: rgb(from currentColor r g b / calc(alpha * var(--stl-opacity-level-040)));
217
+ transition: text-decoration-color .1s ease-out;
218
+
219
+ &:hover {
220
+ text-decoration-color: currentColor;
221
+ }
222
+ }
223
+
224
+ & :where(h1, h2, h3, h4, h5, h6):where(:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose *) {
225
+ color: var(--stl-color-foreground);
226
+ font-weight: 500;
227
+ line-height: var(--stl-typography-line-height-heading);
228
+ font-family: var(--stl-typography-font-heading);
229
+ text-wrap: pretty;
230
+
231
+ &:where(h1, h2, h3) {
232
+ text-wrap: balance;
233
+ }
234
+ }
235
+
236
+ & :where(h1:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose h1) {
237
+ font-size: var(--stl-typography-text-h1);
238
+ letter-spacing: -.03em;
239
+ margin-top: 1.5em;
240
+ }
241
+
242
+ & :where(h2:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose h2) {
243
+ font-size: var(--stl-typography-text-h2);
244
+ letter-spacing: -.03em;
245
+ margin-top: 1.35em;
246
+ }
247
+
248
+ & :where(h3:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose h3) {
249
+ font-size: var(--stl-typography-text-h3);
250
+ letter-spacing: -.02em;
251
+ margin-top: 1.35em;
252
+ }
253
+
254
+ & :where(h4:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose h4) {
255
+ font-size: var(--stl-typography-text-h4);
256
+ letter-spacing: -.02em;
257
+ margin-top: 1.35em;
258
+ }
259
+
260
+ & :where(h5:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose h5) {
261
+ font-size: var(--stl-typography-text-h5);
262
+ letter-spacing: -.02em;
263
+ margin-top: 1.2em;
264
+ }
265
+
266
+ & :where(li:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose li) {
267
+ &:where(:not(:last-child)) {
268
+ margin-bottom: 8px;
269
+ }
270
+ }
271
+
272
+ &.smaller-headings {
273
+ --stl-typography-text-h1: var(--stl-typography-scale-3xl);
274
+ --stl-typography-text-h2: var(--stl-typography-scale-2xl);
275
+ --stl-typography-text-h3: var(--stl-typography-scale-xl);
276
+ --stl-typography-text-h4: var(--stl-typography-scale-lg);
277
+ --stl-typography-text-h5: var(--stl-typography-scale-base);
278
+
279
+ & :where(h1) {
280
+ margin-top: 1.5em;
281
+ }
282
+
283
+ & :where(h2, h3, h4) {
284
+ margin-top: 1.25em;
285
+ }
286
+
287
+ & :where(h5) {
288
+ margin-top: 1em;
289
+ }
290
+ }
291
+
292
+ & :where(pre:not(.stl-ui-not-prose *, .expressive-code *), .stl-ui-not-prose .stl-ui-prose pre:not(.expressive-code *)) {
293
+ border-radius: var(--stl-ui-layout-border-radius-sml);
294
+ border: 1px solid var(--stl-color-border);
295
+ background-color: var(--stl-color-faint-background);
296
+ margin-bottom: 1rem;
297
+ padding: 12px 20px;
298
+ overflow: auto;
299
+ }
300
+
301
+ & :where(ol, ul) {
302
+ &:where(:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose *) {
303
+ padding-left: 26px;
304
+ }
305
+ }
306
+
307
+ & :where(ol, ul, aside, img, figure, details):where(:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose *) {
308
+ margin-top: 16px;
309
+ }
310
+
311
+ & :where(code):where(:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose *) {
312
+ font-family: var(--stl-typography-font-mono);
313
+ font-feature-settings: "ss01" on,
314
+ "ss03" on,
315
+ "ss04" on,
316
+ "ss06" on;
317
+ font-size: var(--stl-typography-text-code);
318
+ font-weight: inherit;
319
+ letter-spacing: normal;
320
+ white-space: pre;
321
+
322
+ &:where(:not(pre > code)) {
323
+ color: var(--stl-color-foreground);
324
+ background-color: rgb(from var(--stl-color-foreground) r g b / .1);
325
+ border-radius: .2em;
326
+ padding: 0 .2em;
327
+ }
328
+ }
329
+ }
330
+
331
+ :where(.stl-ui-prose, .stl-ui-prose > .sl-markdown-content) > :where(:not(:first-child)) {
332
+ margin-top: 16px;
333
+ }
334
+
335
+ @layer starlight.content {
336
+ .stl-ui-prose .sl-markdown-content {
337
+ & a, & a:hover {
338
+ color: revert-layer;
339
+ }
340
+ }
341
+
342
+ .stl-ui-prose .sl-markdown-content.sl-markdown-content.sl-markdown-content {
343
+ & details, & summary, & summary:before, & summary::marker {
344
+ all: revert-layer;
345
+ }
346
+ }
347
+ }
348
+
349
+ ::selection {
350
+ background-color: var(--stl-color-text-selection-background);
351
+ color: var(--stl-color-text-selection-foreground);
352
+ }
353
+
354
+ .stl-ui-button {
355
+ border-radius: var(--stl-ui-layout-border-radius-sml);
356
+ height: 32px;
357
+ font-weight: 500;
358
+ line-height: 150%;
359
+ font-size: var(--stl-typography-text-body-sm);
360
+ font-family: var(--stl-typography-font);
361
+ cursor: pointer;
362
+ white-space: nowrap;
363
+ color: var(--stl-color-inverse-foreground);
364
+ background-color: var(--stl-color-inverse-background);
365
+ border: 1px solid #0000;
366
+ flex-shrink: 0;
367
+ justify-content: center;
368
+ align-items: center;
369
+ gap: 2px;
370
+ padding: 8px 10px;
371
+ display: inline-flex;
372
+
373
+ &:hover {
374
+ background-color: var(--stl-color-inverse-background-hover);
375
+ }
376
+
377
+ &[hidden] {
378
+ display: none;
379
+ }
380
+ }
381
+
382
+ .stl-ui-button--accent {
383
+ color: var(--stl-color-accent-inverse-foreground);
384
+ background-color: var(--stl-color-accent-inverse-background);
385
+
386
+ &:hover {
387
+ background-color: var(--stl-color-accent-inverse-background-hover);
388
+ }
389
+ }
390
+
391
+ .stl-ui-button--accent-muted {
392
+ color: var(--stl-color-accent-foreground);
393
+ background-color: var(--stl-color-accent-muted-background);
394
+
395
+ &:hover {
396
+ background-color: var(--stl-color-accent-muted-background-hover);
397
+ }
398
+
399
+ &.stl-ui-button--with-border {
400
+ border-color: var(--stl-color-accent-border);
401
+ }
402
+ }
403
+
404
+ .stl-ui-button--muted {
405
+ color: var(--stl-color-foreground);
406
+ background-color: var(--stl-color-muted-background);
407
+
408
+ &:hover {
409
+ background-color: var(--stl-color-muted-background-hover);
410
+ }
411
+
412
+ &.stl-ui-button--with-border {
413
+ border-color: var(--stl-color-border);
414
+ }
415
+ }
416
+
417
+ .stl-ui-button--outline {
418
+ color: var(--stl-color-foreground);
419
+ background-color: var(--stl-color-ui-background);
420
+ border-color: var(--stl-color-border);
421
+
422
+ &:hover {
423
+ background: linear-gradient(var(--stl-color-ui-background-hover), var(--stl-color-ui-background-hover)),
424
+ linear-gradient(var(--stl-color-ui-background), var(--stl-color-ui-background));
425
+ }
426
+ }
427
+
428
+ .stl-ui-button--ghost {
429
+ color: var(--stl-color-foreground);
430
+ background-color: #0000;
431
+
432
+ &:hover {
433
+ background-color: var(--stl-color-background-hover);
434
+ }
435
+
436
+ &.stl-ui-button--with-border {
437
+ border-color: var(--stl-color-border);
438
+ }
439
+ }
440
+
441
+ .stl-ui-button--success {
442
+ color: var(--stl-color-green-inverse-foreground);
443
+ background-color: var(--stl-color-green-inverse-background);
444
+
445
+ &:hover {
446
+ background-color: var(--stl-color-green-inverse-background-hover);
447
+ }
448
+ }
449
+
450
+ .stl-ui-button--destructive {
451
+ color: var(--stl-color-red-inverse-foreground);
452
+ background-color: var(--stl-color-red-inverse-background);
453
+
454
+ &:hover {
455
+ background-color: var(--stl-color-red-inverse-background-hover);
456
+ }
457
+ }
458
+
459
+ .stl-ui-button--loading {
460
+ -webkit-text-fill-color: transparent;
461
+ position: relative;
462
+
463
+ & * {
464
+ color: #0000;
465
+ }
466
+
467
+ &:before {
468
+ content: "";
469
+ background: currentColor;
470
+ width: 16px;
471
+ height: 16px;
472
+ animation: 1s linear infinite stl-ui-button--loading-spin;
473
+ position: absolute;
474
+ mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxvYWRlci1jaXJjbGUtaWNvbiBsdWNpZGUtbG9hZGVyLWNpcmNsZSI+PHBhdGggZD0iTTIxIDEyYTkgOSAwIDEgMS02LjIxOS04LjU2Ii8+PC9zdmc+");
475
+ mask-position: center;
476
+ mask-size: contain;
477
+ mask-repeat: no-repeat;
478
+ }
479
+ }
480
+
481
+ @keyframes stl-ui-button--loading-spin {
482
+ to {
483
+ transform: rotate(360deg);
484
+ }
485
+ }
486
+
487
+ .stl-ui-button--size-sm {
488
+ border-radius: var(--stl-ui-layout-border-radius-xs);
489
+ height: 24px;
490
+ font-weight: 500;
491
+ line-height: 100%;
492
+ font-size: var(--stl-typography-text-body-xs);
493
+ padding: 0 6px;
494
+ }
495
+
496
+ .stl-ui-button--size-lg {
497
+ border-radius: var(--stl-ui-layout-border-radius);
498
+ height: 40px;
499
+ font-weight: 500;
500
+ line-height: 150%;
501
+ font-size: var(--stl-typography-text-body);
502
+ padding: 8px 14px;
503
+ }
504
+
505
+ .stl-ui-button__icon {
506
+ flex-shrink: 0;
507
+ justify-content: center;
508
+ align-items: center;
509
+ display: flex;
510
+
511
+ & svg {
512
+ margin-top: 0;
513
+ }
514
+ }
515
+
516
+ .stl-ui-button:has(.stl-ui-button__icon:first-child) .stl-ui-button__icon {
517
+ margin-left: -4px;
518
+ margin-right: 4px;
519
+ }
520
+
521
+ .stl-ui-button:has(.stl-ui-button__icon:last-child) .stl-ui-button__icon {
522
+ margin-left: 4px;
523
+ margin-right: -4px;
524
+
525
+ &:first-child {
526
+ margin-left: -4px;
527
+ margin-right: 4px;
528
+ }
529
+ }
530
+
531
+ .stl-ui-button:not(:has(.stl-ui-button-label)):has(.stl-ui-button__icon:last-child):has(.stl-ui-button__icon:first-child) {
532
+ aspect-ratio: 1;
533
+
534
+ & .stl-ui-button__icon {
535
+ margin-left: -4px;
536
+ margin-right: -4px;
537
+ }
538
+ }
539
+
540
+ a.stl-ui-button {
541
+ text-align: center;
542
+ text-decoration: none;
543
+ }
544
+
545
+ .stl-ui-dropdown {
546
+ --stl-ui-dropdown-button-color: var(--stl-color-foreground);
547
+ --stl-ui-dropdown-button-background-color: var(--stl-color-ui-background);
548
+ --stl-ui-dropdown-button-border-color: var(--stl-color-border);
549
+ --stl-ui-dropdown-button-border-radius: var(--stl-ui-layout-border-radius-sml);
550
+ --stl-ui-dropdown-button-font-size: var(--stl-typography-scale-sm);
551
+ --stl-ui-dropdown-button-height: 2rem;
552
+ --stl-ui-dropdown-button-padding-inline: calc(.75rem - 1px);
553
+ --stl-ui-dropdown-button-line-height: 100%;
554
+ --stl-ui-dropdown-button-font-weight: 500;
555
+ color: var(--stl-ui-dropdown-button-color);
556
+ font-size: var(--stl-ui-dropdown-button-font-size);
557
+ align-items: center;
558
+ gap: 0;
559
+ display: inline-flex;
560
+ position: relative;
561
+
562
+ & hr {
563
+ --stl-ui-dropdown-button__divider-height: 1px;
564
+ --stl-ui-dropdown-button__divider-color: var(--stl-color-border);
565
+ height: var(--stl-ui-dropdown-button__divider-height);
566
+ background-color: var(--stl-ui-dropdown-button__divider-color);
567
+ border: none;
568
+ width: calc(100% + 8px);
569
+ margin: 4px 0;
570
+ transform: translateX(-4px);
571
+ }
572
+
573
+ & .stl-ui-dropdown__button {
574
+ background-color: var(--stl-ui-dropdown-button-background-color);
575
+ border: 1px solid var(--stl-ui-dropdown-button-border-color);
576
+ border-radius: var(--stl-ui-dropdown-button-border-radius);
577
+ height: var(--stl-ui-dropdown-button-height);
578
+ padding-inline: var(--stl-ui-dropdown-button-padding-inline);
579
+ line-height: var(--stl-ui-dropdown-button-line-height);
580
+ font-weight: var(--stl-ui-dropdown-button-font-weight);
581
+ cursor: pointer;
582
+ color: inherit;
583
+ justify-content: center;
584
+ align-items: center;
585
+ display: flex;
586
+
587
+ &:focus {
588
+ outline: 1px auto highlight;
589
+ }
590
+
591
+ &:hover {
592
+ background-color: var(--stl-color-ui-background-hover);
593
+ }
594
+
595
+ & .stl-ui-dropdown__trigger-icon {
596
+ justify-content: center;
597
+ align-items: center;
598
+ margin-left: 4px;
599
+ margin-right: -4px;
600
+ display: flex;
601
+ }
602
+ }
603
+
604
+ & .stl-ui-dropdown__icon {
605
+ justify-content: center;
606
+ align-items: center;
607
+ display: flex;
608
+
609
+ & svg {
610
+ width: 16px;
611
+ height: 16px;
612
+ }
613
+ }
614
+
615
+ & .stl-ui-dropdown-button--action {
616
+ border-right-width: 0;
617
+ border-top-right-radius: 0;
618
+ border-bottom-right-radius: 0;
619
+ align-items: center;
620
+ gap: 8px;
621
+ display: flex;
622
+
623
+ &:hover {
624
+ background-color: var(--stl-color-ui-background-hover);
625
+ z-index: 1;
626
+ border-right-width: 1px;
627
+
628
+ & + .stl-ui-dropdown-button__trigger {
629
+ border-left-width: 0;
630
+ }
631
+ }
632
+
633
+ &.disabled {
634
+ cursor: not-allowed;
635
+ background-color: var(--stl-color-ui-background);
636
+ }
637
+ }
638
+
639
+ & .stl-ui-dropdown-button__trigger {
640
+ border-radius: 0;
641
+ border-top-right-radius: var(--stl-ui-dropdown-button-border-radius);
642
+ border-bottom-right-radius: var(--stl-ui-dropdown-button-border-radius);
643
+
644
+ &:hover {
645
+ background-color: var(--stl-color-ui-background-hover);
646
+ }
647
+ }
648
+
649
+ & .stl-ui-dropdown__trigger-selected {
650
+ align-items: center;
651
+ gap: 8px;
652
+ display: flex;
653
+ }
654
+
655
+ & .stl-ui-dropdown-menu {
656
+ --stl-ui-dropdown-menu-background-color: var(--stl-color-ui-background);
657
+ --stl-ui-dropdown-menu-border-color: var(--stl-color-border);
658
+ --stl-ui-dropdown-menu-box-shadow: 0px 4px 4px -2px #00000014;
659
+ --stl-ui-dropdown-menu-border-radius: var(--stl-ui-layout-border-radius-sml);
660
+ background-color: var(--stl-color-background);
661
+ background-image: linear-gradient(to right,
662
+ var(--stl-ui-dropdown-menu-background-color),
663
+ var(--stl-ui-dropdown-menu-background-color));
664
+ border: 1px solid var(--stl-ui-dropdown-menu-border-color);
665
+ box-shadow: var(--stl-ui-dropdown-menu-box-shadow);
666
+ border-radius: var(--stl-ui-dropdown-menu-border-radius);
667
+ z-index: 1000;
668
+ width: max-content;
669
+ min-width: 100%;
670
+ padding: 4px;
671
+ display: none;
672
+ position: absolute;
673
+ right: 0;
674
+
675
+ &.stl-ui-dropdown-menu--above {
676
+ margin-bottom: 4px;
677
+ top: auto;
678
+ bottom: 100%;
679
+ }
680
+
681
+ &.stl-ui-dropdown-menu--below {
682
+ margin-top: 4px;
683
+ top: 100%;
684
+ bottom: auto;
685
+ }
686
+
687
+ &[data-state="open"] {
688
+ display: block;
689
+ }
690
+
691
+ & .stl-ui-dropdown-menu__item {
692
+ --stl-ui-dropdown-menu__item-border-radius: var(--stl-ui-dropdown-button-border-radius);
693
+ --stl-ui-dropdown-menu__item-height: var(--stl-ui-dropdown-button-height);
694
+ --stl-ui-dropdown-menu__item-line-height: var(--stl-ui-dropdown-button-line-height);
695
+ --stl-ui-dropdown-menu__item-hover-background-color: var(--stl-color-ui-background-hover);
696
+ border-radius: var(--stl-ui-dropdown-menu__item-border-radius);
697
+ height: var(--stl-ui-dropdown-menu__item-height);
698
+ line-height: var(--stl-ui-dropdown-menu__item-line-height);
699
+ cursor: pointer;
700
+ background: none;
701
+ border: none;
702
+ justify-content: space-between;
703
+ align-items: center;
704
+ gap: 16px;
705
+ width: 100%;
706
+ padding: 8px;
707
+ display: flex;
708
+
709
+ &:hover, &:focus-visible {
710
+ background-color: var(--stl-ui-dropdown-menu__item-hover-background-color);
711
+ }
712
+
713
+ &:hover, &:focus-visible, &:focus {
714
+ color: var(--stl-color-foreground);
715
+ }
716
+
717
+ &.stl-ui-dropdown-menu__item-link {
718
+ justify-content: space-between;
719
+ align-items: center;
720
+ gap: 16px;
721
+ width: 100%;
722
+ display: flex;
723
+
724
+ &:hover {
725
+ color: var(--stl-color-foreground);
726
+ }
727
+ }
728
+
729
+ & .stl-ui-dropdown-menu__item-icon {
730
+ display: flex;
731
+ }
732
+
733
+ & .stl-ui-dropdown-menu__item-content {
734
+ align-items: center;
735
+ gap: 8px;
736
+ display: flex;
737
+ }
738
+
739
+ & .stl-ui-dropdown-menu__item-text {
740
+ white-space: nowrap;
741
+ }
742
+
743
+ & .stl-ui-dropdown-menu__item-text--subtle {
744
+ color: var(--stl-color-foreground-muted);
745
+ }
746
+
747
+ & strong {
748
+ color: var(--stl-color-foreground);
749
+ font-weight: 500;
750
+ }
751
+
752
+ & .stl-ui-dropdown-menu__item-subtle-icon {
753
+ --stl-ui-dropdown-menu__item-subtle-icon-color: rgb(from var(--stl-color-foreground) r g b / .25);
754
+
755
+ & svg {
756
+ color: var(--stl-ui-dropdown-menu__item-subtle-icon-color);
757
+ }
758
+ }
759
+ }
760
+ }
761
+ }
762
+
763
+ .stl-ui-callout {
764
+ --stl-ui-callout-background-color: var(--stl-color-faint-background);
765
+ --stl-ui-callout-border-color: var(--stl-color-border);
766
+ --stl-ui-callout-accent-color: var(--stl-color-foreground);
767
+ border: 1px solid var(--stl-ui-callout-border-color);
768
+ background-color: var(--stl-ui-callout-background-color);
769
+ border-radius: var(--stl-ui-layout-border-radius);
770
+ line-height: var(--stl-typography-line-height);
771
+ font-weight: 400;
772
+ font-size: var(--stl-typography-text-body);
773
+ color: var(--stl-color-foreground);
774
+ align-items: flex-start;
775
+ gap: 8px;
776
+ padding: 12px;
777
+ display: flex;
778
+
779
+ & :where(a, strong) {
780
+ color: var(--stl-ui-callout-strong-color, var(--stl-ui-callout-accent-color));
781
+ }
782
+
783
+ & :where(a) {
784
+ text-decoration-color: rgba(from currentColor r g b / .4);
785
+ transition: text-decoration-color .1s;
786
+
787
+ &:hover {
788
+ text-decoration-color: rgba(from currentColor r g b / .8);
789
+ }
790
+ }
791
+
792
+ & ::selection {
793
+ background-color: light-dark(rgb(from var(--stl-ui-callout-background-color) r g b / .2), rgb(from var(--stl-ui-callout-background-color) r g b / .35));
794
+ color: var(--stl-color-foreground);
795
+ }
796
+ }
797
+
798
+ .stl-ui-callout--info {
799
+ --stl-ui-callout-background-color: var(--stl-color-faint-background);
800
+ --stl-ui-callout-border-color: var(--stl-color-border);
801
+ --stl-ui-callout-accent-color: var(--stl-color-foreground-reduced);
802
+ --stl-ui-callout-strong-color: var(--stl-color-foreground);
803
+ }
804
+
805
+ .stl-ui-callout--note {
806
+ --stl-ui-callout-background-color: var(--stl-color-blue-muted-background);
807
+ --stl-ui-callout-border-color: var(--stl-color-blue-border);
808
+ --stl-ui-callout-accent-color: var(--stl-color-blue-foreground);
809
+ }
810
+
811
+ .stl-ui-callout--tip {
812
+ --stl-ui-callout-background-color: var(--stl-color-purple-muted-background);
813
+ --stl-ui-callout-border-color: var(--stl-color-purple-border);
814
+ --stl-ui-callout-accent-color: var(--stl-color-purple-foreground);
815
+ }
816
+
817
+ .stl-ui-callout--success {
818
+ --stl-ui-callout-background-color: var(--stl-color-green-muted-background);
819
+ --stl-ui-callout-border-color: var(--stl-color-green-border);
820
+ --stl-ui-callout-accent-color: var(--stl-color-green-foreground);
821
+ }
822
+
823
+ .stl-ui-callout--warning {
824
+ --stl-ui-callout-background-color: var(--stl-color-yellow-muted-background);
825
+ --stl-ui-callout-border-color: var(--stl-color-yellow-border);
826
+ --stl-ui-callout-accent-color: var(--stl-color-yellow-foreground);
827
+ }
828
+
829
+ .stl-ui-callout--danger {
830
+ --stl-ui-callout-background-color: var(--stl-color-red-muted-background);
831
+ --stl-ui-callout-border-color: var(--stl-color-red-border);
832
+ --stl-ui-callout-accent-color: var(--stl-color-red-foreground);
833
+ }
834
+
835
+ .stl-ui-callout__icon {
836
+ color: var(--stl-ui-callout-accent-color);
837
+ flex-shrink: 0;
838
+ width: 1em;
839
+ height: 1em;
840
+ margin: calc(.5lh - .5em);
841
+ }
842
+
843
+ .stl-ui-callout__content {
844
+ flex: 1;
845
+ margin-top: 0;
846
+
847
+ & > :first-child {
848
+ margin-top: 0;
849
+ }
850
+ }
851
+
852
+ .stl-ui-accordion {
853
+ --stl-ui-accordion-padding: 12px;
854
+ --stl-ui-accordion-content-padding-bottom: 4px;
855
+ --stl-ui-accordion-marker-size: 1em;
856
+ --stl-ui-accordion-marker-margin: calc((1lh - var(--stl-ui-accordion-marker-size)) / 2);
857
+ --stl-ui-accordion-marker-color: var(--stl-color-border-strong);
858
+ --stl-ui-accordion-row-gap: 8px;
859
+ --stl-ui-accordion-summary-column-gap: 8px;
860
+ --stl-ui-accordion-border-radius: var(--stl-ui-layout-border-radius);
861
+ --stl-ui--internal--accordion-padding-start: calc(var(--stl-ui-accordion-padding) + var(--stl-ui-accordion-marker-size) +
862
+ var(--stl-ui-accordion-marker-margin) * 2 + var(--stl-ui-accordion-summary-column-gap));
863
+ background-color: var(--stl-color-ui-background);
864
+ border: 1px solid var(--stl-color-border);
865
+ border-radius: var(--stl-ui-accordion-border-radius);
866
+ font-size: var(--stl-typography-text-body);
867
+ padding: var(--stl-ui-accordion-padding);
868
+ padding-inline-start: var(--stl-ui--internal--accordion-padding-start);
869
+
870
+ & > .stl-ui-accordion__summary {
871
+ padding: var(--stl-ui-accordion-padding);
872
+ margin: calc(-1 * var(--stl-ui-accordion-padding));
873
+ cursor: pointer;
874
+ border-radius: var(--stl-ui-accordion-border-radius);
875
+ margin-inline-start: calc(-1 * var(--stl-ui--internal--accordion-padding-start));
876
+ padding-inline-start: var(--stl-ui--internal--accordion-padding-start);
877
+ font-weight: 500;
878
+ list-style: none;
879
+ display: block;
880
+
881
+ &:before {
882
+ content: "";
883
+ width: var(--stl-ui-accordion-marker-size);
884
+ height: var(--stl-ui-accordion-marker-size);
885
+ margin: var(--stl-ui-accordion-marker-margin);
886
+ background-color: var(--stl-ui-accordion-marker-color);
887
+ --stl-ui-accordion--internal--marker-width: calc(var(--stl-ui-accordion-marker-size) + var(--stl-ui-accordion-marker-margin) * 2);
888
+ --stl-ui-accordion--internal--summary-marker-transform: translateX(calc(-1 * var(--stl-ui-accordion--internal--marker-width) - var(--stl-ui-accordion-summary-column-gap)));
889
+ transform: var(--stl-ui-accordion--internal--summary-marker-transform);
890
+ --lucide-chevron-right: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWNoZXZyb24tcmlnaHQtaWNvbiBsdWNpZGUtY2hldnJvbi1yaWdodCI+PHBhdGggZD0ibTkgMTggNi02LTYtNiIvPjwvc3ZnPg==");
891
+ mask-image: var(--lucide-chevron-right);
892
+ transition: transform .1s ease-out;
893
+ display: block;
894
+ position: absolute;
895
+ mask-size: contain;
896
+ mask-repeat: no-repeat;
897
+ }
898
+
899
+ & > :first-child {
900
+ margin-top: 0;
901
+ }
902
+ }
903
+
904
+ &[open] {
905
+ border-color: var(--stl-color-border-strong);
906
+ padding-bottom: calc(var(--stl-ui-accordion-padding) + var(--stl-ui-accordion-content-padding-bottom));
907
+
908
+ & > .stl-ui-accordion__summary {
909
+ --stl-ui--internal--summary-padding-bottom: min(var(--stl-ui-accordion-padding),
910
+ var(--stl-ui-accordion-row-gap));
911
+ padding-bottom: var(--stl-ui--internal--summary-padding-bottom);
912
+ margin-bottom: calc(var(--stl-ui-accordion-row-gap) - var(--stl-ui--internal--summary-padding-bottom));
913
+ border-bottom-right-radius: 0;
914
+ border-bottom-left-radius: 0;
915
+
916
+ &:before {
917
+ transform: var(--stl-ui-accordion--internal--summary-marker-transform) rotate(90deg);
918
+ }
919
+ }
920
+ }
921
+
922
+ &:has( > .stl-ui-accordion__summary:hover) {
923
+ background-color: var(--stl-color-ui-background-hover);
924
+ }
925
+
926
+ & > .stl-ui-accordion__summary + * {
927
+ margin-top: 0;
928
+ }
929
+ }
930
+
931
+ .stl-ui-accordion-group {
932
+ & > .stl-ui-accordion:has( + .stl-ui-accordion) {
933
+ border-bottom-right-radius: 0;
934
+ border-bottom-left-radius: 0;
935
+
936
+ & > .stl-ui-accordion__summary {
937
+ border-bottom-right-radius: 0;
938
+ border-bottom-left-radius: 0;
939
+ }
940
+ }
941
+
942
+ & > .stl-ui-accordion + .stl-ui-accordion {
943
+ border-top-width: 0;
944
+ border-top-left-radius: 0;
945
+ border-top-right-radius: 0;
946
+ margin-top: 0;
947
+
948
+ & > .stl-ui-accordion__summary {
949
+ border-top-left-radius: 0;
950
+ border-top-right-radius: 0;
951
+ }
952
+ }
953
+
954
+ & .stl-ui-accordion:not(:hover, [open]):has( + .stl-ui-accordion:hover) {
955
+ border-bottom-width: 0;
956
+ }
957
+
958
+ & .stl-ui-accordion:not(:hover, [open]) + .stl-ui-accordion:hover {
959
+ border-top-width: 1px;
960
+ }
961
+
962
+ & .stl-ui-accordion:not([open]):has( + .stl-ui-accordion[open]) {
963
+ border-bottom-width: 0;
964
+ }
965
+
966
+ & .stl-ui-accordion:not([open]) + .stl-ui-accordion[open] {
967
+ border-top-width: 1px;
968
+ }
969
+ }
970
+
971
+ .stl-ui-steps {
972
+ padding-left: 0;
973
+ }
974
+
975
+ .stl-ui-steps__step {
976
+ --step-icon-width: 24px;
977
+ --step-padding: 12px;
978
+ padding: var(--step-padding);
979
+ padding-left: calc(var(--step-icon-width) + var(--step-padding));
980
+ margin: 0;
981
+ list-style: none;
982
+ position: relative;
983
+
984
+ &:before {
985
+ content: counter(list-item);
986
+ left: 0;
987
+ top: var(--step-padding);
988
+ width: var(--step-icon-width);
989
+ height: var(--step-icon-width);
990
+ border: 1px solid var(--stl-color-border);
991
+ background: var(--stl-color-bg);
992
+ z-index: 1;
993
+ font-size: var(--stl-typography-text-body-xs);
994
+ border-radius: 100%;
995
+ justify-content: center;
996
+ align-items: center;
997
+ font-style: normal;
998
+ font-weight: 600;
999
+ line-height: 100%;
1000
+ display: flex;
1001
+ position: absolute;
1002
+ }
1003
+
1004
+ &:after {
1005
+ content: "";
1006
+ left: calc(var(--step-icon-width) / 2 - .5px);
1007
+ top: calc(var(--step-icon-width) + var(--step-padding));
1008
+ bottom: calc(-1 * (var(--step-padding)));
1009
+ background: var(--stl-color-border);
1010
+ width: 1px;
1011
+ position: absolute;
1012
+ }
1013
+
1014
+ &:last-child {
1015
+ padding-bottom: 0;
1016
+
1017
+ &:after {
1018
+ display: none;
1019
+ }
1020
+ }
1021
+ }
1022
+
1023
+ .stl-ui-steps__step-title {
1024
+ font-weight: 600;
1025
+ }
1026
+
1027
+ .stl-ui-steps__step-content {
1028
+ margin-top: 4px;
1029
+ margin-bottom: 0;
1030
+ }
1031
+
1032
+ .stl-ui-badge {
1033
+ letter-spacing: normal;
1034
+ border-style: solid;
1035
+ border-width: 1px;
1036
+ align-items: center;
1037
+ gap: .125em;
1038
+ font-weight: 500;
1039
+ display: inline-flex;
1040
+
1041
+ &.stl-ui-badge--size-sm {
1042
+ height: 20px;
1043
+ font-size: var(--stl-typography-scale-xs);
1044
+ border-radius: var(--stl-ui-layout-border-radius-xs);
1045
+ --stl-ui-badge-icon-size: 14px;
1046
+ padding: 0 2px;
1047
+ }
1048
+
1049
+ &, &.stl-ui-badge--size-md {
1050
+ height: 24px;
1051
+ font-size: var(--stl-typography-scale-sm);
1052
+ border-radius: var(--stl-ui-layout-border-radius-xs);
1053
+ --stl-ui-badge-icon-size: 14px;
1054
+ padding: 0 4px;
1055
+ }
1056
+
1057
+ &.stl-ui-badge--size-lg {
1058
+ height: 32px;
1059
+ font-size: var(--stl-typography-scale-md);
1060
+ border-radius: var(--stl-ui-layout-border-radius-sml);
1061
+ --stl-ui-badge-icon-size: 16px;
1062
+ padding: 0 6px;
1063
+ }
1064
+
1065
+ &.stl-ui-badge--intent-none {
1066
+ background-color: var(--stl-color-ui-background);
1067
+ color: var(--stl-color-foreground-muted);
1068
+ --stl-ui-badge-icon-opacity: var(--stl-opacity-level-040);
1069
+ border-color: var(--stl-color-border);
1070
+ }
1071
+
1072
+ &.stl-ui-badge--intent-info {
1073
+ background-color: var(--stl-color-muted-background);
1074
+ color: var(--stl-color-foreground);
1075
+ border-color: var(--stl-color-border);
1076
+
1077
+ &.stl-ui-badge--solid {
1078
+ background-color: var(--stl-color-inverse-background);
1079
+ color: var(--stl-color-inverse-foreground);
1080
+ --stl-ui-badge-icon-opacity: 1;
1081
+ }
1082
+ }
1083
+
1084
+ &.stl-ui-badge--intent-success, &.stl-ui-badge--http-get {
1085
+ background-color: var(--stl-color-green-muted-background);
1086
+ color: var(--stl-color-green-foreground);
1087
+ border-color: var(--stl-color-green-border);
1088
+
1089
+ &.stl-ui-badge--solid {
1090
+ background-color: var(--stl-color-green-inverse-background);
1091
+ color: var(--stl-color-green-inverse-foreground);
1092
+ }
1093
+ }
1094
+
1095
+ &.stl-ui-badge--intent-warning {
1096
+ background-color: var(--stl-color-yellow-muted-background);
1097
+ color: var(--stl-color-yellow-foreground);
1098
+ border-color: var(--stl-color-yellow-border);
1099
+
1100
+ &.stl-ui-badge--solid {
1101
+ background-color: var(--stl-color-yellow-inverse-background);
1102
+ color: var(--stl-color-yellow-inverse-foreground);
1103
+ }
1104
+ }
1105
+
1106
+ &.stl-ui-badge--intent-danger, &.stl-ui-badge--http-delete {
1107
+ background-color: var(--stl-color-red-muted-background);
1108
+ color: var(--stl-color-red-foreground);
1109
+ border-color: var(--stl-color-red-border);
1110
+
1111
+ &.stl-ui-badge--solid {
1112
+ background-color: var(--stl-color-red-inverse-background);
1113
+ color: var(--stl-color-red-inverse-foreground);
1114
+ }
1115
+ }
1116
+
1117
+ &.stl-ui-badge--intent-note, &.stl-ui-badge--http-post {
1118
+ background-color: var(--stl-color-blue-muted-background);
1119
+ color: var(--stl-color-blue-foreground);
1120
+ border-color: var(--stl-color-blue-border);
1121
+
1122
+ &.stl-ui-badge--solid {
1123
+ background-color: var(--stl-color-blue-inverse-background);
1124
+ color: var(--stl-color-blue-inverse-foreground);
1125
+ }
1126
+ }
1127
+
1128
+ &.stl-ui-badge--intent-tip {
1129
+ background-color: var(--stl-color-purple-muted-background);
1130
+ color: var(--stl-color-purple-foreground);
1131
+ border-color: var(--stl-color-purple-border);
1132
+
1133
+ &.stl-ui-badge--solid {
1134
+ background-color: var(--stl-color-purple-inverse-background);
1135
+ color: var(--stl-color-purple-inverse-foreground);
1136
+ }
1137
+ }
1138
+
1139
+ &.stl-ui-badge--intent-accent {
1140
+ background-color: var(--stl-color-accent-muted-background);
1141
+ color: var(--stl-color-accent-foreground);
1142
+ border-color: var(--stl-color-accent-border);
1143
+
1144
+ &.stl-ui-badge--solid {
1145
+ background-color: var(--stl-color-accent-inverse-background);
1146
+ color: var(--stl-color-accent-inverse-foreground);
1147
+ }
1148
+ }
1149
+
1150
+ &.stl-ui-badge--http-put, &.stl-ui-badge--http-patch {
1151
+ background-color: var(--stl-color-orange-muted-background);
1152
+ color: var(--stl-color-orange-foreground);
1153
+ border-color: var(--stl-color-orange-border);
1154
+
1155
+ &.stl-ui-badge--solid {
1156
+ background-color: var(--stl-color-orange-inverse-background);
1157
+ color: var(--stl-color-orange-inverse-foreground);
1158
+ }
1159
+ }
1160
+
1161
+ & .stl-ui-badge__content {
1162
+ padding: .25em;
1163
+ display: inline-block;
1164
+ }
1165
+
1166
+ & svg {
1167
+ color: rgb(from currentColor r g b / 1);
1168
+ opacity: var(--stl-ui-badge-icon-opacity, 1);
1169
+ width: var(--stl-ui-badge-icon-size);
1170
+ height: var(--stl-ui-badge-icon-size);
1171
+ flex-shrink: 0;
1172
+ display: inline-block;
1173
+ }
1174
+
1175
+ &:has( > svg:only-child) {
1176
+ aspect-ratio: 1;
1177
+ justify-content: center;
1178
+ padding: 0;
1179
+ }
1180
+
1181
+ &.stl-ui-badge--http {
1182
+ font-family: var(--stl-typography-font-mono);
1183
+ font-variant-numeric: tabular-nums;
1184
+ text-transform: uppercase;
1185
+ }
1186
+ }
1187
+
1188
+ .stldocs-root {
1189
+ letter-spacing: -.01em;
1190
+ line-height: 1.5;
1191
+
1192
+ & a:not(.stl-ui-callout a) {
1193
+ color: inherit;
1194
+ cursor: pointer;
1195
+ text-decoration: none;
1196
+ }
1197
+
1198
+ & *, & :before, & :after {
1199
+ box-sizing: border-box;
1200
+ }
1201
+
1202
+ & :where(h1, h2, h3, h4, h5):where(:not(.stldocs-markdown, .stldocs-markdown *)) {
1203
+ color: var(--stl-color-foreground);
1204
+ font-weight: 500;
1205
+ line-height: var(--stl-typography-line-height-heading);
1206
+ font-family: var(--stl-typography-font-heading);
1207
+ display: block;
1208
+ }
1209
+
1210
+ margin: 0;
1211
+ display: block;
1212
+ }
1213
+
1214
+ .sl-markdown-content {
1215
+ & .stldocs-root :not(a, strong, em, del, span, input, code, br) + :not(a, strong, em, del, span, input, code, br, :where(.not-content *)) {
1216
+ margin-top: 0;
1217
+ }
1218
+ }
1219
+
1220
+ :root {
1221
+ --stldocs-color-selected: var(--stl-color-muted-background);
1222
+ --stldocs-color-bg-inline-code: var(--stl-color-muted-background);
1223
+ --stldocs-content-width: 720px;
1224
+ --stldocs-content-padding: 16px;
1225
+ --stldocs-content-padding-inline: var(--stldocs-content-padding);
1226
+ --stldocs-content-padding-block: var(--stldocs-content-padding);
1227
+ --stldocs-color-http-get-bg: var(--stl-color-green-muted-background);
1228
+ --stldocs-color-http-get: var(--stl-color-green-foreground);
1229
+ --stldocs-color-http-put-bg: var(--stl-color-orange-muted-background);
1230
+ --stldocs-color-http-put: var(--stl-color-orange-foreground);
1231
+ --stldocs-color-http-post-bg: var(--stl-color-blue-muted-background);
1232
+ --stldocs-color-http-post: var(--stl-color-blue-foreground);
1233
+ --stldocs-color-http-delete-bg: var(--stl-color-red-muted-background);
1234
+ --stldocs-color-http-delete: var(--stl-color-red-foreground);
1235
+ --stldocs-syntax-color-green: var(--stl-color-green-foreground);
1236
+ --stldocs-syntax-color-orange: var(--stl-color-orange-foreground);
1237
+ --stldocs-syntax-color-purple: var(--stl-color-purple-foreground);
1238
+ --stldocs-syntax-color-blue: var(--stl-color-blue-foreground);
1239
+ --stldocs-expander-margin-shift: 24px;
1240
+ --stldocs-expander-right-margin: 8px;
1241
+ --stldocs-title-padding-y: 2.5rem;
1242
+ --stldocs-color-backdrop-overlay: var(--stl-color-muted-background);
1243
+ }
1244
+
1245
+ .stldocs-root {
1246
+ font-family: var(--stl-typography-font);
1247
+ color: var(--stl-color-foreground);
1248
+ letter-spacing: -.01em;
1249
+
1250
+ & :where(h1) {
1251
+ font-size: var(--stl-typography-text-h1);
1252
+ letter-spacing: -.03em;
1253
+ }
1254
+
1255
+ & :where(h2) {
1256
+ font-size: var(--stl-typography-text-h2);
1257
+ letter-spacing: -.03em;
1258
+ }
1259
+
1260
+ & :where(h3) {
1261
+ font-size: var(--stl-typography-text-h3);
1262
+ letter-spacing: -.02em;
1263
+ }
1264
+
1265
+ & :where(h4) {
1266
+ font-size: var(--stl-typography-text-h4);
1267
+ letter-spacing: -.02em;
1268
+ }
1269
+
1270
+ & :where(h5) {
1271
+ font-size: var(--stl-typography-text-h5);
1272
+ letter-spacing: -.02em;
1273
+ }
1274
+ }
1275
+
1276
+ .stldocs-root {
1277
+ & .stldocs-text-keyword {
1278
+ color: var(--stl-color-foreground-muted);
1279
+ }
1280
+
1281
+ & .stldocs-property-type, & .stldocs-property-declaration, & .stldocs-type:not(.stldocs-property-typename .stldocs-type) {
1282
+ font-family: var(--stl-typography-font-mono);
1283
+
1284
+ & .stldocs-type-keyword {
1285
+ color: var(--stldocs-syntax-color-orange);
1286
+ }
1287
+
1288
+ & .stldocs-type-string {
1289
+ color: var(--stldocs-syntax-color-green);
1290
+ }
1291
+
1292
+ & .stldocs-type-brace, & .stldocs-type-bracket, & .stldocs-type-plain, & .stldocs-text-operator, & .stldocs-text-punctuation, & .stldocs-truncation, & .stldocs-type-array {
1293
+ color: var(--stl-color-foreground-reduced);
1294
+ }
1295
+
1296
+ & .stldocs-type-plain {
1297
+ font-family: var(--stl-typography-font);
1298
+ }
1299
+
1300
+ & .stldocs-type-reference {
1301
+ color: var(--stldocs-syntax-color-blue);
1302
+ font-weight: 600;
1303
+
1304
+ & a:hover {
1305
+ text-decoration: underline;
1306
+ }
1307
+ }
1308
+
1309
+ & .stldocs-literal-string {
1310
+ color: var(--stldocs-syntax-color-green);
1311
+ }
1312
+
1313
+ & .stldocs-literal-numeric {
1314
+ color: var(--stldocs-syntax-color-orange);
1315
+ }
1316
+
1317
+ & .stldocs-text-identifier {
1318
+ font-family: var(--stl-typography-font-mono);
1319
+ color: var(--stl-color-foreground);
1320
+ }
1321
+
1322
+ & .stldocs-type-propertyname .stldocs-text-identifier {
1323
+ font-family: var(--stl-typography-font);
1324
+ font-weight: 600;
1325
+ }
1326
+ }
1327
+
1328
+ & [data-stldocs-language="http"], & [data-stldocs-language="cli"] {
1329
+ & .stldocs-property-type, & .stldocs-property-declaration {
1330
+ & .stldocs-truncation, & .stldocs-type-array, & .stldocs-text-punctuation {
1331
+ font-family: var(--stl-typography-font);
1332
+ }
1333
+ }
1334
+ }
1335
+ }
1336
+
1337
+ .stldocs-root .stldocs-method-route, .stldocs-root .stldocs-sidebar-method {
1338
+ & [data-method="get"] {
1339
+ background: var(--stldocs-color-http-get-bg);
1340
+ color: var(--stldocs-color-http-get);
1341
+ border-color: var(--stldocs-color-http-get);
1342
+ }
1343
+
1344
+ & [data-method="post"] {
1345
+ background: var(--stldocs-color-http-post-bg);
1346
+ color: var(--stldocs-color-http-post);
1347
+ border-color: var(--stldocs-color-http-post);
1348
+ }
1349
+
1350
+ & [data-method="patch"], & [data-method="put"] {
1351
+ background: var(--stldocs-color-http-put-bg);
1352
+ color: var(--stldocs-color-http-put);
1353
+ border-color: var(--stldocs-color-http-put);
1354
+ }
1355
+
1356
+ & [data-method="delete"] {
1357
+ background: var(--stldocs-color-http-delete-bg);
1358
+ color: var(--stldocs-color-http-delete);
1359
+ border-color: var(--stldocs-color-http-delete);
1360
+ }
1361
+ }
1362
+
1363
+ .stldocs-root .stldocs-expander {
1364
+ &[data-stldocs-expander-muted="true"] {
1365
+ & .stldocs-expander-summary-icon {
1366
+ visibility: hidden;
1367
+ }
1368
+
1369
+ &:hover .stldocs-expander-summary-icon {
1370
+ visibility: visible;
1371
+ }
1372
+ }
1373
+
1374
+ & .stldocs-expander-summary {
1375
+ cursor: pointer;
1376
+ display: flex;
1377
+
1378
+ & > .stldocs-expander-summary-icon {
1379
+ margin-right: 8px;
1380
+ transform: translateX(-.5px) translateY(-.5px);
1381
+
1382
+ & > .stldocs-icon {
1383
+ vertical-align: middle;
1384
+ color: var(--stl-color-foreground-muted);
1385
+ background-color: var(--stl-color-background);
1386
+ }
1387
+
1388
+ & > :last-child {
1389
+ display: none;
1390
+ }
1391
+ }
1392
+ }
1393
+
1394
+ &[open], &[data-open="true"] {
1395
+ & > .stldocs-expander-summary {
1396
+ & .stldocs-type-preview[data-stldocs-type-preview="properties"] :is(.stldocs-type-preview-content, .stldocs-type-brace) {
1397
+ display: none;
1398
+ }
1399
+
1400
+ & > .stldocs-expander-summary-icon {
1401
+ & > :first-child {
1402
+ display: none;
1403
+ }
1404
+
1405
+ & > :last-child {
1406
+ display: inline;
1407
+ }
1408
+ }
1409
+ }
1410
+
1411
+ & > .stldocs-expander-content {
1412
+ line-height: 150%;
1413
+
1414
+ & > .stldocs-property-children {
1415
+ border-left: 1px solid var(--stl-color-border);
1416
+ padding-left: 16px;
1417
+
1418
+ & .stldocs-expander {
1419
+ margin-left: calc(-1 * var(--stldocs-expander-margin-shift));
1420
+ padding-right: var(--stldocs-expander-right-margin);
1421
+ }
1422
+
1423
+ & .stldocs-property:has( > .stldocs-expander) {
1424
+ margin-left: calc(-1 * var(--stldocs-expander-margin-shift));
1425
+
1426
+ & > .stldocs-expander {
1427
+ margin-left: 0;
1428
+ }
1429
+ }
1430
+ }
1431
+ }
1432
+ }
1433
+
1434
+ &:not([open], [data-open="true"]) .stldocs-expander-content {
1435
+ display: none;
1436
+ }
1437
+ }
1438
+
1439
+ .stldocs-root .stldocs-content {
1440
+ & a {
1441
+ color: var(--stl-color-link-foreground);
1442
+ }
1443
+
1444
+ & strong {
1445
+ font-weight: bold;
1446
+ }
1447
+
1448
+ & em {
1449
+ font-style: italic;
1450
+ }
1451
+
1452
+ & p {
1453
+ margin: 0 0 1em;
1454
+ display: block;
1455
+
1456
+ &:last-child {
1457
+ margin: 0;
1458
+ }
1459
+ }
1460
+
1461
+ & li {
1462
+ margin-bottom: .25rem;
1463
+ display: list-item;
1464
+ }
1465
+
1466
+ & ol, & ul {
1467
+ list-style-type: initial;
1468
+ margin-bottom: .8rem;
1469
+ margin-left: 2rem;
1470
+ display: block;
1471
+ }
1472
+
1473
+ & ol {
1474
+ list-style-type: decimal;
1475
+ }
1476
+
1477
+ & hr {
1478
+ border: none;
1479
+ border-bottom: 1px solid var(--stl-color-border);
1480
+ margin-bottom: 16px;
1481
+ }
1482
+ }
1483
+
1484
+ .stldocs-root .stldocs-content code:not(pre code), .stldocs-root .stldocs-property-constraint .stldocs-property-constraint-value {
1485
+ font-family: var(--stl-typography-font-mono);
1486
+ background-color: var(--stldocs-color-bg-inline-code);
1487
+ word-break: break-all;
1488
+ border-radius: 4px;
1489
+ padding: 0 4px;
1490
+ font-size: .84rem;
1491
+ }
1492
+
1493
+ .stldocs-root .stldocs-input {
1494
+ border: 1px solid var(--stl-color-border);
1495
+ background: var(--stl-color-background);
1496
+ border-radius: var(--stl-ui-layout-border-radius-sml);
1497
+ display: flex;
1498
+
1499
+ &:focus-within {
1500
+ border-color: var(--stl-color-accent);
1501
+ }
1502
+
1503
+ &.stldocs-input-disabled {
1504
+ opacity: .5;
1505
+ }
1506
+
1507
+ & input, & .stldocs-masked-input-display {
1508
+ letter-spacing: initial;
1509
+ white-space: pre;
1510
+ contain: content;
1511
+ background-color: #0000;
1512
+ border: none;
1513
+ flex-grow: 1;
1514
+ margin: .5rem;
1515
+ padding: 0;
1516
+ font-size: 1rem;
1517
+
1518
+ &:focus {
1519
+ outline: none;
1520
+ }
1521
+ }
1522
+
1523
+ & .stldocs-masked-input-wrapper {
1524
+ &:focus-within .stldocs-masked-input-display, &:not(:focus-within) input {
1525
+ opacity: 0;
1526
+ }
1527
+ }
1528
+
1529
+ & .stldocs-masked-input-obscured {
1530
+ -webkit-text-stroke: currentColor .2em;
1531
+ }
1532
+
1533
+ & .stldocs-icon {
1534
+ margin: auto .25rem auto .75rem;
1535
+ }
1536
+ }
1537
+
1538
+ .stldocs-root .stldocs-masked-input-wrapper {
1539
+ font-family: var(--stl-typography-font-mono);
1540
+ flex-grow: 1;
1541
+ display: flex;
1542
+ position: relative;
1543
+ }
1544
+
1545
+ .stldocs-root .stldocs-masked-input-display {
1546
+ pointer-events: none;
1547
+ align-items: center;
1548
+ display: flex;
1549
+ position: absolute;
1550
+ inset: 0;
1551
+ }
1552
+
1553
+ .stldocs-root .stldocs-listview {
1554
+ overflow-y: scroll;
1555
+
1556
+ & .stldocs-listview-item:not(:last-child) {
1557
+ border-bottom: 1px solid var(--stl-color-border);
1558
+ }
1559
+
1560
+ & [data-stldocs-listview-selected="true"] > :first-child {
1561
+ background: linear-gradient(var(--stl-color-ui-background-hover), var(--stl-color-ui-background-hover)),
1562
+ linear-gradient(var(--stl-color-ui-background), var(--stl-color-ui-background));
1563
+ border-radius: .5rem;
1564
+ }
1565
+ }
1566
+
1567
+ .stldocs-root {
1568
+ & .stldocs-tooltip-host {
1569
+ display: inline-block;
1570
+ }
1571
+
1572
+ & .stldocs-tooltip-content {
1573
+ border: 1px solid var(--stl-color-border);
1574
+ background: var(--stl-color-background);
1575
+ border-radius: 8px;
1576
+ padding: .2rem .4rem;
1577
+
1578
+ & * {
1579
+ font-size: .8rem !important;
1580
+ }
1581
+
1582
+ visibility: hidden;
1583
+ opacity: 0;
1584
+ max-width: 400px;
1585
+ max-height: 300px;
1586
+ transition: opacity .3s ease-in-out, visibility .3s step-end .3s;
1587
+ position: absolute;
1588
+ overflow: auto;
1589
+
1590
+ & .stldocs-property-description {
1591
+ display: none;
1592
+ }
1593
+ }
1594
+
1595
+ & .stldocs-tooltip:hover .stldocs-tooltip-content {
1596
+ visibility: visible;
1597
+ opacity: 1;
1598
+ transition-delay: 0s, 0s;
1599
+ }
1600
+ }
1601
+
1602
+ .stldocs-root {
1603
+ & .stldocs-breadcrumbs {
1604
+ align-items: center;
1605
+ gap: .5rem;
1606
+ display: flex;
1607
+
1608
+ & svg {
1609
+ width: 1rem;
1610
+ min-width: 1rem;
1611
+ stroke: var(--stl-color-foreground-reduced);
1612
+ opacity: .25;
1613
+ margin: 0;
1614
+ }
1615
+
1616
+ & .stldocs-breadcrumbs-non-link, & .stldocs-breadcrumbs-link {
1617
+ color: var(--stl-color-foreground-reduced);
1618
+ font-size: var(--stl-typography-scale-sm);
1619
+ line-height: 150%;
1620
+ text-decoration: none;
1621
+ }
1622
+
1623
+ & .stldocs-breadcrumbs-link:hover {
1624
+ color: var(--stl-color-foreground);
1625
+ text-decoration: underline;
1626
+ }
1627
+
1628
+ & .stldocs-breadcrumbs-item {
1629
+ align-items: center;
1630
+ gap: .5rem;
1631
+ margin: 0;
1632
+ display: flex;
1633
+ }
1634
+ }
1635
+ }
1636
+
1637
+ .stldocs-root .stldocs-expand-toggle {
1638
+ font-size: var(--stl-typography-scale-sm);
1639
+ user-select: none;
1640
+ flex-grow: 1;
1641
+ justify-content: flex-end;
1642
+ display: flex;
1643
+
1644
+ &[data-stldocs-property-toggle-expanded="false"] {
1645
+ & .stldocs-expand-toggle-content:last-child {
1646
+ display: none;
1647
+ }
1648
+ }
1649
+
1650
+ &[data-stldocs-property-toggle-expanded="true"] {
1651
+ & .stldocs-expand-toggle-content:first-child {
1652
+ display: none;
1653
+ }
1654
+ }
1655
+
1656
+ & .stldocs-expand-toggle-content {
1657
+ cursor: pointer;
1658
+
1659
+ & .stldocs-icon {
1660
+ vertical-align: middle;
1661
+ }
1662
+ }
1663
+ }
1664
+
1665
+ .stldocs-root .stldocs-property:has(.stldocs-deep-link-button) {
1666
+ grid-template-rows: auto auto;
1667
+ grid-template-columns: auto minmax(0, max-content) 1fr;
1668
+ gap: 0;
1669
+ width: 100%;
1670
+ display: grid;
1671
+
1672
+ & > .stldocs-expander {
1673
+ grid-area: 1 / 1 / -1 / -1;
1674
+ grid-template-columns: subgrid;
1675
+ grid-template-rows: subgrid;
1676
+ display: grid;
1677
+
1678
+ & > .stldocs-expander-summary {
1679
+ grid-area: 1 / 1 / auto / -1;
1680
+ grid-template-columns: subgrid;
1681
+ grid-template-rows: subgrid;
1682
+ display: grid;
1683
+
1684
+ & > .stldocs-expander-summary-icon {
1685
+ grid-column: 1;
1686
+ }
1687
+
1688
+ & > .stldocs-expander-summary-content {
1689
+ grid-column: 2;
1690
+ }
1691
+ }
1692
+
1693
+ &::details-content, & > .stldocs-expander-content {
1694
+ grid-area: 2 / 2 / auto / -1;
1695
+ }
1696
+ }
1697
+
1698
+ & > .stldocs-property-info {
1699
+ grid-area: 1 / 2;
1700
+ }
1701
+
1702
+ & > .stldocs-deep-link-button {
1703
+ grid-area: 1 / span 1 / auto / -1;
1704
+ place-self: center start;
1705
+ margin-top: -1rem;
1706
+ margin-bottom: -1rem;
1707
+ margin-left: .25em;
1708
+ animation: .2s ease-out .3s both stldocs-deep-link-delay-enter;
1709
+ display: none;
1710
+
1711
+ & svg {
1712
+ width: 1em;
1713
+ height: 1em;
1714
+ }
1715
+ }
1716
+
1717
+ & > .stldocs-expander:has( > .stldocs-expander-summary:hover) + .stldocs-deep-link-button, &:not(:has( > .stldocs-expander)):hover > .stldocs-deep-link-button, & > .stldocs-deep-link-button:is(:hover, :focus) {
1718
+ display: flex;
1719
+ }
1720
+ }
1721
+
1722
+ @keyframes stldocs-deep-link-delay-enter {
1723
+ from {
1724
+ opacity: 0;
1725
+ display: none;
1726
+ scale: .85;
1727
+ }
1728
+
1729
+ to {
1730
+ opacity: 1;
1731
+ scale: .99;
1732
+ }
1733
+ }
1734
+
1735
+ .stldocs-root .stldocs-overview {
1736
+ & .stldocs-overview-header {
1737
+ padding: var(--stldocs-title-padding-y) 0;
1738
+
1739
+ & > * {
1740
+ max-width: var(--stldocs-content-width);
1741
+ margin: auto 0;
1742
+ }
1743
+
1744
+ & .stldocs-overview-header-info {
1745
+ align-items: center;
1746
+ height: 40px;
1747
+ margin-top: 16px;
1748
+ display: flex;
1749
+
1750
+ & .stldocs-overview-header-info-timestamp {
1751
+ font-size: var(--stl-typography-scale-xs);
1752
+ color: var(--stl-color-foreground);
1753
+ opacity: .5;
1754
+ }
1755
+ }
1756
+ }
1757
+
1758
+ & .stldocs-resource {
1759
+ padding: 2rem 0;
1760
+
1761
+ &:not([data-stl-resource-language="terraform"]) .stldocs-resource-content {
1762
+ max-width: var(--stldocs-content-width);
1763
+ margin: auto 0;
1764
+ }
1765
+
1766
+ & .stldocs-resource-header {
1767
+ opacity: .85;
1768
+ flex-direction: column;
1769
+ gap: 16px;
1770
+ display: flex;
1771
+
1772
+ & .stldocs-resource-title {
1773
+ & .stldocs-icon {
1774
+ color: var(--stl-color-foreground-muted);
1775
+ vertical-align: middle;
1776
+ height: 1rem;
1777
+ margin-left: 8px;
1778
+ display: inline;
1779
+ }
1780
+
1781
+ & .stldocs-resource-title-segment {
1782
+ color: var(--stl-color-foreground);
1783
+ margin-right: 8px;
1784
+
1785
+ &:not(:last-child) {
1786
+ color: var(--stl-color-foreground-reduced);
1787
+ font-weight: 400;
1788
+ }
1789
+ }
1790
+ }
1791
+
1792
+ & .stldocs-resource-name {
1793
+ font-family: var(--stl-typography-font-mono);
1794
+ color: var(--stl-color-foreground);
1795
+ }
1796
+
1797
+ & .stldocs-resource-description {
1798
+ font-size: var(--stl-typography-scale-base);
1799
+ color: var(--stl-color-foreground-reduced);
1800
+ line-height: 150%;
1801
+ }
1802
+ }
1803
+
1804
+ & .stldocs-resource-content {
1805
+ & .stldocs-resource-content-group {
1806
+ flex-direction: column;
1807
+ display: flex;
1808
+
1809
+ & .stldocs-resource-content-group-model-title {
1810
+ padding-top: var(--stldocs-content-padding-block);
1811
+ color: var(--stl-color-foreground-muted);
1812
+ padding-bottom: .5rem;
1813
+ font-size: 1rem;
1814
+ font-weight: normal;
1815
+ display: flex;
1816
+ }
1817
+
1818
+ & .stldocs-resource-content-group-name {
1819
+ color: var(--stl-color-foreground-muted);
1820
+ }
1821
+
1822
+ & .stldocs-resource-content-properties {
1823
+ margin-left: calc(-1 * var(--stldocs-expander-margin-shift));
1824
+ }
1825
+ }
1826
+ }
1827
+ }
1828
+
1829
+ & > .stldocs-resource:nth-child(2) {
1830
+ padding-top: 0;
1831
+ }
1832
+ }
1833
+
1834
+ .stldocs-root .stldocs-overview .stldocs-method-summary, .stldocs-root .stldocs-overview .stldocs-method {
1835
+ padding: var(--stldocs-content-padding-block) 0;
1836
+
1837
+ & .stldocs-method-header {
1838
+ flex-direction: column;
1839
+ gap: 4px;
1840
+ display: flex;
1841
+
1842
+ & .stldocs-method-title {
1843
+ margin-bottom: 2px;
1844
+
1845
+ & a:hover {
1846
+ text-decoration: underline;
1847
+ }
1848
+ }
1849
+
1850
+ & .stldocs-method-route {
1851
+ padding-top: 4px;
1852
+ }
1853
+ }
1854
+
1855
+ & .stldocs-method-signature {
1856
+ max-width: var(--stldocs-content-width);
1857
+ text-overflow: ellipsis;
1858
+ overflow: hidden;
1859
+ }
1860
+
1861
+ & .stldocs-method-description {
1862
+ color: var(--stl-color-foreground-muted);
1863
+ height: 1.7rem;
1864
+ padding-bottom: var(--stldocs-content-padding-block);
1865
+ line-height: 1.7rem;
1866
+ overflow-y: hidden;
1867
+
1868
+ & .stldocs-content > * {
1869
+ white-space: nowrap;
1870
+ text-overflow: ellipsis;
1871
+ overflow-x: hidden;
1872
+ }
1873
+ }
1874
+ }
1875
+
1876
+ .stldocs-root .stldocs-method-header .stldocs-method-route {
1877
+ gap: 4px;
1878
+ padding: 0;
1879
+ display: flex;
1880
+
1881
+ & .stldocs-method-route-endpoint {
1882
+ font-family: var(--stl-typography-font-mono);
1883
+ font-size: var(--stl-typography-scale-sm);
1884
+ color: var(--stl-color-foreground-reduced);
1885
+ text-overflow: ellipsis;
1886
+ white-space: nowrap;
1887
+ align-content: center;
1888
+ line-height: 120%;
1889
+ overflow: hidden;
1890
+ }
1891
+ }
1892
+
1893
+ .stldocs-root .stldocs-property, .stldocs-root .stldocs-model {
1894
+ font-size: var(--stl-typography-scale-sm);
1895
+ flex-direction: column;
1896
+ gap: .8rem;
1897
+ padding: .5rem 0;
1898
+ display: flex;
1899
+
1900
+ &:has(.stldocs-expander-summary-content .stldocs-property-description) .stldocs-expander-content > .stldocs-property-description {
1901
+ padding-top: .75rem;
1902
+ }
1903
+
1904
+ & .stldocs-expander-summary-content {
1905
+ max-width: 100%;
1906
+ }
1907
+
1908
+ & .stldocs-property-header {
1909
+ flex-wrap: wrap;
1910
+ align-items: baseline;
1911
+ gap: .5rem;
1912
+ display: flex;
1913
+ }
1914
+
1915
+ & .stldocs-property-info {
1916
+ flex-direction: column;
1917
+ display: flex;
1918
+
1919
+ & > .stldocs-property-type > .stldocs-text-identifier {
1920
+ color: var(--stl-color-foreground);
1921
+ }
1922
+ }
1923
+
1924
+ & .stldocs-property-type {
1925
+ font-family: var(--stl-typography-font-mono);
1926
+ color: var(--stl-color-foreground-muted);
1927
+ }
1928
+
1929
+ & .stldocs-type-preview:is([data-stldocs-language="http"] .stldocs-type-preview) {
1930
+ font-family: var(--stl-typography-font);
1931
+ }
1932
+
1933
+ & .stldocs-property-type, & .stldocs-property-declaration {
1934
+ & .stldocs-type-preview[data-stldocs-type-preview="union"] .stldocs-type-preview[data-stldocs-type-preview="properties"] {
1935
+ display: none;
1936
+ }
1937
+ }
1938
+
1939
+ & .stldocs-property-deprecated {
1940
+ font-family: var(--stl-typography-font);
1941
+ color: var(--stl-color-red-foreground);
1942
+ font-size: var(--stl-typography-scale-sm);
1943
+ font-weight: 600;
1944
+ }
1945
+
1946
+ & .stldocs-property-deprecated-message {
1947
+ color: var(--stl-color-red-foreground);
1948
+ font-size: var(--stl-typography-scale-sm);
1949
+ }
1950
+
1951
+ & .stldocs-property-declaration {
1952
+ white-space: nowrap;
1953
+ text-overflow: ellipsis;
1954
+ border-radius: var(--stl-ui-layout-border-radius-xs);
1955
+ min-width: 0;
1956
+ max-width: max-content;
1957
+ padding-inline: var(--stl-ui-layout-border-radius-xs);
1958
+ margin-left: calc(-1 * var(--stl-ui-layout-border-radius-xs));
1959
+ background-color: #0000;
1960
+ transition: background-color .1s;
1961
+ overflow: hidden;
1962
+
1963
+ & .stldocs-property-deprecated {
1964
+ margin-right: .44rem;
1965
+ }
1966
+ }
1967
+
1968
+ & .stldocs-property-info:is(:target, .stldocs-property-highlighted) .stldocs-property-declaration {
1969
+ background-color: var(--stl-color-accent-muted-background);
1970
+ transition: background-color .1s;
1971
+ }
1972
+
1973
+ & .stldocs-property-description, & .stldocs-property-title, & .stldocs-property-content {
1974
+ font-size: var(--stl-typography-scale-sm);
1975
+ color: var(--stl-color-foreground-reduced);
1976
+
1977
+ & .stldocs-content {
1978
+ color: inherit;
1979
+ font-size: inherit;
1980
+ }
1981
+ }
1982
+
1983
+ & .stldocs-property-name {
1984
+ font-family: var(--stl-typography-font-mono);
1985
+ color: var(--stl-color-foreground);
1986
+ font-weight: 700;
1987
+ }
1988
+
1989
+ & .stldocs-property-annotation {
1990
+ color: var(--stl-color-foreground-reduced);
1991
+ }
1992
+
1993
+ & .stldocs-property-typename {
1994
+ font-size: var(--stl-typography-scale-xs);
1995
+ color: var(--stl-color-foreground-muted);
1996
+ line-height: 175%;
1997
+
1998
+ & .stldocs-type-reference {
1999
+ color: var(--stldocs-syntax-color-blue);
2000
+ font-size: .8rem;
2001
+ font-weight: 600;
2002
+ }
2003
+ }
2004
+
2005
+ & .stldocs-property-type {
2006
+ & .stldocs-truncation {
2007
+ white-space: nowrap;
2008
+ margin-right: .2rem;
2009
+ }
2010
+ }
2011
+
2012
+ & .stldocs-property-badges {
2013
+ text-transform: lowercase;
2014
+ gap: .5rem;
2015
+ font-size: .85rem;
2016
+ line-height: 1.5rem;
2017
+ display: flex;
2018
+ }
2019
+
2020
+ & .stldocs-property-constraints {
2021
+ display: flex;
2022
+ }
2023
+
2024
+ & .stldocs-property-constraint {
2025
+ color: var(--stl-color-foreground-reduced);
2026
+
2027
+ &:not(:last-child) {
2028
+ &:after {
2029
+ content: ", ";
2030
+ color: var(--stl-color-foreground-reduced);
2031
+ margin-right: .4rem;
2032
+ }
2033
+ }
2034
+
2035
+ & .stldocs-property-constraint-name {
2036
+ color: var(--stl-color-foreground-reduced);
2037
+
2038
+ &:after {
2039
+ content: ":";
2040
+ margin-right: .4rem;
2041
+ }
2042
+ }
2043
+ }
2044
+
2045
+ & .stldocs-property-type:not(:first-child), & .stldocs-property .stldocs-property-type {
2046
+ font-size: .8rem;
2047
+ }
2048
+ }
2049
+
2050
+ .stldocs-root {
2051
+ & .stldocs-properties {
2052
+ flex-direction: column;
2053
+ line-height: 150%;
2054
+ display: flex;
2055
+ }
2056
+ }
2057
+
2058
+ .stldocs-root .stldocs-property {
2059
+ padding: .2rem 0;
2060
+ }
2061
+
2062
+ .stldocs-root .stldocs-property:not(.stldocs-property .stldocs-property) > .stldocs-property-info {
2063
+ margin-left: var(--stldocs-expander-margin-shift);
2064
+ }
2065
+
2066
+ .stldocs-root .stldocs-tooltip-content .stldocs-property {
2067
+ border: 0;
2068
+ gap: .1rem;
2069
+ padding: .1rem !important;
2070
+ }
2071
+
2072
+ .stldocs-root .stldocs-badge {
2073
+ background-color: var(--stl-color-muted-background);
2074
+ font-size: var(--stl-typography-scale-xs);
2075
+ border-radius: 4px;
2076
+ padding: 0 .5rem;
2077
+ font-weight: 500;
2078
+ display: inline-block;
2079
+
2080
+ &[data-badge-id="deprecated"] {
2081
+ background-color: var(--stl-color-red-muted-background);
2082
+ color: var(--stl-color-red-foreground);
2083
+ text-transform: capitalize;
2084
+ }
2085
+
2086
+ &[data-badge-id="optional"] {
2087
+ background-color: var(--stl-color-muted-background);
2088
+ text-transform: capitalize;
2089
+ }
2090
+ }
2091
+
2092
+ .stldocs-root .stldocs-method-signature {
2093
+ font-family: var(--stl-typography-font-mono);
2094
+ font-size: var(--stl-typography-scale-sm);
2095
+ color: var(--stl-color-foreground-muted);
2096
+ white-space: pre-wrap;
2097
+ word-wrap: break-word;
2098
+ font-weight: 400;
2099
+ line-height: 1.5rem;
2100
+
2101
+ & .stldocs-signature-qualified {
2102
+ color: var(--stl-color-foreground-reduced);
2103
+ font-weight: 400;
2104
+ }
2105
+
2106
+ & .stldocs-signature-name {
2107
+ color: var(--stl-color-foreground);
2108
+ font-weight: 600;
2109
+ }
2110
+
2111
+ & .stldoc-signature-params {
2112
+ & .stldocs-text-identifier {
2113
+ color: var(--stl-color-foreground);
2114
+ }
2115
+ }
2116
+
2117
+ & .stldocs-type {
2118
+ color: var(--stl-color-foreground);
2119
+ }
2120
+
2121
+ & .stldocs-type-preview[data-stldocs-type-preview="properties"] {
2122
+ display: none;
2123
+ }
2124
+
2125
+ & .stldocs-method-badges {
2126
+ margin-top: 1rem;
2127
+ }
2128
+ }
2129
+
2130
+ .stldocs-root .stldocs-method {
2131
+ & .stldocs-method-header {
2132
+ padding: var(--stldocs-title-padding-y) var(--stldocs-content-padding-inline)
2133
+ var(--stldocs-content-padding-block);
2134
+
2135
+ & .stldocs-method-title {
2136
+ font-size: var(--stl-typography-text-h1);
2137
+ letter-spacing: -.03em;
2138
+ }
2139
+
2140
+ & .stldocs-method-signature {
2141
+ margin-top: .75rem;
2142
+ }
2143
+
2144
+ & .stldocs-method-route {
2145
+ padding-top: 12px;
2146
+ }
2147
+ }
2148
+
2149
+ & .stldocs-method-description {
2150
+ padding-bottom: var(--stldocs-content-padding-block);
2151
+ grid-area: 1 / 1 / 2 / 2;
2152
+
2153
+ & code {
2154
+ font-size: .93rem;
2155
+ line-height: 150%;
2156
+ }
2157
+ }
2158
+
2159
+ & .stldocs-method-example {
2160
+ grid-area: 2 / 1 / 3 / 2;
2161
+ margin-top: 1rem;
2162
+
2163
+ & .stldocs-snippet-multi-response {
2164
+ display: none;
2165
+ }
2166
+ }
2167
+
2168
+ & .stldocs-snippet-multi-response {
2169
+ border: 1px solid var(--stl-color-border);
2170
+ border-radius: 12px;
2171
+
2172
+ &:is(.stldocs-method-response-column .stldocs-snippet-multi-response) {
2173
+ overflow: clip;
2174
+
2175
+ & .stldocs-snippet {
2176
+ padding: 0;
2177
+ }
2178
+ }
2179
+
2180
+ & .stldocs-snippet {
2181
+ background-color: #0000;
2182
+ border: none;
2183
+ border-radius: 0;
2184
+ }
2185
+
2186
+ & .stldocs-snippet-code .shiki {
2187
+ padding: .5rem;
2188
+ }
2189
+ }
2190
+
2191
+ & .stldocs-method-info {
2192
+ padding: var(--stldocs-content-padding-block) 0;
2193
+ font-size: var(--stl-typography-scale-sm);
2194
+ flex-direction: column;
2195
+ grid-area: 3 / 1 / 4 / 2;
2196
+ gap: 2rem;
2197
+ margin-top: 2.5rem;
2198
+ display: flex;
2199
+
2200
+ & h5 {
2201
+ display: flex;
2202
+ }
2203
+ }
2204
+
2205
+ & .stldocs-method-available-languages a {
2206
+ color: var(--stl-color-link-foreground);
2207
+ text-decoration-color: rgb(from currentColor r g b / calc(alpha * var(--stl-opacity-level-040)));
2208
+ transition: text-decoration-color .1s ease-out;
2209
+ }
2210
+
2211
+ & .stldocs-method-info-section {
2212
+ flex-direction: column;
2213
+ gap: .5rem;
2214
+ display: flex;
2215
+
2216
+ & h5 .stl-ui-badge {
2217
+ vertical-align: bottom;
2218
+ margin-top: -1px;
2219
+ margin-left: .5em;
2220
+ transform: translateY(1px);
2221
+ }
2222
+ }
2223
+
2224
+ & .stldocs-method-content-column {
2225
+ display: contents;
2226
+ }
2227
+
2228
+ & .stldocs-method-body {
2229
+ padding: var(--stldocs-content-padding-block) 0;
2230
+ grid-template-rows: repeat(4, auto);
2231
+ grid-template-columns: minmax(0, 1fr);
2232
+ gap: 2rem;
2233
+ display: grid;
2234
+
2235
+ & .stldocs-method-description p {
2236
+ color: var(--stl-color-foreground-reduced);
2237
+ line-height: 150%;
2238
+ }
2239
+
2240
+ & h5 {
2241
+ color: var(--stl-color-foreground-muted);
2242
+ font-weight: 400;
2243
+ font-size: var(--stl-typography-scale-base);
2244
+ }
2245
+
2246
+ & .stldocs-method-parameters, & .stldocs-method-parameters, & .stldocs-method-returns {
2247
+ margin-left: calc(-1 * var(--stldocs-expander-margin-shift));
2248
+ }
2249
+
2250
+ & .stldocs-method-parameters {
2251
+ flex-direction: column;
2252
+ gap: .5rem;
2253
+ display: flex;
2254
+ }
2255
+
2256
+ & .stldocs-method-parameters h5 {
2257
+ margin-left: var(--stldocs-expander-margin-shift);
2258
+ }
2259
+
2260
+ & .stldocs-terraform-resource-title {
2261
+ font-family: var(--stl-typography-font-mono);
2262
+ white-space: nowrap;
2263
+ text-overflow: ellipsis;
2264
+ font-size: 1.1rem;
2265
+ overflow: hidden;
2266
+ }
2267
+ }
2268
+
2269
+ & .stldocs-snippet, & .stldocs-snippet-multi {
2270
+ top: calc(var(--sl-nav-height) + 1rem);
2271
+ z-index: 5;
2272
+ position: sticky;
2273
+ }
2274
+
2275
+ & .stldocs-snippet {
2276
+ font-size: var(--stl-typography-scale-sm);
2277
+ font-family: var(--stl-typography-font-mono);
2278
+ background-color: var(--stl-color-faint-background);
2279
+ border: 1px solid var(--stl-color-border-faint);
2280
+ border-radius: calc(12px + .25rem);
2281
+ flex-direction: column;
2282
+ padding: .25rem;
2283
+ display: flex;
2284
+
2285
+ & .stldocs-snippet-request {
2286
+ background-color: var(--stl-color-background);
2287
+ --shiki-background: var(--stl-color-background);
2288
+ border: 1px solid var(--stl-color-border);
2289
+ border-radius: 12px;
2290
+ position: relative;
2291
+
2292
+ & .stldocs-snippet-code {
2293
+ border-bottom-right-radius: 12px;
2294
+ border-bottom-left-radius: 12px;
2295
+ }
2296
+ }
2297
+
2298
+ & .stldocs-snippet-request-title {
2299
+ background-color: var(--stl-color-background);
2300
+ color: var(--stl-color-foreground-reduced);
2301
+ border-bottom: 1px solid var(--stl-color-border);
2302
+ font-family: var(--stl-typography-font);
2303
+ border-top-left-radius: 12px;
2304
+ border-top-right-radius: 12px;
2305
+ justify-content: space-between;
2306
+ gap: .5rem;
2307
+ padding: .5rem .5rem .5rem .75rem;
2308
+ display: flex;
2309
+
2310
+ & .stldocs-snippet-request-title-method {
2311
+ flex-grow: 1;
2312
+ min-width: 0;
2313
+ }
2314
+
2315
+ & .stldocs-snippet-request-title-method, & .stldocs-snippet-request-title-content {
2316
+ align-items: center;
2317
+ gap: .5rem;
2318
+ display: flex;
2319
+ }
2320
+
2321
+ & h3 {
2322
+ font-style: normal;
2323
+ font-weight: 500;
2324
+ line-height: 100%;
2325
+ font-size: inherit;
2326
+ font-family: var(--stl-typography-font);
2327
+ color: var(--stl-color-foreground);
2328
+ white-space: nowrap;
2329
+ text-overflow: ellipsis;
2330
+ margin: 0;
2331
+ overflow: hidden;
2332
+ }
2333
+
2334
+ @media (width >= 1280px) {
2335
+ & .stldocs-snippet-request-title-label {
2336
+ display: none;
2337
+ }
2338
+ }
2339
+
2340
+ & .stldocs-icon {
2341
+ width: 16px;
2342
+ }
2343
+
2344
+ & .stldocs-snippet-request-title-content {
2345
+ font-family: var(--stl-typography-font);
2346
+ gap: .5rem;
2347
+ display: flex;
2348
+
2349
+ & .stldocs-snippet-request-title-language {
2350
+ color: var(--stl-color-foreground);
2351
+ cursor: pointer;
2352
+ align-items: center;
2353
+ gap: 4px;
2354
+ display: flex;
2355
+ position: relative;
2356
+
2357
+ & select {
2358
+ z-index: 5;
2359
+ align-items: center;
2360
+ padding-right: 25px;
2361
+ display: flex;
2362
+ }
2363
+ }
2364
+ }
2365
+ }
2366
+
2367
+ & .stldocs-snippet-response-pane {
2368
+ --shiki-background: transparent;
2369
+ padding: .5rem;
2370
+ display: none;
2371
+
2372
+ &.stldocs-snippet-response-pane-active {
2373
+ display: block;
2374
+ }
2375
+
2376
+ & .stldocs-snippet-code {
2377
+ padding: 0;
2378
+ }
2379
+ }
2380
+
2381
+ & .stldocs-snippet-response {
2382
+ margin-top: 1rem;
2383
+ }
2384
+ }
2385
+
2386
+ & .stldocs-method-response-column {
2387
+ flex-direction: column;
2388
+ gap: 1rem;
2389
+ margin-top: 2.5rem;
2390
+ display: flex;
2391
+ }
2392
+
2393
+ & .stldocs-snippet-code {
2394
+ width: 0;
2395
+ min-width: 100%;
2396
+ white-space: preserve nowrap;
2397
+ max-height: 560px;
2398
+ font-size: var(--stl-typography-scale-sm);
2399
+ will-change: height;
2400
+ scrollbar-color: var(--stl-color-border) transparent;
2401
+ padding: 1rem;
2402
+ line-height: 1.5;
2403
+ transition: height .24s;
2404
+ display: block;
2405
+ overflow: auto;
2406
+
2407
+ & pre, & .shiki {
2408
+ width: max-content;
2409
+ min-width: 100%;
2410
+ margin: 0;
2411
+ padding: 0;
2412
+ }
2413
+
2414
+ & pre.shiki {
2415
+ counter-reset: codeblock-line;
2416
+
2417
+ & .line {
2418
+ counter-increment: codeblock-line;
2419
+
2420
+ &:before {
2421
+ content: counter(codeblock-line);
2422
+ color: var(--stl-color-foreground-muted);
2423
+ opacity: .5;
2424
+ text-align: right;
2425
+ width: 1rem;
2426
+ margin-right: 1rem;
2427
+ display: inline-flex;
2428
+ }
2429
+
2430
+ &.ellipsis {
2431
+ opacity: .5;
2432
+ color: var(--stl-color-foreground-muted) !important;
2433
+ }
2434
+ }
2435
+ }
2436
+ }
2437
+
2438
+ & .stldocs-snippet-footer {
2439
+ border-top: 1px solid var(--stl-color-border);
2440
+ padding: .5rem;
2441
+ }
2442
+
2443
+ & .stldocs-snippet-response-tab {
2444
+ border-bottom: 1px solid var(--stl-color-border-faint);
2445
+ gap: .5rem;
2446
+ display: flex;
2447
+ overflow-x: auto;
2448
+
2449
+ & .stldocs-snippet-response-tab-item {
2450
+ border-bottom: 2px solid #0000;
2451
+ flex: 1;
2452
+ min-width: 160px;
2453
+ height: 40px;
2454
+
2455
+ & button {
2456
+ white-space: nowrap;
2457
+ text-overflow: ellipsis;
2458
+ vertical-align: middle;
2459
+ width: 100%;
2460
+ color: var(--stl-color-foreground-reduced);
2461
+ overflow: hidden;
2462
+ }
2463
+
2464
+ & button:hover {
2465
+ background-color: var(--stl-color-background-hover);
2466
+ }
2467
+ }
2468
+
2469
+ & .stldocs-snippet-response-tab-item-active {
2470
+ border-color: var(--stl-color-accent-inverse-background);
2471
+
2472
+ & button {
2473
+ color: var(--stl-color-foreground);
2474
+ }
2475
+ }
2476
+
2477
+ &.stldocs-snippet-response-tab-single-return {
2478
+ background-color: var(--stl-color-faint-background);
2479
+
2480
+ & .stldocs-snippet-response-tab-item {
2481
+ color: var(--stl-color-foreground-reduced);
2482
+ border: none;
2483
+ font-weight: 400;
2484
+ display: flex;
2485
+
2486
+ & button {
2487
+ cursor: default;
2488
+ justify-content: flex-start;
2489
+ height: auto;
2490
+
2491
+ &:hover {
2492
+ background-color: #0000;
2493
+ }
2494
+ }
2495
+ }
2496
+ }
2497
+ }
2498
+
2499
+ & .stldocs-markdown {
2500
+ & :first-child {
2501
+ margin-top: 0;
2502
+ }
2503
+ }
2504
+
2505
+ & .stldocs-snippet-multi {
2506
+ & .stldocs-snippet-multi-tabs {
2507
+ background: var(--stl-color-faint-background);
2508
+ border: 1px solid var(--stl-color-border-faint);
2509
+ border-radius: calc(var(--stl-ui-layout-border-radius) + .25rem);
2510
+ scrollbar-color: var(--stl-color-border) transparent;
2511
+ font-size: var(--stl-typography-scale-sm);
2512
+ flex-wrap: nowrap;
2513
+ max-width: max-content;
2514
+ margin-bottom: .5rem;
2515
+ padding: .25rem;
2516
+ line-height: 1;
2517
+ display: flex;
2518
+ overflow-x: scroll;
2519
+
2520
+ & .stldocs-snippet-multi-tab {
2521
+ border-radius: var(--stl-ui-layout-border-radius);
2522
+ color: var(--stl-color-foreground-reduced);
2523
+ border: 1px solid #0000;
2524
+ flex: none;
2525
+ padding: 9px 14px;
2526
+ font-weight: 400;
2527
+
2528
+ & > input {
2529
+ display: none;
2530
+ }
2531
+
2532
+ &:has( > :checked) {
2533
+ background-color: var(--stl-color-ui-background);
2534
+ border-color: var(--stl-color-border);
2535
+ color: var(--stl-color-foreground);
2536
+ font-weight: 500;
2537
+ }
2538
+ }
2539
+ }
2540
+
2541
+ & .stldocs-snippet-multi-pane {
2542
+ display: none;
2543
+
2544
+ &.stldocs-snippet-multi-pane-active {
2545
+ display: block;
2546
+ }
2547
+ }
2548
+ }
2549
+ }
2550
+
2551
+ .stldocs-root .stldocs-language-block {
2552
+ background-color: var(--stl-color-background);
2553
+ border: 1px solid var(--stl-color-border);
2554
+ border-radius: 8px;
2555
+ flex-direction: column;
2556
+ gap: 8px;
2557
+ padding: 16px;
2558
+ display: flex;
2559
+
2560
+ & .stldocs-language-block-content {
2561
+ gap: 12px;
2562
+ display: flex;
2563
+
2564
+ & .stldocs-language-block-content-icon {
2565
+ border: 1px solid var(--stl-color-border);
2566
+ aspect-ratio: 1;
2567
+ border-radius: 4px;
2568
+ padding: 12px;
2569
+ display: inline-flex;
2570
+ }
2571
+
2572
+ & .stldocs-language-block-content-info {
2573
+ & .stldocs-language-block-content-info-language {
2574
+ font-weight: 600;
2575
+ line-height: 120%;
2576
+ }
2577
+
2578
+ & .stldocs-language-block-content-info-version {
2579
+ font-family: var(--stl-typography-font-mono);
2580
+ font-size: var(--stl-typography-scale-sm);
2581
+ font-weight: 200;
2582
+ }
2583
+ }
2584
+ }
2585
+
2586
+ & .stldocs-language-block-install {
2587
+ font-family: var(--stl-typography-font-mono);
2588
+ font-size: var(--stl-typography-scale-sm);
2589
+ background-color: var(--stldocs-color-bg-inline-code);
2590
+ border: 1px solid var(--stl-color-border);
2591
+ color: var(--stl-color-foreground-reduced);
2592
+ border-radius: 4px;
2593
+ padding: 4px 8px;
2594
+ display: flex;
2595
+
2596
+ & pre {
2597
+ white-space: nowrap;
2598
+ text-overflow: ellipsis;
2599
+ flex-grow: 1;
2600
+ align-items: center;
2601
+ display: flex;
2602
+ overflow-x: hidden;
2603
+ }
2604
+
2605
+ & svg {
2606
+ vertical-align: middle;
2607
+ min-width: 16px;
2608
+ }
2609
+ }
2610
+
2611
+ & .stldocs-language-block-links {
2612
+ gap: 8px;
2613
+ display: flex;
2614
+
2615
+ & > a:last-child {
2616
+ flex-grow: 1;
2617
+ }
2618
+ }
2619
+ }
2620
+
2621
+ @media (width >= 1280px) {
2622
+ .stldocs-root .stldocs-method.stldocs-method-double-pane {
2623
+ & .stldocs-method-example {
2624
+ flex: 500px;
2625
+ width: 100%;
2626
+ max-width: 100%;
2627
+ }
2628
+
2629
+ & .stldocs-method-body {
2630
+ flex-direction: row;
2631
+ gap: 2rem;
2632
+ }
2633
+ }
2634
+ }
2635
+
2636
+ @media (width <= 50rem) {
2637
+ .stldocs-root .stldocs-method-body {
2638
+ padding: 1rem var(--stldocs-content-padding-inline) !important;
2639
+ }
2640
+
2641
+ .stldocs-root .stldocs-resource .stldocs-resource-content {
2642
+ padding: 0 var(--stldocs-content-padding-inline) !important;
2643
+
2644
+ & .stldocs-resource-content-properties {
2645
+ margin-left: 0 !important;
2646
+ }
2647
+ }
2648
+ }
2649
+
2650
+ @media (width >= 50rem) {
2651
+ .stldocs-root .stldocs-method {
2652
+ & .stldocs-method-header {
2653
+ padding: var(--stldocs-title-padding-y) 0;
2654
+ }
2655
+ }
2656
+ }
2657
+
2658
+ @media (width >= 1280px) {
2659
+ .stldocs-root {
2660
+ & .stldocs-method.stldocs-method-double-pane .stldocs-method-content-column {
2661
+ display: block;
2662
+ }
2663
+
2664
+ & .stldocs-method.stldocs-method-double-pane .stldocs-method-body {
2665
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2666
+ grid-template-areas: "description example";
2667
+ grid-template-rows: unset;
2668
+
2669
+ & .stldocs-snippet {
2670
+ & .stldocs-snippet-response {
2671
+ display: block;
2672
+ }
2673
+
2674
+ & .stldocs-snippet-response-pane {
2675
+ --shiki-background: transparent;
2676
+ padding: 0;
2677
+ position: relative;
2678
+ }
2679
+
2680
+ & .stldocs-snippet-multi-response {
2681
+ padding: 0;
2682
+ display: block;
2683
+ }
2684
+
2685
+ & .stldocs-snippet-response-tab {
2686
+ margin-inline: -.5rem;
2687
+ padding-inline: .5rem;
2688
+ }
2689
+ }
2690
+
2691
+ & .stldocs-method-response-column {
2692
+ margin-top: 0;
2693
+ display: none;
2694
+ }
2695
+
2696
+ & .stldocs-method-content-column {
2697
+ grid-area: description;
2698
+ }
2699
+
2700
+ & .stldocs-method-example {
2701
+ grid-area: example;
2702
+ margin-top: 0;
2703
+
2704
+ & .stldocs-snippet-multi-response {
2705
+ border: none;
2706
+ display: block;
2707
+
2708
+ & .stldocs-snippet {
2709
+ background-color: #0000;
2710
+ border: none;
2711
+ }
2712
+ }
2713
+ }
2714
+
2715
+ & .stldocs-method-info {
2716
+ grid-area: unset;
2717
+ margin-top: 0;
2718
+ }
2719
+
2720
+ & .stldocs-snippet-response-tab {
2721
+ margin-bottom: .5rem;
2722
+
2723
+ &.stldocs-snippet-response-tab-single-return {
2724
+ background-color: #0000;
2725
+
2726
+ & .stldocs-snippet-response-tab-item {
2727
+ & button {
2728
+ &:hover {
2729
+ background-color: #0000;
2730
+ }
2731
+ }
2732
+ }
2733
+ }
2734
+ }
2735
+ }
2736
+ }
2737
+ }
2738
+
2739
+ :root {
2740
+ --stldocs-sidebar-item-padding-inline: .75rem;
2741
+ --stldocs-sidebar-item-padding-block: .375rem;
2742
+ --stldocs-sidebar-indent: .75rem;
2743
+ }
2744
+
2745
+ .stldocs-sidebar {
2746
+ font-family: var(--stl-typography-font);
2747
+ font-size: var(--stl-typography-scale-sm);
2748
+ background-color: #0000;
2749
+
2750
+ & ul, & summary {
2751
+ list-style-type: none;
2752
+ }
2753
+
2754
+ & .stldocs-expander-summary, & .stldocs-sidebar-entry-group > a {
2755
+ font-weight: 500;
2756
+ }
2757
+
2758
+ & .stldocs-expander-summary {
2759
+ user-select: none;
2760
+ align-items: center;
2761
+ display: flex;
2762
+
2763
+ & .stldocs-expander-summary-icon {
2764
+ opacity: .65;
2765
+ border-radius: 4px;
2766
+ margin-left: 4px;
2767
+ transition: opacity .1s ease-out, transform .1s ease-out;
2768
+
2769
+ &:hover {
2770
+ background-color: var(--stl-color-background-hover);
2771
+ }
2772
+ }
2773
+
2774
+ & span[aria-hidden="true"] {
2775
+ opacity: 0;
2776
+ }
2777
+ }
2778
+
2779
+ & .stldocs-sidebar-entry-group {
2780
+ position: relative;
2781
+
2782
+ & > a {
2783
+ padding-block: var(--stldocs-sidebar-item-padding-block);
2784
+ padding-inline: var(--stldocs-sidebar-item-padding-inline);
2785
+ position: absolute;
2786
+ top: 0;
2787
+ left: 0;
2788
+ right: 0;
2789
+ }
2790
+ }
2791
+
2792
+ & .stldocs-sidebar-expander[open] > .stldocs-expander-summary .stldocs-expander-summary-icon {
2793
+ opacity: 1;
2794
+ transform: rotate(90deg);
2795
+ }
2796
+
2797
+ & .stldocs-sidebar-expander:not([open]) > .stldocs-sidebar-list {
2798
+ display: none;
2799
+ }
2800
+
2801
+ & .stldocs-sidebar-entry, & .stldocs-expander-summary {
2802
+ border-radius: 8px;
2803
+ margin: 0;
2804
+ }
2805
+
2806
+ & .stldocs-expander-summary, & .stldocs-sidebar-entry-link a {
2807
+ padding: var(--stldocs-sidebar-item-padding-block) var(--stldocs-sidebar-item-padding-inline);
2808
+ }
2809
+
2810
+ & summary.stldocs-expander-summary, & .stldocs-sidebar-entry-link a {
2811
+ cursor: pointer;
2812
+ }
2813
+
2814
+ & .stldocs-sidebar-entry-link a:hover {
2815
+ color: var(--stl-color-foreground);
2816
+ }
2817
+
2818
+ & .stldocs-sidebar-entry-link a {
2819
+ color: var(--stl-color-foreground-reduced);
2820
+ font-weight: 400;
2821
+ text-decoration: none;
2822
+ display: flex;
2823
+
2824
+ & span {
2825
+ font-weight: inherit;
2826
+ }
2827
+
2828
+ &:hover {
2829
+ text-decoration: underline;
2830
+ text-decoration-color: var(--stl-color-foreground-reduced);
2831
+ }
2832
+
2833
+ &[aria-current="page"] {
2834
+ color: var(--stl-color-foreground);
2835
+ font-weight: 500;
2836
+ }
2837
+ }
2838
+
2839
+ & .stldocs-sidebar-entry-group:has( > a) .stldocs-expander-summary > span {
2840
+ pointer-events: none;
2841
+ }
2842
+
2843
+ & .stldocs-sidebar-entry-link:has( > a:is(:hover, [aria-current="page"])), & .stldocs-sidebar-entry-group:has( > a:is(:hover, [aria-current="page"])) > .stldocs-sidebar-expander > .stldocs-expander-summary, & summary.stldocs-expander-summary:hover {
2844
+ background-color: var(--stl-color-background-hover);
2845
+ }
2846
+
2847
+ & .stldocs-sidebar-list .stldocs-sidebar-list :is(.stldocs-expander-summary, .stldocs-sidebar-entry) {
2848
+ border-start-start-radius: 0;
2849
+ border-end-start-radius: 0;
2850
+ }
2851
+
2852
+ & .stldocs-sidebar-list {
2853
+ padding: 0;
2854
+ }
2855
+
2856
+ & .stldocs-sidebar-list .stldocs-sidebar-list .stldocs-sidebar-entry {
2857
+ border-inline-start: 1px solid var(--stl-color-border-faint);
2858
+ margin-inline-start: var(--stldocs-sidebar-indent);
2859
+
2860
+ & > a[aria-current="page"] {
2861
+ border-inline-start: 2px solid var(--stl-color-accent-border-strong);
2862
+ margin-left: -1px;
2863
+ }
2864
+ }
2865
+
2866
+ & .stldocs-sidebar-entry-link > a, & .stldocs-sidebar-entry-group > a, & .stldocs-sidebar-entry-group .stldocs-expander-summary > span {
2867
+ align-items: center;
2868
+ gap: 8px;
2869
+ display: flex;
2870
+ }
2871
+
2872
+ & a[aria-current="page"] .stl-ui-badge--http {
2873
+ &.stl-ui-badge--http-get {
2874
+ background-color: var(--stl-color-green-inverse-background);
2875
+ color: var(--stl-color-green-inverse-foreground);
2876
+ }
2877
+
2878
+ &.stl-ui-badge--http-post {
2879
+ background-color: var(--stl-color-blue-inverse-background);
2880
+ color: var(--stl-color-blue-inverse-foreground);
2881
+ }
2882
+
2883
+ &.stl-ui-badge--http-patch, &.stl-ui-badge--http-put {
2884
+ background-color: var(--stl-color-orange-inverse-background);
2885
+ color: var(--stl-color-orange-inverse-foreground);
2886
+ }
2887
+
2888
+ &.stl-ui-badge--http-delete {
2889
+ background-color: var(--stl-color-red-inverse-background);
2890
+ color: var(--stl-color-red-inverse-foreground);
2891
+ }
2892
+ }
2893
+
2894
+ & a:hover:not([aria-current="page"]) .stl-ui-badge--http {
2895
+ &.stl-ui-badge--http-get {
2896
+ background-color: var(--stl-color-green-muted-background-hover);
2897
+ }
2898
+
2899
+ &.stl-ui-badge--http-post {
2900
+ background-color: var(--stl-color-blue-muted-background-hover);
2901
+ }
2902
+
2903
+ &.stl-ui-badge--http-patch, &.stl-ui-badge--http-put {
2904
+ background-color: var(--stl-color-orange-muted-background-hover);
2905
+ }
2906
+
2907
+ &.stl-ui-badge--http-delete {
2908
+ background-color: var(--stl-color-red-muted-background-hover);
2909
+ }
2910
+ }
2911
+ }
2912
+
2913
+ .stldocs-root .stldocs-search-form {
2914
+ flex-direction: column;
2915
+ display: flex;
2916
+
2917
+ & .stldocs-search-filter {
2918
+ gap: .5rem;
2919
+ margin-top: .5rem;
2920
+ display: flex;
2921
+
2922
+ & .stl-ui-button {
2923
+ flex: auto;
2924
+ gap: .5em;
2925
+ padding: 0;
2926
+ display: flex;
2927
+
2928
+ & .stldocs-search-filter-count {
2929
+ background-color: var(--stldocs-color-selected);
2930
+ font-variant-numeric: tabular-nums;
2931
+ border-radius: 100vmax;
2932
+ padding: 0 .35rem;
2933
+ font-size: .75rem;
2934
+ line-height: 1.5;
2935
+ }
2936
+
2937
+ & svg {
2938
+ flex: none;
2939
+ }
2940
+ }
2941
+
2942
+ @media (width < 50rem) {
2943
+ & svg {
2944
+ display: block;
2945
+ }
2946
+
2947
+ & .stldocs-search-filter-label, & .stldocs-search-filter-count {
2948
+ display: none;
2949
+ }
2950
+ }
2951
+ }
2952
+
2953
+ & .stldocs-search-result {
2954
+ cursor: pointer;
2955
+ flex-direction: column;
2956
+ gap: .5rem;
2957
+ margin: .5rem 0;
2958
+ padding: .5rem .8rem;
2959
+ display: flex;
2960
+
2961
+ & mark {
2962
+ color: var(--stl-color-foreground);
2963
+ background-color: var(--stl-color-text-selection-background);
2964
+ box-shadow: inset 0 -1px rgb(from var(--stl-color-text-selection-background) r g b / 1);
2965
+ }
2966
+
2967
+ &[data-stldocs-search-result="resource"] {
2968
+ & .stldocs-search-result-resource-info {
2969
+ gap: .5rem;
2970
+ display: flex;
2971
+
2972
+ & .stldocs-search-result-resource-title {
2973
+ font-weight: 600;
2974
+ }
2975
+
2976
+ & .stldocs-search-result-resource-path {
2977
+ font-family: var(--stl-typography-font-mono);
2978
+ color: var(--stl-color-foreground);
2979
+ text-overflow: ellipsis;
2980
+ white-space: nowrap;
2981
+ overflow: hidden;
2982
+ }
2983
+ }
2984
+ }
2985
+
2986
+ &[data-stldocs-search-result="http_method"] {
2987
+ & h3.stldocs-method-title {
2988
+ font-size: 1.2rem;
2989
+ }
2990
+
2991
+ & .stldocs-method-header {
2992
+ flex-direction: column;
2993
+ gap: .5rem;
2994
+ display: flex;
2995
+
2996
+ & .stldocs-method-signature {
2997
+ font-family: var(--stl-typography-font-mono);
2998
+ color: var(--stl-color-foreground);
2999
+ white-space: pre-wrap;
3000
+ word-break: break-word;
3001
+
3002
+ & .stldocs-text-identifier {
3003
+ color: var(--stl-color-foreground);
3004
+ }
3005
+ }
3006
+
3007
+ & .stldocs-method-route {
3008
+ font-size: .8rem;
3009
+
3010
+ & .stldocs-method-route-endpoint {
3011
+ font-family: var(--stl-typography-font-mono);
3012
+ color: var(--stl-color-foreground-muted);
3013
+ }
3014
+ }
3015
+ }
3016
+
3017
+ & .stldocs-method-description {
3018
+ color: var(--stl-color-foreground);
3019
+ }
3020
+ }
3021
+
3022
+ &[data-stldocs-search-result="property"] {
3023
+ & .stldocs-property-info {
3024
+ flex-direction: column;
3025
+ gap: .5rem;
3026
+ display: flex;
3027
+ }
3028
+
3029
+ & .stldocs-property-header {
3030
+ gap: .5rem;
3031
+ display: flex;
3032
+
3033
+ & .stldocs-property-name {
3034
+ font-family: var(--stl-typography-font-mono);
3035
+ }
3036
+
3037
+ & .stldocs-property-typename {
3038
+ color: var(--stl-color-foreground-muted);
3039
+ }
3040
+ }
3041
+
3042
+ & .stldocs-property-description {
3043
+ color: var(--stl-color-foreground);
3044
+ }
3045
+ }
3046
+
3047
+ &[data-stldocs-search-result="model"] {
3048
+ & .stldocs-property-info {
3049
+ flex-direction: column;
3050
+ gap: .5rem;
3051
+ display: flex;
3052
+
3053
+ & .stldocs-property-type {
3054
+ font-family: var(--stl-typography-font-mono);
3055
+ color: var(--stl-color-foreground);
3056
+ }
3057
+ }
3058
+ }
3059
+
3060
+ &[data-stldocs-search-result="guide"] {
3061
+ & .stldocs-search-result-guide-title {
3062
+ font-size: 1.2rem;
3063
+ }
3064
+
3065
+ & .stldocs-search-result-guide-excerpt {
3066
+ color: var(--stl-color-foreground);
3067
+ }
3068
+
3069
+ & .stldocs-search-breadcrumb-item {
3070
+ text-transform: capitalize;
3071
+ }
3072
+ }
3073
+ }
3074
+
3075
+ & .stldocs-search-breadcrumb {
3076
+ text-overflow: ellipsis;
3077
+ white-space: nowrap;
3078
+ gap: .5rem;
3079
+ font-size: .8rem;
3080
+ display: flex;
3081
+ overflow: hidden;
3082
+
3083
+ & .stldocs-search-breadcrumb-item {
3084
+ color: var(--stl-color-foreground-muted);
3085
+ }
3086
+
3087
+ & .stldocs-icon {
3088
+ margin-top: auto;
3089
+ margin-bottom: auto;
3090
+ }
3091
+ }
3092
+
3093
+ & .stldocs-search-disabled-state-container {
3094
+ text-align: center;
3095
+ margin: auto;
3096
+ }
3097
+ }
3098
+
3099
+ .stldocs-root .stldocs-search-modal {
3100
+ height: calc(100svh - var(--sl-nav-height));
3101
+ background-color: var(--stl-color-background);
3102
+ width: 100%;
3103
+ color: var(--stl-color-foreground);
3104
+ border: none;
3105
+ gap: .5rem;
3106
+ padding: 1rem 1rem 0;
3107
+ display: none;
3108
+ inset: 0;
3109
+ overflow: hidden;
3110
+
3111
+ &:popover-open, &[data-stldocs-modal-open="true"] {
3112
+ top: var(--sl-nav-height);
3113
+ flex-direction: column;
3114
+ display: flex;
3115
+ position: fixed;
3116
+ }
3117
+
3118
+ & .stldocs-search-form {
3119
+ width: 100%;
3120
+ height: 100%;
3121
+
3122
+ & .stldocs-listview {
3123
+ height: 100%;
3124
+ margin: .8rem 0 0;
3125
+ padding-bottom: 1rem;
3126
+ }
3127
+ }
3128
+
3129
+ & .stldocs-search-modal-close-button {
3130
+ justify-content: flex-end;
3131
+ display: flex;
3132
+ }
3133
+
3134
+ &::backdrop {
3135
+ background-color: var(--stldocs-color-backdrop-overlay);
3136
+ backdrop-filter: blur(.25rem);
3137
+ top: var(--sl-nav-height);
3138
+ }
3139
+ }
3140
+
3141
+ @keyframes stldocs-spinner-rotate {
3142
+ 100% {
3143
+ transform: rotate(360deg);
3144
+ }
3145
+ }
3146
+
3147
+ @media (width >= 50rem) {
3148
+ .stldocs-root {
3149
+ & .stldocs-search-modal {
3150
+ border: 1px solid var(--stl-color-border);
3151
+ border-radius: calc(var(--stl-ui-layout-border-radius-sml) + .9rem);
3152
+ width: 1024px;
3153
+ max-width: calc(100% - 4rem);
3154
+ height: 100%;
3155
+ max-height: 80vh;
3156
+ margin: 3rem auto;
3157
+
3158
+ & .stldocs-search-modal-close-button {
3159
+ display: none;
3160
+ }
3161
+
3162
+ &:popover-open, &[data-stldocs-modal-open="true"] {
3163
+ top: 0;
3164
+ }
3165
+
3166
+ &::backdrop {
3167
+ top: 0;
3168
+ }
3169
+ }
3170
+ }
3171
+ }