@sanity/ui 4.0.0-static.38 → 4.0.0-static.39

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": "@sanity/ui",
3
- "version": "4.0.0-static.38",
3
+ "version": "4.0.0-static.39",
4
4
  "keywords": [
5
5
  "react",
6
6
  "ui",
@@ -56,7 +56,6 @@ export const element: string = _style(layers.primitives, {
56
56
  [`${root}:not([data-invalid]) &`]: {
57
57
  vars: {
58
58
  [vars.color.input.text.fg]: vars.color.tinted.default.fg[2],
59
- [vars.color.input.text.placeholder]: vars.color.tinted.default.border[4],
60
59
  },
61
60
  },
62
61
 
@@ -75,14 +74,12 @@ export const element: string = _style(layers.primitives, {
75
74
  [`${root}:not([data-invalid]) &:disabled`]: {
76
75
  vars: {
77
76
  [vars.color.input.text.fg]: vars.color.tinted.default.border[4],
78
- [vars.color.input.text.placeholder]: vars.color.tinted.default.border[1],
79
77
  },
80
78
  },
81
79
 
82
80
  [`${root}[data-invalid] &`]: {
83
81
  vars: {
84
82
  [vars.color.input.text.fg]: vars.color.tinted.critical.fg[2],
85
- [vars.color.input.text.placeholder]: vars.color.tinted.critical.border[2],
86
83
  },
87
84
  },
88
85
 
@@ -101,10 +98,14 @@ export const element: string = _style(layers.primitives, {
101
98
  [`${root}[data-invalid] &:disabled`]: {
102
99
  vars: {
103
100
  [vars.color.input.text.fg]: vars.color.tinted.critical.border[4],
104
- [vars.color.input.text.placeholder]: vars.color.tinted.critical.border[2],
105
101
  },
106
102
  },
107
103
  },
104
+
105
+ vars: {
106
+ [vars.color.input.text.placeholder]:
107
+ `color-mix(in srgb, transparent, ${vars.color.input.text.fg} 50%)`,
108
+ },
108
109
  })
109
110
 
110
111
  export const presentation: string = _style(layers.primitives, {