From 241b5322013290073b7d7643324b95fb6659765b Mon Sep 17 00:00:00 2001
From: Aimnos <45883889+Aimnos@users.noreply.github.com>
Date: Fri, 31 Jan 2025 23:28:30 -0300
Subject: [PATCH] fix(chess.com): board colors (#1605)
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
---
styles/chess.com/catppuccin.user.less | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/styles/chess.com/catppuccin.user.less b/styles/chess.com/catppuccin.user.less
index 3e89f1b9..b1dcfa60 100644
--- a/styles/chess.com/catppuccin.user.less
+++ b/styles/chess.com/catppuccin.user.less
@@ -608,8 +608,11 @@
}
/* Board */
+ @light-cell: if(@flavor = latte, @surface0, @accent);
+ @dark-cell: if(@flavor = latte, @accent, @surface0);
+
@board: escape(
- ''
+ ''
);
#board-play-computer,
@@ -618,10 +621,10 @@
}
.coordinate-light {
- fill: @accent;
+ fill: @dark-cell;
}
.coordinate-dark {
- fill: @surface0;
+ fill: @light-cell;
}
/*