lucentia-ui 0.2.5 → 0.2.6

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.
@@ -24,6 +24,7 @@
24
24
  background: var(--color-surface-container);
25
25
  }
26
26
 
27
+
27
28
  .primary {
28
29
  background: var(--color-primary-container);
29
30
  color: var(--color-on-primary-container);
@@ -69,6 +70,7 @@
69
70
  0 0 8px var(--color-secondary);
70
71
  }
71
72
 
73
+
72
74
  .danger {
73
75
  background: var(--color-error-container);
74
76
  color: var(--color-on-error-container);
@@ -88,6 +90,10 @@
88
90
  0 0 8px var(--color-error);
89
91
  }
90
92
 
93
+ .md.danger:active:not(:disabled) {
94
+ box-shadow: none;
95
+ }
96
+
91
97
 
92
98
  /* ===== Size ===== */
93
99
 
@@ -109,7 +115,6 @@
109
115
  .md.button:active:not(:disabled),
110
116
  .button[data-state="pressed"] {
111
117
  box-shadow: none;
112
- background: var(--color-surface-container);
113
118
  }
114
119
 
115
120
  .button:focus-visible {
@@ -36,7 +36,7 @@ export const State = {
36
36
  flexDirection: "column",
37
37
  alignItems: "flex-start",
38
38
  gap: 32,
39
- }, children: [_jsx(Button, { variant: "ghost", children: "Default" }), _jsx(Button, { variant: "ghost", "data-state": "pressed", children: "Pressed" }), _jsx(Button, { variant: "ghost", disabled: true, children: "Disabled" })] })),
39
+ }, children: [_jsx(Button, { variant: "ghost", children: "Default" }), _jsx(Button, { variant: "ghost", style: { background: "var(--color-surface-container)" }, "data-state": "pressed", children: "Pressed" }), _jsx(Button, { variant: "ghost", disabled: true, children: "Disabled" })] })),
40
40
  };
41
41
  export const Variants = {
42
42
  render: () => (_jsxs("div", { style: {
@@ -2,7 +2,7 @@
2
2
  font-family: var(--font);
3
3
  padding: var(--space-md) var(--space-lg);
4
4
  border-radius: var(--radius-sm);
5
- border: 2px solid var(--color-surface);
5
+ border: 2px solid var(--color-background);
6
6
  outline: none;
7
7
  background: var(--color-surface-container);
8
8
  color: var(--color-on-surface);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucentia-ui",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "React UI design token and component system based on neumorphism, featuring two color themes: light and dark.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",