Skip to content

Commit 191e81c

Browse files
committed
feat(hub): add accentColor for group dock view type
1 parent 228802b commit 191e81c

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/hub/src/types/docks.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,12 @@ export interface DevframeViewGroup extends DevframeDockEntryBase {
424424
* ```
425425
*/
426426
categoryOrder?: Record<string, number>
427+
/**
428+
* Optional accent color for the group button. When set, the viewer may use
429+
* it to style the group button and/or its popover. When unset, the viewer
430+
* falls back to its own default styling.
431+
*/
432+
accentColor?: string
427433
}
428434

429435
/**

‎tests/__snapshots__/tsnapi/@devframes/hub/index.snapshot.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ export interface DevframeViewGroup extends DevframeDockEntryBase {
272272
type: 'group';
273273
defaultChildId?: string;
274274
categoryOrder?: Record<string, number>;
275+
accentColor?: string;
275276
}
276277
export interface DevframeViewIframe extends DevframeDockEntryBase {
277278
type: 'iframe';

0 commit comments

Comments
 (0)