diff --git a/docs/pages/fieldsets.md b/docs/pages/fieldsets.md index 94ec1ccc83..f372554356 100644 --- a/docs/pages/fieldsets.md +++ b/docs/pages/fieldsets.md @@ -19,14 +19,12 @@ variation_groups: - variations: - variation_code_snippet: >-
- - - - Basic legend - Use block helper text for instructions -
+ + Basic legend + Use block helper text for instructions +
@@ -42,14 +40,12 @@ variation_groups: variation_name: Fieldset with checkboxes - variation_code_snippet: >- - - - - Basic legend - Use block helper text for instructions -
+ + Basic legend + Use block helper text for instructions +
@@ -70,14 +66,12 @@ variation_groups: - variation_name: Large target fieldset with checkboxes variation_code_snippet: >- - - - - Basic legend - Use block helper text for instructions -
+ + Basic legend + Use block helper text for instructions +
@@ -109,40 +103,39 @@ variation_groups: variation_code_snippet: >-
- + + Basic legend + Use block helper text for instructions + - Basic legend - Use block helper text for instructions - - -
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
-
+
+ + +
+
use_cases: '' guidelines: '' eyebrow: Components diff --git a/docs/pages/labels.md b/docs/pages/labels.md index 2bd055dd26..a532774486 100644 --- a/docs/pages/labels.md +++ b/docs/pages/labels.md @@ -22,25 +22,24 @@ variation_groups: variation_specs: '' - variation_code_snippet: >-
- - Basic legend - + + Basic legend + -
- - -
+
+ + +
-
- - -
- -
+
+ + +
+
variation_description: The legend serves as the heading for a [fieldset](https://cfpb.github.io/design-system/components/fieldsets). variation_name: Basic legend diff --git a/packages/cfpb-forms/src/cfpb-forms.less b/packages/cfpb-forms/src/cfpb-forms.less index 322b2d7069..c8339a425e 100644 --- a/packages/cfpb-forms/src/cfpb-forms.less +++ b/packages/cfpb-forms/src/cfpb-forms.less @@ -81,7 +81,6 @@ @import (less) 'atoms/form-alert.less'; @import (less) 'atoms/label.less'; -@import (less) 'atoms/legend.less'; @import (less) 'atoms/range.less'; @import (less) 'atoms/select.less'; @import (less) 'atoms/text-input.less'; diff --git a/packages/cfpb-forms/src/cfpb-forms.scss b/packages/cfpb-forms/src/cfpb-forms.scss index bb45698856..fde03365ab 100644 --- a/packages/cfpb-forms/src/cfpb-forms.scss +++ b/packages/cfpb-forms/src/cfpb-forms.scss @@ -81,7 +81,6 @@ $select-height: 35px; @import 'atoms/form-alert'; @import 'atoms/label'; -@import 'atoms/legend'; @import 'atoms/range'; @import 'atoms/select'; @import 'atoms/text-input';