@ycodium-ai/plugin-api 0.2.2804 → 0.2.2808

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 (2) hide show
  1. package/css/ui.css +11 -0
  2. package/package.json +1 -1
package/css/ui.css CHANGED
@@ -46,6 +46,9 @@
46
46
  --text-ui-lg--line-height: var(--ui-leading-lg);
47
47
  --text-ui-xl: var(--ui-text-xl);
48
48
  --text-ui-xl--line-height: var(--ui-leading-xl);
49
+ --radius-panel: var(--panel-radius);
50
+ --radius-widget: var(--widget-radius);
51
+ --shadow-panel: var(--panel-shadow);
49
52
 
50
53
  --animate-skeleton: skeleton 2s infinite linear;
51
54
  /* Duty-cycled indicator animations: long holds with stepped ramps, so the
@@ -213,6 +216,14 @@
213
216
  }
214
217
  }
215
218
 
219
+ /* 玻璃边:四边透明度不同的 1px 描边,令牌在宿主 index.css。只换描边颜色,不加模糊、不改布局。 */
220
+ @utility island-edge {
221
+ border-style: solid;
222
+ border-width: 1px;
223
+ border-color: var(--glass-edge-top) var(--glass-edge-right) var(--glass-edge-bottom)
224
+ var(--glass-edge-left);
225
+ }
226
+
216
227
  @utility surface-glass {
217
228
  background: color-mix(in srgb, var(--background) var(--glass-opacity), transparent);
218
229
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-api",
3
- "version": "0.2.2804",
3
+ "version": "0.2.2808",
4
4
  "description": "Types and definePlugin for authoring Ycodium plugins. Zero runtime dependencies.",
5
5
  "keywords": [
6
6
  "ycodium"