@nxds/core 0.11.0 → 0.13.0

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/README.md CHANGED
@@ -71,6 +71,15 @@ import { createTokenCatalogue } from '@nxds/core/catalogue';
71
71
  const tokens = createTokenCatalogue();
72
72
  ```
73
73
 
74
+ Pass an appearance to read the tokens at that appearance. Colours and type sizes follow it.
75
+
76
+ ```ts
77
+ const rose = createTokenCatalogue({
78
+ ...DEFAULT_NXDS_APPEARANCE,
79
+ brandColor: '#e11d48',
80
+ });
81
+ ```
82
+
74
83
  ## Non-React Shell Example
75
84
 
76
85
  Use the engine directly when a host shell owns DOM or native styling.