@refraction-ui/astro 0.17.3 → 0.17.4

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.
@@ -9,8 +9,8 @@ export const badgeVariants = cva({
9
9
  secondary: 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',
10
10
  destructive: 'border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80 font-semibold',
11
11
  outline: 'text-foreground',
12
- success: 'border-transparent bg-green-500 text-white shadow hover:bg-green-500/80 font-semibold',
13
- warning: 'border-transparent bg-yellow-500 text-white shadow hover:bg-yellow-500/80 font-semibold',
12
+ success: 'border-transparent bg-success text-success-foreground shadow hover:bg-success/80 font-semibold',
13
+ warning: 'border-transparent bg-warning text-warning-foreground shadow hover:bg-warning/80 font-semibold',
14
14
  },
15
15
  size: {
16
16
  sm: 'px-2 py-0 text-[10px]',
@@ -6,8 +6,8 @@ export const calloutVariants = cva({
6
6
  variant: {
7
7
  default: 'bg-muted/50 border-border text-foreground',
8
8
  destructive: 'bg-destructive/10 border-destructive/20 text-destructive',
9
- success: 'bg-green-500/10 border-green-500/20 text-green-700 dark:text-green-400',
10
- warning: 'bg-yellow-500/10 border-yellow-500/20 text-yellow-700 dark:text-yellow-400',
9
+ success: 'bg-success/10 border-success/20 text-success',
10
+ warning: 'bg-warning/10 border-warning/20 text-warning',
11
11
  info: 'bg-blue-500/10 border-blue-500/20 text-blue-700 dark:text-blue-400',
12
12
  },
13
13
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refraction-ui/astro",
3
- "version": "0.17.3",
3
+ "version": "0.17.4",
4
4
  "description": "All Refraction UI Astro components in one package",
5
5
  "type": "module",
6
6
  "exports": {