diff --git a/src/pages/components/select/images/select-invalid-state-fluid.png b/src/pages/components/select/images/select-invalid-state-fluid.png index 43b8fd7ad57..deed52a446d 100644 Binary files a/src/pages/components/select/images/select-invalid-state-fluid.png and b/src/pages/components/select/images/select-invalid-state-fluid.png differ diff --git a/src/pages/components/select/images/select-states-fixed.png b/src/pages/components/select/images/select-states-fixed.png index 4b28a6f4f39..5fb9327e0f3 100644 Binary files a/src/pages/components/select/images/select-states-fixed.png and b/src/pages/components/select/images/select-states-fixed.png differ diff --git a/src/pages/components/select/images/select-states-fluid.png b/src/pages/components/select/images/select-states-fluid.png index c9693dcb802..cbdd8a5b060 100644 Binary files a/src/pages/components/select/images/select-states-fluid.png and b/src/pages/components/select/images/select-states-fluid.png differ diff --git a/src/pages/components/select/images/select-style-states-fixed.png b/src/pages/components/select/images/select-style-states-fixed.png index 4b28a6f4f39..b1b0dd75636 100644 Binary files a/src/pages/components/select/images/select-style-states-fixed.png and b/src/pages/components/select/images/select-style-states-fixed.png differ diff --git a/src/pages/components/select/images/select-style-states-fluid.png b/src/pages/components/select/images/select-style-states-fluid.png index c9693dcb802..f70641a9cbf 100644 Binary files a/src/pages/components/select/images/select-style-states-fluid.png and b/src/pages/components/select/images/select-style-states-fluid.png differ diff --git a/src/pages/components/select/style.mdx b/src/pages/components/select/style.mdx index c24858fc369..bf20c6a7c8b 100755 --- a/src/pages/components/select/style.mdx +++ b/src/pages/components/select/style.mdx @@ -47,27 +47,34 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility'] ### Interactive states -| State | Element | Property | Color token | -| -------- | --------------- | ---------------- | ------------------- | -| Hover | Field | background-color | `$field-hover` \* | -| Focus | Field | border | `$focus` | -| Invalid | Field | border | `$support-error` | -| | Error message | text-color | `$text-error` | -| | Error icon | fill | `$support-error` | -| Warning | Warning message | text-color | `$text-primary` | -| | Warning icon | fill | `$support-warning` | -| Disabled | Field | background-color | `$field` \* | -| | Input text | text-color | `$text-disabled | -| | Field | border-bottom | transparent | -| | Field (fluid) | border-bottom | `$border-subtle` \* | -| | Label | text-color | `$text-disabled` | -| | Chevron icon | fill | `$icon-disabled` | +| State | Element | Property | Color token | +| --------- | --------------- | -------------------------- | ------------------- | +| Hover | Field | background-color | `$field-hover` \* | +| Focus | Field | border | `$focus` | +| Invalid | Field | border | `$support-error` | +| | Error message | text-color | `$text-error` | +| | Error icon | fill | `$support-error` | +| Warning | Warning message | text-color | `$text-primary` | +| | Warning icon | fill | `$support-warning` | +| Disabled | Field | background-color | `$field` \* | +| | | border-bottom (default) | transparent | +| | | border-bottom (fluid) | `$border-subtle` \* | +| | Label | text-color | `$text-disabled` | +| | Input text | text-color | `$text-disabled | +| | Chevron icon | fill | `$icon-disabled` | +| Read-only | Field | background-color (default) | transparent | +| | | background-color (fluid) | `$layer` \* | +| | | border-bottom | `$border-subtle` \* | +| | Label | text-color | `$text-secondary` | +| | Input text | text-color (default) | `$text-primary` | +| | | text-color (fluid) | `$text-secondary` | +| | Chevron icon | fill | `$icon-disabled` | - Denotes a contextual color token that will change values based on the layer it is placed on. - + diff --git a/src/pages/components/select/usage.mdx b/src/pages/components/select/usage.mdx index 53634a5d466..030e0a41078 100755 --- a/src/pages/components/select/usage.mdx +++ b/src/pages/components/select/usage.mdx @@ -92,8 +92,7 @@ while the dropdown component can be styled as needed. id: 'select', label: 'Select', }, - ]} -> + ]}> + }}> {`