Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,11 @@ export function Onboarding() {
<div className="mx-auto w-full max-w-3xl px-6 pt-12 md:pt-16">
<div className="mb-10 text-center">
<h1 className="text-3xl font-bold tracking-tight text-doubleword-text-primary mb-3">
You&apos;re ready to run at scale.
From zero to inference in seconds.
</h1>
<p className="mx-auto max-w-xl text-lg text-doubleword-text-tertiary">
Your workspace is provisioned. Send your first API request
below to authenticate your setup.
Your workspace is fully provisioned. Run a sample payload
right from your browser to see Doubleword in action.
</p>
</div>

Expand Down
13 changes: 10 additions & 3 deletions dashboard/src/components/ui/sonner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@ const Toaster = ({ ...props }: ToasterProps) => {
<Sonner
theme={theme as ToasterProps["theme"]}
className="toaster group"
// The shadcn `--popover` / `--popover-foreground` / `--border` tokens
// are defined in index.css as bare HSL components (e.g. `0 0% 100%`),
// not as complete colors. Passing them straight to sonner's
// `--normal-bg` produces an invalid `background: 0 0% 100%` and the
// toast falls back to sonner's translucent default, which renders
// illegibly on top of page content. Wrapping with `hsl(...)` gives an
// opaque, themed background.
style={
{
"--normal-bg": "var(--popover)",
"--normal-text": "var(--popover-foreground)",
"--normal-border": "var(--border)",
"--normal-bg": "hsl(var(--popover))",
"--normal-text": "hsl(var(--popover-foreground))",
"--normal-border": "hsl(var(--border))",
} as React.CSSProperties
}
{...props}
Expand Down