@inc/uchu 2.0.1 → 2.1.0
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/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,8 +9,8 @@ No, [I will not add other color spaces](./documentation/FAQ.md#normal-colors).
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
bun add uchu
|
|
13
|
-
# or: npm install uchu / pnpm add uchu / yarn add uchu
|
|
12
|
+
bun add @inc/uchu
|
|
13
|
+
# or: npm install @inc/uchu / pnpm add @inc/uchu / yarn add @inc/uchu
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@ bun add uchu
|
|
|
20
20
|
### JavaScript / TypeScript
|
|
21
21
|
|
|
22
22
|
```ts
|
|
23
|
-
import { color, palette, reduced, yang } from "uchu";
|
|
23
|
+
import { color, palette, reduced, yang } from "@inc/uchu";
|
|
24
24
|
|
|
25
25
|
palette.blue[5]; // "oklch(54.87% 0.222 260.33)"
|
|
26
26
|
color("red", 7); // "oklch(49.95% 0.195 18.34)"
|
|
@@ -35,7 +35,7 @@ Types `Hue` and `Shade` are exported for narrowing palette keys.
|
|
|
35
35
|
Drop the stylesheet in and use the CSS custom properties:
|
|
36
36
|
|
|
37
37
|
```ts
|
|
38
|
-
import "uchu/css";
|
|
38
|
+
import "@inc/uchu/css";
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
```css
|
|
@@ -49,7 +49,7 @@ body {
|
|
|
49
49
|
### Sass / SCSS
|
|
50
50
|
|
|
51
51
|
```scss
|
|
52
|
-
@use "uchu/scss" as *;
|
|
52
|
+
@use "@inc/uchu/scss" as *;
|
|
53
53
|
|
|
54
54
|
body {
|
|
55
55
|
background-color: $uchu-yang;
|
package/package.json
CHANGED