@rash2x/bridge-widget 0.3.3 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2285,7 +2285,7 @@ const SwapButton = () => {
2285
2285
  variant: "secondary",
2286
2286
  size: "sm",
2287
2287
  className: utils.cn(
2288
- "backdrop-blur-md h-9 w-9 p-0",
2288
+ "bg-bridge-button text-bridge-button-foreground backdrop-blur-md h-9 w-9 p-0",
2289
2289
  "absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2",
2290
2290
  !canSwap || isSwapping ? "opacity-50 cursor-not-allowed" : "hover:scale-110"
2291
2291
  ),
@@ -2354,7 +2354,7 @@ const SelectNetworkButton = ({
2354
2354
  size: "sm",
2355
2355
  variant: "secondary",
2356
2356
  type: "button",
2357
- className: "shrink-0 gap-2 h-9 !pl-2",
2357
+ className: "shrink-0 gap-2 h-9 !pl-2 bg-bridge-button text-bridge-button-foreground",
2358
2358
  "aria-label": label,
2359
2359
  children: [
2360
2360
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2 items-center", children: [
@@ -2592,7 +2592,7 @@ const ChainSelectModal = ({
2592
2592
  onClick: () => onChainPick(chain, willChangeSrc, willChangeTokenAndSrc),
2593
2593
  className: utils.cn(
2594
2594
  "w-full cursor-pointer flex shadow-none rounded-xs items-center justify-between gap-3 px-5 py-4 h-13 font-semibold capitalize bg-transparent hover:scale-100 hover:bg-accent",
2595
- isSelected ? "border border-ring" : "",
2595
+ isSelected ? "border border-primary" : "",
2596
2596
  willChangeSrc || willChangeTokenAndSrc ? "opacity-50 hover:opacity-100" : ""
2597
2597
  ),
2598
2598
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
@@ -3185,7 +3185,7 @@ const Details = () => {
3185
3185
  const totalFeeDisplay = !quote ? "—" : gas.requiredNative > 0 ? `${gas.requiredNative.toFixed(6)} ${gas.nativeSym}` : "—";
3186
3186
  const currentSlippageText = !quote ? "—" : formatPercentage(slippageBps);
3187
3187
  const routeText = quote?.route ? getRouteDisplayName(quote.route) : t(`settings.routePresets.${routePriority}`);
3188
- return /* @__PURE__ */ jsxRuntime.jsx(accordion.Accordion, { type: "single", collapsible: true, className: "w-full border-b-0", children: /* @__PURE__ */ jsxRuntime.jsxs(accordion.AccordionItem, { value: "item-1", className: "bg-card/50 rounded-sm", children: [
3188
+ return /* @__PURE__ */ jsxRuntime.jsx(accordion.Accordion, { type: "single", collapsible: true, className: "w-full border-none", children: /* @__PURE__ */ jsxRuntime.jsxs(accordion.AccordionItem, { value: "item-1", className: "bg-muted rounded-sm", children: [
3189
3189
  /* @__PURE__ */ jsxRuntime.jsx(accordion.AccordionTrigger, { className: "w-full gap-1 items-center py-6 px-5 rounded-b-sm data-[state=open]:pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full flex items-center justify-between", children: [
3190
3190
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-normal text-priority leading-4", children: t("bridge.youWillReceive", { defaultValue: "You will receive" }) }),
3191
3191
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-transparent hover:bg-transparent shadow-none h-4 p-0 px-0 py-0 flex items-center gap-2", children: [
@@ -6233,7 +6233,7 @@ const TokenRow = ({
6233
6233
  button.Button,
6234
6234
  {
6235
6235
  onClick: onPick,
6236
- className: `w-full px-5 rounded-xs bg-transparent flex items-center justify-between gap-3 hover:bg-accent hover:scale-100 ${isSelected ? "border border-ring" : ""}`,
6236
+ className: `w-full px-5 rounded-xs bg-transparent flex items-center justify-between gap-3 hover:bg-accent hover:scale-100 ${isSelected ? "border border-primary" : ""}`,
6237
6237
  children: [
6238
6238
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
6239
6239
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -6576,7 +6576,7 @@ const RefreshButton = () => {
6576
6576
  onClick: handleRefresh,
6577
6577
  disabled: spinning,
6578
6578
  variant: "secondary",
6579
- className: "h-9 w-11",
6579
+ className: "bg-bridge-button text-bridge-button-foreground h-9 w-11",
6580
6580
  size: "sm",
6581
6581
  children: /* @__PURE__ */ jsxRuntime.jsx(
6582
6582
  ReloadIcon,
@@ -6604,7 +6604,7 @@ const SelectTokenButton = ({
6604
6604
  onClick,
6605
6605
  size: "sm",
6606
6606
  variant: "secondary",
6607
- className: "shrink-0 gap-2 h-9 !pl-2",
6607
+ className: "shrink-0 gap-2 h-9 !pl-2 bg-bridge-button text-bridge-button-foreground",
6608
6608
  type: "button",
6609
6609
  "aria-label": label,
6610
6610
  children: [
@@ -6652,7 +6652,7 @@ const Toolbar = () => {
6652
6652
  {
6653
6653
  onClick: onOpenSettings,
6654
6654
  size: "sm",
6655
- className: "h-9 w-11",
6655
+ className: "bg-bridge-button text-bridge-button-foreground h-9 w-11",
6656
6656
  variant: "secondary",
6657
6657
  children: /* @__PURE__ */ jsxRuntime.jsx(BoltIcon, { stroke: "currentColor" })
6658
6658
  }