infinity-ui-elements 1.6.3 → 1.6.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/dist/index.js CHANGED
@@ -47,10 +47,14 @@ const CUSTOM_CLASS_PATTERNS = [
47
47
  /^text-color-/,
48
48
  /^outline-width-/,
49
49
  /^border-width-/,
50
- // Custom spacing classes (example)
51
- // /^spacing-(xs|sm|md|lg|xl)$/,
52
- // Custom color classes (example)
53
- // /^color-(primary|secondary|accent)$/,
50
+ // Custom primitive color utilities (bg-*, text-*, border-*)
51
+ /^bg-(blue-night|teal|sun|wine|ripple|grove|brick|ember|horizon|neutral)-/,
52
+ /^text-(blue-night|teal|sun|wine|ripple|grove|brick|ember|horizon|neutral)-/,
53
+ /^border-(blue-night|teal|sun|wine|ripple|grove|brick|ember|horizon|neutral)-/,
54
+ // Custom semantic color utilities
55
+ /^bg-(surface|action|feedback|avatar)-/,
56
+ /^text-(surface|action|feedback|avatar)-/,
57
+ /^border-(surface|action)-/,
54
58
  // Any class that starts with 'custom-'
55
59
  /^custom-/,
56
60
  ];