@vpdev2/metakyc-sdk 1.0.75 → 1.0.76
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/theme/theme-manager.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1701,12 +1701,13 @@ class ur {
|
|
|
1701
1701
|
"text-primary": t.textPrimary,
|
|
1702
1702
|
"text-secondary": t.textSecondary,
|
|
1703
1703
|
"text-muted": t.textMuted,
|
|
1704
|
-
// Input-specific — fall back to general colors when not explicitly set
|
|
1705
|
-
|
|
1706
|
-
"input-
|
|
1707
|
-
"input-
|
|
1708
|
-
"input-border
|
|
1709
|
-
"input-
|
|
1704
|
+
// Input-specific — fall back to general colors when not explicitly set.
|
|
1705
|
+
// Use || (not ??) so empty string '' also triggers the fallback.
|
|
1706
|
+
"input-bg": t.inputBg || t.background,
|
|
1707
|
+
"input-text": t.inputText || t.textPrimary,
|
|
1708
|
+
"input-border": t.inputBorder || t.border,
|
|
1709
|
+
"input-border-focus": t.inputBorderFocus || t.primary,
|
|
1710
|
+
"input-placeholder": t.inputPlaceholder || t.textMuted
|
|
1710
1711
|
};
|
|
1711
1712
|
Object.entries(n).forEach(([s, l]) => {
|
|
1712
1713
|
this.container.style.setProperty(`--metakyc-${s}`, l);
|