diff --git a/.changeset/young-bikes-kneel.md b/.changeset/young-bikes-kneel.md new file mode 100644 index 00000000000..25215d87751 --- /dev/null +++ b/.changeset/young-bikes-kneel.md @@ -0,0 +1,6 @@ +--- +"@primer/react": patch +--- + +Fix `placeholder` selector for form components + diff --git a/.playwright/snapshots/components/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-dark-high-contrast-linux.png b/.playwright/snapshots/components/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-dark-high-contrast-linux.png index 16f6cb29936..dfcda947bf5 100644 Binary files a/.playwright/snapshots/components/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-dark-high-contrast-linux.png and b/.playwright/snapshots/components/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-dark-high-contrast-linux.png differ diff --git a/.playwright/snapshots/components/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-light-high-contrast-linux.png b/.playwright/snapshots/components/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-light-high-contrast-linux.png index d66b5435955..27e38c7e513 100644 Binary files a/.playwright/snapshots/components/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-light-high-contrast-linux.png and b/.playwright/snapshots/components/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-light-high-contrast-linux.png differ diff --git a/.playwright/snapshots/components/drafts/SelectPanel.test.ts-snapshots/drafts-SelectPanel-Default-dark-high-contrast-linux.png b/.playwright/snapshots/components/drafts/SelectPanel.test.ts-snapshots/drafts-SelectPanel-Default-dark-high-contrast-linux.png index 823c43d946e..a686facaa55 100644 Binary files a/.playwright/snapshots/components/drafts/SelectPanel.test.ts-snapshots/drafts-SelectPanel-Default-dark-high-contrast-linux.png and b/.playwright/snapshots/components/drafts/SelectPanel.test.ts-snapshots/drafts-SelectPanel-Default-dark-high-contrast-linux.png differ diff --git a/.playwright/snapshots/components/drafts/SelectPanel.test.ts-snapshots/drafts-SelectPanel-Default-light-high-contrast-linux.png b/.playwright/snapshots/components/drafts/SelectPanel.test.ts-snapshots/drafts-SelectPanel-Default-light-high-contrast-linux.png index 879ebfdc3b0..1823861e7ab 100644 Binary files a/.playwright/snapshots/components/drafts/SelectPanel.test.ts-snapshots/drafts-SelectPanel-Default-light-high-contrast-linux.png and b/.playwright/snapshots/components/drafts/SelectPanel.test.ts-snapshots/drafts-SelectPanel-Default-light-high-contrast-linux.png differ diff --git a/packages/react/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap b/packages/react/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap index 147764080bd..7a4ddd1cda2 100644 --- a/packages/react/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap +++ b/packages/react/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap @@ -33,20 +33,28 @@ exports[`snapshots renders a custom empty state message 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -200,20 +208,28 @@ exports[`snapshots renders a loading state 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -402,20 +418,28 @@ exports[`snapshots renders a menu that contains an item to add to the menu 1`] = cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -1194,20 +1218,28 @@ exports[`snapshots renders a multiselect input 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -1872,20 +1904,28 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -2701,20 +2741,28 @@ exports[`snapshots renders a single select input 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -3731,20 +3779,28 @@ exports[`snapshots renders with an input value 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { diff --git a/packages/react/src/__tests__/__snapshots__/TextInput.test.tsx.snap b/packages/react/src/__tests__/__snapshots__/TextInput.test.tsx.snap index 543d4263c15..e4fac86e3b1 100644 --- a/packages/react/src/__tests__/__snapshots__/TextInput.test.tsx.snap +++ b/packages/react/src/__tests__/__snapshots__/TextInput.test.tsx.snap @@ -32,20 +32,28 @@ exports[`TextInput renders 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -162,20 +170,28 @@ exports[`TextInput renders block 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -285,20 +301,28 @@ exports[`TextInput renders contrast 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -408,20 +432,28 @@ exports[`TextInput renders error 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -542,20 +574,28 @@ exports[`TextInput renders large 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -665,20 +705,28 @@ exports[`TextInput renders leadingVisual 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -814,20 +862,28 @@ exports[`TextInput renders leadingVisual 2`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -963,20 +1019,28 @@ exports[`TextInput renders leadingVisual 3`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -1093,20 +1157,28 @@ exports[`TextInput renders leadingVisual 4`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -1224,20 +1296,28 @@ exports[`TextInput renders monospace 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -1346,20 +1426,28 @@ exports[`TextInput renders placeholder 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -1477,20 +1565,28 @@ exports[`TextInput renders small 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -1855,20 +1951,28 @@ exports[`TextInput renders trailingAction icon button 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0 > textarea { @@ -2519,20 +2623,28 @@ exports[`TextInput renders trailingAction text button 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0 > textarea { @@ -2938,20 +3050,28 @@ exports[`TextInput renders trailingAction text button with a tooltip 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0 > textarea { @@ -3330,20 +3450,28 @@ exports[`TextInput renders trailingVisual 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -3479,20 +3607,28 @@ exports[`TextInput renders trailingVisual 2`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -3628,20 +3764,28 @@ exports[`TextInput renders trailingVisual 3`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -3758,20 +3902,28 @@ exports[`TextInput renders trailingVisual 4`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -3903,20 +4055,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -4087,20 +4247,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -4303,20 +4471,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -4496,20 +4672,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -4758,20 +4942,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -5020,20 +5212,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -5276,20 +5476,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -5500,20 +5708,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -5756,20 +5972,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -5997,20 +6221,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -6300,20 +6532,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -6608,20 +6848,28 @@ exports[`TextInput renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -6877,20 +7125,28 @@ exports[`TextInput should render a password input 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { diff --git a/packages/react/src/__tests__/__snapshots__/TextInputWithTokens.test.tsx.snap b/packages/react/src/__tests__/__snapshots__/TextInputWithTokens.test.tsx.snap index 43bbe17060e..ebe3cde7c47 100644 --- a/packages/react/src/__tests__/__snapshots__/TextInputWithTokens.test.tsx.snap +++ b/packages/react/src/__tests__/__snapshots__/TextInputWithTokens.test.tsx.snap @@ -87,20 +87,28 @@ exports[`TextInputWithTokens renders a leadingVisual and trailingVisual 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -868,20 +876,28 @@ exports[`TextInputWithTokens renders a truncated set of tokens 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -1294,20 +1310,28 @@ exports[`TextInputWithTokens renders as block layout 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -1491,20 +1515,28 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -2224,20 +2256,28 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -2953,20 +2993,28 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -3675,20 +3723,28 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -4401,20 +4457,28 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -5130,20 +5194,28 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`] cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -5855,20 +5927,28 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -6304,20 +6384,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -7087,20 +7175,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -7902,20 +7998,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -8694,20 +8798,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -9555,20 +9667,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -10416,20 +10536,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -11271,20 +11399,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -12094,20 +12230,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -12949,20 +13093,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -13788,20 +13940,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -14687,20 +14847,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -15588,20 +15756,28 @@ exports[`TextInputWithTokens renders with a loading indicator 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -16453,20 +16629,28 @@ exports[`TextInputWithTokens renders with tokens 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -17164,20 +17348,28 @@ exports[`TextInputWithTokens renders with tokens using a custom token component cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { @@ -17847,20 +18039,28 @@ exports[`TextInputWithTokens renders without tokens 1`] = ` cursor: pointer; } -.c0::-webkit-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-webkit-input-placeholder, +.c0 textarea::-webkit-input-placeholder, +.c0 select::-webkit-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::-moz-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::-moz-placeholder, +.c0 textarea::-moz-placeholder, +.c0 select::-moz-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0:-ms-input-placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input:-ms-input-placeholder, +.c0 textarea:-ms-input-placeholder, +.c0 select:-ms-input-placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } -.c0::placeholder { - color: var(--fgColor-muted,var(--color-fg-subtle,#6e7781)); +.c0 input::placeholder, +.c0 textarea::placeholder, +.c0 select::placeholder { + color: var(---control-fgColor-placeholder,var(--fgColor-muted,var(--color-fg-muted,#656d76))); } .c0:focus-within { diff --git a/packages/react/src/internal/components/TextInputWrapper.tsx b/packages/react/src/internal/components/TextInputWrapper.tsx index 73096732984..2ae20272b5b 100644 --- a/packages/react/src/internal/components/TextInputWrapper.tsx +++ b/packages/react/src/internal/components/TextInputWrapper.tsx @@ -116,8 +116,12 @@ export const TextInputBaseWrapper = styled.span` cursor: pointer; } - &::placeholder { - color: ${get('colors.fg.subtle')}; + input, + textarea, + select { + &::placeholder { + color: var(---control-fgColor-placeholder, ${get('colors.fg.muted')}); + } } ${props => renderFocusStyles(Boolean(props.hasTrailingAction), Boolean(props.isInputFocused))}