Improve readability of primary button in dark mode (#25396)

* set text color of primary button to a light color

* add changeset
This commit is contained in:
Florian C. Wachmann
2025-07-10 17:33:20 +02:00
committed by GitHub
parent 1af693968e
commit 7adc27aa85
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
'@directus/app': minor
---
Improved the readability of the primary button in dark mode

View File

@@ -270,6 +270,12 @@ async function onClick(event: MouseEvent) {
min-width: 100%; min-width: 100%;
} }
body.dark .button {
--v-button-color: var(--theme--foreground);
--v-button-color-hover: var(--theme--foreground);
--v-button-color-active: var(--theme--foreground);
}
.button { .button {
position: relative; position: relative;
display: flex; display: flex;