Customize theme color

This commit is contained in:
Takeshi Kimata
2024-03-23 19:18:30 +09:00
parent 9f63f389ff
commit 3da568a4f8
6 changed files with 22 additions and 11 deletions

View File

@@ -171,7 +171,7 @@ export default function CaseEditor({
<Button
isIconOnly
size="sm"
className="rounded-full bg-gray-50 dark:bg-gray-900"
className="rounded-full bg-neutral-50 dark:bg-neutral-600"
onPress={() =>
router.push(
`/projects/${params.projectId}/folders/${params.folderId}/cases`
@@ -383,15 +383,15 @@ export default function CaseEditor({
>
<label
htmlFor="dropzone-file"
className="flex flex-col items-center justify-center w-full h-32 border-2 border-gray-200 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
className="flex flex-col items-center justify-center w-full h-32 border-2 border-neutral-200 border-dashed rounded-lg cursor-pointer bg-neutral-50 dark:hover:bg-bray-800 dark:bg-neutral-700 hover:bg-neutral-100 dark:border-neutral-600 dark:hover:border-neutral-500 dark:hover:bg-neutral-600"
>
<div className="flex flex-col items-center justify-center pt-5 pb-6">
<ArrowUpFromLine />
<p className="mb-2 text-sm text-gray-500 dark:text-gray-400">
<p className="mb-2 text-sm text-neutral-500 dark:text-neutral-400">
<span className="font-semibold">Click to upload</span> or drag
and drop
</p>
<p className="text-xs text-gray-500 dark:text-gray-400">
<p className="text-xs text-neutral-500 dark:text-neutral-400">
Max. file size: 50 MB
</p>
</div>

View File

@@ -26,7 +26,7 @@ export default function StepsEditor({
<>
{sortedSteps.map((step, index) => (
<div key={index} className="flex">
<div className="bg-gray-50 dark:bg-gray-900 rounded-full flex items-center justify-center min-w-unit-8 w-unit-8 h-unit-8 mt-3 me-2">
<div className="bg-neutral-50 dark:bg-neutral-600 rounded-full flex items-center justify-center min-w-unit-8 w-unit-8 h-unit-8 mt-3 me-2">
<div>{step.caseSteps.stepNo}</div>
</div>
<Textarea

View File

@@ -76,6 +76,7 @@ export default function TestCaseTable({ projectId, cases, onDeleteCase }: Props)
<Link
underline="hover"
href={`/projects/${projectId}/folders/${testCase.folderId}/cases/${testCase.id}`}
className="dark:text-white"
>
{cellValue}
</Link>