Skip to content

Commit

Permalink
[Selectable Components: Tile - Style] Website Doc (#3901)
Browse files Browse the repository at this point in the history
* tiles_style_PR/kritvi

* tiles_style_PR/kritvi

* tiles_style_PR/kritvi

* Update src/pages/components/tile/style.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* fix: fixed format

* docs: fixed format

---------

Co-authored-by: Anna Gonzales <[email protected]>
Co-authored-by: Guilherme Datilio Ribeiro <[email protected]>
Co-authored-by: Alison Joseph <[email protected]>
  • Loading branch information
4 people authored Mar 4, 2024
1 parent ead9825 commit 6ec65db
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Binary file modified src/pages/components/tile/images/tile-style-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/pages/components/tile/images/tile-style-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/pages/components/tile/images/tile-style-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/pages/components/tile/style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,16 @@ Expandable tiles have three states: enabled, hover, and focus.
</Column>
</Row>

## Typography

The default token for the title is `$body-compact-01`, although it can be
altered as needed by the product teams.

| Element | Font-size (px/rem) | Font-weight | Type token |
| ----------- | ------------------ | ------------- | ------------------ |
| Tile | 14 / 0.875 | Regular / 400 | `$body-compact-01` |
| Description | 14 / 0.875 | Regular / 400 | `$body-compact-01` |

## Structure

| Element | Property | px / rem | Spacing token |
Expand Down

0 comments on commit 6ec65db

Please sign in to comment.