@seyuna/postcss 1.0.0-canary.4 → 1.0.0-canary.5

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.5](https://github.com/seyuna-corp/seyuna-postcss/compare/v1.0.0-canary.4...v1.0.0-canary.5) (2025-08-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * changed color function name to sc to avoid conflicts with the default css color() function ([a46e96c](https://github.com/seyuna-corp/seyuna-postcss/commit/a46e96c74839f930d39a2c273c822a689a942783))
7
+
1
8
  # [1.0.0-canary.4](https://github.com/seyuna-corp/seyuna-postcss/compare/v1.0.0-canary.3...v1.0.0-canary.4) (2025-08-24)
2
9
 
3
10
 
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.functions = void 0;
7
- const color_1 = __importDefault(require("./color"));
7
+ const sc_1 = __importDefault(require("./sc"));
8
8
  const spacing_1 = __importDefault(require("./spacing"));
9
9
  exports.functions = {
10
- color: color_1.default,
10
+ sc: sc_1.default,
11
11
  spacing: spacing_1.default,
12
12
  };
@@ -0,0 +1 @@
1
+ export default function sc(name: string, alpha?: string, lightness?: string, chroma?: string): string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = color;
4
- function color(name, alpha, lightness, chroma) {
3
+ exports.default = sc;
4
+ function sc(name, alpha, lightness, chroma) {
5
5
  let a = "1";
6
6
  let l = "var(--lightness)";
7
7
  let c = "var(--chroma)";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seyuna/postcss",
3
- "version": "1.0.0-canary.4",
3
+ "version": "1.0.0-canary.5",
4
4
  "description": "Seyuna UI's postcss plugin",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,9 +1,9 @@
1
- import color from "./color";
1
+ import sc from "./sc";
2
2
  import spacing from "./spacing";
3
3
 
4
4
  export type FnHandler = (...args: string[]) => string;
5
5
 
6
6
  export const functions: Record<string, FnHandler> = {
7
- color,
7
+ sc,
8
8
  spacing,
9
9
  };
@@ -1,4 +1,4 @@
1
- export default function color(
1
+ export default function sc(
2
2
  name: string,
3
3
  alpha?: string,
4
4
  lightness?: string,
@@ -1 +0,0 @@
1
- export default function color(name: string, alpha?: string, lightness?: string, chroma?: string): string;