@@ -61,10 +61,10 @@ export default function APIPlaygrounds(props: APIPlaygroundsProps) {
6161 </ div >
6262 </ div >
6363 </ div >
64- < div className = "bg-white rounded-lg p-4 sm:p-6 shadow-lg lg:w-1/2 w-full" >
64+ < div className = "bg-white dark:bg-gray-800 rounded-lg p-4 sm:p-6 shadow-lg lg:w-1/2 w-full" >
6565 < div className = "space-y-6" >
66- < div className = "flex items-center justify-between border-b pb-2" >
67- < span className = "font-medium" > Authentication</ span >
66+ < div className = "flex items-center justify-between border-b dark:border-gray-700 pb-2" >
67+ < span className = "font-medium dark:text-gray-100 " > Authentication</ span >
6868 < svg
6969 xmlns = "http://www.w3.org/2000/svg"
7070 width = "16"
@@ -80,13 +80,13 @@ export default function APIPlaygrounds(props: APIPlaygroundsProps) {
8080 < path d = "m6 9 6 6 6-6" />
8181 </ svg >
8282 </ div >
83- < div className = "font-mono text-sm bg-gray-50 p-4 rounded" >
84- < div className = "text-gray-600 " > Authorization:</ div >
85- < div className = "text-gray-400 break-all" > Bearer { "<your-api-token>" } </ div >
83+ < div className = "font-mono text-sm bg-gray-50 dark:bg-gray-900 p-4 rounded" >
84+ < span className = "text-gray-700 dark:text-gray-300 " > Authorization: </ span >
85+ < span className = "text-gray-500 dark:text-gray- 400 break-all inline-block " > Bearer { "<your-api-token>" } </ span >
8686 </ div >
8787 < div className = "space-y-2" >
88- < div className = "flex items-center justify-between border-b pb-2" >
89- < span className = "font-medium" > Request Body</ span >
88+ < div className = "flex items-center justify-between border-b dark:border-gray-700 pb-2" >
89+ < span className = "font-medium dark:text-gray-100 " > Request Body</ span >
9090 < svg
9191 xmlns = "http://www.w3.org/2000/svg"
9292 width = "16"
@@ -102,8 +102,8 @@ export default function APIPlaygrounds(props: APIPlaygroundsProps) {
102102 < path d = "m6 9 6 6 6-6" />
103103 </ svg >
104104 </ div >
105- < pre className = "bg-gray-50 p-4 rounded overflow-x-auto" >
106- < code className = "text-sm" >
105+ < pre className = "bg-gray-50 dark:bg-gray-900 p-4 rounded overflow-x-auto" >
106+ < code className = "text-sm dark:text-gray-300 " >
107107 { `{\n "contentType": "Blog",\n "title": "Getting Started with dotCMS",\n "author": "John Doe",\n "status": "PUBLISHED"\n}` }
108108 </ code >
109109 </ pre >
0 commit comments