hexo-design-cards 0.1.3 → 0.1.4
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 +5 -0
- package/package.json +1 -1
- package/tags/compare.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.4] - 2026-03-02
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- Compare: recommended option background color was identical to first normal option (both used c3). Reordered normal option color sequence from [c3,c2,c1,c4] to [c4,c2,c1,c3] so they are visually distinct.
|
|
7
|
+
|
|
3
8
|
## [0.1.3] - 2026-03-02
|
|
4
9
|
|
|
5
10
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hexo-design-cards",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Beautiful design card tags for Hexo — flow diagrams, header cards, accent cards, comparison cards, quotes, alerts, mini cards, and section banners with customizable colorways.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
package/tags/compare.js
CHANGED
|
@@ -21,7 +21,7 @@ module.exports = function(hexo) {
|
|
|
21
21
|
const title = args[0] || '';
|
|
22
22
|
const emoji = args[1] || '';
|
|
23
23
|
const recommended = args.indexOf('recommended') > -1;
|
|
24
|
-
const colors = [cw.
|
|
24
|
+
const colors = [cw.c4, cw.c2, cw.c1, cw.c3];
|
|
25
25
|
const color = recommended ? cw.c3 : colors[optionIndex % colors.length];
|
|
26
26
|
const bg = tint(color, 0.08);
|
|
27
27
|
optionIndex++;
|