@animus-ui/core 0.1.0-next.18 → 0.1.0-next.23
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.
- package/CLAUDE.md +2 -5
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -29,11 +29,8 @@ This order defines cascade priority. Later stages override earlier. The chain ma
|
|
|
29
29
|
## Responsive Syntax
|
|
30
30
|
|
|
31
31
|
```tsx
|
|
32
|
-
//
|
|
33
|
-
p={[8, 12, , 16]}
|
|
34
|
-
|
|
35
|
-
// Object: named breakpoints
|
|
32
|
+
// Object: named breakpoints (keys come from createTheme breakpoints config)
|
|
36
33
|
p={{ _: 8, sm: 16 }}
|
|
37
34
|
```
|
|
38
35
|
|
|
39
|
-
|
|
36
|
+
The `_` key is the default (no media query). Named keys generate `@media` queries. Available in `.styles()`, `.variant()`, `.states()`, and component props. Breakpoint keys are user-defined via `createTheme({ breakpoints: {...} })` — types contract to exactly the configured keys.
|