Skip to content

Commit bf465f3

Browse files
committed
fix(suggested-questions): Fixes Suggested Questions on dark theme
1 parent 82a0083 commit bf465f3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/demo-react/src/examples/basic-askai.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default function BasicAskAI(): JSX.Element {
1313
searchParameters: {
1414
facetFilters: ['language:en'],
1515
},
16+
suggestedQuestions: true,
1617
}}
1718
insights={true}
1819
translations={{ button: { buttonText: 'Search with Ask AI' } }}

packages/docsearch-css/src/modal.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,12 +1419,12 @@ assistive tech users */
14191419
.DocSearch-NewConversationScreen-SuggestedQuestion {
14201420
border-radius: var(--docsearch-border-radius);
14211421
padding: 12px;
1422-
border: 1px solid #D6D6E7;
1422+
border: 1px solid var(--docsearch-subtle-color);
14231423
height: 40px;
14241424
display: inline-flex;
14251425
align-items: center;
14261426
justify-content: center;
1427-
background-color: #fff;
1427+
background-color: var(--docsearch-searchbox-background);
14281428
color: var(--docsearch-text-color);
14291429
cursor: pointer;
14301430
}

0 commit comments

Comments
 (0)