Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compressed Images Nightly #16

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: merege conflicts
  • Loading branch information
andreancardona committed Mar 17, 2023
commit ff302ed43dc72142231e2be29f6a0c2505c6252a
37 changes: 15 additions & 22 deletions src/pages/components/select/style.mdx
Original file line number Diff line number Diff line change
@@ -47,28 +47,21 @@ 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` \* |
| | | 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` |
| 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` |

<Caption>
* Denotes a contextual color token that will change values based on the layer
You are viewing a condensed version of this merge commit. You can view the full changes here.