Skip to content

Commit

Permalink
Cleanup of showcase and revert changing text styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jorytindall committed Sep 25, 2024
1 parent 10d7317 commit 383513d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,11 @@

&--disabled,
&.mock-disabled {
color: var(--token-form-control-disabled-foreground-color);
background-color: var(--token-color-surface-interactive-disabled);
border-color: var(--token-color-border-primary);
box-shadow: none;
cursor: not-allowed;

.hds-form-radio-card__label,
.hds-form-radio-card__description {
color: var(--token-form-control-disabled-foreground-color);
}

.hds-form-radio-card__control-wrapper {
background-color: var(--token-color-surface-interactive-disabled);
border-color: var(--token-color-border-primary);
Expand Down
2 changes: 2 additions & 0 deletions showcase/app/templates/components/form/radio-card.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
{{#each @model.STATES as |state|}}
<SG.Item @label={{capitalize state}} mock-state-value={{state}} mock-state-selector="label">
<Hds::Form::RadioCard @disabled={{eq state "disabled"}} as |R|>
<R.Icon @name="hexagon" />
<R.Label>Label</R.Label>
<R.Description>Description</R.Description>
</Hds::Form::RadioCard>
Expand All @@ -25,6 +26,7 @@
{{#each @model.STATES as |state|}}
<SG.Item @label="{{capitalize state}} selected" mock-state-value={{state}} mock-state-selector="label">
<Hds::Form::RadioCard @checked={{true}} @disabled={{eq state "disabled"}} as |R|>
<R.Icon @name="hexagon" />
<R.Label>Label</R.Label>
<R.Description>Description</R.Description>
</Hds::Form::RadioCard>
Expand Down

0 comments on commit 383513d

Please sign in to comment.