Great move (!) back in #81B64C, chess.com's green as the owner picked it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
36846b2e68
commit
27a9c32588
3 changed files with 5 additions and 5 deletions
|
|
@ -19,7 +19,7 @@ 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, ?! Lichess
|
||||
- Move marks in the owner's palette (as on chess.com): !! #26C2A3, ! #81B64C, ?! 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 (green, blue, orange, red).
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ val DarkChess = LightChess.copy(
|
|||
/// background they are darkened to stay readable (contrast at least 4.5:1).
|
||||
fun nagColor(nag: Int, dark: Boolean): Color? = if (dark) {
|
||||
when (nag) {
|
||||
1 -> Color(0xFF7AAB59) // !
|
||||
1 -> Color(0xFF81B64C) // !
|
||||
2 -> Color(0xFFFFA459) // ?
|
||||
3 -> Color(0xFF26C2A3) // !!
|
||||
4 -> Color(0xFFFA412D) // ??
|
||||
|
|
@ -68,7 +68,7 @@ fun nagColor(nag: Int, dark: Boolean): Color? = if (dark) {
|
|||
}
|
||||
} else {
|
||||
when (nag) {
|
||||
1 -> Color(0xFF5B8141)
|
||||
1 -> Color(0xFF5B8135)
|
||||
2 -> Color(0xFFC25700)
|
||||
3 -> Color(0xFF1A846F)
|
||||
4 -> Color(0xFFD2301C)
|
||||
|
|
|
|||
|
|
@ -693,7 +693,7 @@ fn mark_block(ui: &mut Ui, n: &Notation, id: NodeId, mark: &Mark, out: &mut Nota
|
|||
/// for badges and dark backgrounds.
|
||||
pub fn assessment_color(nag: Nag) -> Option<Color32> {
|
||||
Some(match nag.0 {
|
||||
1 => Color32::from_rgb(0x7a, 0xab, 0x59),
|
||||
1 => Color32::from_rgb(0x81, 0xb6, 0x4c),
|
||||
2 => Color32::from_rgb(0xff, 0xa4, 0x59),
|
||||
3 => Color32::from_rgb(0x26, 0xc2, 0xa3),
|
||||
4 => Color32::from_rgb(0xfa, 0x41, 0x2d),
|
||||
|
|
@ -710,7 +710,7 @@ pub fn assessment_text_color(nag: Nag, dark: bool) -> Option<Color32> {
|
|||
return assessment_color(nag);
|
||||
}
|
||||
Some(match nag.0 {
|
||||
1 => Color32::from_rgb(0x5b, 0x81, 0x41),
|
||||
1 => Color32::from_rgb(0x5b, 0x81, 0x35),
|
||||
2 => Color32::from_rgb(0xc2, 0x57, 0x00),
|
||||
3 => Color32::from_rgb(0x1a, 0x84, 0x6f),
|
||||
4 => Color32::from_rgb(0xd2, 0x30, 0x1c),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue