hextimator 0.10.2 → 0.11.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/CHANGELOG.md +12 -0
- package/dist/{chunk-64DBUA5U.js → chunk-TF34PRUI.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 0.11.0
|
|
2
|
+
|
|
3
|
+
### Minor Changes
|
|
4
|
+
|
|
5
|
+
- [#142](https://github.com/fgrgic/hextimator/pull/142) [`95875bf`](https://github.com/fgrgic/hextimator/commit/95875bf4889c2120626cad00cfe54c6ea8f6b9dc) Thanks [@fgrgic](https://github.com/fgrgic)! - Widens the default POSITIVE_RANGE to be [120, 180].
|
|
6
|
+
|
|
7
|
+
The previous range was to limiting so you could get an accent color that is green, and a positive color that is a whole other green that doesn't match.
|
|
8
|
+
|
|
9
|
+
Technically it changes the algorithm so it's a breaking change, but it's a minor change that should improve the color generation algorithm.
|
|
10
|
+
|
|
11
|
+
If you find your themes look worse, limit your positive range to the previous [120, 160].
|
|
12
|
+
|
|
1
13
|
## 0.10.2
|
|
2
14
|
|
|
3
15
|
### Patch Changes
|
|
@@ -1526,7 +1526,7 @@ function generateAccent(accent, themeType, options) {
|
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
1528
|
// src/generate/generateSemanticColors.ts
|
|
1529
|
-
var POSITIVE_RANGE = [120,
|
|
1529
|
+
var POSITIVE_RANGE = [120, 180];
|
|
1530
1530
|
var NEGATIVE_RANGE = [5, 30];
|
|
1531
1531
|
var CAUTION_RANGE = [45, 70];
|
|
1532
1532
|
function generateSemanticColors(color, themeType, options) {
|
package/dist/cli.js
CHANGED
|
@@ -1534,7 +1534,7 @@ function generateAccent(accent, themeType, options) {
|
|
|
1534
1534
|
}
|
|
1535
1535
|
|
|
1536
1536
|
// src/generate/generateSemanticColors.ts
|
|
1537
|
-
var POSITIVE_RANGE = [120,
|
|
1537
|
+
var POSITIVE_RANGE = [120, 180];
|
|
1538
1538
|
var NEGATIVE_RANGE = [5, 30];
|
|
1539
1539
|
var CAUTION_RANGE = [45, 70];
|
|
1540
1540
|
function generateSemanticColors(color, themeType, options) {
|
package/dist/index.js
CHANGED
package/dist/react.js
CHANGED
package/package.json
CHANGED