@immich/ui 0.40.1 → 0.40.2

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.
@@ -16,7 +16,7 @@
16
16
  }: ToastContainerProps = $props();
17
17
 
18
18
  const containerStyles = tv({
19
- base: 'bg-light text-dark overflow-hidden transition-all',
19
+ base: 'bg-light text-dark overflow-hidden shadow-xs transition-all',
20
20
  variants: {
21
21
  shape: styleVariants.shape,
22
22
  size: {
@@ -29,7 +29,14 @@
29
29
  },
30
30
 
31
31
  border: styleVariants.border,
32
- borderColor: styleVariants.borderColor,
32
+ borderColor: {
33
+ primary: 'border-primary/25',
34
+ secondary: 'border-dark/25',
35
+ success: 'border-success/25',
36
+ danger: 'border-danger/25',
37
+ warning: 'border-warning/25',
38
+ info: 'border-info/25',
39
+ },
33
40
  roundedSize: {
34
41
  tiny: 'rounded-lg',
35
42
  small: 'rounded-lg',
@@ -44,21 +51,21 @@
44
51
  base: 'py-1.5',
45
52
  variants: {
46
53
  filled: {
47
- primary: 'bg-primary/10 dark:bg-primary/25',
48
- secondary: 'bg-dark/10 dark:bg-dark/25',
54
+ primary: 'bg-primary/15 dark:bg-primary/25',
55
+ secondary: 'bg-dark/15 dark:bg-dark/25',
49
56
  muted: 'bg-subtle dark:bg-subtle',
50
- info: 'bg-info/10 dark:bg-info/25',
51
- warning: 'bg-warning/10 dark:bg-warning/25',
52
- danger: 'bg-danger/10 dark:bg-danger/25',
53
- success: 'bg-success/10 dark:bg-success/25',
57
+ info: 'bg-info/15 dark:bg-info/25',
58
+ warning: 'bg-warning/15 dark:bg-warning/25',
59
+ danger: 'bg-danger/15 dark:bg-danger/25',
60
+ success: 'bg-success/15 dark:bg-success/25',
54
61
  },
55
62
  outline: {
56
- primary: 'bg-primary/10 text-primary hover:bg-primary/20',
57
- secondary: 'bg-dark/10 text-dark hover:bg-dark/20',
58
- success: 'bg-success/10 text-success hover:bg-success/20',
59
- danger: 'bg-danger/10 text-danger hover:bg-danger/20',
60
- warning: 'bg-warning/10 text-warning hover:bg-warning/20',
61
- info: 'bg-info/10 text-info hover:bg-info/20',
63
+ primary: 'bg-primary/2 text-primary dark:bg-primary/5',
64
+ secondary: 'bg-dark/2 text-dark dark:bg-dark/5',
65
+ success: 'bg-success/2 text-success dark:bg-success/5',
66
+ danger: 'bg-danger/2 text-danger dark:bg-danger/5',
67
+ warning: 'bg-warning/2 text-warning dark:bg-warning/5',
68
+ info: 'bg-info/2 text-info dark:bg-info/5',
62
69
  },
63
70
  },
64
71
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immich/ui",
3
- "version": "0.40.1",
3
+ "version": "0.40.2",
4
4
  "license": "GNU Affero General Public License version 3",
5
5
  "repository": {
6
6
  "type": "git",