diff --git a/front/style/colors.css b/front/style/colors.css deleted file mode 100644 index 53a9f65..0000000 --- a/front/style/colors.css +++ /dev/null @@ -1,13 +0,0 @@ -:root { - --main-color: #ffffff; - --second-color: #ccde54; - - --background-color: #d2cdd3; - - --selected-team-primarycolor: #50b63a; - --selected-team-secondarycolor: #000000; - - --selection-color: #3f7fc4; - - --player-piece-ball-border-color: #000000; -} diff --git a/front/style/editor.css b/front/style/editor.css index 45ce43d..8f0adf4 100644 --- a/front/style/editor.css +++ b/front/style/editor.css @@ -49,7 +49,11 @@ } .player-piece.opponents { - background-color: #f59264; + background-color: var(--player-opponents-color); +} + +.player-piece.allies { + background-color: var(--player-allies-color); } #court-div { diff --git a/front/style/player.css b/front/style/player.css index 6fa31a9..81a6b7e 100644 --- a/front/style/player.css +++ b/front/style/player.css @@ -54,6 +54,7 @@ on the court. } .player-selection-tab-remove { + visibility: hidden; pointer-events: all; width: 25px; height: 17px; diff --git a/front/style/theme/default.css b/front/style/theme/default.css index a2894ee..12c4452 100644 --- a/front/style/theme/default.css +++ b/front/style/theme/default.css @@ -7,6 +7,8 @@ --selected-team-primarycolor: #ffffff; --selected-team-secondarycolor: #000000; + --player-allies-color: #64e4f5; + --player-opponents-color: #f59264; --buttons-shadow-color: #a8a8a8; diff --git a/front/views/Editor.tsx b/front/views/Editor.tsx index 213607f..5c10f64 100644 --- a/front/views/Editor.tsx +++ b/front/views/Editor.tsx @@ -198,7 +198,7 @@ function EditorView({
- LEFT +
@@ -212,7 +212,7 @@ function EditorView({ }} />
-
RIGHT
+