hextimator 0.12.2 → 0.12.3
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/CHANGELOG.md +6 -0
- package/README.md +5 -1
- package/dist/{chunk-SG5HNU7M.js → chunk-KSUQW6CV.js} +1 -4
- package/dist/cli.js +1 -4
- package/dist/index.js +1 -1
- package/dist/react.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 0.12.3
|
|
2
|
+
|
|
3
|
+
### Patch Changes
|
|
4
|
+
|
|
5
|
+
- [#164](https://github.com/fgrgic/hextimator/pull/164) [`4c4974e`](https://github.com/fgrgic/hextimator/commit/4c4974edaf14f3d75ad35cd84db48890d44dc2c4) Thanks [@fgrgic](https://github.com/fgrgic)! - docs: update README gif
|
|
6
|
+
|
|
1
7
|
## 0.12.2
|
|
2
8
|
|
|
3
9
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# hextimator
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<img src="https://github.com/fgrgic/hextimator/blob/main/packages/hextimator/docs/assets/gh-cover.
|
|
4
|
+
<img src="https://github.com/fgrgic/hextimator/blob/main/packages/hextimator/docs/assets/gh-cover.webp?raw=true" alt="hextimator" width="100%">
|
|
5
5
|
</p>
|
|
6
6
|
<p>
|
|
7
7
|
<a href="https://www.npmjs.com/package/hextimator"><img src="https://img.shields.io/npm/v/hextimator" alt="npm version"></a>
|
|
@@ -22,6 +22,10 @@ Try it: **[hextimator.com](https://hextimator.com)**
|
|
|
22
22
|
|
|
23
23
|
## Why `hextimator` exists
|
|
24
24
|
|
|
25
|
+
<p align="center">
|
|
26
|
+
<video src="https://github.com/user-attachments/assets/245f0728-38e3-425a-8d0c-87bff6f48b0f" width="100%" controls playsinline></video>
|
|
27
|
+
</p>
|
|
28
|
+
|
|
25
29
|
You ship a B2B, B2B2C, or white-label app. Every tenant brings a brand color. Your choices today:
|
|
26
30
|
|
|
27
31
|
- **Let them pick any hex.** Legal-pad yellow buttons become unreadable. Cheeto tangerine toasts look like your warning state.
|
|
@@ -2179,10 +2179,7 @@ var HextimatePaletteBuilder = class _HextimatePaletteBuilder {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
scale[name] = {
|
|
2181
2181
|
...anchor,
|
|
2182
|
-
l: Math.max(
|
|
2183
|
-
0,
|
|
2184
|
-
Math.min(1, anchor.l + emphasis * contrastDirection)
|
|
2185
|
-
),
|
|
2182
|
+
l: Math.max(0, Math.min(1, anchor.l + emphasis * contrastDirection)),
|
|
2186
2183
|
c: Math.max(0, anchor.c + chromaOffset),
|
|
2187
2184
|
h: wrapHue(anchor.h + hueOffset)
|
|
2188
2185
|
};
|
package/dist/cli.js
CHANGED
|
@@ -2187,10 +2187,7 @@ var HextimatePaletteBuilder = class _HextimatePaletteBuilder {
|
|
|
2187
2187
|
}
|
|
2188
2188
|
scale[name] = {
|
|
2189
2189
|
...anchor,
|
|
2190
|
-
l: Math.max(
|
|
2191
|
-
0,
|
|
2192
|
-
Math.min(1, anchor.l + emphasis * contrastDirection)
|
|
2193
|
-
),
|
|
2190
|
+
l: Math.max(0, Math.min(1, anchor.l + emphasis * contrastDirection)),
|
|
2194
2191
|
c: Math.max(0, anchor.c + chromaOffset),
|
|
2195
2192
|
h: wrapHue(anchor.h + hueOffset)
|
|
2196
2193
|
};
|
package/dist/index.js
CHANGED
package/dist/react.js
CHANGED