Skip to content

Commit

Permalink
chore(react): not disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
naporin0624 committed Dec 24, 2024
1 parent 9aa5801 commit c60fbb0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/react/src/components/SegmentedControl/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
line-height: 22px;
}

.charcoal-segmented-control-radio__label:hover {
.charcoal-segmented-control-radio__label:not([aria-disabled='true']):hover {
background-color: var(--charcoal-color-container-hover-a);
}
.charcoal-segmented-control-radio__label:active {
.charcoal-segmented-control-radio__label:not([aria-disabled='true']):active {
background-color: var(--charcoal-color-container-press-a);
}

Expand All @@ -34,10 +34,14 @@
color: var(--charcoal-color-text-on-primary-default);
}

.charcoal-segmented-control-radio__label[data-checked='true']:hover {
.charcoal-segmented-control-radio__label:not(
[aria-disabled='true']
)[data-checked='true']:hover {
background-color: var(--charcoal-color-container-primary-hover);
}
.charcoal-segmented-control-radio__label[data-checked='true']:active {
.charcoal-segmented-control-radio__label:not(
[aria-disabled='true']
)[data-checked='true']:active {
background-color: var(--charcoal-color-container-primary-press);
}

Expand Down

0 comments on commit c60fbb0

Please sign in to comment.