Skip to content

Commit

Permalink
feat(system): add aria-disabled to the disabled state (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfonzAlfonz committed Aug 26, 2021
1 parent fdfbdf0 commit d28cf38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/system/src/defaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export const defaultTheme = {
focus: '&:focus',
focusVisible: '&:focus-visible',
active: '&:active',
disabled: '&:disabled',
disabled: '&:disabled, &[aria-disabled=true]',
placeholder: '&::placeholder',
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Default theme includes a set of useful states.
| `focusVisible` | `&:focus-visible` |
| `focusWithin` | `&:focus-within` |
| `active` | `&:active` |
| `disabled` | `&:disabled` |
| `disabled` | `&:disabled, &[aria-disabled=true]` |
| `placeholder` | `&::placeholder` |

## Customizing states
Expand Down

0 comments on commit d28cf38

Please sign in to comment.