@seyuna/postcss 1.0.0-canary.2 → 1.0.0-canary.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 CHANGED
@@ -1,3 +1,10 @@
1
+ # [1.0.0-canary.3](https://github.com/seyuna-corp/seyuna-postcss/compare/v1.0.0-canary.2...v1.0.0-canary.3) (2025-08-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * prioritized data-mode over prefers-color-scheme for [@dark](https://github.com/dark) & [@light](https://github.com/light) rules ([1dafbe7](https://github.com/seyuna-corp/seyuna-postcss/commit/1dafbe74c2ceae8faf28f55ac64846e9e752405b))
7
+
1
8
  # [1.0.0-canary.2](https://github.com/seyuna-corp/seyuna-postcss/compare/v1.0.0-canary.1...v1.0.0-canary.2) (2025-08-08)
2
9
 
3
10
 
@@ -24,5 +24,5 @@ function dark(atRule) {
24
24
  clonedNodes.forEach((node) => mediaRule.append(node.clone()));
25
25
  mediaAtRule.append(mediaRule);
26
26
  // Replace original @dark rule with both new rules
27
- atRule.replaceWith(dataAttrRule, mediaAtRule);
27
+ atRule.replaceWith(mediaAtRule, dataAttrRule);
28
28
  }
@@ -24,5 +24,5 @@ function light(atRule) {
24
24
  clonedNodes.forEach((node) => mediaRule.append(node.clone()));
25
25
  mediaAtRule.append(mediaRule);
26
26
  // Replace original @light rule with both new rules
27
- atRule.replaceWith(dataAttrRule, mediaAtRule);
27
+ atRule.replaceWith(mediaAtRule, dataAttrRule);
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seyuna/postcss",
3
- "version": "1.0.0-canary.2",
3
+ "version": "1.0.0-canary.3",
4
4
  "description": "Seyuna UI's postcss plugin",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,5 +29,5 @@ export default function dark(atRule: AtRule) {
29
29
  mediaAtRule.append(mediaRule);
30
30
 
31
31
  // Replace original @dark rule with both new rules
32
- atRule.replaceWith(dataAttrRule, mediaAtRule);
32
+ atRule.replaceWith(mediaAtRule, dataAttrRule);
33
33
  }
@@ -29,5 +29,5 @@ export default function light(atRule: AtRule) {
29
29
  mediaAtRule.append(mediaRule);
30
30
 
31
31
  // Replace original @light rule with both new rules
32
- atRule.replaceWith(dataAttrRule, mediaAtRule);
32
+ atRule.replaceWith(mediaAtRule, dataAttrRule);
33
33
  }