Match designs better

This commit is contained in:
Nicolas Mowen 2024-04-02 12:35:13 -06:00
parent a79df6d9c4
commit b6f7bcd422
4 changed files with 9 additions and 6 deletions

View File

@ -43,7 +43,7 @@ export default function CameraFeatureToggle({
}`}
>
<Icon
className={`size-5 md:m-[6px] ${isActive ? "text-white" : "text-muted-foreground"}`}
className={`size-5 md:m-[6px] ${isActive ? "text-white" : "text-secondary-foreground"}`}
/>
</div>
);

View File

@ -251,6 +251,7 @@ export function RecordingView({
<Button
className="flex items-center gap-2 rounded-lg"
size="sm"
variant="secondary"
onClick={() => navigate(-1)}
>
<IoMdArrowRoundBack className="size-5" size="small" />

View File

@ -51,7 +51,7 @@ import {
} from "react-icons/fa";
import { GiSpeaker, GiSpeakerOff } from "react-icons/gi";
import { HiViewfinderCircle } from "react-icons/hi2";
import { IoMdArrowBack } from "react-icons/io";
import { IoMdArrowRoundBack } from "react-icons/io";
import {
LuEar,
LuEarOff,
@ -222,16 +222,18 @@ export default function LiveCameraView({ camera }: LiveCameraViewProps) {
{!fullscreen ? (
<div className="flex items-center gap-2">
<Button
className={`flex items-center gap-2.5 rounded-lg ${isMobile ? "ml-2" : "ml-0"}`}
className={`flex items-center gap-2.5 rounded-lg`}
size="sm"
variant="secondary"
onClick={() => navigate(-1)}
>
<IoMdArrowBack className="size-5" />
<IoMdArrowRoundBack className="size-5" />
{isDesktop && "Back"}
</Button>
<Button
className="flex items-center gap-2.5 rounded-lg"
size="sm"
variant="secondary"
onClick={() => {
navigate("events", {
state: {

View File

@ -27,8 +27,8 @@
--secondary: hsl(0, 0%, 96%);
--secondary: 0 0% 96%;
--secondary-foreground: hsl(0, 0%, 45%);
--secondary-foreground: 0 0% 45%;
--secondary-foreground: hsl(0, 0%, 32%);
--secondary-foreground: 0 0% 32%;
--secondary-highlight: hsl(0, 0%, 94%);
--secondary-highlight: 0 0% 94%;