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

docs: v11 color token updates for modal component #2316

Merged
merged 3 commits into from
May 21, 2021
Merged
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
18 changes: 9 additions & 9 deletions src/pages/components/modal/style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility']
Refer to the [button](/components/button/style) for primary and secondary button
styling in the transactional modal.

| Class | Property | Color token |
| ---------------------------- | ---------------- | ------------- |
| `.bx--modal-container` | background-color | `$ui-01` |
| `.bx--modal-header__label` | text color | `$text-02` |
| `.bx--modal-header__heading` | text color | `$text-01` |
| `.bx--modal-content` | text color | `$text-01` |
| `.bx--modal-close__icon` | fill | `$icon-01` |
| `.bx--modal-close:hover` | background-color | `$hover-ui` |
| Overlay | color | `$overlay-01` |
| Class | Property | Color token |
| ---------------------------- | ---------------- | ------------------- |
| `.bx--modal-container` | background-color | `$layer` |
| `.bx--modal-header__label` | text color | `$text-secondary` |
| `.bx--modal-header__heading` | text color | `$text-primary` |
| `.bx--modal-content` | text color | `$text-primary` |
| `.bx--modal-close__icon` | fill | `$icon-primary` |
| `.bx--modal-close:hover` | background-color | `$background-hover` |
| Overlay | color | `$overlay` |

## Typography

Expand Down