Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Add control-light color and make breadcrumb use it

Tianzhou Chenb7f9abd684e0
diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.css
index cf34b81ffd..2c708160c9 100644
--- a/frontend/src/assets/css/tailwind.css
+++ b/frontend/src/assets/css/tailwind.css
@@ -19,6 +19,11 @@
/* gray-900 */
--color-control-hover: #18181b;
+ /* gray-400 */
+ --color-control-light: #a1a1aa;
+ /* gray-600 */
+ --color-control-light-hover: #52525b;
+
/* gray-400 */
--color-control-placeholder: #a1a1aa;
diff --git a/frontend/src/components/Breadcrumb.vue b/frontend/src/components/Breadcrumb.vue
index 36bc2c87cb..5b3d3796e7 100644
--- a/frontend/src/components/Breadcrumb.vue
+++ b/frontend/src/components/Breadcrumb.vue
@@ -5,7 +5,7 @@
<router-link
v-if="index == 0"
to="/"
- class="text-gray-400 hover:text-gray-500"
+ class="text-control-light hover:text-control-light-hover"
active-class="link"
exact-active-class="link"
>
@@ -24,7 +24,7 @@
<span class="sr-only">Home</span>
</router-link>
<svg
- class="ml-2 flex-shrink-0 h-5 w-5 text-gray-400"
+ class="ml-2 flex-shrink-0 h-5 w-5 text-control-light"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
@@ -55,7 +55,7 @@
>
<svg
v-if="state.bookmarked"
- class="h-6 w-6 text-yellow-300 hover:text-yellow-400"
+ class="h-6 w-6 text-yellow-400 hover:text-yellow-600"
x-description="Heroicon name: star"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
@@ -67,7 +67,7 @@
</svg>
<svg
v-else
- class="h-6 w-6 text-gray-300 hover:text-gray-400"
+ class="h-6 w-6 text-control-light hover:text-control-light-hover"
x-description="Heroicon name: star"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js
index cc2c005d7e..6e9b16daed 100644
--- a/frontend/tailwind.config.js
+++ b/frontend/tailwind.config.js
@@ -18,8 +18,13 @@ module.exports = {
"normal-hover": "var(--color-normal-hover)",
main: "var(--color-main)",
+
control: "var(--color-control)",
"control-hover": "var(--color-control-hover)",
+
+ "control-light": "var(--color-control-light)",
+ "control-light-hover": "var(--color-control-light-hover)",
+
"control-placeholder": "var(--color-control-placeholder)",
error: "var(--color-error)",