mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-27 13:20:26 +01:00
fix: mettre à jour les couleurs de fond et de carte pour un meilleur contraste en mode sombre
This commit is contained in:
@@ -76,7 +76,7 @@ const apiEndpoints = [
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="min-h-screen bg-gray-50 dark:bg-gray-900">
|
||||
<div class="min-h-screen bg-linear-to-b from-gray-50 to-white dark:from-neutral-950 dark:to-neutral-900">
|
||||
<!-- Hero Header -->
|
||||
<div class="bg-linear-to-br from-primary to-primary-600 dark:from-primary-900 dark:to-primary-800">
|
||||
<UContainer class="py-16">
|
||||
@@ -224,7 +224,7 @@ const apiEndpoints = [
|
||||
</h3>
|
||||
<UCard
|
||||
:ui="{
|
||||
body: 'bg-gray-900 dark:bg-gray-950'
|
||||
body: 'bg-neutral-900 dark:bg-neutral-950'
|
||||
}"
|
||||
>
|
||||
<pre class="text-sm text-gray-100 overflow-x-auto">
|
||||
@@ -245,7 +245,7 @@ const apiEndpoints = [
|
||||
</h3>
|
||||
<UCard
|
||||
:ui="{
|
||||
body: 'bg-gray-900 dark:bg-gray-950'
|
||||
body: 'bg-neutral-900 dark:bg-neutral-950'
|
||||
}"
|
||||
>
|
||||
<pre class="text-sm text-gray-100 overflow-x-auto"><code>https://api.arthurdanjou.fr/mcp</code></pre>
|
||||
@@ -384,7 +384,7 @@ const apiEndpoints = [
|
||||
{{ resource.title }}
|
||||
</h3>
|
||||
</div>
|
||||
<code class="text-xs text-gray-600 dark:text-gray-400 bg-gray-100 dark:bg-gray-800 px-2 py-1 rounded">
|
||||
<code class="text-xs text-gray-600 dark:text-gray-400 bg-neutral-100 dark:bg-neutral-800 px-2 py-1 rounded">
|
||||
{{ resource.uri }}
|
||||
</code>
|
||||
<p class="text-sm text-gray-600 dark:text-gray-400">
|
||||
@@ -408,7 +408,7 @@ const apiEndpoints = [
|
||||
<div
|
||||
v-for="endpoint in apiEndpoints"
|
||||
:key="endpoint.path"
|
||||
class="flex items-center gap-3 p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"
|
||||
class="flex items-center gap-3 p-3 rounded-lg hover:bg-neutral-100 dark:hover:bg-neutral-800 transition-colors"
|
||||
>
|
||||
<UBadge
|
||||
color="success"
|
||||
|
||||
Reference in New Issue
Block a user