Merge pull request #4092 from ripcurlx/make-prompt-text-readable-in-dark-mode

Make prompt text readable in dark mode
This commit is contained in:
sqrrm 2020-03-26 13:21:59 +01:00 committed by GitHub
commit 7fd4cb5272
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View file

@ -701,11 +701,11 @@ tree-table-view:focused {
}
.text-field {
-fx-prompt-text-fill: derive(-fx-control-inner-background, -30%);
-fx-prompt-text-fill: derive(-bs-prompt-text, -30%);
}
.text-area {
-fx-prompt-text-fill: derive(-fx-control-inner-background, -30%);
-fx-prompt-text-fill: derive(-bs-prompt-text, -30%);
}
#label-url {
@ -1485,7 +1485,7 @@ textfield */
-fx-text-fill: -fx-text-inner-color;
-fx-highlight-fill: derive(-fx-control-inner-background, -20%);
-fx-highlight-text-fill: -fx-text-inner-color;
-fx-prompt-text-fill: derive(-fx-control-inner-background, -30%);
-fx-prompt-text-fill: derive(-bs-prompt-text, -30%);
-fx-background-color: linear-gradient(to bottom, derive(-fx-text-box-border, -10%), -fx-text-box-border),
linear-gradient(from 0px 0px to 0px 5px, derive(-fx-control-inner-background, -9%), -fx-control-inner-background);
-fx-background-insets: 0, 1;
@ -1497,7 +1497,7 @@ textfield */
-fx-text-fill: -fx-text-inner-color;
-fx-highlight-fill: derive(-fx-control-inner-background, -20%);
-fx-highlight-text-fill: -fx-text-inner-color;
-fx-prompt-text-fill: derive(-fx-control-inner-background, -30%);
-fx-prompt-text-fill: derive(-bs-prompt-text, -30%);
-fx-background-color: linear-gradient(to bottom, derive(-fx-text-box-border, -10%), -fx-text-box-border),
linear-gradient(from 0px 0px to 0px 5px, derive(-fx-control-inner-background, -9%), -bs-color-gray-1);
-fx-background-insets: 0, 1;

View file

@ -128,6 +128,7 @@
-bs-chart-tick: rgba(255, 255, 255, 0.7);
-bs-chart-lines: rgba(0, 0, 0, 0.3);
-bs-white: white;
-bs-prompt-text: -bs-color-gray-3;
/* dao chart colors */
-bs-chart-dao-line1: -bs-color-green-5;

View file

@ -101,6 +101,7 @@
-fx-default-button: derive(-fx-accent, 95%);
-bs-progress-bar-track: #e0e0e0;
-bs-white: white;
-bs-prompt-text: -fx-control-inner-background;
/* dao chart colors */
-bs-chart-dao-line1: -bs-color-green-3;