@weibaohui/dsh-plugin-kit 0.2.0 → 0.2.1

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/client/source.js +2 -1
  2. package/package.json +1 -1
package/client/source.js CHANGED
@@ -30,7 +30,8 @@ var PluginKit = (function () {
30
30
  var doFetch = options.fetch || (typeof fetch !== 'undefined' ? fetch : null)
31
31
  var inputStyle = { width: '100%', minHeight: 190, resize: 'vertical', fontFamily: 'var(--dsw-font-family)', lineHeight: 1.6, fontSize: 12, background: 'var(--dsw-alias-bg-layer-2,transparent)', color: 'inherit', border: '1px solid var(--dsw-alias-border-l2,rgba(128,128,128,.3))', borderRadius: '8px', padding: '10px', boxSizing: 'border-box' }
32
32
  var btnStyle = { background: 'transparent', color: 'inherit', border: '1px solid var(--dsw-alias-border-l2,rgba(128,128,128,.3))', borderRadius: '8px', padding: '5px 12px', fontSize: 13, cursor: 'pointer', font: 'inherit' }
33
- var primaryStyle = Object.assign({}, btnStyle, { background: 'var(--dsw-alias-brand-primary,#4a7dff)', borderColor: 'var(--dsw-alias-brand-primary,#4a7dff)', color: '#fff' })
33
+ // 主按钮亮暗跟随:与 skills-management .sk-btn-primary 同款 token 组合
34
+ var primaryStyle = Object.assign({}, btnStyle, { background: 'var(--dsw-alias-state-business-primary,var(--dsw-alias-brand-primary,#4a7dff))', borderColor: 'transparent', color: 'var(--dsw-alias-label-primary-inverted,#fff)' })
34
35
 
35
36
  return function ActionShareDialog(props) {
36
37
  var title = props.title
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weibaohui/dsh-plugin-kit",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "dsh 插件共享工具箱:AI 动作分享抽屉(ntd ActionButton 同款交互)+ 宿主任务执行器,供系列插件复用",
5
5
  "license": "MIT",
6
6
  "main": "src/index.js",