Skip to content

Commit

Permalink
fix: v11 audit design bugs (carbon-design-system#2742)
Browse files Browse the repository at this point in the history
* fix: checkbox style tab bug

* fix: code snippet style tab bug

* fix: pagiantion style tab bug

* fix: select style tab bug

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and dakahn committed Mar 9, 2022
1 parent a86d225 commit 9cdd705
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/pages/components/checkbox/style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility']
| Checkbox:unchecked | border | `$icon-primary` |
| | background-color | transparent |
| Checkbox:checked | background-color | `$icon-primary` |
| | checkmark | `$text-inverse` |
| | checkmark | `$icon-inverse` |

<Row>
<Column colLg={8}>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/code-snippet/style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility']

| Element | Property | Color token |
| --------------- | --------------------------------------------------------------------- | --------------- |
| Container | background | `$field` \* |
| Container | background | `$layer` \* |
| Code | text color | `$text-primary` |
| Copy button | See [ghost button - icon only](/components/button/style#ghost-button) | |
| Container:focus | border | `$focus` |
Expand Down
13 changes: 7 additions & 6 deletions src/pages/components/pagination/style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility']

## Color

| Element | Property | Color token |
| --------- | ---------------- | ------------------- |
| Container | background-color | `$layer` \* |
| | border-top | `$border-subtle` \* |
| Text | text color | `$text-secondary` |
| Icon | fill | `$icon-primary` |
| Element | Property | Color token |
| --------------------- | ---------------- | ------------------- |
| Container | background-color | `$layer` \* |
| | border-top | `$border-subtle` \* |
| Text: items per page | text color | `$text-primary` |
| Text: number of items | text color | `$text-secondary` |
| Icon | fill | `$icon-primary` |

<Caption>
* Denotes a contextual color token that will change values based on the layer
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/select/style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility']
| Field | background | `$field` \* |
| | border-bottom | `$border-strong` \* |
| Inline select | background | transparent |
| Label | text color | `$text-primary` |
| Label | text color | `$text-secondary` |
| Field text | text color | `$text-primary` |
| Helper text | text color | `$text-helper` |
| Icon | fill | `$icon-primary` |
Expand Down

0 comments on commit 9cdd705

Please sign in to comment.