Icu 11937 foundation components retire rose typography styles (#2810)

* refactor: 💡 update _typography stylesheet

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937

* refactor: 💡 update header margin styles into single rule

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937

* refactor: 💡 add remove-header-margin class

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937

* refactor: 💡 remove 'header' class

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937

* test: 💍 fix failing tests for branded-card in desktop

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937

* refactor: 💡 update style rule to use :where()

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937

* refactor: 💡 rename remove-header-margin to remove-margin

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937

* refactor: 💡 update style comment

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937
This commit is contained in:
Cameron Perera authored and GitHub committed 2025-05-15 14:48:27 -05:00
1 parent e222d5b909
commit eb9fe573b8
101 files changed
+217 -583

No files matched your search

@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.account.title'}}
<DocLink @doc='account' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.auth-method.title'}}
{{#if @model.isPrimary}}
&nbsp;
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.managed-group.title'}}
<DocLink @doc='managed-groups' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.credential-store.title'}}
<DocLink @doc='credential-store' />
</Hds::Text::Display>
@@ -79,7 +79,13 @@
<F.Control>
<div class='ldap-section'>
<Hds::Text::Display @tag='h3' @size='300' @weight='bold'>
<Hds::Text::Display
@tag='h3'
@size='300'
@weight='bold'
class='remove-margin'
>
{{t 'resources.account.title'}}
{{t 'form.other_fields.label'}}
</Hds::Text::Display>
<Hds::Form::HelperText @controlId='helper-text-for-section'>{{t
@@ -47,7 +47,13 @@
</Hds::Form::Textarea::Field>
<div class='ldap-section'>
<Hds::Text::Display @tag='h3' @size='300' @weight='bold'>
<Hds::Text::Display
@tag='h3'
@size='300'
@weight='bold'
class='remove-margin'
>
{{t 'resources.account.title'}}
{{t 'resources.auth-method.section.connection.title'}}
</Hds::Text::Display>
<Hds::Form::HelperText @controlId='for-connection'>{{t
@@ -215,7 +221,13 @@
</Hds::Form::Toggle::Field>
<div class='ldap-section'>
<Hds::Text::Display @tag='h3' @size='300' @weight='bold'>
<Hds::Text::Display
@tag='h3'
@size='300'
@weight='bold'
class='remove-margin'
>
{{t 'resources.account.title'}}
{{t 'resources.auth-method.section.authenticated-search.title'}}
</Hds::Text::Display>
<Hds::Form::HelperText @controlId='for-authenticated-search'>{{t
@@ -294,7 +306,13 @@
</Hds::Form::TextInput::Field>
<div class='ldap-section'>
<Hds::Text::Display @tag='h3' @size='300' @weight='bold'>
<Hds::Text::Display
@tag='h3'
@size='300'
@weight='bold'
class='remove-margin'
>
{{t 'resources.account.title'}}
{{t 'resources.auth-method.section.anonymous-search.title'}}
</Hds::Text::Display>
<Hds::Form::HelperText @controlId='for-anonymous-search'>{{t
@@ -331,7 +349,13 @@
</Hds::Form::Toggle::Field>
<div class='ldap-section'>
<Hds::Text::Display @tag='h3' @size='300' @weight='bold'>
<Hds::Text::Display
@tag='h3'
@size='300'
@weight='bold'
class='remove-margin'
>
{{t 'resources.account.title'}}
{{t 'resources.auth-method.section.user-entries.title'}}
</Hds::Text::Display>
<Hds::Form::HelperText @controlId='for-user-entries'>{{t
@@ -423,7 +447,13 @@
</Form::Field::ListWrapper>
<div class='ldap-section'>
<Hds::Text::Display @tag='h3' @size='300' @weight='bold'>
<Hds::Text::Display
@tag='h3'
@size='300'
@weight='bold'
class='remove-margin'
>
{{t 'resources.account.title'}}
{{t 'resources.auth-method.section.group-entries.title'}}
</Hds::Text::Display>
<Hds::Form::HelperText @controlId='for-group-entries'>{{t
@@ -15,12 +15,7 @@
</page.breadcrumbs>
<page.header>
<Hds::Text::Display
@tag='h2'
@size='400'
@weight='bold'
class='header-spacing'
>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.policy.titles.new'}}</Hds::Text::Display>
</page.header>
@@ -9,12 +9,7 @@
@showEditToggle={{false}}
as |form|
>
<Hds::Text::Display
@tag='h3'
@size='300'
@weight='bold'
class='header-spacing'
>
<Hds::Text::Display @tag='h3' @size='300' @weight='bold'>
{{t 'resources.worker.form.steps.1.title'}}
</Hds::Text::Display>
<div class='worker-create-section'>
@@ -186,12 +181,7 @@
</Hds::Text::Body>
</div>
<Hds::Text::Display
@tag='h3'
@size='300'
@weight='bold'
class='header-spacing'
>
<Hds::Text::Display @tag='h3' @size='300' @weight='bold'>
{{t 'resources.worker.form.steps.2.title'}}
</Hds::Text::Display>
<div class='worker-create-section'>
@@ -216,12 +206,7 @@
</Hds::Text::Body>
</div>
<Hds::Text::Display
@tag='h3'
@size='300'
@weight='bold'
class='header-spacing'
>
<Hds::Text::Display @tag='h3' @size='300' @weight='bold'>
{{t 'resources.worker.form.steps.3.title'}}
</Hds::Text::Display>
<div class='worker-create-section'>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.group.title'}}
<DocLink @doc='group' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.host-catalog.title'}}
<DocLink @doc='host-catalog' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.host-set.host.messages.add.title'}}
<DocLink @doc='host-set.add-hosts' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.host-set.actions.create-and-add-host'}}
<DocLink @doc='host.new' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.host-set.title'}}
<DocLink @doc='host-set' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.host.title'}}
<DocLink @doc='host' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.host-set.titles.new'}}
<DocLink @doc='host-set.new' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.host.title'}}
<DocLink @doc='host' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.host.titles.new'}}
<DocLink @doc='host.new' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.role.title'}}
<DocLink @doc='role' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.target.title'}}
<DocLink @doc='target' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.user.title'}}
<DocLink @doc='user' />
</Hds::Text::Display>
@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
{{t 'resources.worker.title'}}
<DocLink @doc='worker' />
</Hds::Text::Display>