diff --git a/packages/www/components.json b/packages/www/components.json index 29baf27e29..b5f29f83ff 100644 --- a/packages/www/components.json +++ b/packages/www/components.json @@ -12,6 +12,6 @@ }, "aliases": { "components": "components", - "utils": "lib" + "utils": "lib/cn" } } diff --git a/packages/www/components/ApiKeys/CreateDialog.tsx b/packages/www/components/ApiKeys/CreateDialog.tsx index 949da2f91c..5da402300f 100644 --- a/packages/www/components/ApiKeys/CreateDialog.tsx +++ b/packages/www/components/ApiKeys/CreateDialog.tsx @@ -116,7 +116,9 @@ const CreateDialog = ({ return ( - + {!newToken && ( <> @@ -332,6 +334,7 @@ const CreateDialog = ({ size="2" disabled={creating} type="submit" + className="bg-accent text-foreground" variant="primary"> {creating && ( - @@ -169,7 +170,8 @@ curl --request POST \ gap: "$5", gridTemplateColumns: "repeat(auto-fill, minmax(46%, 1fr))", }}> - - + { return ( - - + ); }; diff --git a/packages/www/components/Header/index.tsx b/packages/www/components/Header/index.tsx index 41dcfcb913..beee25b5c9 100644 --- a/packages/www/components/Header/index.tsx +++ b/packages/www/components/Header/index.tsx @@ -93,7 +93,6 @@ const Header = ({ breadcrumbs = [] }) => { height: 60, width: "100%", margin: "0 auto", - maxWidth: "1520px", }}> {breadcrumbs.map((breadcrumb, i) => { diff --git a/packages/www/components/Logger/index.tsx b/packages/www/components/Logger/index.tsx index 000fc4f930..b5d81027dc 100644 --- a/packages/www/components/Logger/index.tsx +++ b/packages/www/components/Logger/index.tsx @@ -182,10 +182,10 @@ const Logger = ({ stream, ...props }: { stream: Stream }) => { diff --git a/packages/www/components/Login/index.tsx b/packages/www/components/Login/index.tsx index d95787a4cf..69650888ad 100644 --- a/packages/www/components/Login/index.tsx +++ b/packages/www/components/Login/index.tsx @@ -125,7 +125,9 @@ const Login = ({ id, buttonText, onSubmit, loading, errors }) => { {errors.length > 0 && ( - {errors.join(", ")}  + + {errors.join(", ")}  + )} - + - + - {item.title} + + {item.title} + ))} @@ -96,7 +100,7 @@ function ProjectTile({ name, id, invalidateQuery }) { - diff --git a/packages/www/components/Project/createProjectDialog.tsx b/packages/www/components/Project/createProjectDialog.tsx index a7be55692e..7fb7cfd153 100644 --- a/packages/www/components/Project/createProjectDialog.tsx +++ b/packages/www/components/Project/createProjectDialog.tsx @@ -28,7 +28,9 @@ const CreateProjectDialog = ({ return ( - + Create Project @@ -82,6 +84,7 @@ const CreateProjectDialog = ({ type="submit" size="2" disabled={creating} + className="bg-accent text-foreground" variant="primary"> {creating && ( - + Delete Project diff --git a/packages/www/components/Sidebar/index.tsx b/packages/www/components/Sidebar/index.tsx index 79f6eddeb1..1d495cbb21 100644 --- a/packages/www/components/Sidebar/index.tsx +++ b/packages/www/components/Sidebar/index.tsx @@ -56,14 +56,14 @@ export const NavLink = styled(A, { gap: "$2", textDecoration: "none", "&:hover": { - bc: "$neutral4", + bc: "hsl(var(--accent))", textDecoration: "none", }, "&:focus": { outline: "none", }, variants: { - active: { true: { bc: "$neutral4" } }, + active: { true: { bc: "hsl(var(--accent))" } }, }, }); @@ -245,30 +245,18 @@ const Sidebar = ({ id }: { id: SidebarId }) => { return ( <> - + @@ -297,9 +285,9 @@ const Sidebar = ({ id }: { id: SidebarId }) => { { { outline: "none", }, "&:hover": { - backgroundColor: "$neutral4", borderRadius: "$3", }, }}> @@ -445,13 +433,13 @@ const Sidebar = ({ id }: { id: SidebarId }) => { Projects diff --git a/packages/www/components/SigningKeysTable/CreateDialog.tsx b/packages/www/components/SigningKeysTable/CreateDialog.tsx index 935940b087..98fc8874a2 100644 --- a/packages/www/components/SigningKeysTable/CreateDialog.tsx +++ b/packages/www/components/SigningKeysTable/CreateDialog.tsx @@ -60,7 +60,9 @@ const CreateDialog = ({ return ( - + {!newKey && ( <> @@ -98,6 +100,7 @@ const CreateDialog = ({ size="2" disabled={isLoading} type="submit" + className="bg-accent text-foreground" variant="primary"> {isLoading && ( - + {!newKey && ( <> @@ -100,6 +102,7 @@ const CreateKeyDialog = ({ size="2" disabled={isLoading} type="submit" + className="bg-accent text-foreground" variant="primary"> {isLoading && ( - + Delete {state.selectedRows.length} signing key diff --git a/packages/www/components/StreamDetails/MultistreamTargetsTable/Toolbox.tsx b/packages/www/components/StreamDetails/MultistreamTargetsTable/Toolbox.tsx index 1159d37256..d9e47dfe6d 100644 --- a/packages/www/components/StreamDetails/MultistreamTargetsTable/Toolbox.tsx +++ b/packages/www/components/StreamDetails/MultistreamTargetsTable/Toolbox.tsx @@ -39,7 +39,9 @@ const DisableDialog = ({ const [saving, setSaving] = useState(false); return ( setOpen(!open)}> - + Disable multistream target? @@ -104,7 +106,9 @@ const DeleteDialog = ({ return ( - + Delete multistream target? diff --git a/packages/www/components/StreamDetails/StreamChildrenHeadingBox.tsx b/packages/www/components/StreamDetails/StreamChildrenHeadingBox.tsx index 621552c7b1..75256f5de6 100644 --- a/packages/www/components/StreamDetails/StreamChildrenHeadingBox.tsx +++ b/packages/www/components/StreamDetails/StreamChildrenHeadingBox.tsx @@ -79,12 +79,18 @@ const StreamChildrenHeadingBox = ({ - - + @@ -128,7 +128,7 @@ const StreamPlayerBox = ({ + - + Delete {total} session{total > 1 && "s"}? diff --git a/packages/www/components/StreamsTable/CreateStreamDialog.tsx b/packages/www/components/StreamsTable/CreateStreamDialog.tsx index b51b854cc7..fa14576cd1 100644 --- a/packages/www/components/StreamsTable/CreateStreamDialog.tsx +++ b/packages/www/components/StreamsTable/CreateStreamDialog.tsx @@ -29,7 +29,9 @@ const CreateStreamDialog = ({ return ( - + Create a new livestream @@ -85,6 +87,7 @@ const CreateStreamDialog = ({ - + - Filters - diff --git a/packages/www/components/Table/index.tsx b/packages/www/components/Table/index.tsx index a1174b5490..ecb119e7e9 100644 --- a/packages/www/components/Table/index.tsx +++ b/packages/www/components/Table/index.tsx @@ -311,8 +311,6 @@ export const DataTableComponent = >({ justify="between" css={{ mb: "$3", - borderBottom: "1px solid", - borderColor: border ? "$neutral5" : "transparent", pb: border ? "$2" : 0, }}> {/* Header title */} @@ -374,6 +372,7 @@ export const DataTableComponent = >({ )} {createAction && (