@pimolu/web-styles 0.1.0-beta.3 → 0.1.0-beta.4

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.
@@ -63,6 +63,11 @@
63
63
  color: var(--pimolu-muted-foreground);
64
64
  opacity: 1;
65
65
  }
66
+ .pimolu-input__control:is(:autofill, :-webkit-autofill) {
67
+ -webkit-background-clip: text;
68
+ background-clip: text;
69
+ -webkit-text-fill-color: var(--pimolu-foreground);
70
+ }
66
71
  .pimolu-input__control::-webkit-search-cancel-button,
67
72
  .pimolu-input__control::-webkit-search-decoration {
68
73
  -webkit-appearance: none;
@@ -251,6 +256,11 @@
251
256
  }
252
257
  }
253
258
  @media (forced-colors: active) {
259
+ .pimolu-input__control:is(:autofill, :-webkit-autofill) {
260
+ -webkit-background-clip: border-box;
261
+ background-clip: border-box;
262
+ -webkit-text-fill-color: CanvasText;
263
+ }
254
264
  .pimolu-input__wrapper:focus-within {
255
265
  outline: 2px solid Highlight;
256
266
  outline-offset: 2px;