+
diff --git a/apps/studio/components/ui/Charts/Charts.constants.ts b/apps/studio/components/ui/Charts/Charts.constants.ts
index 4ec14cdd103..53441ca068c 100644
--- a/apps/studio/components/ui/Charts/Charts.constants.ts
+++ b/apps/studio/components/ui/Charts/Charts.constants.ts
@@ -3,14 +3,14 @@
// For ChartHandler
export const CHART_COLORS = {
- TICK: 'hsl(var(--background-overlay-hover))',
- AXIS: 'hsl(var(--background-overlay-hover))',
- GREEN_1: 'hsl(var(--brand-default))', // #3ECF8E
+ TICK: 'var(--background-overlay-hover)',
+ AXIS: 'var(--background-overlay-hover)',
+ GREEN_1: 'hsl(var(--brand-default))',
GREEN_2: 'hsl(var(--brand-500))',
RED_1: 'hsl(var(--destructive-default))',
RED_2: 'hsl(var(--destructive-500))',
- REFERENCE_LINE: 'hsl(var(--foreground-muted))',
- REFERENCE_LINE_TEXT: 'hsl(var(--foreground-muted))',
+ REFERENCE_LINE: 'var(--foreground-muted)',
+ REFERENCE_LINE_TEXT: 'var(--foreground-muted)',
}
const LIGHT_STACKED_CHART_COLORS = [
diff --git a/apps/studio/components/ui/EditorPanel/EditorPanel.tsx b/apps/studio/components/ui/EditorPanel/EditorPanel.tsx
index 0e6de86ad76..8a557c2b082 100644
--- a/apps/studio/components/ui/EditorPanel/EditorPanel.tsx
+++ b/apps/studio/components/ui/EditorPanel/EditorPanel.tsx
@@ -274,7 +274,7 @@ export const EditorPanel = () => {
}
return (
-
+
{isEditingTitle ? (
{
-
+
-
+
)
case MANAGED_BY.AWS_MARKETPLACE:
@@ -68,7 +71,7 @@ function getPartnerIcon(
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
-
+
-
+
{chartData?.map((_: any, index: number) => (
|
diff --git a/apps/studio/styles/globals.css b/apps/studio/styles/globals.css
index 1a6b3947c63..af1591f6849 100644
--- a/apps/studio/styles/globals.css
+++ b/apps/studio/styles/globals.css
@@ -14,36 +14,36 @@
@theme {
--text-grid: 13px;
- --color-typography-body-light: hsl(var(--foreground-light));
- --color-typography-body-dark: hsl(var(--foreground-light));
- --color-typography-body-secondary-light: hsl(var(--foreground-lighter));
- --color-typography-body-secondary-dark: hsl(var(--foreground-lighter));
- --color-typography-body-strong-light: hsl(var(--foreground-default));
- --color-typography-body-strong-dark: hsl(var(--foreground-default));
- --color-typography-body-faded-light: hsl(var(--foreground-muted));
- --color-typography-body-faded-dark: hsl(var(--foreground-muted));
+ --color-typography-body-light: var(--foreground-light);
+ --color-typography-body-dark: var(--foreground-light);
+ --color-typography-body-secondary-light: var(--foreground-lighter);
+ --color-typography-body-secondary-dark: var(--foreground-lighter);
+ --color-typography-body-strong-light: var(--foreground-default);
+ --color-typography-body-strong-dark: var(--foreground-default);
+ --color-typography-body-faded-light: var(--foreground-muted);
+ --color-typography-body-faded-dark: var(--foreground-muted);
- --color-table-body-light: hsl(var(--background-default));
- --color-table-body-dark: hsl(var(--background-default));
- --color-table-header-light: hsl(var(--background-surface-100));
- --color-table-header-dark: hsl(var(--background-surface-100));
- --color-table-footer-light: hsl(var(--background-surface-100));
- --color-table-footer-dark: hsl(var(--background-surface-100));
- --color-table-border-light: hsl(var(--border-default));
- --color-table-border-dark: hsl(var(--border-default));
+ --color-table-body-light: var(--background-default);
+ --color-table-body-dark: var(--background-default);
+ --color-table-header-light: var(--background-surface-100);
+ --color-table-header-dark: var(--background-surface-100);
+ --color-table-footer-light: var(--background-surface-100);
+ --color-table-footer-dark: var(--background-surface-100);
+ --color-table-border-light: var(--border-default);
+ --color-table-border-dark: var(--border-default);
- --color-panel-body-light: hsl(var(--background-surface-100));
- --color-panel-body-dark: hsl(var(--background-surface-100));
- --color-panel-header-light: hsl(var(--background-surface-100));
- --color-panel-header-dark: hsl(var(--background-surface-100));
- --color-panel-footer-light: hsl(var(--background-surface-100));
- --color-panel-footer-dark: hsl(var(--background-surface-100));
- --color-panel-border-light: hsl(var(--border-default));
- --color-panel-border-dark: hsl(var(--border-default));
- --color-panel-border-interior-light: hsl(var(--border-muted));
- --color-panel-border-interior-dark: hsl(var(--border-muted));
- --color-panel-border-hover-light: hsl(var(--border-muted));
- --color-panel-border-hover-dark: hsl(var(--border-muted));
+ --color-panel-body-light: var(--background-surface-100);
+ --color-panel-body-dark: var(--background-surface-100);
+ --color-panel-header-light: var(--background-surface-100);
+ --color-panel-header-dark: var(--background-surface-100);
+ --color-panel-footer-light: var(--background-surface-100);
+ --color-panel-footer-dark: var(--background-surface-100);
+ --color-panel-border-light: var(--border-default);
+ --color-panel-border-dark: var(--border-default);
+ --color-panel-border-interior-light: var(--border-muted);
+ --color-panel-border-interior-dark: var(--border-muted);
+ --color-panel-border-hover-light: var(--border-muted);
+ --color-panel-border-hover-dark: var(--border-muted);
--animate-shimmer: shimmer 2s infinite linear;
--animate-badge-shimmer: badge-shimmer 3s ease-in-out infinite;
@@ -149,11 +149,11 @@
--sidebar-background: var(--background-dash-sidebar);
--sidebar-foreground: var(--foreground-default);
--sidebar-primary: var(--foreground-default);
- --sidebar-primary-foreground: var(--warning-default);
+ --sidebar-primary-foreground: hsl(var(--warning-default));
--sidebar-accent: var(--background-selection);
--sidebar-accent-foreground: var(--foreground-default);
--sidebar-border: var(--border-default);
- --sidebar-ring: 217.2 91.2% 59.8%;
+ --sidebar-ring: var(--ring);
--header-height: 3rem;
}
@@ -170,11 +170,11 @@
--sidebar-background: var(--background-dash-sidebar);
--sidebar-foreground: var(--foreground-default);
--sidebar-primary: var(--foreground-default);
- --sidebar-primary-foreground: var(--warning-default);
+ --sidebar-primary-foreground: hsl(var(--warning-default));
--sidebar-accent: var(--background-selection);
--sidebar-accent-foreground: var(--foreground-default);
--sidebar-border: var(--border-default);
- --sidebar-ring: 217.2 91.2% 59.8%;
+ --sidebar-ring: var(--ring);
}
@layer base {
@@ -183,7 +183,7 @@
::before,
::backdrop,
::file-selector-button {
- border-color: hsl(var(--border-default, currentColor));
+ border-color: var(--border-default, currentColor);
}
}
diff --git a/apps/studio/styles/monaco.css b/apps/studio/styles/monaco.css
index fc59de11691..7cbd607fd47 100644
--- a/apps/studio/styles/monaco.css
+++ b/apps/studio/styles/monaco.css
@@ -7,8 +7,8 @@
.monaco-editor-alt.monaco-editor-alt,
.monaco-editor-alt > .monaco-editor {
- --vscode-editor-background: hsl(var(--background-surface-300)) !important;
- --vscode-editorGutter-background: hsl(var(--background-surface-300)) !important;
+ --vscode-editor-background: var(--background-surface-300) !important;
+ --vscode-editorGutter-background: var(--background-surface-300) !important;
}
.monaco-editor-alt .current-line {
@@ -17,14 +17,14 @@
[data-theme='dark'] .monaco-editor,
[data-theme='dark'] .monaco-diff-editor {
- --vscode-editor-background: hsl(var(--background-surface-100)) !important;
- --vscode-editorGutter-background: hsl(var(--background-surface-100)) !important;
+ --vscode-editor-background: var(--background-surface-100) !important;
+ --vscode-editorGutter-background: var(--background-surface-100) !important;
color-scheme: dark;
}
.monaco-editor,
.monaco-diff-editor {
- --vscode-editor-background: hsl(var(--background-dash-sidebar)) !important;
- --vscode-editorGutter-background: hsl(var(--background-dash-sidebar)) !important;
+ --vscode-editor-background: var(--background-dash-sidebar) !important;
+ --vscode-editorGutter-background: var(--background-dash-sidebar) !important;
outline: none !important;
}
diff --git a/apps/studio/styles/react-data-grid-logs.css b/apps/studio/styles/react-data-grid-logs.css
index 3f84b9bcf8c..438e2a9e89a 100644
--- a/apps/studio/styles/react-data-grid-logs.css
+++ b/apps/studio/styles/react-data-grid-logs.css
@@ -85,7 +85,7 @@
.syntax-highlight {
counter-reset: line-numbering;
font-family: Menlo, Monaco, monospace;
- color: hsl(var(--foreground-lighter));
+ color: var(--foreground-lighter);
word-break: break-word;
}
@@ -94,7 +94,7 @@
counter-increment: line-numbering;
padding-right: 0px;
display: inline-block;
- color: hsl(var(--border-stronger));
+ color: var(--border-stronger);
/* space after numbers */
width: 2rem;
text-align: left;
@@ -104,11 +104,11 @@
animation: shimmer 1.5s infinite linear;
background: linear-gradient(
to right,
- hsl(var(--background-default)) 0%,
+ var(--background-default) 0%,
hsl(var(--brand-default)) 25%,
hsl(var(--brand-300)) 35%,
- hsl(var(--background-default)) 45%,
- hsl(var(--background-surface-100)) 75%
+ var(--background-default) 45%,
+ var(--background-surface-100) 75%
);
background-size: 3000px 100%;
}
diff --git a/apps/studio/styles/ui.css b/apps/studio/styles/ui.css
index 216d774d86b..c242e8f58f6 100644
--- a/apps/studio/styles/ui.css
+++ b/apps/studio/styles/ui.css
@@ -190,8 +190,8 @@
&--inner-wrapper {
background: linear-gradient(
90deg,
- hsl(var(--background-alternative-default)) 50%,
- hsl(var(--background-surface-100)) 50%
+ var(--background-alternative-default) 50%,
+ var(--background-surface-100) 50%
);
width: 100%;
}
@@ -199,8 +199,8 @@
.dark &--inner-wrapper {
background: linear-gradient(
90deg,
- hsl(var(--background-surface-100)) 50%,
- hsl(var(--background-default)) 50%
+ var(--background-surface-100) 50%,
+ var(--background-default) 50%
);
}
@@ -364,37 +364,37 @@
.thin-scrollbars {
scrollbar-width: thin;
- scrollbar-color: hsl(var(--foreground-muted)) hsl(var(--background-alternative-default));
+ scrollbar-color: var(--foreground-muted) var(--background-alternative-default);
.dark & {
- scrollbar-color: hsl(var(--foreground-lighter)) hsl(var(--background-surface-100));
+ scrollbar-color: var(--foreground-lighter) var(--background-surface-100);
}
::-webkit-scrollbar {
- background: hsl(var(--background-default));
+ background: var(--background-default);
height: 3px;
width: 0px;
border-radius: 0;
.dark & {
- background: hsl(var(--border-control));
+ background: var(--border-control);
}
}
::-webkit-scrollbar-track {
- -webkit-box-shadow: inset 0 0 6px hsl(var(--border-control));
+ -webkit-box-shadow: inset 0 0 6px var(--border-control);
-webkit-border-radius: 5px;
border-radius: 5px;
.dark & {
- -webkit-box-shadow: inset 0 0 6px hsl(var(--border-stronger));
+ -webkit-box-shadow: inset 0 0 6px var(--border-stronger);
}
}
::-webkit-scrollbar-thumb {
-webkit-border-radius: 5px;
border-radius: 5px;
- background: hsl(var(--foreground-muted));
+ background: var(--foreground-muted);
.dark & {
-webkit-box-shadow: inset 0 0 6px var(--color-slate-1200);
diff --git a/apps/ui-library/app/example/password-based-auth/layout.tsx b/apps/ui-library/app/example/password-based-auth/layout.tsx
index 9ac281b3fb6..ea9f98a6c76 100644
--- a/apps/ui-library/app/example/password-based-auth/layout.tsx
+++ b/apps/ui-library/app/example/password-based-auth/layout.tsx
@@ -32,7 +32,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
className="flex w-full h-full items-center justify-center p-6 md:p-10 preview bg-surface-100"
style={{ minHeight: '100%' }}
>
-
+
{children}
diff --git a/apps/ui-library/app/example/social-auth/layout.tsx b/apps/ui-library/app/example/social-auth/layout.tsx
index e75df4c7c46..75628c05269 100644
--- a/apps/ui-library/app/example/social-auth/layout.tsx
+++ b/apps/ui-library/app/example/social-auth/layout.tsx
@@ -32,7 +32,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
className="flex w-full h-full items-center justify-center p-6 md:p-10 preview bg-surface-100"
style={{ minHeight: '100%' }}
>
-
+
{children}
diff --git a/apps/ui-library/components/component-preview.tsx b/apps/ui-library/components/component-preview.tsx
index e13dd56b3e8..ce22543c0e8 100644
--- a/apps/ui-library/components/component-preview.tsx
+++ b/apps/ui-library/components/component-preview.tsx
@@ -89,10 +89,10 @@ export function ComponentPreview({
)}
>
{showGrid && (
-
+
)}
{showDottedGrid && (
-
+
)}
{ComponentPreview}
diff --git a/apps/ui-library/registry/default/examples/realtime-flow-demo.tsx b/apps/ui-library/registry/default/examples/realtime-flow-demo.tsx
index a788202aeec..caf5d7b8ce3 100644
--- a/apps/ui-library/registry/default/examples/realtime-flow-demo.tsx
+++ b/apps/ui-library/registry/default/examples/realtime-flow-demo.tsx
@@ -11,7 +11,9 @@ import {
type Node,
type NodeProps,
} from '@xyflow/react'
+
import '@xyflow/react/dist/style.css'
+
import { memo, useMemo, useRef } from 'react'
import { RealtimeFlowOverlay } from '../blocks/realtime-flow/components/realtime-flow-overlay'
@@ -21,9 +23,9 @@ import { Button } from '../components/ui/button'
const NODE_Y_BASE = 80
const NODE_X_BASE = 80
const FLOW_NODE_STYLE = {
- backgroundColor: 'hsl(var(--card))',
- borderColor: 'hsl(var(--border))',
- color: 'hsl(var(--card-foreground))',
+ backgroundColor: 'var(--card)',
+ borderColor: 'var(--border)',
+ color: 'var(--card-foreground)',
}
type EditableNodeData = {
diff --git a/apps/ui-library/styles/code-block-variables.css b/apps/ui-library/styles/code-block-variables.css
index f1054071748..f12e15fb992 100644
--- a/apps/ui-library/styles/code-block-variables.css
+++ b/apps/ui-library/styles/code-block-variables.css
@@ -18,16 +18,16 @@
[data-theme='light'],
.light {
--code-token-keyword: #6b35dc;
- --code-foreground: hsl(var(--foreground-light) / 1);
+ --code-foreground: oklch(from var(--foreground-light) l c h / 1);
--code-token-constant: #15593b;
--code-token-string: #f1a10d;
--code-token-comment: #7e7e7e;
- --code-token-parameter: hsl(var(--foreground-light) / 1);
+ --code-token-parameter: oklch(from var(--foreground-light) l c h / 1);
--code-token-function: #15593b;
--code-token-string-expression: #f1a10d;
- --code-token-punctuation: hsl(var(--foreground-light) / 1);
- --code-token-link: hsl(var(--foreground-light) / 1);
- --code-token-number: hsl(var(--foreground-light) / 1);
+ --code-token-punctuation: oklch(from var(--foreground-light) l c h / 1);
+ --code-token-link: oklch(from var(--foreground-light) l c h / 1);
+ --code-token-number: oklch(from var(--foreground-light) l c h / 1);
--code-token-property: #15593b;
--code-highlight-color: #1c1c1c;
}
diff --git a/apps/ui-library/styles/globals.css b/apps/ui-library/styles/globals.css
index ecb962acc24..6d89a7d3595 100644
--- a/apps/ui-library/styles/globals.css
+++ b/apps/ui-library/styles/globals.css
@@ -18,25 +18,25 @@
--radius-lg: var(--radius);
--radius-md: calc(var(--radius) - 2px);
--radius-sm: calc(var(--radius) - 4px);
- /* --color-background: hsl(var(--background)); */
- --color-foreground: hsl(var(--foreground));
- --color-card: hsl(var(--card));
- --color-card-foreground: hsl(var(--card-foreground));
- --color-popover: hsl(var(--popover));
- --color-popover-foreground: hsl(var(--popover-foreground));
- --color-primary: hsl(var(--primary));
- --color-primary-foreground: hsl(var(--primary-foreground));
- --color-secondary: hsl(var(--secondary));
- --color-secondary-foreground: hsl(var(--secondary-foreground));
- --color-muted: hsl(var(--muted));
- --color-muted-foreground: hsl(var(--muted-foreground));
- --color-accent: hsl(var(--accent));
- --color-accent-foreground: hsl(var(--accent-foreground));
- --color-destructive: hsl(var(--destructive));
- --color-destructive-foreground: hsl(var(--destructive-foreground));
- /* --color-border: hsl(var(--border)); */
- --color-input: hsl(var(--input));
- --color-ring: hsl(var(--ring));
+ /* --color-background: var(--background); */
+ --color-foreground: var(--foreground);
+ --color-card: var(--card);
+ --color-card-foreground: var(--card-foreground);
+ --color-popover: var(--popover);
+ --color-popover-foreground: var(--popover-foreground);
+ --color-primary: var(--primary);
+ --color-primary-foreground: var(--primary-foreground);
+ --color-secondary: var(--secondary);
+ --color-secondary-foreground: var(--secondary-foreground);
+ --color-muted: var(--muted);
+ --color-muted-foreground: var(--muted-foreground);
+ --color-accent: var(--accent);
+ --color-accent-foreground: var(--accent-foreground);
+ --color-destructive: var(--destructive);
+ --color-destructive-foreground: var(--destructive-foreground);
+ /* --color-border: var(--border); */
+ --color-input: var(--input);
+ --color-ring: var(--ring);
--color-chart-1: hsl(var(--chart-1));
--color-chart-2: hsl(var(--chart-2));
--color-chart-3: hsl(var(--chart-3));
@@ -46,75 +46,75 @@
@layer base {
:root {
- --background: 0 0% 100%;
- --foreground: 0 0% 14.5%;
- --card: 0 0% 100%;
- --card-foreground: 0 0% 14.5%;
- --popover: 0 0% 100%;
- --popover-foreground: 0 0% 14.5%;
- --primary: 0 0% 20.5%;
- --primary-foreground: 0 0% 98.5%;
- --secondary: 0 0% 97%;
- --secondary-foreground: 0 0% 20.5%;
- --muted: 0 0% 97%;
- --muted-foreground: 0 0% 55.6%;
- --accent: 0 0% 97%;
- --accent-foreground: 0 0% 20.5%;
- --destructive: 27.3 24.5% 57.7%;
- --destructive-foreground: 27.3 24.5% 57.7%;
- --border: 0 0% 92.2%;
- --input: 0 0% 92.2%;
- --ring: 0 0% 70.8%;
+ --background: hsl(0 0% 100%);
+ --foreground: hsl(0 0% 14.5%);
+ --card: hsl(0 0% 100%);
+ --card-foreground: hsl(0 0% 14.5%);
+ --popover: hsl(0 0% 100%);
+ --popover-foreground: hsl(0 0% 14.5%);
+ --primary: hsl(0 0% 20.5%);
+ --primary-foreground: hsl(0 0% 98.5%);
+ --secondary: hsl(0 0% 97%);
+ --secondary-foreground: hsl(0 0% 20.5%);
+ --muted: hsl(0 0% 97%);
+ --muted-foreground: hsl(0 0% 55.6%);
+ --accent: hsl(0 0% 97%);
+ --accent-foreground: hsl(0 0% 20.5%);
+ --destructive: hsl(27.3 24.5% 57.7%);
+ --destructive-foreground: hsl(27.3 24.5% 57.7%);
+ --border: hsl(0 0% 92.2%);
+ --input: hsl(0 0% 92.2%);
+ --ring: hsl(0 0% 70.8%);
--chart-1: 41.1 22.2% 64.6%;
--chart-2: 184.7 11.8% 60%;
--chart-3: 227.4 7% 39.8%;
--chart-4: 84.4 18.9% 82.8%;
--chart-5: 70.1 18.8% 76.9%;
--radius: 0.625rem;
- --sidebar: 0 0% 98.5%;
- --sidebar-foreground: 0 0% 14.5%;
- --sidebar-primary: 0 0% 20.5%;
- --sidebar-primary-foreground: 0 0% 98.5%;
- --sidebar-accent: 0 0% 97%;
- --sidebar-accent-foreground: 0 0% 20.5%;
- --sidebar-border: 0 0% 92.2%;
- --sidebar-ring: 0 0% 70.8%;
+ --sidebar: hsl(0 0% 98.5%);
+ --sidebar-foreground: hsl(0 0% 14.5%);
+ --sidebar-primary: hsl(0 0% 20.5%);
+ --sidebar-primary-foreground: hsl(0 0% 98.5%);
+ --sidebar-accent: hsl(0 0% 97%);
+ --sidebar-accent-foreground: hsl(0 0% 20.5%);
+ --sidebar-border: hsl(0 0% 92.2%);
+ --sidebar-ring: hsl(0 0% 70.8%);
}
[data-theme='dark'],
[data-theme='classic-dark'] {
- --background: 0 0% 14.5%;
- --foreground: 0 0% 98.5%;
- --card: 0 0% 0%;
- --card-foreground: 0 0% 98.5%;
- --popover: 0 0% 14.5%;
- --popover-foreground: 0 0% 98.5%;
- --primary: 0 0% 98.5%;
- --primary-foreground: 0 0% 20.5%;
- --secondary: 0 0% 26.9%;
- --secondary-foreground: 0 0% 98.5%;
- --muted: 0 0% 26.9%;
- --muted-foreground: 0 0% 70.8%;
- --accent: 0 0% 26.9%;
- --accent-foreground: 0 0% 98.5%;
- --destructive: 25.7 14.1% 39.6%;
- --destructive-foreground: 25.3 23.7% 63.7%;
- --border: 0 0% 26.9%;
- --input: 0 0% 26.9%;
- --ring: 0 0% 55.6%;
+ --background: hsl(0 0% 14.5%);
+ --foreground: hsl(0 0% 98.5%);
+ --card: hsl(0 0% 0%);
+ --card-foreground: hsl(0 0% 98.5%);
+ --popover: hsl(0 0% 14.5%);
+ --popover-foreground: hsl(0 0% 98.5%);
+ --primary: hsl(0 0% 98.5%);
+ --primary-foreground: hsl(0 0% 20.5%);
+ --secondary: hsl(0 0% 26.9%);
+ --secondary-foreground: hsl(0 0% 98.5%);
+ --muted: hsl(0 0% 26.9%);
+ --muted-foreground: hsl(0 0% 70.8%);
+ --accent: hsl(0 0% 26.9%);
+ --accent-foreground: hsl(0 0% 98.5%);
+ --destructive: hsl(25.7 14.1% 39.6%);
+ --destructive-foreground: hsl(25.3 23.7% 63.7%);
+ --border: hsl(0 0% 26.9%);
+ --input: hsl(0 0% 26.9%);
+ --ring: hsl(0 0% 55.6%);
--chart-1: 264.4 24.3% 48.8%;
--chart-2: 162.5 17% 69.6%;
--chart-3: 70.1 18.8% 76.9%;
--chart-4: 303.9 26.5% 62.7%;
--chart-5: 16.4 24.6% 64.5%;
- --sidebar: 0 0% 20.5%;
- --sidebar-foreground: 0 0% 98.5%;
- --sidebar-primary: 264.4 24.3% 48.8%;
- --sidebar-primary-foreground: 0 0% 98.5%;
- --sidebar-accent: 0 0% 26.9%;
- --sidebar-accent-foreground: 0 0% 98.5%;
- --sidebar-border: 0 0% 26.9%;
- --sidebar-ring: 0 0% 43.9%;
+ --sidebar: hsl(0 0% 20.5%);
+ --sidebar-foreground: hsl(0 0% 98.5%);
+ --sidebar-primary: hsl(264.4 24.3% 48.8%);
+ --sidebar-primary-foreground: hsl(0 0% 98.5%);
+ --sidebar-accent: hsl(0 0% 26.9%);
+ --sidebar-accent-foreground: hsl(0 0% 98.5%);
+ --sidebar-border: hsl(0 0% 26.9%);
+ --sidebar-ring: hsl(0 0% 43.9%);
}
}
diff --git a/apps/www/_blog/2025-12-17-building-chatgpt-apps-with-supabase.mdx b/apps/www/_blog/2025-12-17-building-chatgpt-apps-with-supabase.mdx
index 56e2f606597..b49c6cc5ab5 100644
--- a/apps/www/_blog/2025-12-17-building-chatgpt-apps-with-supabase.mdx
+++ b/apps/www/_blog/2025-12-17-building-chatgpt-apps-with-supabase.mdx
@@ -105,7 +105,7 @@ Open `index.ts` and set up your MCP server:
```tsx
//index.ts
-import { MCPServer, object, text, widget, error } from 'mcp-use/server'
+import { error, MCPServer, object, text, widget } from 'mcp-use/server'
const server = new MCPServer({
name: 'supabase-explorer',
@@ -197,7 +197,7 @@ const SupabaseStatusWidget: React.FC = () => {
Supabase Status
-
+
Last {props.daysBack} days
diff --git a/apps/www/app/(home)/_components/OpenSourceSection.tsx b/apps/www/app/(home)/_components/OpenSourceSection.tsx
index be815f3c132..7abf14f5b99 100644
--- a/apps/www/app/(home)/_components/OpenSourceSection.tsx
+++ b/apps/www/app/(home)/_components/OpenSourceSection.tsx
@@ -63,7 +63,7 @@ const TEXT_OFFSET_X = Math.floor((COLS - TEXT_W) / 2)
const TEXT_OFFSET_Y = Math.floor((ROWS - TEXT_H) / 2)
const LEVELS_BG = [
- 'hsl(var(--background-surface-300) / 0.2)',
+ 'color-mix(in oklch, var(--foreground) 5%, var(--background))',
'hsl(var(--brand-400) / 0.08)',
'hsl(var(--brand-500) / 0.1)',
'hsl(var(--brand-600) / 0.12)',
diff --git a/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx b/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
index f9912f65cd1..0d624038a3c 100644
--- a/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
+++ b/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
@@ -12,7 +12,7 @@ export function StateOfStartupsAuroraHeader() {
return (
{/* Aurora shader scene — hidden when user prefers reduced motion */}
{!prefersReducedMotion && (
@@ -35,7 +35,7 @@ export function StateOfStartupsAuroraHeader() {
className="absolute inset-0 pointer-events-none transition-opacity [transition-duration:1200ms]"
style={{
opacity: shaderLoaded ? 0 : 1,
- background: 'hsl(var(--background-alternative-default))',
+ background: 'var(--background-alternative-default)',
}}
/>
@@ -44,7 +44,7 @@ export function StateOfStartupsAuroraHeader() {
className="absolute inset-0 pointer-events-none"
style={{
background:
- 'linear-gradient(to top, hsl(var(--background-alternative-default)) 0%, hsl(var(--background-alternative-default) / 0.9) 15%, transparent 90%)',
+ 'linear-gradient(to top, var(--background-alternative-default) 0%, oklch(from var(--background-alternative-default) l c h / 0.9) 15%, transparent 90%)',
}}
/>
diff --git a/apps/www/app/state-of-startups/components/StateOfStartupsHeader.tsx b/apps/www/app/state-of-startups/components/StateOfStartupsHeader.tsx
index f6f90ef6af9..18a7a251198 100644
--- a/apps/www/app/state-of-startups/components/StateOfStartupsHeader.tsx
+++ b/apps/www/app/state-of-startups/components/StateOfStartupsHeader.tsx
@@ -12,8 +12,8 @@ const DiagonalStripes = () => (
style={{
backgroundImage: `repeating-linear-gradient(
45deg,
- hsl(var(--border-muted)) 0px,
- hsl(var(--border-muted)) 1px,
+ var(--border-muted) 0px,
+ var(--border-muted) 1px,
transparent 1px,
transparent 8px
)`,
diff --git a/apps/www/app/state-of-startups/components/SurveyChartShell.tsx b/apps/www/app/state-of-startups/components/SurveyChartShell.tsx
index 1c02bb2ab0f..e3ac8344e94 100644
--- a/apps/www/app/state-of-startups/components/SurveyChartShell.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChartShell.tsx
@@ -1,7 +1,7 @@
import type { ReactNode } from 'react'
const CHART_GRADIENT =
- 'radial-gradient(circle at center -150%, hsl(var(--brand-300)), transparent 80%), radial-gradient(ellipse at center 230%, hsl(var(--background-surface-200)), transparent 75%)'
+ 'radial-gradient(circle at center -150%, hsl(var(--brand-300)), transparent 80%), radial-gradient(ellipse at center 230%, var(--background-surface-200), transparent 75%)'
/** Shared frame for every survey chart: gradient container + Q&A/eyebrow header.
* When `isEmpty` is set (no data for the active year), renders the
diff --git a/apps/www/app/state-of-startups/register/RegisterContent.tsx b/apps/www/app/state-of-startups/register/RegisterContent.tsx
index cd07a920862..3b1898524bc 100644
--- a/apps/www/app/state-of-startups/register/RegisterContent.tsx
+++ b/apps/www/app/state-of-startups/register/RegisterContent.tsx
@@ -25,12 +25,12 @@ export function RegisterContent() {
return (
{/* Aurora shader scene — hidden when user prefers reduced motion */}
{!prefersReducedMotion && (
@@ -53,7 +53,7 @@ export function RegisterContent() {
className="absolute inset-0 pointer-events-none transition-opacity [transition-duration:1200ms]"
style={{
opacity: shaderLoaded ? 0 : 1,
- background: 'hsl(var(--background-alternative-default))',
+ background: 'var(--background-alternative-default)',
}}
/>
@@ -62,7 +62,7 @@ export function RegisterContent() {
className="absolute inset-0 pointer-events-none"
style={{
background:
- 'linear-gradient(to top, hsl(var(--background-alternative-default)) 0%, hsl(var(--background-alternative-default) / 0.9) 15%, transparent 90%)',
+ 'linear-gradient(to top, var(--background-alternative-default) 0%, oklch(from var(--background-alternative-default) l c h / 0.9) 15%, transparent 90%)',
}}
/>
diff --git a/apps/www/components/Charts/DeveloperGrowthChart.tsx b/apps/www/components/Charts/DeveloperGrowthChart.tsx
index 4438c4d00b8..8d35d5d7779 100644
--- a/apps/www/components/Charts/DeveloperGrowthChart.tsx
+++ b/apps/www/components/Charts/DeveloperGrowthChart.tsx
@@ -102,14 +102,14 @@ const DeveloperGrowthChart = () => {
value.substring(0, 4)}
ticks={data.filter((d, i) => isYearBoundary(d.month, i)).map((d) => d.month)}
/>
{
y={-12}
dy={16}
textAnchor="end"
- fill="hsl(var(--foreground-lighter))"
+ fill="var(--foreground-lighter)"
transform="rotate(-35)"
className="text-xs"
>
@@ -72,14 +72,14 @@ const Chart = () => {
@ts-ignore */}
}
label={{
@@ -91,7 +91,7 @@ const Chart = () => {
: 'Number of results',
position: 'insideBottom',
offset: -32,
- fill: 'hsl(var(--foreground-default))',
+ fill: 'var(--foreground-default)',
}}
/>
{
style={{
fontSize: '14px',
marginBottom: '32px',
- color: 'hsl(var(--foreground-lighter))',
+ color: 'var(--foreground-lighter)',
}}
minTickGap={16}
tickMargin={8}
- axisLine={{ stroke: 'hsl(var(--border-default))' }}
- tickLine={{ stroke: 'hsl(var(--border-default))' }}
+ axisLine={{ stroke: 'var(--border-default)' }}
+ tickLine={{ stroke: 'var(--border-default)' }}
tick={}
/>
{dimensions.map((dimension: string, index: number) => {
diff --git a/apps/www/components/ExampleCard.tsx b/apps/www/components/ExampleCard.tsx
index 8745841e4b6..561a7923c27 100644
--- a/apps/www/components/ExampleCard.tsx
+++ b/apps/www/components/ExampleCard.tsx
@@ -54,7 +54,7 @@ function ExampleCard(props: any) {
fillRule="evenodd"
clipRule="evenodd"
d={framework.icon}
- fill="hsl(var(--foreground-lighter))"
+ fill="var(--foreground-lighter)"
/>
diff --git a/apps/www/components/Go/TweetsSection.tsx b/apps/www/components/Go/TweetsSection.tsx
index a7eab7fbf98..a4cef715cc5 100644
--- a/apps/www/components/Go/TweetsSection.tsx
+++ b/apps/www/components/Go/TweetsSection.tsx
@@ -68,7 +68,7 @@ function DesktopMarquee() {
))}
-
+
)
}
diff --git a/apps/www/components/LaunchWeek/11/LaunchWeekPrizeCard.tsx b/apps/www/components/LaunchWeek/11/LaunchWeekPrizeCard.tsx
index 8c3cccdc910..f83c9eae7b6 100644
--- a/apps/www/components/LaunchWeek/11/LaunchWeekPrizeCard.tsx
+++ b/apps/www/components/LaunchWeek/11/LaunchWeekPrizeCard.tsx
@@ -1,7 +1,7 @@
+import Panel from '~/components/Panel'
import { useTheme } from 'next-themes'
import React from 'react'
import { cn } from 'ui'
-import Panel from '~/components/Panel'
export default function LaunchWeekPrizeCard({
content,
@@ -23,9 +23,9 @@ export default function LaunchWeekPrizeCard({
contentClassName
)}
shimmerToColor={
- resolvedTheme?.includes('dark') ? 'hsl(var(--background-alternative-default))' : undefined
+ resolvedTheme?.includes('dark') ? 'var(--background-alternative-default)' : undefined
}
- shimmerFromColor={resolvedTheme?.includes('dark') ? 'hsl(var(--border-default))' : undefined}
+ shimmerFromColor={resolvedTheme?.includes('dark') ? 'var(--border-default)' : undefined}
>
{content}
diff --git a/apps/www/components/LaunchWeek/11/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/11/Releases/BuildStage.tsx
index d1ded98f9fc..b2141cda262 100644
--- a/apps/www/components/LaunchWeek/11/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/11/Releases/BuildStage.tsx
@@ -1,11 +1,11 @@
-import React, { FC } from 'react'
import { buildDays as days } from '~/components/LaunchWeek/11/Releases/data'
-
import SectionContainer from '~/components/Layouts/SectionContainer'
-import AdventCard from './components/AdventCard'
import { motion, useInView } from 'framer-motion'
+import React, { FC } from 'react'
import { cn } from 'ui'
+import AdventCard from './components/AdventCard'
+
const BuildStage: FC = () => {
const ref = React.useRef(null)
const isInView = useInView(ref, { margin: '-25%', once: true })
@@ -58,7 +58,7 @@ const BuildStage: FC = () => {
fillRule="evenodd"
clipRule="evenodd"
d="M3.9999 7.55557V5.95557C3.9999 3.74643 5.79076 1.95557 7.9999 1.95557C10.209 1.95557 11.9999 3.74643 11.9999 5.95557V7.55557C12.8836 7.55557 13.5999 8.27191 13.5999 9.15557V13.1556C13.5999 14.0392 12.8836 14.7556 11.9999 14.7556H3.9999C3.11625 14.7556 2.3999 14.0392 2.3999 13.1556V9.15557C2.3999 8.27191 3.11625 7.55557 3.9999 7.55557ZM10.3999 5.95557V7.55557H5.5999V5.95557C5.5999 4.63008 6.67442 3.55557 7.9999 3.55557C9.32539 3.55557 10.3999 4.63008 10.3999 5.95557Z"
- fill="hsl(var(--foreground-lighter))"
+ fill="var(--foreground-lighter)"
/>
diff --git a/apps/www/components/LaunchWeek/11/Releases/data/lw11_build_stage.tsx b/apps/www/components/LaunchWeek/11/Releases/data/lw11_build_stage.tsx
index 614827ef665..cce3e6f534b 100644
--- a/apps/www/components/LaunchWeek/11/Releases/data/lw11_build_stage.tsx
+++ b/apps/www/components/LaunchWeek/11/Releases/data/lw11_build_stage.tsx
@@ -46,11 +46,11 @@ export const days: AdventDay[] = [
fillRule="evenodd"
clipRule="evenodd"
d="M3.43881 3.75378C4.10721 1.93324 5.84055 0.723145 7.77992 0.723145H15.6033V0.734736H17.0394C23.8756 0.734736 29.4173 6.27652 29.4173 13.1127V20.1749C29.4173 20.7272 28.9696 21.1749 28.4173 21.1749C27.8651 21.1749 27.4173 20.7272 27.4173 20.1749V13.1127C27.4173 7.38109 22.771 2.73474 17.0394 2.73474H15.4396C15.3877 2.73474 15.3366 2.73078 15.2868 2.72314H7.77992C6.6793 2.72314 5.6956 3.40989 5.31627 4.44308L2.7812 11.3479C2.37375 12.4577 2.69516 13.7038 3.58855 14.4781L5.32807 15.9856C6.12772 16.6786 6.58711 17.6847 6.58709 18.7428L6.58706 21.5134C6.58702 23.8192 8.45627 25.6885 10.7621 25.6885C11.4007 25.6885 11.9184 25.1708 11.9184 24.5322L11.9185 12.1874C11.9185 9.59233 12.955 7.10481 14.7977 5.27761C15.1899 4.88873 15.823 4.8914 16.2119 5.28357C16.6008 5.67574 16.5981 6.3089 16.2059 6.69777C14.742 8.14943 13.9185 10.1257 13.9185 12.1874L13.9184 24.5323C13.9184 26.2754 12.5053 27.6885 10.7621 27.6885C7.35169 27.6885 4.58701 24.9238 4.58706 21.5134L4.58709 18.7428C4.5871 18.2647 4.37953 17.8101 4.01822 17.497L2.27871 15.9894C0.757203 14.6708 0.209829 12.5486 0.90374 10.6586L3.43881 3.75378ZM16.539 18.5225C17.0348 18.2791 17.634 18.4838 17.8773 18.9796C19.1969 21.6686 21.9313 23.3727 24.9267 23.3726L32.8043 23.3726C33.3566 23.3725 33.8043 23.8203 33.8043 24.3725C33.8044 24.9248 33.3566 25.3725 32.8044 25.3726L29.4081 25.3726C29.4142 25.4172 29.4173 25.4628 29.4173 25.5091C29.4173 29.0627 26.1868 31.4165 22.6091 31.4165C19.2966 31.4165 16.5385 29.0518 15.9271 25.9188C15.8213 25.3767 16.175 24.8516 16.717 24.7458C17.2591 24.64 17.7843 24.9936 17.89 25.5357C18.3217 27.7475 20.2716 29.4165 22.6091 29.4165C25.447 29.4165 27.4173 27.6256 27.4173 25.5091C27.4173 25.4628 27.4205 25.4172 27.4266 25.3726L24.9267 25.3726C21.1684 25.3727 17.7375 23.2346 16.0818 19.8607C15.8385 19.3649 16.0432 18.7658 16.539 18.5225Z"
- fill="hsl(var(--foreground-light))"
+ fill="var(--foreground-light)"
/>
),
@@ -105,19 +105,19 @@ export const days: AdventDay[] = [
>
),
diff --git a/apps/www/components/LaunchWeek/12/LaunchWeekPrizeCard.tsx b/apps/www/components/LaunchWeek/12/LaunchWeekPrizeCard.tsx
index 8c3cccdc910..f83c9eae7b6 100644
--- a/apps/www/components/LaunchWeek/12/LaunchWeekPrizeCard.tsx
+++ b/apps/www/components/LaunchWeek/12/LaunchWeekPrizeCard.tsx
@@ -1,7 +1,7 @@
+import Panel from '~/components/Panel'
import { useTheme } from 'next-themes'
import React from 'react'
import { cn } from 'ui'
-import Panel from '~/components/Panel'
export default function LaunchWeekPrizeCard({
content,
@@ -23,9 +23,9 @@ export default function LaunchWeekPrizeCard({
contentClassName
)}
shimmerToColor={
- resolvedTheme?.includes('dark') ? 'hsl(var(--background-alternative-default))' : undefined
+ resolvedTheme?.includes('dark') ? 'var(--background-alternative-default)' : undefined
}
- shimmerFromColor={resolvedTheme?.includes('dark') ? 'hsl(var(--border-default))' : undefined}
+ shimmerFromColor={resolvedTheme?.includes('dark') ? 'var(--border-default)' : undefined}
>
{content}
diff --git a/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx
index e4799272b0e..34f870bb40e 100644
--- a/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx
@@ -1,11 +1,11 @@
-import React, { FC } from 'react'
import { buildDays as days } from '~/components/LaunchWeek/12/Releases/data'
-
import SectionContainer from '~/components/Layouts/SectionContainer'
-import BuildCard from './components/BuildCard'
import { motion, useInView } from 'framer-motion'
+import React, { FC } from 'react'
import { cn } from 'ui'
+import BuildCard from './components/BuildCard'
+
const BuildStage: FC = () => {
const ref = React.useRef(null)
const isInView = useInView(ref, { margin: '-25%', once: true })
@@ -58,7 +58,7 @@ const BuildStage: FC = () => {
fillRule="evenodd"
clipRule="evenodd"
d="M3.9999 7.55557V5.95557C3.9999 3.74643 5.79076 1.95557 7.9999 1.95557C10.209 1.95557 11.9999 3.74643 11.9999 5.95557V7.55557C12.8836 7.55557 13.5999 8.27191 13.5999 9.15557V13.1556C13.5999 14.0392 12.8836 14.7556 11.9999 14.7556H3.9999C3.11625 14.7556 2.3999 14.0392 2.3999 13.1556V9.15557C2.3999 8.27191 3.11625 7.55557 3.9999 7.55557ZM10.3999 5.95557V7.55557H5.5999V5.95557C5.5999 4.63008 6.67442 3.55557 7.9999 3.55557C9.32539 3.55557 10.3999 4.63008 10.3999 5.95557Z"
- fill="hsl(var(--foreground-lighter))"
+ fill="var(--foreground-lighter)"
/>
diff --git a/apps/www/components/LaunchWeek/12/Releases/data/lw12_build_stage.tsx b/apps/www/components/LaunchWeek/12/Releases/data/lw12_build_stage.tsx
index 56e4bbe32a4..83a20c6f45d 100644
--- a/apps/www/components/LaunchWeek/12/Releases/data/lw12_build_stage.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/data/lw12_build_stage.tsx
@@ -1,7 +1,7 @@
// see apps/www/components/LaunchWeek/X/Releases/data/lwx_advent_days.tsx for reference
-import { ReactNode } from 'react'
import { type ClassValue } from 'clsx'
+import { ReactNode } from 'react'
export interface AdventDay {
icon?: ReactNode // use svg jsx with 34x34px viewport
@@ -45,11 +45,11 @@ export const days: AdventDay[] = [
>
),
@@ -76,19 +76,19 @@ export const days: AdventDay[] = [
>
),
@@ -115,25 +115,25 @@ export const days: AdventDay[] = [
>
),
@@ -162,17 +162,17 @@ export const days: AdventDay[] = [
fillRule="evenodd"
clipRule="evenodd"
d="M16.0892 12.5746C15.4328 12.5746 14.8032 12.8353 14.339 13.2995C13.8748 13.7637 13.614 14.3933 13.614 15.0498V35.8419C13.614 36.4984 13.8748 37.128 14.339 37.5922C14.8032 38.0563 15.4328 38.3171 16.0892 38.3171H29.9506C30.4974 38.3171 30.9407 38.7604 30.9407 39.3072C30.9407 39.854 30.4974 40.2973 29.9506 40.2973H16.0892C14.9076 40.2973 13.7743 39.8279 12.9388 38.9924C12.1032 38.1568 11.6338 37.0235 11.6338 35.8419V15.0498C11.6338 13.8681 12.1032 12.7349 12.9388 11.8993C13.7743 11.0638 14.9076 10.5944 16.0892 10.5944H36.8813C37.4281 10.5944 37.8714 11.0376 37.8714 11.5845V20.2478C37.8714 20.7946 37.4281 21.2379 36.8813 21.2379C36.3345 21.2379 35.8912 20.7946 35.8912 20.2478V12.5746H16.0892Z"
- fill="hsl(var(--foreground-light))"
+ fill="var(--foreground-light)"
/>
),
@@ -199,13 +199,13 @@ export const days: AdventDay[] = [
>
),
@@ -234,7 +234,7 @@ export const days: AdventDay[] = [
fillRule="evenodd"
clipRule="evenodd"
d="M19.992 9.74642C20.3232 10.3166 20.1294 11.0473 19.5593 11.3785L12.6092 15.4154L24.7517 22.4685L36.8948 15.4151L29.9453 11.3785C29.3752 11.0473 29.1814 10.3166 29.5126 9.74642C29.8438 9.17625 30.5745 8.98251 31.1447 9.3137L39.7981 14.3401C40.1659 14.5537 40.3923 14.947 40.3923 15.3724V25.5873C40.3923 26.2467 39.8578 26.7812 39.1984 26.7812C38.539 26.7812 38.0045 26.2467 38.0045 25.5873V17.5319L25.9456 24.5364V38.4719L33.2678 34.2187C33.838 33.8875 34.5687 34.0813 34.8998 34.6514C35.231 35.2216 35.0373 35.9523 34.4671 36.2835L25.352 41.5781C24.9812 41.7934 24.5234 41.7934 24.1526 41.5781L15.0375 36.2835C14.4673 35.9523 14.2736 35.2216 14.6048 34.6514C14.9359 34.0813 15.6666 33.8875 16.2368 34.2187L23.5577 38.4711V24.5364L11.5001 17.5326V25.4995C11.5001 26.1589 10.9656 26.6934 10.3062 26.6934C9.64684 26.6934 9.1123 26.1589 9.1123 25.4995V15.3724C9.1123 14.947 9.33868 14.5537 9.70655 14.3401L18.3599 9.3137C18.9301 8.98251 19.6608 9.17625 19.992 9.74642Z"
- fill="hsl(var(--foreground-light))"
+ fill="var(--foreground-light)"
/>
),
@@ -263,7 +263,7 @@ export const days: AdventDay[] = [
fillRule="evenodd"
clipRule="evenodd"
d="M27.6986 10.2897C27.6986 10.6736 27.6252 11.0403 27.4917 11.3766L35.5553 16.0321C36.0953 15.3575 36.9257 14.9255 37.857 14.9255C39.4844 14.9255 40.8037 16.2448 40.8037 17.8722C40.8037 19.2891 39.8037 20.4724 38.4709 20.7549V30.0843C39.8037 30.3667 40.8037 31.5501 40.8037 32.967C40.8037 34.5944 39.4844 35.9137 37.857 35.9137C37.0639 35.9137 36.3441 35.6004 35.8144 35.0909L27.5977 39.8347C27.6635 40.0794 27.6986 40.3366 27.6986 40.602C27.6986 42.2294 26.3793 43.5487 24.7519 43.5487C23.1244 43.5487 21.8052 42.2294 21.8052 40.602C21.8052 40.3366 21.8402 40.0795 21.906 39.8349L13.6894 35.091C13.1597 35.6005 12.4399 35.9137 11.6469 35.9137C10.0195 35.9137 8.7002 34.5944 8.7002 32.967C8.7002 31.5502 9.69999 30.367 11.0325 30.0844V20.7548C9.69999 20.4721 8.7002 19.2889 8.7002 17.8722C8.7002 16.2448 10.0195 14.9255 11.6469 14.9255C12.5782 14.9255 13.4085 15.3574 13.9485 16.0319L22.012 11.3765C21.8785 11.0402 21.8052 10.6735 21.8052 10.2897C21.8052 8.66231 23.1244 7.34302 24.7519 7.34302C26.3793 7.34302 27.6986 8.66231 27.6986 10.2897ZM34.9484 17.3967C34.9233 17.5515 34.9103 17.7103 34.9103 17.8722C34.9103 19.1963 35.7837 20.3165 36.9858 20.688V30.1511C36.8504 30.193 36.7192 30.2443 36.593 30.3044L26.4344 12.7092C26.4932 12.6682 26.5504 12.6252 26.606 12.5802L34.9484 17.3967ZM25.0171 13.2247L35.441 31.2794C35.2728 31.5198 35.1396 31.7864 35.0487 32.0719H14.4553C14.3643 31.7863 14.231 31.5195 14.0626 31.279L24.4863 13.2247C24.5738 13.2325 24.6624 13.2365 24.7519 13.2365C24.8413 13.2365 24.9298 13.2325 25.0171 13.2247ZM14.5346 33.5571H34.9694C34.9878 33.6479 35.0105 33.7372 35.0371 33.8247L26.8617 38.5448C26.3265 37.996 25.579 37.6553 24.7519 37.6553C23.9247 37.6553 23.1772 37.9961 22.642 38.5449L14.4668 33.825C14.4934 33.7373 14.5161 33.648 14.5346 33.5571ZM12.5177 20.6882C13.72 20.3168 14.5937 19.1965 14.5937 17.8722C14.5937 17.7102 14.5806 17.5513 14.5554 17.3964L22.8976 12.5801C22.9532 12.6251 23.0104 12.6681 23.0691 12.7091L12.9106 30.3042C12.7843 30.2441 12.6531 30.1928 12.5177 30.151V20.6882Z"
- fill="hsl(var(--foreground-light))"
+ fill="var(--foreground-light)"
/>
),
@@ -293,7 +293,7 @@ export const days: AdventDay[] = [
fillRule="evenodd"
clipRule="evenodd"
d="M15.8035 11.9848C16.182 11.6063 16.6954 11.3937 17.2307 11.3937H28.2746V19.4289C28.2746 19.9758 28.7179 20.419 29.2647 20.419H37.2998V37.4797C37.2998 38.015 37.0872 38.5284 36.7087 38.9069C36.3302 39.2855 35.8168 39.4981 35.2815 39.4981H14.2222C13.6754 39.4981 13.2321 39.9414 13.2321 40.4882C13.2321 41.035 13.6754 41.4783 14.2222 41.4783H35.2815C36.342 41.4783 37.359 41.057 38.1089 40.3071C38.8588 39.5573 39.28 38.5402 39.28 37.4797V19.4447L39.2802 19.4289L39.28 19.4132V18.6768C39.28 18.4142 39.1757 18.1624 38.99 17.9767L30.7168 9.70345C30.5311 9.51777 30.2793 9.41345 30.0167 9.41345H29.2647H17.2307C16.1702 9.41345 15.1532 9.83473 14.4033 10.5846C13.6534 11.3345 13.2321 12.3515 13.2321 13.412V14.9162C13.2321 15.4631 13.6754 15.9063 14.2222 15.9063C14.769 15.9063 15.2123 15.4631 15.2123 14.9162V13.412C15.2123 12.8767 15.425 12.3633 15.8035 11.9848ZM30.2548 12.0419V18.4388H36.6517L30.2548 12.0419ZM12.718 27.9402C12.434 27.9402 12.2038 28.1704 12.2038 28.4544V32.9671C12.2038 33.251 12.434 33.4812 12.718 33.4812H21.7434C22.0273 33.4812 22.2575 33.251 22.2575 32.9671V28.4544C22.2575 28.1704 22.0273 27.9402 21.7434 27.9402H12.718ZM10.2236 28.4544C10.2236 27.0768 11.3404 25.96 12.718 25.96H13.2321V23.9416C13.2321 22.8812 13.6534 21.8641 14.4033 21.1142C15.1531 20.3644 16.1702 19.9431 17.2307 19.9431C18.2912 19.9431 19.3082 20.3644 20.0581 21.1142C20.808 21.8641 21.2293 22.8812 21.2293 23.9416V25.96H21.7434C23.1209 25.96 24.2377 27.0768 24.2377 28.4544V32.9671C24.2377 34.3446 23.1209 35.4614 21.7434 35.4614H12.718C11.3404 35.4614 10.2236 34.3446 10.2236 32.9671V28.4544ZM19.2491 25.96V23.9416C19.2491 23.4063 19.0364 22.893 18.6579 22.5144C18.2794 22.1359 17.766 21.9233 17.2307 21.9233C16.6954 21.9233 16.182 22.1359 15.8035 22.5144C15.425 22.893 15.2123 23.4063 15.2123 23.9416V25.96H19.2491Z"
- fill="hsl(var(--foreground-light))"
+ fill="var(--foreground-light)"
/>
),
@@ -322,13 +322,13 @@ export const days: AdventDay[] = [
fillRule="evenodd"
clipRule="evenodd"
d="M20.8602 9.84845C21.9728 9.65552 23.2372 9.54486 24.5612 9.53883C25.8851 9.53281 27.2656 9.63141 28.5961 9.84845C30.6978 10.1917 32.4685 11.7369 32.4685 13.7938V21.021C32.4685 23.1403 30.7494 24.8779 28.5961 24.8779H20.8602C18.2337 24.8779 16.022 27.0876 16.022 29.5928V33.0604H13.3591C11.1082 33.0604 9.7935 31.4594 9.24297 29.2124C8.50033 26.1937 8.53187 24.3897 9.24297 21.4987C9.85945 18.9765 11.8304 17.6506 14.0812 17.6506H24.7327V16.6864H16.9878V13.7938C16.9878 11.6035 17.5829 10.4159 20.8602 9.84845ZM21.8261 13.3161C21.8261 12.516 21.1728 11.8653 20.3728 11.8653C19.5699 11.8653 18.9195 12.516 18.9195 13.3161C18.9195 14.1133 19.5699 14.758 20.3728 14.758C21.1728 14.758 21.8261 14.1133 21.8261 13.3161Z"
- fill="hsl(var(--foreground-light))"
+ fill="var(--foreground-light)"
/>
),
@@ -355,13 +355,13 @@ export const days: AdventDay[] = [
>
),
diff --git a/apps/www/components/LaunchWeek/13/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/13/Releases/BuildStage.tsx
index c2035a24c11..f9c3cfa539d 100644
--- a/apps/www/components/LaunchWeek/13/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/13/Releases/BuildStage.tsx
@@ -1,11 +1,11 @@
-import React, { FC } from 'react'
import { buildDays as days } from '~/components/LaunchWeek/13/Releases/data'
-
import SectionContainer from '~/components/Layouts/SectionContainer'
-import BuildCard from './components/BuildCard'
import { motion, useInView } from 'framer-motion'
+import React, { FC } from 'react'
import { cn } from 'ui'
+import BuildCard from './components/BuildCard'
+
const BuildStage: FC = () => {
const ref = React.useRef(null)
const isInView = useInView(ref, { margin: '-25%', once: true })
@@ -59,7 +59,7 @@ const BuildStage: FC = () => {
fillRule="evenodd"
clipRule="evenodd"
d="M3.9999 7.55557V5.95557C3.9999 3.74643 5.79076 1.95557 7.9999 1.95557C10.209 1.95557 11.9999 3.74643 11.9999 5.95557V7.55557C12.8836 7.55557 13.5999 8.27191 13.5999 9.15557V13.1556C13.5999 14.0392 12.8836 14.7556 11.9999 14.7556H3.9999C3.11625 14.7556 2.3999 14.0392 2.3999 13.1556V9.15557C2.3999 8.27191 3.11625 7.55557 3.9999 7.55557ZM10.3999 5.95557V7.55557H5.5999V5.95557C5.5999 4.63008 6.67442 3.55557 7.9999 3.55557C9.32539 3.55557 10.3999 4.63008 10.3999 5.95557Z"
- fill="hsl(var(--foreground-lighter))"
+ fill="var(--foreground-lighter)"
/>
diff --git a/apps/www/components/LaunchWeek/13/Releases/data/lw13_build_stage.tsx b/apps/www/components/LaunchWeek/13/Releases/data/lw13_build_stage.tsx
index e1aeb72f0b3..5b3d6e4313d 100644
--- a/apps/www/components/LaunchWeek/13/Releases/data/lw13_build_stage.tsx
+++ b/apps/www/components/LaunchWeek/13/Releases/data/lw13_build_stage.tsx
@@ -1,8 +1,8 @@
// see apps/www/components/LaunchWeek/X/Releases/data/lwx_advent_days.tsx for reference
-import { ReactNode } from 'react'
import { type ClassValue } from 'clsx'
-import { GitBranch, HardDrive, BookCopy, Flag } from 'lucide-react'
+import { BookCopy, Flag, GitBranch, HardDrive } from 'lucide-react'
+import { ReactNode } from 'react'
export interface AdventDay {
icon?: ReactNode // use svg jsx with 34x34px viewport
@@ -47,19 +47,19 @@ export const days: AdventDay[] = [
>
),
diff --git a/apps/www/components/LaunchWeek/14/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/14/Releases/BuildStage.tsx
index e0a37449b2a..b2fbe8e20fd 100644
--- a/apps/www/components/LaunchWeek/14/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/14/Releases/BuildStage.tsx
@@ -1,11 +1,11 @@
-import React, { FC } from 'react'
import { buildDays as days } from '~/components/LaunchWeek/14/Releases/data'
-
import SectionContainer from '~/components/Layouts/SectionContainer'
-import BuildCard from './components/BuildCard'
import { motion, useInView } from 'framer-motion'
+import React, { FC } from 'react'
import { cn } from 'ui'
+import BuildCard from './components/BuildCard'
+
const BuildStage: FC = () => {
const ref = React.useRef(null)
const isInView = useInView(ref, { margin: '-25%', once: true })
@@ -59,7 +59,7 @@ const BuildStage: FC = () => {
fillRule="evenodd"
clipRule="evenodd"
d="M3.9999 7.55557V5.95557C3.9999 3.74643 5.79076 1.95557 7.9999 1.95557C10.209 1.95557 11.9999 3.74643 11.9999 5.95557V7.55557C12.8836 7.55557 13.5999 8.27191 13.5999 9.15557V13.1556C13.5999 14.0392 12.8836 14.7556 11.9999 14.7556H3.9999C3.11625 14.7556 2.3999 14.0392 2.3999 13.1556V9.15557C2.3999 8.27191 3.11625 7.55557 3.9999 7.55557ZM10.3999 5.95557V7.55557H5.5999V5.95557C5.5999 4.63008 6.67442 3.55557 7.9999 3.55557C9.32539 3.55557 10.3999 4.63008 10.3999 5.95557Z"
- fill="hsl(var(--foreground-lighter))"
+ fill="var(--foreground-lighter)"
/>
diff --git a/apps/www/components/LaunchWeek/14/Releases/data/lw14_build_stage.tsx b/apps/www/components/LaunchWeek/14/Releases/data/lw14_build_stage.tsx
index 81dd4ebdc52..50435fa5c6f 100644
--- a/apps/www/components/LaunchWeek/14/Releases/data/lw14_build_stage.tsx
+++ b/apps/www/components/LaunchWeek/14/Releases/data/lw14_build_stage.tsx
@@ -1,9 +1,9 @@
// see apps/www/components/LaunchWeek/13/Releases/data/lw13_build_stage.tsx for reference
-import { ReactNode } from 'react'
import { type ClassValue } from 'clsx'
-import { PRODUCT_MODULES } from 'shared-data/products'
import { AppWindow, Database, Globe } from 'lucide-react'
+import { ReactNode } from 'react'
+import { PRODUCT_MODULES } from 'shared-data/products'
export interface AdventDay {
icon?: ReactNode // use svg jsx with 34x34px viewport
@@ -50,11 +50,11 @@ export const days: AdventDay[] = [
fillRule="evenodd"
clipRule="evenodd"
d="M3.43881 3.75378C4.10721 1.93324 5.84055 0.723145 7.77992 0.723145H15.6033V0.734736H17.0394C23.8756 0.734736 29.4173 6.27652 29.4173 13.1127V20.1749C29.4173 20.7272 28.9696 21.1749 28.4173 21.1749C27.8651 21.1749 27.4173 20.7272 27.4173 20.1749V13.1127C27.4173 7.38109 22.771 2.73474 17.0394 2.73474H15.4396C15.3877 2.73474 15.3366 2.73078 15.2868 2.72314H7.77992C6.6793 2.72314 5.6956 3.40989 5.31627 4.44308L2.7812 11.3479C2.37375 12.4577 2.69516 13.7038 3.58855 14.4781L5.32807 15.9856C6.12772 16.6786 6.58711 17.6847 6.58709 18.7428L6.58706 21.5134C6.58702 23.8192 8.45627 25.6885 10.7621 25.6885C11.4007 25.6885 11.9184 25.1708 11.9184 24.5322L11.9185 12.1874C11.9185 9.59233 12.955 7.10481 14.7977 5.27761C15.1899 4.88873 15.823 4.8914 16.2119 5.28357C16.6008 5.67574 16.5981 6.3089 16.2059 6.69777C14.742 8.14943 13.9185 10.1257 13.9185 12.1874L13.9184 24.5323C13.9184 26.2754 12.5053 27.6885 10.7621 27.6885C7.35169 27.6885 4.58701 24.9238 4.58706 21.5134L4.58709 18.7428C4.5871 18.2647 4.37953 17.8101 4.01822 17.497L2.27871 15.9894C0.757203 14.6708 0.209829 12.5486 0.90374 10.6586L3.43881 3.75378ZM16.539 18.5225C17.0348 18.2791 17.634 18.4838 17.8773 18.9796C19.1969 21.6686 21.9313 23.3727 24.9267 23.3726L32.8043 23.3726C33.3566 23.3725 33.8043 23.8203 33.8043 24.3725C33.8044 24.9248 33.3566 25.3725 32.8044 25.3726L29.4081 25.3726C29.4142 25.4172 29.4173 25.4628 29.4173 25.5091C29.4173 29.0627 26.1868 31.4165 22.6091 31.4165C19.2966 31.4165 16.5385 29.0518 15.9271 25.9188C15.8213 25.3767 16.175 24.8516 16.717 24.7458C17.2591 24.64 17.7843 24.9936 17.89 25.5357C18.3217 27.7475 20.2716 29.4165 22.6091 29.4165C25.447 29.4165 27.4173 27.6256 27.4173 25.5091C27.4173 25.4628 27.4205 25.4172 27.4266 25.3726L24.9267 25.3726C21.1684 25.3727 17.7375 23.2346 16.0818 19.8607C15.8385 19.3649 16.0432 18.7658 16.539 18.5225Z"
- fill="hsl(var(--foreground-light))"
+ fill="var(--foreground-light)"
/>
),
@@ -81,15 +81,15 @@ export const days: AdventDay[] = [
>
),
diff --git a/apps/www/components/LaunchWeek/X/Album/Player.tsx b/apps/www/components/LaunchWeek/X/Album/Player.tsx
index 11cfe7ffbf1..a3b4f0910d7 100644
--- a/apps/www/components/LaunchWeek/X/Album/Player.tsx
+++ b/apps/www/components/LaunchWeek/X/Album/Player.tsx
@@ -37,7 +37,7 @@ const Player = () => {
onClick={isPlaying ? controls.pause : controls.play}
className="relative outline-border-muted w-7 h-7 opacity-70 hover:opacity-100 rounded-full flex items-center justify-center text-foreground-muted hover:text-foreground-lighter transition-opacity"
style={{
- background: `radial-gradient(closest-side, #060809 79%, transparent 95% 100%),conic-gradient(hsl(var(--foreground-lighter)) ${progress.toFixed()}%, hsl(var(--border-muted)) 0)`,
+ background: `radial-gradient(closest-side, #060809 79%, transparent 95% 100%),conic-gradient(var(--foreground-lighter) ${progress.toFixed()}%, var(--border-muted) 0)`,
}}
>
diff --git a/apps/www/components/Products/Functions/FunctionsHero.tsx b/apps/www/components/Products/Functions/FunctionsHero.tsx
index e476a600486..6296e94dc0b 100644
--- a/apps/www/components/Products/Functions/FunctionsHero.tsx
+++ b/apps/www/components/Products/Functions/FunctionsHero.tsx
@@ -241,9 +241,9 @@ const FunctionsHero = () => {
y2={s?.y2}
gradientUnits="userSpaceOnUse"
>
-
-
-
+
+
+
diff --git a/apps/www/components/Products/Functions/Metrics.tsx b/apps/www/components/Products/Functions/Metrics.tsx
index 57a8ed15cfb..4f5701ddcb8 100644
--- a/apps/www/components/Products/Functions/Metrics.tsx
+++ b/apps/www/components/Products/Functions/Metrics.tsx
@@ -4,8 +4,8 @@ import { Area, AreaChart, ResponsiveContainer, Tooltip, XAxis } from 'recharts'
import { cn } from 'ui'
const CHART_COLORS = {
- TICK: 'hsl(var(--background-overlay-hover))',
- AXIS: 'hsl(var(--background-overlay-hover))',
+ TICK: 'var(--background-overlay-hover)',
+ AXIS: 'var(--background-overlay-hover)',
GREEN_1: 'hsl(var(--brand-default))', // #3ECF8E
GREEN_2: 'hsl(var(--brand-500))',
}
diff --git a/apps/www/components/Products/Functions/NpmEcosystem.tsx b/apps/www/components/Products/Functions/NpmEcosystem.tsx
index a27d1e72433..4557551de6d 100644
--- a/apps/www/components/Products/Functions/NpmEcosystem.tsx
+++ b/apps/www/components/Products/Functions/NpmEcosystem.tsx
@@ -199,7 +199,7 @@ const NpmEcosystem = ({ isHovered = false }: { isHovered?: boolean }) => {
diff --git a/apps/www/components/Products/Functions/QueryLogs.tsx b/apps/www/components/Products/Functions/QueryLogs.tsx
index b2e29407dfb..040b5a82268 100644
--- a/apps/www/components/Products/Functions/QueryLogs.tsx
+++ b/apps/www/components/Products/Functions/QueryLogs.tsx
@@ -129,8 +129,7 @@ const QueryLogs = ({ isActive, isInView }: { isActive?: boolean; isInView?: bool
isPlaying ? 'opacity-100' : 'opacity-0'
)}
style={{
- background:
- 'linear-gradient(to top, hsl(var(--background-surface-75)) 0%, transparent 100%)',
+ background: 'linear-gradient(to top, var(--background-surface-75) 0%, transparent 100%)',
}}
/>
= ({ isActive, isInView, className }) => {
diff --git a/apps/www/components/Products/RealtimeVisual.tsx b/apps/www/components/Products/RealtimeVisual.tsx
index 896a3ac6c10..cf6f783fb7c 100644
--- a/apps/www/components/Products/RealtimeVisual.tsx
+++ b/apps/www/components/Products/RealtimeVisual.tsx
@@ -1,7 +1,8 @@
-import React, { useRef, useState } from 'react'
-import Image from 'next/image'
import { isBrowser, useReducedMotion } from 'common'
+import Image from 'next/image'
+import React, { useRef, useState } from 'react'
import { cn } from 'ui'
+
interface Props {
className?: string
}
@@ -88,8 +89,8 @@ const RealtimeVisual: React.FC
= ({ className }) => {
>
@@ -120,8 +121,8 @@ const RealtimeVisual: React.FC = ({ className }) => {
>
@@ -156,7 +157,7 @@ const RealtimeVisual: React.FC = ({ className }) => {
absolute pointer-events-none
w-full h-full max-h-[400px] lg:max-h-none
inset-0 top-auto
- bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-surface-75))_85%)]
+ bg-[linear-gradient(to_top,transparent_0%,transparent_50%,var(--background-surface-75)_85%)]
"
/>
diff --git a/apps/www/components/Products/VectorAI/CustomersVisual.tsx b/apps/www/components/Products/VectorAI/CustomersVisual.tsx
index 487ce53b5ff..4e731029508 100644
--- a/apps/www/components/Products/VectorAI/CustomersVisual.tsx
+++ b/apps/www/components/Products/VectorAI/CustomersVisual.tsx
@@ -1,6 +1,6 @@
-import React from 'react'
-import { m } from 'framer-motion'
import { DEFAULT_EASE } from '~/lib/animations'
+import { m } from 'framer-motion'
+import React from 'react'
const CustomersVisual = () => {
const RenderedVisual = () => (
@@ -8,7 +8,7 @@ const CustomersVisual = () => {
{
cy="151.574"
rx="271.124"
ry="82.5656"
- fill="hsl(var(--background-alternative-default))"
+ fill="var(--background-alternative-default)"
/>
{
{/* logo bg rays */}
@@ -231,7 +231,7 @@ const CustomersVisual = () => {
rx="303.093"
ry="68.9323"
transform="matrix(1 -0.000779452 -0.000779452 -1 562 296.168)"
- fill="hsl(var(--background-alternative-default))"
+ fill="var(--background-alternative-default)"
/>
{/* coordinates */}
@@ -443,9 +443,9 @@ const CustomersVisual = () => {
gradientUnits="userSpaceOnUse"
gradientTransform="translate(859.159 138.208) rotate(92.2122) scale(263.179 749.441)"
>
-
-
-
+
+
+
{
gradientUnits="userSpaceOnUse"
gradientTransform="translate(859.159 136.974) rotate(-103.238) scale(44.3621 730.071)"
>
-
-
-
+
+
+
{
gradientUnits="userSpaceOnUse"
gradientTransform="translate(863.122 127.579) rotate(-92.6074) scale(137.882 462.616)"
>
-
-
-
+
+
+
{
gradientUnits="userSpaceOnUse"
gradientTransform="translate(861.752 133.22) rotate(-90) scale(115.815 675.283)"
>
-
-
-
+
+
+
{
gradientUnits="userSpaceOnUse"
gradientTransform="translate(862.511 138.502) rotate(105.433) scale(25.8224 489.043)"
>
-
-
-
+
+
+
{
gradientUnits="userSpaceOnUse"
gradientTransform="translate(862.32 54.7715) rotate(90) scale(193.44 193.44)"
>
-
-
+
+
{
gradientUnits="userSpaceOnUse"
>
-
+
{
>
-
-
+
+
{
y2="236.32"
gradientUnits="userSpaceOnUse"
>
-
+
-
+
{
gradientUnits="userSpaceOnUse"
gradientTransform="translate(864.407 138.314) rotate(90) scale(55.0818)"
>
-
-
-
+
+
+
{
y2="163.315"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="163.788"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
gradientUnits="userSpaceOnUse"
>
-
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{
y2="105.061"
gradientUnits="userSpaceOnUse"
>
-
-
+
+
{highlight.image &&
}
diff --git a/apps/www/components/Sections/TwitterSocialProof.tsx b/apps/www/components/Sections/TwitterSocialProof.tsx
index 615072fe1a0..b1acd0d9c1d 100644
--- a/apps/www/components/Sections/TwitterSocialProof.tsx
+++ b/apps/www/components/Sections/TwitterSocialProof.tsx
@@ -1,12 +1,11 @@
+import { useBreakpoint } from 'common'
import { range } from 'lib/helpers'
import Link from 'next/link'
import { useRouter } from 'next/router'
-import { cn } from 'ui'
-import { TweetCard } from 'ui-patterns/TweetCard'
-
-import { useBreakpoint } from 'common'
import React from 'react'
import { topTweets } from 'shared-data/tweets'
+import { cn } from 'ui'
+import { TweetCard } from 'ui-patterns/TweetCard'
interface Props {
className?: string
@@ -66,7 +65,7 @@ const TwitterSocialProof: React.FC = ({ className }) => {
absolute pointer-events-none
w-full h-full max-h-[400px] lg:max-h-none
inset-0 top-auto
- lg:bg-[radial-gradient(50%_100%_at_50%_0,transparent_0%,transparent_50%,hsl(var(--background-default))_100%)]
+ lg:bg-[radial-gradient(50%_100%_at_50%_0,transparent_0%,transparent_50%,var(--background-default)_100%)]
"
/>
>
diff --git a/apps/www/components/Sections/UseCasesSection.tsx b/apps/www/components/Sections/UseCasesSection.tsx
index afe433e30d9..1b1571e2250 100644
--- a/apps/www/components/Sections/UseCasesSection.tsx
+++ b/apps/www/components/Sections/UseCasesSection.tsx
@@ -1,12 +1,11 @@
-import { LazyMotion, domAnimation, m, useInView } from 'framer-motion'
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import Panel from '~/components/Panel'
+import { getAnimation, INITIAL_BOTTOM } from '~/lib/animations'
+import { domAnimation, LazyMotion, m, useInView } from 'framer-motion'
+import { ArrowUpRight } from 'lucide-react'
import Link from 'next/link'
import { ReactNode, useRef } from 'react'
import { Button } from 'ui'
-import { INITIAL_BOTTOM, getAnimation } from '~/lib/animations'
-
-import SectionContainer from '~/components/Layouts/SectionContainer'
-import Panel from '~/components/Panel'
-import { ArrowUpRight } from 'lucide-react'
interface UseCase {
img?: string
@@ -75,7 +74,7 @@ const UseCase = ({
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
-
+
{useCase.title}
diff --git a/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx b/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
index 305f99c9cb4..bd3d5a618a8 100644
--- a/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
+++ b/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
@@ -12,8 +12,8 @@ const DiagonalStripes = () => (
style={{
backgroundImage: `repeating-linear-gradient(
45deg,
- hsl(var(--border-muted)) 0px,
- hsl(var(--border-muted)) 1px,
+ var(--border-muted) 0px,
+ var(--border-muted) 1px,
transparent 1px,
transparent 8px
)`,
diff --git a/apps/www/components/SurveyResults/SurveyChapter.tsx b/apps/www/components/SurveyResults/SurveyChapter.tsx
index 73c1f98206a..d46fd6da415 100644
--- a/apps/www/components/SurveyResults/SurveyChapter.tsx
+++ b/apps/www/components/SurveyResults/SurveyChapter.tsx
@@ -1,5 +1,7 @@
import { SurveyPullQuote } from './SurveyPullQuote'
+
import './surveyResults.css'
+
import { DecorativeProgressBar } from './DecorativeProgressBar'
interface SurveyChapterProps {
diff --git a/apps/www/components/SurveyResults/SurveyChart.tsx b/apps/www/components/SurveyResults/SurveyChart.tsx
index b233757e481..8dc7e236468 100644
--- a/apps/www/components/SurveyResults/SurveyChart.tsx
+++ b/apps/www/components/SurveyResults/SurveyChart.tsx
@@ -314,7 +314,7 @@ export function SurveyChart({
ref={chartRef}
className="w-full bg-200 border-t border-muted"
style={{
- background: `radial-gradient(circle at center -150%, hsl(var(--brand-300)), transparent 80%), radial-gradient(ellipse at center 230%, hsl(var(--background-surface-200)), transparent 75%)`,
+ background: `radial-gradient(circle at center -150%, hsl(var(--brand-300)), transparent 80%), radial-gradient(ellipse at center 230%, var(--background-surface-200), transparent 75%)`,
}}
>
@@ -316,7 +316,7 @@ const data = {
),
className: 'border-l-0! sm:border-l!',
image: (
-