UI: Change light mode icon to a lightbulb
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import { faYoutube } from "@fortawesome/free-brands-svg-icons";
|
import { faYoutube } from "@fortawesome/free-brands-svg-icons";
|
||||||
import { faSun, faMoon, faHistory, faCog } from "@fortawesome/free-solid-svg-icons";
|
import { faLightbulb, faMoon, faHistory, faCog } from "@fortawesome/free-solid-svg-icons";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import { InputPanel } from "../components/InputPanel";
|
import { InputPanel } from "../components/InputPanel";
|
||||||
import type { InputValues } from "../components/InputPanel";
|
import type { InputValues } from "../components/InputPanel";
|
||||||
@@ -450,7 +450,7 @@ export function HomePage() {
|
|||||||
<div className={`w-full h-full rounded-full ${theme === "dark" ? "gradient-bg opacity-10" : "opacity-0"} transition-opacity duration-300`} />
|
<div className={`w-full h-full rounded-full ${theme === "dark" ? "gradient-bg opacity-10" : "opacity-0"} transition-opacity duration-300`} />
|
||||||
</div>
|
</div>
|
||||||
<div className="w-5 h-5 flex items-center justify-center z-10">
|
<div className="w-5 h-5 flex items-center justify-center z-10">
|
||||||
<FontAwesomeIcon icon={faSun} className={`w-2.5 h-2.5 transition-colors ${theme === "dark" ? "text-fg-muted/60" : "text-yellow-500"}`} />
|
<FontAwesomeIcon icon={faLightbulb} className={`w-2.5 h-2.5 transition-colors ${theme === "dark" ? "text-fg-muted/60" : "text-yellow-500"}`} />
|
||||||
</div>
|
</div>
|
||||||
<div className="w-5 h-5 flex items-center justify-center z-10">
|
<div className="w-5 h-5 flex items-center justify-center z-10">
|
||||||
<FontAwesomeIcon icon={faMoon} className={`w-2.5 h-2.5 transition-colors ${theme === "dark" ? "text-accent-primary" : "text-fg-muted/60"}`} />
|
<FontAwesomeIcon icon={faMoon} className={`w-2.5 h-2.5 transition-colors ${theme === "dark" ? "text-accent-primary" : "text-fg-muted/60"}`} />
|
||||||
|
|||||||
Reference in New Issue
Block a user