@seyuna/postcss 1.0.0-canary.8 → 1.0.0-canary.9
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 +7 -0
- package/dist/at-rules/color.js +2 -2
- package/package.json +1 -1
- package/src/at-rules/color.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.0.0-canary.9](https://github.com/seyuna-corp/seyuna-postcss/compare/v1.0.0-canary.8...v1.0.0-canary.9) (2025-09-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* colors selector in at-rule `each-fixed-color` ([31adb28](https://github.com/seyuna-corp/seyuna-postcss/commit/31adb28f3576a0dcfb78a9aadf331ee4b7ef3e0c))
|
|
7
|
+
|
|
1
8
|
# [1.0.0-canary.8](https://github.com/seyuna-corp/seyuna-postcss/compare/v1.0.0-canary.7...v1.0.0-canary.8) (2025-09-10)
|
|
2
9
|
|
|
3
10
|
|
package/dist/at-rules/color.js
CHANGED
|
@@ -73,8 +73,8 @@ function eachFixedColor(atRule) {
|
|
|
73
73
|
const jsonPath = path_1.default.resolve(process.cwd(), "seyuna.json");
|
|
74
74
|
const fileContents = fs_1.default.readFileSync(jsonPath, "utf-8");
|
|
75
75
|
const data = JSON.parse(fileContents);
|
|
76
|
-
const light_colors = data.ui.theme.light;
|
|
77
|
-
const dark_colors = data.ui.theme.dark;
|
|
76
|
+
const light_colors = data.ui.theme.light.colors;
|
|
77
|
+
const dark_colors = data.ui.theme.dark.colors;
|
|
78
78
|
const lightColorNamesSet = new Set(Object.keys(light_colors));
|
|
79
79
|
const darkColorNamesSet = new Set(Object.keys(dark_colors));
|
|
80
80
|
const mergedColorNamesSet = new Set([
|
package/package.json
CHANGED
package/src/at-rules/color.ts
CHANGED
|
@@ -77,8 +77,8 @@ export function eachFixedColor(atRule: AtRule) {
|
|
|
77
77
|
const jsonPath = path.resolve(process.cwd(), "seyuna.json");
|
|
78
78
|
const fileContents = fs.readFileSync(jsonPath, "utf-8");
|
|
79
79
|
const data: SeyunaConfig = JSON.parse(fileContents);
|
|
80
|
-
const light_colors = data.ui.theme.light;
|
|
81
|
-
const dark_colors = data.ui.theme.dark;
|
|
80
|
+
const light_colors = data.ui.theme.light.colors;
|
|
81
|
+
const dark_colors = data.ui.theme.dark.colors;
|
|
82
82
|
const lightColorNamesSet = new Set(Object.keys(light_colors));
|
|
83
83
|
const darkColorNamesSet = new Set(Object.keys(dark_colors));
|
|
84
84
|
|