@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.
- package/client/source.js +2 -1
- 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
|
-
|
|
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
|