Merge pull request #5022 from menloresearch/chore/appearance-group

chore: regroup codeblock setting appearance
This commit is contained in:
Faisal Amir 2025-05-20 09:33:04 +07:00 committed by GitHub
commit 7d25bcb168
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,6 +50,7 @@ function Appareances() {
description="Adjust the size of text across the app"
actions={<FontSizeSwitcher />}
/>
<CardItem
title="Window Background"
description="Choose the App window color"
@ -97,10 +98,10 @@ function Appareances() {
/>
</Card>
{/* Message */}
<Card title="Chat Message">
{/* Codeblock */}
<Card>
<CardItem
title="Code Block Style"
title="Code Block"
description="Choose the style for code block syntax highlighting"
actions={<CodeBlockStyleSwitcher />}
/>
@ -119,7 +120,7 @@ function Appareances() {
size="sm"
onClick={() => {
resetCodeBlockStyle()
toast.success('Code Block Style Reset', {
toast.success('Code Block Reset', {
id: 'code-block-style',
description:
'Your Code Block style settings have been restored to default.',