diff --git a/components/common/Segment/index.module.scss b/components/common/Segment/index.module.scss index cb0aa7e8..fd87b69d 100644 --- a/components/common/Segment/index.module.scss +++ b/components/common/Segment/index.module.scss @@ -1,4 +1,4 @@ -.Segment { +.segment { color: $grey-55; cursor: pointer; flex-grow: 1; @@ -40,3 +40,7 @@ width: 100%; } } + +:global(.blended) .segment input:checked + label { + background: var(--card-bg); +} diff --git a/components/common/Segment/index.tsx b/components/common/Segment/index.tsx index f975c3dd..69d3facc 100644 --- a/components/common/Segment/index.tsx +++ b/components/common/Segment/index.tsx @@ -21,7 +21,7 @@ const Segment: React.FC = (props: Props) => { } return ( -
+
= ({ [styles.blended]: blended, [styles.grow]: grow, [styles.gap]: gap, + blended: blended, }, className, elementClass