diff --git a/ui/app/src/StreamPage.tsx b/ui/app/src/StreamPage.tsx index 963aadf..d9af206 100644 --- a/ui/app/src/StreamPage.tsx +++ b/ui/app/src/StreamPage.tsx @@ -19,6 +19,7 @@ import { import { useParams } from "react-router-dom"; import Header from "./Header"; import { useTheme } from "./ThemeContext"; +import { Popover, Menu, Button, Pane } from "evergreen-ui"; const StreamPage = () => { const { sm, creator, streamId } = useParams(); @@ -113,6 +114,16 @@ const StreamPage = () => { } }, [stream]); + // UI; to pass as props to the component + const themeColors = { + sakura: { background: "#ff4499", color: "#ff4499" }, + tokyoNight: { background: "#ff4499", color: "#ff4499" }, + }; + + type ThemeName = "sakura" | "tokyoNight"; + const background = themeColors[theme as ThemeName].background; + const color = themeColors[theme as ThemeName].color; + return (
@@ -169,22 +180,30 @@ const StreamPage = () => {

Stream Status

- + +
diff --git a/ui/app/src/tokyoNight.css b/ui/app/src/tokyoNight.css index 31679f0..df64edd 100644 --- a/ui/app/src/tokyoNight.css +++ b/ui/app/src/tokyoNight.css @@ -80,14 +80,40 @@ body.tokyoNight { color: var(--aquamarine); } +.app.tokyoNight .ub-pst_relative { + background-color: #00ffd2; + margin-bottom: 20px; +} + +.app.tokyoNight .stream-status-bar-label { + color: #00ffd2; +} + +.app.tokyoNight .stream-status-pie text { + fill: #00ffd2; +} + +.app.tokyoNight .stream-status-component { + min-width: 120px; +} + @keyframes pulsate { 0% { - box-shadow: 0 0 5px var(--aquamarine), 0 0 10px var(--aquamarine), 0 0 15px var(--aquamarine); + box-shadow: + 0 0 5px var(--aquamarine), + 0 0 10px var(--aquamarine), + 0 0 15px var(--aquamarine); } 50% { - box-shadow: 0 0 15px var(--aquamarine), 0 0 20px var(--aquamarine), 0 0 25px var(--aquamarine); + box-shadow: + 0 0 15px var(--aquamarine), + 0 0 20px var(--aquamarine), + 0 0 25px var(--aquamarine); } 100% { - box-shadow: 0 0 5px var(--aquamarine), 0 0 10px var(--aquamarine), 0 0 15px var(--aquamarine); + box-shadow: + 0 0 5px var(--aquamarine), + 0 0 10px var(--aquamarine), + 0 0 15px var(--aquamarine); } }