@ngcorex/css 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +10 -5
  2. package/package.json +21 -2
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @ngcorex/css
2
2
 
3
+ ![NPM Version](https://img.shields.io/npm/v/%40ngcorex%2Fcss?style=flat-square&logo=npm&labelColor=%23D50100&color=%23000) ![NPM License](https://img.shields.io/npm/l/%40ngcorex%2Fcss?style=flat-square) ![Static Badge](https://img.shields.io/badge/Github-Repo-blue?style=flat-square&logo=github) ![NPM Downloads](https://img.shields.io/npm/dm/%40ngcorex%2Fcss?style=flat-square&logo=npm&logoColor=%23ffffff&labelColor=%23D50100&color=%23000)
4
+
3
5
  Core engine for **ngCorex**.
4
6
 
5
7
  This package provides:
@@ -17,6 +19,12 @@ It is intended to be used via the ngCorex CLI, not directly in applications.
17
19
  npm install @ngcorex/css
18
20
  ````
19
21
 
22
+ ## Token Source
23
+
24
+ Tokens can be provided either inline via configuration or from an external `tokens.json` file when using the ngCorex CLI.
25
+
26
+ External token files are the **recommended approach** for larger projects, as they keep design tokens portable, auditable, and framework-agnostic.
27
+
20
28
  ## Usage
21
29
 
22
30
  This package is usually consumed internally by the CLI.
@@ -27,11 +35,8 @@ Example:
27
35
  import { defineNgCorexConfig } from '@ngcorex/css';
28
36
 
29
37
  export default defineNgCorexConfig({
30
- tokens: {
31
- spacing: {
32
- 1: 4,
33
- 2: 8
34
- }
38
+ output: {
39
+ file: 'src/styles/ngcorex.css'
35
40
  }
36
41
  });
37
42
  ```
package/package.json CHANGED
@@ -1,7 +1,19 @@
1
1
  {
2
2
  "name": "@ngcorex/css",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "Angular-native design token and utility CSS engine",
5
+ "keywords": [
6
+ "design-tokens",
7
+ "css-variables",
8
+ "css-engine",
9
+ "utility-css",
10
+ "build-time-css",
11
+ "token-engine",
12
+ "theming",
13
+ "enterprise-css",
14
+ "typescript",
15
+ "ngcorex"
16
+ ],
5
17
  "license": "MIT",
6
18
  "type": "module",
7
19
  "main": "dist/index.js",
@@ -19,5 +31,12 @@
19
31
  ],
20
32
  "scripts": {
21
33
  "build": "tsc -p tsconfig.json"
22
- }
34
+ },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/arkdezin/ngCorex.git",
38
+ "directory": "packages/css"
39
+ },
40
+
41
+ "homepage": "https://github.com/arkdezin/ngCorex"
23
42
  }