@ngcorex/css 0.1.0 → 0.1.2

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 +8 -5
  2. package/package.json +13 -1
package/README.md CHANGED
@@ -17,6 +17,12 @@ It is intended to be used via the ngCorex CLI, not directly in applications.
17
17
  npm install @ngcorex/css
18
18
  ````
19
19
 
20
+ ## Token Source
21
+
22
+ Tokens can be provided either inline via configuration or from an external `tokens.json` file when using the ngCorex CLI.
23
+
24
+ External token files are the **recommended approach** for larger projects, as they keep design tokens portable, auditable, and framework-agnostic.
25
+
20
26
  ## Usage
21
27
 
22
28
  This package is usually consumed internally by the CLI.
@@ -27,11 +33,8 @@ Example:
27
33
  import { defineNgCorexConfig } from '@ngcorex/css';
28
34
 
29
35
  export default defineNgCorexConfig({
30
- tokens: {
31
- spacing: {
32
- 1: 4,
33
- 2: 8
34
- }
36
+ output: {
37
+ file: 'src/styles/ngcorex.css'
35
38
  }
36
39
  });
37
40
  ```
package/package.json CHANGED
@@ -1,7 +1,19 @@
1
1
  {
2
2
  "name": "@ngcorex/css",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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",