Skip to content

Commit

Permalink
Merge pull request #2129 from cfpb/ans_doc_cleanup
Browse files Browse the repository at this point in the history
Update mixin references
  • Loading branch information
anselmbradford authored Nov 29, 2024
2 parents 852c751 + 8a1a265 commit e4f2109
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
21 changes: 8 additions & 13 deletions docs/pages/grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ variation_groups:
```scss
.main-wrapper {
@include u-grid-wrapper();
@include u-grid-wrapper;
}
.half {
.u-grid-column(1, 2);
@include u-grid-column(1, 2);
}
.styled {
Expand Down Expand Up @@ -203,7 +203,7 @@ variation_groups:
In cf-grid, the way to get around this is by wrapping your columns
in a container that utilizes the `.u-grid-nested-col-group()` mixin.
in a container that utilizes the `@include u-grid-nested-col-group` mixin.
This mixin uses negative left and right margins to
Expand All @@ -222,7 +222,7 @@ variation_groups:
```scss
.u-grid-nested-col-group()
@include u-grid-nested-col-group;
```
Expand All @@ -233,15 +233,15 @@ variation_groups:
```scss
.main-wrapper {
@include u-grid-wrapper();
@include u-grid-wrapper;
}
.nested {
.u-grid-nested-col-group();
@include u-grid-nested-col-group;
}
.half {
.u-grid-column(1, 2);
@include u-grid-column(1, 2);
}
```
Expand Down Expand Up @@ -309,11 +309,6 @@ variation_groups:
<div class="wrapper">
Wrapper
</div>
- variation_name: 'Cf-grid helpers: Column divider modifiers'
variation_description: See the [column
dividers](https://cfpb.github.io/design-system/development/column-dividers)
page for information.
variation_code_snippet: ''
variation_group_name: Development
variation_group_description: >-
Expand Down Expand Up @@ -369,7 +364,7 @@ variation_groups:
.description,
.illustration {
.u-grid-column(1, 2);
@include u-grid-column(1, 2);
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/heading-hierarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ description: A successful type hierarchy establishes the order of importance of
use_cases: ''
behavior: ''
accessibility: Since categories can be repetitive, we suggest placing a label
with `.u-visually-hidden` prior to the headings with icons to add more context
with `@include u-visually-hidden` prior to the headings with icons to add more context
for screen readers.
related_items: >-
* [Paragraphs](https://cfpb.github.io/design-system/foundation/paragraphs)
Expand Down

0 comments on commit e4f2109

Please sign in to comment.