Skip to content

Commit 9181bf9

Browse files
committed
v0.3.2
1 parent b780bba commit 9181bf9

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ React Zero-UI uses a hyper-optimized AST resolver in development that scans your
6969
npx create-zero-ui
7070
```
7171

72-
> For manual configuration, see [Next JS Installation](/docs/installation-next.md)
73-
> [Vite Installation](/docs/installation-vite.md)
72+
> For manual configuration, see [Next JS Installation](/docs/installation-next.md) | [Vite Installation](/docs/installation-vite.md)
7473
7574
**That's it.** Start your app and see the magic.
7675

@@ -137,11 +136,13 @@ const [theme, setTheme] = useScopedUI("theme", "dark");
137136

138137
Sometimes CSS variables are more efficient. React Zero-UI makes it trivial by passing the `CssVar` option:
139138

140-
```tsx
141-
useUI(<cssVariable>, <defaultValue>, CssVar); // ❗️Pass CssVar to either hook to use CSS variables
142-
```
139+
```diff
140+
+ Pass `CssVar` to either hook to use CSS variables
143141

144-
<small>automatically adds `--` to the cssVariable</small>
142+
useUI(<cssVariable>, <defaultValue>, CssVar);
143+
144+
```
145+
<small>automatically adds `--` to the Css Variable</small>
145146

146147
**Global CSS Variable:**
147148

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-zero-ui/core",
3-
"version": "0.3.1-beta.2",
3+
"version": "0.3.2",
44
"private": false,
55
"description": "Ultra-fast React UI state library with zero runtime, zero re-renders, Tailwind variant support, and automatic data-attribute/css-vars based styling. Replace context, prop drilling, and global stores with build-time magic.",
66
"keywords": [
@@ -118,4 +118,4 @@
118118
"engines": {
119119
"node": ">=18.0.0"
120120
}
121-
}
121+
}

0 commit comments

Comments
 (0)