diff --git a/packages/excalidraw/actions/actionProperties.tsx b/packages/excalidraw/actions/actionProperties.tsx
index 5a309b677..78c454cb3 100644
--- a/packages/excalidraw/actions/actionProperties.tsx
+++ b/packages/excalidraw/actions/actionProperties.tsx
@@ -326,7 +326,7 @@ export const actionChangeStrokeColor = register({
<>
{t("labels.stroke")}
{t("labels.background")}
{
renderEmbeddable,
aiEnabled,
showDeprecatedFonts,
+ strokeColorTopPicks,
+ backgroundColorTopPicks,
} = props;
const canvasActions = props.UIOptions?.canvasActions;
@@ -143,6 +145,8 @@ const ExcalidrawBase = (props: ExcalidrawProps) => {
renderEmbeddable={renderEmbeddable}
aiEnabled={aiEnabled !== false}
showDeprecatedFonts={showDeprecatedFonts}
+ strokeColorTopPicks={strokeColorTopPicks}
+ backgroundColorTopPicks={backgroundColorTopPicks}
>
{children}
diff --git a/packages/excalidraw/types.ts b/packages/excalidraw/types.ts
index 4d3fe4fdc..5cae8dedd 100644
--- a/packages/excalidraw/types.ts
+++ b/packages/excalidraw/types.ts
@@ -3,6 +3,7 @@ import type {
UserIdleState,
throttleRAF,
MIME_TYPES,
+ ColorTuple,
} from "@excalidraw/common";
import type { SuggestedBinding } from "@excalidraw/element/binding";
@@ -601,6 +602,8 @@ export interface ExcalidrawProps {
) => JSX.Element | null;
aiEnabled?: boolean;
showDeprecatedFonts?: boolean;
+ strokeColorTopPicks?: ColorTuple;
+ backgroundColorTopPicks?: ColorTuple;
}
export type SceneData = {