diff --git a/CHANGELOG.md b/CHANGELOG.md index dc5ce3a..477891a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,10 +19,10 @@ All notable changes are listed here. Versions follow [Semantic Versioning](https author's own sign, when there is one, stands instead. - Desktop, a game against the computer: the draw offer is «½–½» on its button («Offer a draw» in its tooltip), so that the game's buttons fit in a narrow panel. -- Move marks in the owner's palette (as on chess.com): !! #26C2A3, ! #7AAB59, ?! yellow - #F7C631, ? #FFA459, ?? #FA412D, on the board, in the notation, the report and the graph, +- Move marks in the owner's palette (as on chess.com): !! #26C2A3, ! #7AAB59, ?! Lichess + blue #56B4E9, ? #FFA459, ?? #FA412D, on the board, in the notation, the report and the graph, on the desktop and Android; as text in the light theme darkened to stay readable. The - accuracy numbers follow the same colors. + accuracy numbers follow the same colors (green, blue, orange, red). - Android: the board shows the move's mark in the corner of its square, as on the desktop: the review's ?!, ?, ??, !, !! or the author's own sign. diff --git a/androidApp/app/src/main/java/io/github/vrubelroman/chesspenguin/theme/Color.kt b/androidApp/app/src/main/java/io/github/vrubelroman/chesspenguin/theme/Color.kt index 529fba3..7bdbc3c 100644 --- a/androidApp/app/src/main/java/io/github/vrubelroman/chesspenguin/theme/Color.kt +++ b/androidApp/app/src/main/java/io/github/vrubelroman/chesspenguin/theme/Color.kt @@ -63,7 +63,7 @@ fun nagColor(nag: Int, dark: Boolean): Color? = if (dark) { 3 -> Color(0xFF26C2A3) // !! 4 -> Color(0xFFFA412D) // ?? 5 -> Color(0xFFEA45D8) // !? - 6 -> Color(0xFFF7C631) // ?! + 6 -> Color(0xFF56B4E9) // ?! (Lichess blue) else -> null } } else { @@ -73,7 +73,7 @@ fun nagColor(nag: Int, dark: Boolean): Color? = if (dark) { 3 -> Color(0xFF1A846F) 4 -> Color(0xFFD2301C) 5 -> Color(0xFFB0259F) - 6 -> Color(0xFF937006) + 6 -> Color(0xFF1F72A8) else -> null } } diff --git a/apps/desktop/src/notation.rs b/apps/desktop/src/notation.rs index 027708f..4aee21a 100644 --- a/apps/desktop/src/notation.rs +++ b/apps/desktop/src/notation.rs @@ -698,7 +698,7 @@ pub fn assessment_color(nag: Nag) -> Option { 3 => Color32::from_rgb(0x26, 0xc2, 0xa3), 4 => Color32::from_rgb(0xfa, 0x41, 0x2d), 5 => Color32::from_rgb(0xea, 0x45, 0xd8), - 6 => Color32::from_rgb(0xf7, 0xc6, 0x31), + 6 => Color32::from_rgb(0x56, 0xb4, 0xe9), _ => return None, }) } @@ -715,7 +715,7 @@ pub fn assessment_text_color(nag: Nag, dark: bool) -> Option { 3 => Color32::from_rgb(0x1a, 0x84, 0x6f), 4 => Color32::from_rgb(0xd2, 0x30, 0x1c), 5 => Color32::from_rgb(0xb0, 0x25, 0x9f), - 6 => Color32::from_rgb(0x93, 0x70, 0x06), + 6 => Color32::from_rgb(0x1f, 0x72, 0xa8), _ => return None, }) } diff --git a/apps/desktop/src/review.rs b/apps/desktop/src/review.rs index f2139f1..c523fdf 100644 --- a/apps/desktop/src/review.rs +++ b/apps/desktop/src/review.rs @@ -905,7 +905,7 @@ fn judgement_plural(j: Judgement) -> &'static str { } } -/// Accuracy in the colors of the move marks: green, yellow, orange, red. +/// Accuracy in the colors of the move marks: green, blue, orange, red. fn accuracy_color(a: f64, dark: bool) -> Color32 { let j = if a >= 85.0 { Judgement::Great