Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: homebound-team/beam
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bafc819677fc25b01158098a724a651b15262f4e
Choose a base ref
..
head repository: homebound-team/beam
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ab730fde31a06beb5eb875d42c650e6c687be803
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/inputs/ToggleChipGroup.tsx
4 changes: 2 additions & 2 deletions src/inputs/ToggleChipGroup.tsx
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import { Css, Palette, Xss } from "src/Css";
import { useTestIds } from "src/utils/useTestIds";
import { PresentationFieldProps, usePresentationContext } from "src/components/PresentationContext";

type ToggleChipXss = Xss<"backgroundColor">;
type ToggleChipXss = Xss<"color" |"backgroundColor">;

type ToggleChipItemProps = {
label: string;
@@ -95,7 +95,7 @@ function ToggleChip(props: ToggleChipProps) {
...Css.relative.dib.br16.sm.px1.cursorPointer.pyPx(4).bgGray200.if(isDisabled).cursorNotAllowed.gray600.pr1.$,
...(isSelected
? {
...Css.white.bgColor(xss?.backgroundColor ?? Palette.Blue700).$,
...Css.color(xss?.color ?? Palette.White).bgColor(xss?.backgroundColor ?? Palette.Blue700).$,
":hover:not([data-disabled='true'])": Css.bgColor(xss?.backgroundColor ?? Palette.Blue800).$,
}
: { ":hover:not([data-disabled='true'])": Css.bgGray300.$ }),