Skip to content

Commit

Permalink
Remove a-legend
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Aug 2, 2024
1 parent 89780ce commit e1dddda
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 28 deletions.
8 changes: 4 additions & 4 deletions docs/pages/fieldsets.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variation_groups:
- variation_code_snippet: >-
<form class="o-form">
<legend class="a-legend">
<legend class="h4">
Basic legend
<small class="a-label__helper a-label__helper--block">Use block helper text for instructions</small>
Expand All @@ -43,7 +43,7 @@ variation_groups:
- variation_code_snippet: >-
<form class="o-form">
<legend class="a-legend">
<legend class="h4">
Basic legend
<small class="a-label__helper a-label__helper--block">Use block helper text for instructions</small>
Expand Down Expand Up @@ -71,7 +71,7 @@ variation_groups:
variation_code_snippet: >-
<form class="o-form">
<legend class="a-legend">
<legend class="h4">
Basic legend
<small class="a-label__helper a-label__helper--block">Use block helper text for instructions</small>
Expand Down Expand Up @@ -109,7 +109,7 @@ variation_groups:
variation_code_snippet: >-
<fieldset class="o-form__fieldset">
<legend class="a-legend">
<legend class="h4">
Basic legend
<small class="a-label__helper a-label__helper--block">Use block helper text for instructions</small>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/filterable-list-control-panels.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ variation_groups:
content-l__col-2-3">
<div class="o-form__group">
<fieldset class="o-form__fieldset">
<legend class="a-legend">
<legend class="h4">
Date range
</legend>
<div class="content-l">
Expand Down
3 changes: 2 additions & 1 deletion docs/pages/labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ variation_groups:
variation_specs: ''
- variation_code_snippet: >-
<fieldset class="o-form__fieldset">
<legend class="a-legend">Basic legend
<legend class="h4">
Basic legend
</legend>
<div class="m-form-field
Expand Down
10 changes: 0 additions & 10 deletions packages/cfpb-forms/src/atoms/legend.less

This file was deleted.

10 changes: 0 additions & 10 deletions packages/cfpb-forms/src/atoms/legend.scss

This file was deleted.

4 changes: 2 additions & 2 deletions packages/cfpb-forms/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ Color variables referenced in comments are from [@cfpb/cfpb-core's brand-colors.

## Legends

<legend class="a-legend">
<legend class="h4">
A basic legend
</legend>

```html
<legend class="a-legend">A basic legend</legend>
<legend class="h4">A basic legend</legend>
```

## Labels
Expand Down

0 comments on commit e1dddda

Please sign in to comment.