Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export const chatComposerMeta = {
"color.border.default",
"color.content.primary",
"color.surface.panel",
"color.surface.subtle",
"control.chatComposer.compactGap",
"control.chatComposer.compactHeight",
"control.chatComposer.compactPaddingBlock",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}

.root[data-has-context="true"] {
background: var(--bf-color-surface-subtle);
background: var(--bf-color-surface-panel);
}

.context {
Expand Down
5 changes: 4 additions & 1 deletion design-system/packages/ui/tests/chat-composer.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,11 @@ test("ChatComposer geometry is driven by public system and semantic tokens", asy
assert.match(styles, /--bf-control-chat-composer-control-height/);
assert.match(styles, /--bf-space-8/);
assert.match(styles, /--bf-radius-2xl/);
assert.match(styles, /--bf-color-surface-subtle/);
assert.match(styles, /--bf-color-surface-panel/);
assert.match(
styles,
/\.\w+\[data-has-context=(?:"true"|true)\][^{]*\{[^}]*background:\s*var\(--bf-color-surface-panel\)/,
);
assert.match(styles, /--bf-color-action-neutral-border/);
assert.match(styles, /--bf-shadow-base/);
assert.match(
Expand Down
Loading