diff --git a/src/components/TuringSubmission/TuringSubmission.tsx b/src/components/TuringSubmission/TuringSubmission.tsx
index 0fa6608..0dd7306 100644
--- a/src/components/TuringSubmission/TuringSubmission.tsx
+++ b/src/components/TuringSubmission/TuringSubmission.tsx
@@ -1,7 +1,7 @@
-import classNames from 'classnames'
+import { motion } from 'framer-motion'
import { useCallback, useContext, useEffect, useState } from 'react'
+
import { TuringControllerContext } from 'src/contexts'
-import styles from './TuringSubmission.module.scss'
export const TuringSubmission: React.FC = () => {
const { game, submitGuess, getNewGame, commentController } = useContext(
@@ -22,102 +22,101 @@ export const TuringSubmission: React.FC = () => {
if (game?.result)
return (
-
-
+
+
Guess {game.result.correct ? 'correct' : 'incorrect'},
{game.result.bot} was the bot
-
+
{game.result.timeControl} ยท {game.result.gameType}
-
-
โ
+
+
โ
{game.result.whitePlayer.title && (
-
- {game.result.whitePlayer.title}
-
+
{game.result.whitePlayer.title}
)}
{game.result.whitePlayer.name}
({game.result.whitePlayer.rating})
{game.result.bot === 'white' ? '๐ค' : undefined}
-
-
โ
+
+
โ
{game.result.blackPlayer.title && (
-
- {game.result.blackPlayer.title}
-
+
{game.result.blackPlayer.title}
)}
{game.result.blackPlayer.name}
({game.result.blackPlayer.rating}){' '}
{game.result.bot === 'black' ? '๐ค' : undefined}
-
+
)
return (
-
-
-
Who is the bot?
-
+
+
+
Who is the bot?
+
-
-
)
}
diff --git a/src/styles/tailwind.css b/src/styles/tailwind.css
index c9c33ea..5d43c92 100644
--- a/src/styles/tailwind.css
+++ b/src/styles/tailwind.css
@@ -20,15 +20,15 @@ pre {
--color-background4: #aeaeb2;
--color-background5: #8e8e93;
- --color-human-accent1: #ff705b;
- --color-human-accent2: #ff8270;
- --color-human-accent3: #ff9080;
- --color-human-accent4: #ffa193;
+ --color-human-accent1: #fe7f6d;
+ --color-human-accent2: #de6f5f;
+ --color-human-accent3: #bf5f52;
+ --color-human-accent4: #9f4f44;
- --color-engine-accent1: #7fb3fc;
- --color-engine-accent1: #9ac4fe;
- --color-engine-accent1: #aed0ff;
- --color-engine-accent1: #c6deff;
+ --color-engine-accent1: #abccf8;
+ --color-engine-accent2: #96bff6;
+ --color-engine-accent3: #81b3f4;
+ --color-engine-accent4: #5799f1;
}
.theme-dark {
@@ -49,10 +49,10 @@ pre {
--color-human-accent3: #bf5f52;
--color-human-accent4: #9f4f44;
- --color-engine-accent1: #74a5e9;
- --color-engine-accent2: #87ace0;
- --color-engine-accent3: #95b2db;
- --color-engine-accent4: #a2b6d2;
+ --color-engine-accent1: #76addd;
+ --color-engine-accent2: #5a9dd7;
+ --color-engine-accent3: #3f8cd0;
+ --color-engine-accent4: #237cc9;
}
svg {