Skip to content

Commit

Permalink
change colors. finished done
Browse files Browse the repository at this point in the history
  • Loading branch information
andorsk committed May 6, 2024
1 parent 41e649a commit e218893
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/play/FinishedDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function FinishedDetails({ workoutState }: FinishedDetailsProps) {
<div className="text-left space-y-2">
<div>
<span className="font-bold">Session ID: </span>{" "}
{workoutState?.manager?.sessionId?.slice(-6)}
{workoutState?.manager?.workout?.id?.slice(-6)}
</div>
<div>
<span className="font-bold">Workout Name:</span>{" "}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/workout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const createSteps = (config: RoutineConfiguration): Step[] => {
steps.push({
name: config.CoolDown.name,
duration: config.CoolDown.duration,
color: "bg-teal-500",
color: "bg-cyan-500",
cycle: 0,
totalSets: 1,
totalCycles: config.Cycles.value,
Expand All @@ -61,7 +61,7 @@ export const createSteps = (config: RoutineConfiguration): Step[] => {
steps.push({
name: "Finish",
duration: 0,
color: "bg-blue-500",
color: "bg-violet-500",
cycle: 0,
totalSets: 0,
totalCycles: 0,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/PlayScreen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default function PlayScreen() {
</div>
</>
) : (
<div className="flex items-center bg-blue-500 justify-center h-screen overflow-hidden">
<div className="flex items-center justify-center h-screen overflow-hidden">
<div className="text-center rounded p-4 border-gray-500 shadow-lg border m-4">
<h1 className="text-3xl mb-4 rounded border-gray-500">
Finished!
Expand Down
4 changes: 3 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ const config: Config = {
"bg-yellow-500",
"bg-orange-500",
"bg-teal-500",

"bg-cyan-500",
"bg-indigo-500",
"bg-green-500",
"bg-blue-500",
"bg-violet-500",
"bg-green-200",
],
plugins: [],
Expand Down

0 comments on commit e218893

Please sign in to comment.