diff --git a/package.json b/package.json index 8c9cdf53d..3e5b923c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220613220728", + "version": "2.0.20220614170402", "description": "fineui", "main": "dist/fineui.min.js", "types": "dist/lib/index.d.ts", diff --git a/src/less/core/utils/common.less b/src/less/core/utils/common.less index e0396d286..036778c59 100644 --- a/src/less/core/utils/common.less +++ b/src/less/core/utils/common.less @@ -175,6 +175,18 @@ } } +.bi-theme-dark { + .bi-tips { + color: @color-bi-text-tips-theme-dark; + & .bi-input { + color: @color-bi-text-tips-theme-dark;; + } + & .bi-textarea { + color: @color-bi-text-tips-theme-dark; + } + } +} + // 边框 .bi-border { border: 1px solid @color-bi-border-line; diff --git a/typescript/base/foundation/message.ts b/typescript/base/foundation/message.ts index b30aad417..ad0e7bac0 100644 --- a/typescript/base/foundation/message.ts +++ b/typescript/base/foundation/message.ts @@ -9,5 +9,5 @@ export type _msg = { alert: (title: string, message?: string | { [key: string]: any }, callback?: (result?: boolean) => void) => void confirm: (title: string, message?: string | { [key: string]: any }, callback?: (result: boolean) => void) => void prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, minWidth?: number) => void - toast: (message: string | Obj, options?: toastOptions | string, context?: HTMLElement) => void + toast: (message: string | Obj, options?: toastOptions | string, context?: HTMLElement) => Function }