@saasmakers/ui 2.0.25 → 2.0.26
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.
|
@@ -53,7 +53,7 @@ function onClick(event: MouseEvent) {
|
|
|
53
53
|
'gap-1.5 p-3': size === 'base',
|
|
54
54
|
'gap-2 p-4': size === 'lg',
|
|
55
55
|
'border border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900': variant === 'outline' && !active,
|
|
56
|
-
'
|
|
56
|
+
'base-highlight-indigo': variant === 'outline' && active,
|
|
57
57
|
'hover:border-gray-300 dark:hover:border-gray-700': variant === 'outline' && !active && !disabled && !loading,
|
|
58
58
|
'bg-gray-100 dark:bg-gray-800': variant === 'filled',
|
|
59
59
|
}"
|
package/package.json
CHANGED
package/uno.config.ts
CHANGED
|
@@ -34,8 +34,10 @@ export const shortcuts: Record<string, string> = {
|
|
|
34
34
|
'base-border-interactive': 'hover:border-gray-300 focus:border-gray-400 dark:hover:border-gray-700 dark:focus:border-gray-600',
|
|
35
35
|
'base-border-interactive-focus-visible': 'hover:border-gray-300 focus-visible:border-gray-400 dark:hover:border-gray-700 dark:focus-visible:border-gray-600',
|
|
36
36
|
'base-border-interactive-focus-within': 'hover:border-gray-300 focus-within:border-gray-400 dark:hover:border-gray-700 dark:focus-within:border-gray-600',
|
|
37
|
+
'base-bg': 'bg-white dark:bg-gray-900',
|
|
37
38
|
'base-box': 'border shadow-sm base-border rounded-lg',
|
|
38
|
-
'base-
|
|
39
|
+
'base-highlight-indigo': 'border border-indigo-600/35 bg-indigo-600/[0.08] dark:border-indigo-400/35 dark:bg-indigo-400/[0.08]',
|
|
40
|
+
'base-surface': 'border base-border base-bg shadow-sm',
|
|
39
41
|
'field-disabled': 'opacity-50 cursor-not-allowed',
|
|
40
42
|
'scroll-y-stable': 'overflow-y-auto [scrollbar-gutter:stable]',
|
|
41
43
|
}
|