Skip to content

Commit

Permalink
docs(stat): spacer table (#1040)
Browse files Browse the repository at this point in the history
* docs(stat): removing spacer token images, replacing with spacer table

* docs(stat): moving repo status to bottom of docs for stat
  • Loading branch information
brianferry committed Jun 5, 2023
1 parent fca7437 commit 8cbcb79
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions elements/rh-stat/docs/00-overview.md
Expand Up @@ -17,8 +17,6 @@
</rh-stat>
{% endsection %}

{% repoStatus %}

<hr style="margin-block:var(--rh-space-xl) var(--rh-space-5xl);">

{% section %}
Expand All @@ -37,3 +35,5 @@
- When you need to pair a data point with supporting text to add more context
- When you need to display several statistics together in a group
{% endsection %}

{% repoStatus %}
11 changes: 5 additions & 6 deletions elements/rh-stat/docs/10-style.md
Expand Up @@ -97,12 +97,11 @@ go to the [Guidelines](../guidelines) page.
alt="Default and Large size spacing between all elements",
src="../stat-space.png" %}

| Spacer | Current value |
| ------------------------------------------------- | ------------- |
| ![8px spacer](../stat-8px-spacer.png){width=17} | 8px |
| ![24px spacer](../stat-24px-spacer.png){width=24} | 24px |

{.full-width}
{% spacerTokensTable
headline='',
caption='',
tokens="--rh-space-md, --rh-space-xl" %}
{% endspacerTokensTable %}

## Interaction states
The optional call to action is the only interactive element. Go to the
Expand Down
Binary file removed elements/rh-stat/docs/stat-24px-spacer.png
Binary file not shown.
Binary file removed elements/rh-stat/docs/stat-8px-spacer.png
Binary file not shown.

0 comments on commit 8cbcb79

Please sign in to comment.