Skip to content

Commit 2406184

Browse files
committed
roundedの指定をテーマに合わせる
1 parent 587d6c3 commit 2406184

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

app/[docs_id]/chatForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ export function ChatForm({
104104

105105
return (
106106
<form
107-
className="border border-2 border-secondary shadow-lg rounded-lg bg-base-100"
107+
className="border border-2 border-secondary shadow-lg rounded-box bg-base-100"
108108
style={{
109109
width: "100%",
110110
textAlign: "center",
111111
}}
112112
onSubmit={handleSubmit}
113113
>
114114
<textarea
115-
className="textarea textarea-ghost textarea-md rounded-lg"
115+
className="textarea textarea-ghost textarea-md rounded-box"
116116
placeholder={
117117
"質問を入力してください" +
118118
(exampleData

app/[docs_id]/markdown.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const components: Components = {
4545
<strong className="text-primary" {...props} />
4646
),
4747
table: ({ node, ...props }) => (
48-
<div className="w-max max-w-full overflow-x-auto mx-auto my-2 rounded-lg border border-base-content/5 shadow-sm">
48+
<div className="w-max max-w-full overflow-x-auto mx-auto my-2 rounded-box border border-base-content/5 shadow-sm">
4949
<table className="table w-max" {...props} />
5050
</div>
5151
),
@@ -152,7 +152,7 @@ function CodeComponent({
152152
<SyntaxHighlighter
153153
language={match[1]}
154154
PreTag="div"
155-
className="border border-base-300 mx-2 my-2 rounded-lg p-4!"
155+
className="border border-base-300 mx-2 my-2 rounded-box p-4!"
156156
style={codetheme}
157157
{...props}
158158
>
@@ -164,7 +164,7 @@ function CodeComponent({
164164
return (
165165
<SyntaxHighlighter
166166
PreTag="div"
167-
className="border border-base-300 mx-2 my-2 rounded-lg p-4!"
167+
className="border border-base-300 mx-2 my-2 rounded-box p-4!"
168168
style={codetheme}
169169
{...props}
170170
>

app/terminal/editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function EditorComponent(props: EditorProps) {
8989
}, [files, props.filename, props.initContent, writeFile]);
9090

9191
return (
92-
<div className="border border-accent border-2 shadow-md m-2 rounded-lg overflow-hidden">
92+
<div className="border border-accent border-2 shadow-md m-2 rounded-box overflow-hidden">
9393
<div className="flex flex-row items-center">
9494
<div className="font-mono text-sm mt-2 mb-1 ml-4 mr-2">
9595
{props.filename}

app/terminal/exec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function ExecFile(props: ExecProps) {
7272
]);
7373

7474
return (
75-
<div className="border border-accent border-2 shadow-md m-2 rounded-lg overflow-hidden relative">
75+
<div className="border border-accent border-2 shadow-md m-2 rounded-box overflow-hidden relative">
7676
<div>
7777
<button
7878
className="btn btn-soft btn-accent rounded-none"

app/terminal/repl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ export function ReplTerminal({
352352
]);
353353

354354
return (
355-
<div className="bg-base-300 border border-accent border-2 shadow-md m-2 p-4 pr-1 rounded-lg relative h-max">
355+
<div className="bg-base-300 border border-accent border-2 shadow-md m-2 p-4 pr-1 rounded-box relative h-max">
356356
{terminalInstanceRef.current &&
357357
termReady &&
358358
initCommandState === "idle" && (

0 commit comments

Comments
 (0)