mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
committed by
GitHub
parent
1af693968e
commit
7adc27aa85
5
.changeset/loose-parts-laugh.md
Normal file
5
.changeset/loose-parts-laugh.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'@directus/app': minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Improved the readability of the primary button in dark mode
|
||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user