Skip to content

Commit 3f5dc9c

Browse files
authored
darken primary blue color (#1863)
1 parent 12483df commit 3f5dc9c

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

desktop/src/main/java/haveno/desktop/theme-dark.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.root {
2+
-bs-color-primary: rgb(28, 96, 220);
3+
24
/* javafx main color palette */
35
-fx-base: #29292a;
46
-fx-background: #29292a;
@@ -9,7 +11,7 @@
911
-fx-text-fill: #dadada;
1012

1113
/* javafx elements */
12-
-fx-accent: #0b65da;
14+
-fx-accent: -bs-color-primary;
1315
-fx-box-border: transparent;
1416
-fx-focus-color: #0c59bd;
1517
-fx-faint-focus-color: #0c59bd;
@@ -18,7 +20,6 @@
1820
-fx-default-button: derive(-fx-accent, 95%);
1921

2022
/* haveno main colors */
21-
-bs-color-primary: #0b65da;
2223
-bs-color-primary-dark: #0c59bd;
2324
-bs-text-color: white;
2425
-bs-background-color: black;

desktop/src/main/java/haveno/desktop/theme-light.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.root {
2-
-bs-color-primary: #0b65da;
2+
-bs-color-primary: rgb(28, 96, 220);
33
-bs-color-primary-dark: #0c59bd;
44
-bs-text-color: #000000;
55
-bs-background-color: #ffffff;
@@ -38,17 +38,17 @@
3838
-bs-yellow-light: derive(-bs-yellow, 81%);
3939
-bs-blue-transparent: #0f87c344;
4040
-bs-bg-green: #99ba9c;
41-
-bs-rd-green: #0b65da;
41+
-bs-rd-green: -bs-color-primary;
4242
-bs-rd-green-dark: #3EA34A;
43-
-bs-rd-nav-selected: #0b65da;
43+
-bs-rd-nav-selected: -bs-color-primary;
4444
-bs-rd-nav-deselected: rgba(255, 255, 255, 1);
4545
-bs-rd-nav-secondary-selected: -fx-accent;
4646
-bs-rd-nav-secondary-deselected: -bs-rd-font-light;
47-
-bs-rd-nav-background: #0b65da;
48-
-bs-rd-nav-primary-background: #0b65da;
47+
-bs-rd-nav-background: -bs-color-primary;
48+
-bs-rd-nav-primary-background: -bs-color-primary;
4949
-bs-rd-nav-button-hover: derive(-bs-rd-nav-background, 10%);
5050
-bs-rd-nav-primary-button-hover: derive(-bs-rd-nav-primary-background, 10%);
51-
-bs-rd-nav-primary-border: #0B65DA;
51+
-bs-rd-nav-primary-border: -bs-color-primary;
5252
-bs-rd-nav-border: #535353;
5353
-bs-rd-nav-border-color: rgba(255, 255, 255, 0.31);
5454
-bs-rd-nav-hover-text: white;
@@ -94,7 +94,7 @@
9494
-bs-cancel: #dddddd;
9595
-bs-cancel-focus: derive(-bs-cancel, -50%);
9696
-bs-cancel-hover: derive(-bs-cancel, -10%);
97-
-fx-accent: #0b65da;
97+
-fx-accent: -bs-color-primary;
9898
-fx-box-border: #e9e9e9;
9999
-bs-green-soft: derive(-bs-rd-green, 60%);
100100
-bs-red-soft: derive(-bs-rd-error-red, 60%);

0 commit comments

Comments
 (0)