From a5081a81bbabf6e765cd5d5e07814d5da7d6dbee Mon Sep 17 00:00:00 2001 From: qiqi Date: Sun, 22 Nov 2026 15:09:35 +0800 Subject: [PATCH] =?UTF-8?q?style(style-source):=201.3.3=20=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E5=85=A8=E9=83=A8=E8=B5=B0=20--iwb-*=20token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style-source/package.json | 2 +- style-source/src/index.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/style-source/package.json b/style-source/package.json index f94949d..d30bde0 100644 --- a/style-source/package.json +++ b/style-source/package.json @@ -1,7 +1,7 @@ { "name": "@iwb-plugin/style-source", "private": true, - "version": "1.3.2", + "version": "1.3.3", "description": "风格库:资源库面板里浏览 310 个 AI 绘画风格(12 分类 / 搜索 / 变量替换),一键把预览图插入画布 ref 节点、把提示词插入 prompt 节点", "ibwPlugin": { "id": "style-source", diff --git a/style-source/src/index.js b/style-source/src/index.js index b5d0353..875e6b3 100644 --- a/style-source/src/index.js +++ b/style-source/src/index.js @@ -138,7 +138,7 @@ position: fixed; z-index: 2147483000; left: 0; top: 0; pointer-events: none; padding: 5px 10px; border-radius: 6px; font-size: 12px; line-height: 1.2; font-family: inherit; white-space: nowrap; - background: rgba(22, 26, 34, .88); color: #fff; + background: color-mix(in srgb, var(--iwb-text, #1c2333) 88%, transparent); color: var(--iwb-on-brand, #fff); border: 1px dashed rgba(255, 255, 255, .55); transform: translate(-2px, -2px); } @@ -283,7 +283,7 @@ position: absolute; left: 50%; bottom: 46px; z-index: 20; transform: translateX(-50%) translateY(6px); max-width: 88%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - background: rgba(22, 26, 34, .9); color: #fff; + background: color-mix(in srgb, var(--iwb-text, #1c2333) 90%, transparent); color: var(--iwb-on-brand, #fff); font-size: var(--fs-md, 12px); padding: 6px 12px; border-radius: 14px; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; } @@ -338,7 +338,7 @@ .iwb-ssn-row > input:focus { outline: none; border-color: var(--iwb-brand, #1677ff); } .iwb-ssn-row > input::placeholder { color: var(--iwb-text2, #6b7280); opacity: .6; } .iwb-ssn-foot { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--iwb-text2, #6b7280); } -.iwb-ssn-warn { color: #d97706; } +.iwb-ssn-warn { color: var(--iwb-warn, #d97706); } .iwb-ssn-empty { padding: 6px 2px; font-size: 11px; color: var(--iwb-text2, #6b7280); line-height: 1.6; } ` @@ -1384,7 +1384,7 @@ global.IWBPluginHost.register({ id: 'style-source', name: '风格库', - version: '1.3.2', + version: '1.3.3', apiVersion: 1, capabilities: ['panels', 'canvas', 'canvasWrite', 'nodeTypes'], settings: {