hextimator 0.14.1 → 0.14.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.14.2
2
+
3
+ ### Patch Changes
4
+
5
+ - [#180](https://github.com/fgrgic/hextimator/pull/180) [`4783af1`](https://github.com/fgrgic/hextimator/commit/4783af1270f6e8104a7fb8b902caf4410276cf27) Thanks [@fgrgic](https://github.com/fgrgic)! - Adds missing foreground-weak variant to llms.txt
6
+
1
7
  ## 0.14.1
2
8
 
3
9
  ### Patch Changes
package/llms.txt CHANGED
@@ -82,7 +82,7 @@ const sheet = hextimate("#6366f1").format({ as: "css", colors: "oklch" });
82
82
  |------|------|
83
83
  | `.preset(p)` | Apply preset(s); call multiple times, later wins on conflicts |
84
84
  | `.style(partial)` | Merge `HextimateStyleOptions` (contrast, surfaces, semantics, etc.) |
85
- | `.addRole(name, color)` | New role with default / strong / weak / foreground |
85
+ | `.addRole(name, color)` | New role with default / strong / weak / foreground / foreground-weak |
86
86
  | `.addVariant(name, placement)` | Extra lightness step on every role |
87
87
  | `.addToken(name, value)` | Standalone derived token |
88
88
  | `.fork(color?)` | Clone for another brand / tenant |
@@ -104,7 +104,7 @@ const sheet = hextimate("#6366f1").format({ as: "css", colors: "oklch" });
104
104
 
105
105
  ### Default token grid
106
106
 
107
- Roles: `surface`, `accent`, `positive`, `negative`, `caution`. Variants: default (no suffix), `strong`, `weak`, `foreground`. Plus `brand-exact` and `brand-exact-foreground`.
107
+ Roles: `surface`, `accent`, `positive`, `negative`, `caution`. Variants: default (no suffix), `strong`, `weak`, `foreground`, `foreground-weak` (softest text that still meets the contrast target vs DEFAULT). Plus `brand-exact` and `brand-exact-foreground`.
108
108
 
109
109
  ### Utilities
110
110
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hextimator",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "Runtime theming for multi-tenant apps.",
5
5
  "keywords": [
6
6
  "color-palette",