@bouko/react 0.4.4 → 0.4.5

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.
@@ -4,12 +4,12 @@ export function Button({ variant, style, ...props }) {
4
4
  return (_jsx("button", { className: cn(styles({ variant }), style), ...props }));
5
5
  }
6
6
  const styles = tv({
7
- base: "px-4 py-2 bg-accent hover:bg-accent-dark border border-accent-dark rounded font-semibold text-primary duration-200 cursor-pointer",
7
+ base: "px-4 py-2 bg-accent hover:bg-accent-dark border border-accent-dark rounded font-semibold text-background-light duration-200 cursor-pointer",
8
8
  variants: {
9
9
  variant: {
10
- primary: "bg-primary hover:bg-primary-dark border-primary-dark text-background",
11
- outline: "!bg-transparent border-2 border-accent hover:border-accent-dark",
12
- ghost: "bg-transparent border-transparent"
10
+ primary: "bg-primary hover:bg-primary-dark border-primary-dark",
11
+ outline: "!bg-transparent border-2 border-accent hover:border-accent-dark text-primary",
12
+ ghost: "bg-transparent hover:bg-primary border-transparent hover:border-primary-dark text-primary hover:text-background-light"
13
13
  },
14
14
  size: {
15
15
  sm: "px-3 py-1 text-sm",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
 
3
3
  "name": "@bouko/react",
4
- "version": "0.4.4",
4
+ "version": "0.4.5",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "MIT",