@onereach/styles 2.9.9-next.757.0 → 2.9.9-next.758.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/styles",
3
- "version": "2.9.9-next.757.0",
3
+ "version": "2.9.9-next.758.0",
4
4
  "description": "Styles for or-ui-next",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./main.css",
@@ -169,7 +169,7 @@
169
169
  "value" : "rgba(0,0,0,1)"
170
170
  },
171
171
  {
172
- "name" : "light-disabled",
172
+ "name" : "light-on-disabled",
173
173
  "value" : "rgba(27,27,29,0.3)"
174
174
  },
175
175
  {
@@ -345,7 +345,7 @@
345
345
  "value" : "rgba(0,0,0,1)"
346
346
  },
347
347
  {
348
- "name" : "dark-disabled",
348
+ "name" : "dark-on-disabled",
349
349
  "value" : "rgba(227,226,230,0.3)"
350
350
  },
351
351
  {
@@ -415,6 +415,14 @@
415
415
  {
416
416
  "name" : "dark-error-opacity-0-16",
417
417
  "value" : "rgba(255,180,169,0.16)"
418
+ },
419
+ {
420
+ "name" : "light-disabled",
421
+ "value" : "rgba(27,27,29,0.12)"
422
+ },
423
+ {
424
+ "name" : "dark-disabled",
425
+ "value" : "rgba(227,226,230,0.12)"
418
426
  }
419
427
  ],
420
428
  "Gradients" : [
package/tailwind-utils.js CHANGED
@@ -16,7 +16,6 @@ module.exports = {
16
16
  const isBackground = (name) => /\b(?:container|background|surface)\b/.test(name) && !isText(name);
17
17
  const isText = (name) => /\b(?:on)\b/.test(name);
18
18
  const isShadow = (name) => /\b(?:shadow)\b/.test(name);
19
- const isOpacity = (name) => /\b(?:opacity)\b/.test(name);
20
19
 
21
20
  const defineColorGroup = (name) => {
22
21
  switch (true) {
@@ -27,7 +26,6 @@ module.exports = {
27
26
  return 'text';
28
27
 
29
28
  case isShadow(name):
30
- case isOpacity(name):
31
29
  return null;
32
30
 
33
31
  default:
@@ -27,8 +27,9 @@ module.exports = {
27
27
  backgroundColor: parseColorTokens(colorTokens, ['generic', 'background']),
28
28
  textColor: parseColorTokens(colorTokens, ['generic', 'text']),
29
29
  borderColor: parseColorTokens(colorTokens, ['generic']),
30
+ outlineColor: parseColorTokens(colorTokens, ['generic']),
30
31
 
31
- // SVG Colors
32
+ // SVG Palette
32
33
  fill: parseColorTokens(colorTokens, ['generic', 'background', 'text']),
33
34
  stroke: parseColorTokens(colorTokens, ['generic', 'background', 'text']),
34
35