Skip to content

Commit

Permalink
Make prompt text readable in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ripcurlx committed Mar 24, 2020
1 parent 557ec7f commit 9d92293
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions desktop/src/main/java/bisq/desktop/bisq.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down
1 change: 1 addition & 0 deletions desktop/src/main/java/bisq/desktop/theme-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions desktop/src/main/java/bisq/desktop/theme-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9d92293

Please sign in to comment.