Skip to content

Commit

Permalink
Update style.mdx (carbon-design-system#2318)
Browse files Browse the repository at this point in the history
Co-authored-by: Anna Gonzales <anna.gonzales3@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored and emyarod committed Jun 8, 2021
1 parent 5e18ede commit 68ff655
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pages/components/checkbox/style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility']

| Class | Property | Color token |
| ------------------------- | ---------------- | ------------- |
| `.bx--label` | text color | `$text-02` |
| `.bx--checkbox-label` | text color | `$text-01` |
| `.bx--checkbox` | border | `$icon-01` |
| `.bx--label` | text color | `$text-secondary` |
| `.bx--checkbox-label` | text color | `$text-primary` |
| `.bx--checkbox` | border | `$icon-primary` |
| `.bx--checkbox:unchecked` | background-color | transparent |
| `.bx--checkbox:checked` | background-color | `$icon-01` |
| `.bx--checkbox:checked` | checkmark | `$inverse-01` |
| `.bx--checkbox:checked` | background-color | `$icon-primary` |
| `.bx--checkbox:checked` | checkmark | `$text-inverse` |

<Row>
<Column colLg={8}>
Expand All @@ -30,8 +30,8 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility']
| State | Property | Color token |
| ----------- | ---------- | -------------- |
| `:focus` | border | `$focus` |
| `:disabled` | text color | `$disabled-02` |
| `:disabled` | border | `$disabled-02` |
| `:disabled` | text color | `$text-disabled` |
| `:disabled` | border | `$icon-disabled` |

<Row>
<Column colLg={8}>
Expand Down

0 comments on commit 68ff655

Please sign in to comment.