Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: Migrate the monorepo to use Tailwind v4 (#45318)

Ivan Vasilov56de26fe22e5
diff --git a/apps/design-system/__registry__/default/block/chart-composed-metrics.tsx b/apps/design-system/__registry__/default/block/chart-composed-metrics.tsx
index 361c35a9a45..deab28e4ee2 100644
--- a/apps/design-system/__registry__/default/block/chart-composed-metrics.tsx
+++ b/apps/design-system/__registry__/default/block/chart-composed-metrics.tsx
@@ -71,7 +71,7 @@ export default function ChartComposedMetrics() {
</ChartHeader>
<ChartContent
className="p-0"
- loadingState={<Skeleton className="w-full h-[6rem] rounded-none mt-4" />}
+ loadingState={<Skeleton className="w-full h-24 rounded-none mt-4" />}
>
<ChartSparkline data={data} dataKey="value" />
</ChartContent>
@@ -89,7 +89,7 @@ export default function ChartComposedMetrics() {
</ChartHeader>
<ChartContent
className="p-0"
- loadingState={<Skeleton className="w-full h-[6rem] rounded-none mt-4" />}
+ loadingState={<Skeleton className="w-full h-24 rounded-none mt-4" />}
>
<ChartSparkline data={data} dataKey="value" />
</ChartContent>
diff --git a/apps/design-system/app/layout.tsx b/apps/design-system/app/layout.tsx
index 143adbc56f9..93fa102345d 100644
--- a/apps/design-system/app/layout.tsx
+++ b/apps/design-system/app/layout.tsx
@@ -1,5 +1,5 @@
+import 'react-data-grid/lib/styles.css'
import '@/styles/globals.css'
-import 'config/typography.css'
import type { Metadata, Viewport } from 'next'
diff --git a/apps/design-system/components/class-label.tsx b/apps/design-system/components/class-label.tsx
index 6575c2f4373..a779b1d353e 100644
--- a/apps/design-system/components/class-label.tsx
+++ b/apps/design-system/components/class-label.tsx
@@ -5,7 +5,7 @@ const ClassLabel = React.forwardRef<HTMLSpanElement, { children: React.ReactNode
return (
<span
ref={ref}
- className="bg-surface-100 rounded-full border px-2 font-mono text-xs text-foreground-lighter group-data-[state=open]:text-foreground"
+ className="bg-surface-100 rounded-full border px-2 font-mono text-xs text-foreground-lighter group-data-open:text-foreground"
>
{children}
</span>
diff --git a/apps/design-system/components/code-block-wrapper.tsx b/apps/design-system/components/code-block-wrapper.tsx
index 2a6c81ce03e..d4be5c110d3 100644
--- a/apps/design-system/components/code-block-wrapper.tsx
+++ b/apps/design-system/components/code-block-wrapper.tsx
@@ -36,7 +36,7 @@ export function CodeBlockWrapper({
</CollapsibleContent>
<div
className={cn(
- 'absolute flex items-center justify-center bg-gradient-to-b from-zinc-700/30 to-zinc-950/90 p-2',
+ 'absolute flex items-center justify-center bg-linear-to-b from-zinc-700/30 to-zinc-950/90 p-2',
isOpened ? 'inset-x-0 bottom-0 h-12' : 'inset-0'
)}
>
diff --git a/apps/design-system/components/code-fragment.tsx b/apps/design-system/components/code-fragment.tsx
index 4e688bf9c28..ccf33703720 100644
--- a/apps/design-system/components/code-fragment.tsx
+++ b/apps/design-system/components/code-fragment.tsx
@@ -51,7 +51,7 @@ export function CodeFragment({
return (
<p className="text-sm text-muted-foreground">
Code fragment{' '}
- <code className="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm">
+ <code className="relative rounded-sm bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm">
{name}
</code>{' '}
not found in registry.
@@ -94,10 +94,10 @@ export function CodeFragment({
)}
>
{showGrid && (
- <div className="pointer-events-none absolute h-full w-full bg-[linear-gradient(to_right,hsla(var(--foreground-default)/0.02)_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-[size:24px_24px]"></div>
+ <div className="pointer-events-none absolute h-full w-full bg-[linear-gradient(to_right,hsla(var(--foreground-default)/0.02)_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-size-[24px_24px]"></div>
)}
{showDottedGrid && (
- <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.02)_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
+ <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.02)_1px,transparent_1px)] bg-size-[16px_16px] mask-[radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
)}
<div className="z-10 relative">{ComponentPreview}</div>
</div>
diff --git a/apps/design-system/components/colors.tsx b/apps/design-system/components/colors.tsx
index d7ba3a364c6..5a0660ac63a 100644
--- a/apps/design-system/components/colors.tsx
+++ b/apps/design-system/components/colors.tsx
@@ -70,7 +70,7 @@ const Colors = ({
onClick={() => handleCopy(x, i)}
>
<Example x={x} />
- <span className="bg-surface-100 rounded-full border px-2 font-mono text-xs text-foreground-lighter group-data-[state=open]:text-foreground text-center">
+ <span className="bg-surface-100 rounded-full border px-2 font-mono text-xs text-foreground-lighter group-data-open:text-foreground text-center">
{copiedIndex === i ? 'Copied!' : x}
</span>
</GridItem>
diff --git a/apps/design-system/components/command-menu.tsx b/apps/design-system/components/command-menu.tsx
index a2dd7b3de58..fbd26bea2e8 100644
--- a/apps/design-system/components/command-menu.tsx
+++ b/apps/design-system/components/command-menu.tsx
@@ -56,7 +56,7 @@ export function CommandMenu({ ...props }: DialogProps) {
<Button
type="outline"
className={cn(
- `lg:flex hidden relative h-8 w-full justify-start rounded-[0.5rem] bg-background text-sm font-normal text-foreground-muted shadow-none sm:pr-12 md:w-40 lg:w-64 hover:border-foreground-muted hover:bg-surface-100 hover:text-foreground-lighter
+ `lg:flex hidden relative h-8 w-full justify-start rounded-lg bg-background text-sm font-normal text-foreground-muted shadow-none sm:pr-12 md:w-40 lg:w-64 hover:border-foreground-muted hover:bg-surface-100 hover:text-foreground-lighter
`
)}
onClick={() => setOpen(true)}
@@ -64,7 +64,7 @@ export function CommandMenu({ ...props }: DialogProps) {
>
<span className="hidden lg:inline-flex">Search Design System...</span>
<span className="inline-flex lg:hidden">Search...</span>
- <kbd className="pointer-events-none absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-surface-200 px-1.5 font-mono text-[10px] font-medium opacity-100 sm:flex text-foreground-light">
+ <kbd className="pointer-events-none absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded-sm border bg-surface-200 px-1.5 font-mono text-[10px] font-medium opacity-100 sm:flex text-foreground-light">
<span className="text-sm">⌘</span>K
</kbd>
</Button>
diff --git a/apps/design-system/components/component-preview.tsx b/apps/design-system/components/component-preview.tsx
index b6c5005fcb1..0189c7ee1ed 100644
--- a/apps/design-system/components/component-preview.tsx
+++ b/apps/design-system/components/component-preview.tsx
@@ -55,7 +55,7 @@ export function ComponentPreview({
return (
<p className="text-sm text-muted-foreground">
Component{' '}
- <code className="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm">
+ <code className="relative rounded-sm bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm">
{name}
</code>{' '}
not found in registry.
@@ -99,10 +99,10 @@ export function ComponentPreview({
)}
>
{showGrid && (
- <div className="pointer-events-none absolute h-full w-full bg-[linear-gradient(to_right,hsla(var(--foreground-default)/0.02)_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-[size:24px_24px]"></div>
+ <div className="pointer-events-none absolute h-full w-full bg-[linear-gradient(to_right,hsla(var(--foreground-default)/0.02)_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-size-[24px_24px]"></div>
)}
{showDottedGrid && (
- <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.02)_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
+ <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.02)_1px,transparent_1px)] bg-size-[16px_16px] mask-[radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
)}
<div className="z-10 relative">{ComponentPreview}</div>
{/* <div className="preview-grid-background"></div> */}
@@ -144,10 +144,10 @@ export function ComponentPreview({
})}
>
{showGrid && (
- <div className="pointer-events-none absolute h-full w-full bg-[linear-gradient(to_right,hsla(var(--foreground-default)/0.02)_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-[size:24px_24px]"></div>
+ <div className="pointer-events-none absolute h-full w-full bg-[linear-gradient(to_right,hsla(var(--foreground-default)/0.02)_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-size-[24px_24px]"></div>
)}
{showDottedGrid && (
- <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.02)_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
+ <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.02)_1px,transparent_1px)] bg-size-[16px_16px] mask-[radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
)}
<div className="z-10 relative">{ComponentPreview}</div>
</div>
@@ -164,12 +164,12 @@ export function ComponentPreview({
px-4 py-4
border border-r
group
- data-[state=closed]:rounded-bl-md data-[state=closed]:rounded-br-md
+ data-closed:rounded-bl-md data-closed:rounded-br-md
`}
>
<ChevronRight
- className="transition-all group-data-[state=open]:rotate-90 text-foreground-lighter"
+ className="transition-all group-data-open:rotate-90 text-foreground-lighter"
size={14}
/>
View code
diff --git a/apps/design-system/components/grid.tsx b/apps/design-system/components/grid.tsx
index 659117a7737..23ca11ac432 100644
--- a/apps/design-system/components/grid.tsx
+++ b/apps/design-system/components/grid.tsx
@@ -47,8 +47,8 @@ const GridItem = forwardRef<HTMLDivElement, React.HTMLProps<HTMLDivElement>>(
transition
group-hover:border
group-hover:border-foreground-muted
- group-data-[state=open]:border
- group-data-[state=open]:border-foreground-muted
+ group-data-open:border
+ group-data-open:border-foreground-muted
"
></div>
{children}
diff --git a/apps/design-system/components/icons.tsx b/apps/design-system/components/icons.tsx
index e94f408759d..ce07e959a04 100644
--- a/apps/design-system/components/icons.tsx
+++ b/apps/design-system/components/icons.tsx
@@ -18,11 +18,8 @@ function Icons() {
<DropdownMenu key={i} modal={false}>
<DropdownMenuTrigger asChild>
<GridItem>
- <icon.component
- size={21}
- className="group-data-[state=open]:scale-125 transition-all"
- />
- <span className="bg-surface-100 rounded-full border px-2 font-mono text-xs text-foreground-lighter group-data-[state=open]:text-foreground">
+ <icon.component size={21} className="group-data-open:scale-125 transition-all" />
+ <span className="bg-surface-100 rounded-full border px-2 font-mono text-xs text-foreground-lighter group-data-open:text-foreground">
{icon.name}
</span>
</GridItem>
diff --git a/apps/design-system/components/mdx-components.tsx b/apps/design-system/components/mdx-components.tsx
index 5e44875ed9e..6d260d75c57 100644
--- a/apps/design-system/components/mdx-components.tsx
+++ b/apps/design-system/components/mdx-components.tsx
@@ -92,10 +92,7 @@ const components = {
/>
),
p: ({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>) => (
- <p
- className={cn('leading-7 [&:not(:first-child)]:mt-6 text-foreground-light', className)}
- {...props}
- />
+ <p className={cn('leading-7 not-first:mt-6 text-foreground-light', className)} {...props} />
),
ul: ({ className, ...props }: React.HTMLAttributes<HTMLUListElement>) => (
<ul className={cn('my-6 ml-6 list-disc', className)} {...props} />
@@ -127,7 +124,7 @@ const components = {
th: ({ className, ...props }: React.HTMLAttributes<HTMLTableCellElement>) => (
<th
className={cn(
- 'border px-4 py-2 text-left font-normal [&[align=center]]:text-center [&[align=right]]:text-right',
+ 'border px-4 py-2 text-left font-normal [[align=center]]:text-center [[align=right]]:text-right',
className
)}
{...props}
@@ -136,7 +133,7 @@ const components = {
td: ({ className, ...props }: React.HTMLAttributes<HTMLTableCellElement>) => (
<td
className={cn(
- 'border text-foreground-light px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right',
+ 'border text-foreground-light px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right',
className
)}
{...props}
@@ -199,7 +196,7 @@ const components = {
code: ({ className, ...props }: React.HTMLAttributes<HTMLElement>) => (
<code
className={cn(
- 'relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm',
+ 'relative rounded-sm bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm',
className
)}
{...props}
@@ -261,7 +258,7 @@ const components = {
LinkedCard: ({ className, ...props }: React.ComponentProps<typeof Link>) => (
<Link
className={cn(
- 'flex w-full flex-col items-center rounded-xl border bg-card p-6 text-card-foreground shadow transition-colors hover:bg-muted/50 sm:p-10',
+ 'flex w-full flex-col items-center rounded-xl border bg-card p-6 text-card-foreground shadow-sm transition-colors hover:bg-muted/50 sm:p-10',
className
)}
{...props}
diff --git a/apps/design-system/components/theme-switcher-dropdown.tsx b/apps/design-system/components/theme-switcher-dropdown.tsx
index ffd0e320075..86aec9f5b2f 100644
--- a/apps/design-system/components/theme-switcher-dropdown.tsx
+++ b/apps/design-system/components/theme-switcher-dropdown.tsx
@@ -33,7 +33,7 @@ const ThemeSwitcherDropdown = () => {
return null
}
- const iconClasses = 'text-foreground-lighter group-data-[state=open]:text-foreground'
+ const iconClasses = 'text-foreground-lighter group-data-open:text-foreground'
return (
<>
diff --git a/apps/design-system/components/top-navigation.tsx b/apps/design-system/components/top-navigation.tsx
index 0af6b28d06b..232167a8528 100644
--- a/apps/design-system/components/top-navigation.tsx
+++ b/apps/design-system/components/top-navigation.tsx
@@ -13,7 +13,7 @@ export const TopNavigation = () => {
const { toggle } = useMobileSidebar()
return (
- <header className="sticky top-0 z-50 w-full bg-studio/95 backdrop-blur supports-[backdrop-filter]:bg-studio/60 border-b border-l border-r">
+ <header className="sticky top-0 z-50 w-full bg-studio/95 backdrop-blur-sm supports-backdrop-filter:bg-studio/60 border-b border-l border-r">
<nav className="py-3 w-full flex">
<div className="max-w-site w-full flex flex-row items-center gap-6 mx-auto md:px-6 px-4 justify-between">
<div className="flex items-center gap-2">
diff --git a/apps/design-system/content/docs/components/chart.mdx b/apps/design-system/content/docs/components/chart.mdx
index bd7db2867c5..671491da8e8 100644
--- a/apps/design-system/content/docs/components/chart.mdx
+++ b/apps/design-system/content/docs/components/chart.mdx
@@ -417,7 +417,7 @@ const chartData = [
#### Tailwind
```tsx
-<LabelList className="fill-[--color-desktop]" />
+<LabelList className="fill-(--color-desktop)" />
```
## Tooltip
diff --git a/apps/design-system/content/docs/components/field.mdx b/apps/design-system/content/docs/components/field.mdx
index aa5e30a6542..498338d93d6 100644
--- a/apps/design-system/content/docs/components/field.mdx
+++ b/apps/design-system/content/docs/components/field.mdx
@@ -108,47 +108,47 @@ See the [Form](/docs/forms) documentation for building forms with the `Field` co
### Input
-<ComponentPreview name="field-input" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-input" className="mb-4! [&_.preview]:p-6" />
### Textarea
-<ComponentPreview name="field-textarea" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-textarea" className="mb-4! [&_.preview]:p-6" />
### Select
-<ComponentPreview name="field-select" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-select" className="mb-4! [&_.preview]:p-6" />
### Slider
-<ComponentPreview name="field-slider" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-slider" className="mb-4! [&_.preview]:p-6" />
### Fieldset
-<ComponentPreview name="field-fieldset" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-fieldset" className="mb-4! [&_.preview]:p-6" />
### Checkbox
-<ComponentPreview name="field-checkbox" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-checkbox" className="mb-4! [&_.preview]:p-6" />
### Radio
-<ComponentPreview name="field-radio" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-radio" className="mb-4! [&_.preview]:p-6" />
### Switch
-<ComponentPreview name="field-switch" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-switch" className="mb-4! [&_.preview]:p-6" />
### Choice Card
Wrap `Field` components inside `FieldLabel` to create selectable field groups. This works with `RadioItem`, `Checkbox` and `Switch` components.
-<ComponentPreview name="field-choice-card" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-choice-card" className="mb-4! [&_.preview]:p-6" />
### Field Group
Stack `Field` components with `FieldGroup`. Add `FieldSeparator` to divide them.
-<ComponentPreview name="field-group" className="!mb-4 [&_.preview]:p-6" />
+<ComponentPreview name="field-group" className="mb-4! [&_.preview]:p-6" />
## Responsive Layout
@@ -158,7 +158,7 @@ Stack `Field` components with `FieldGroup`. Add `FieldSeparator` to divide them.
<ComponentPreview
name="field-responsive"
- className="!mb-4 [&_.preview]:h-[650px] [&_.preview]:p-6 [&_.preview]:md:h-[500px] [&_.preview]:md:p-10"
+ className="mb-4! [&_.preview]:h-[650px] [&_.preview]:p-6 [&_.preview]:md:h-[500px] [&_.preview]:md:p-10"
/>
## Validation and Errors
diff --git a/apps/design-system/content/docs/components/form.mdx b/apps/design-system/content/docs/components/form.mdx
index a70a79c0974..b6fdda38e57 100644
--- a/apps/design-system/content/docs/components/form.mdx
+++ b/apps/design-system/content/docs/components/form.mdx
@@ -241,7 +241,7 @@ That's it. You now have a fully accessible form that is type-safe with client-si
<ComponentPreview
name="input-form"
- className="[&_[role=tablist]]:hidden [&>div>div:first-child]:hidden"
+ className="**:[[role=tablist]]:hidden [&>div>div:first-child]:hidden"
/>
</Steps>
diff --git a/apps/design-system/content/docs/components/sidebar.mdx b/apps/design-system/content/docs/components/sidebar.mdx
index b04b4630f13..7ac85bc4d7e 100644
--- a/apps/design-system/content/docs/components/sidebar.mdx
+++ b/apps/design-system/content/docs/components/sidebar.mdx
@@ -571,7 +571,7 @@ The following example adds a `<DropdownMenu>` to the `SidebarHeader`.
<ChevronDown className="ml-auto" />
</SidebarMenuButton>
</DropdownMenuTrigger>
- <DropdownMenuContent className="w-[--radix-popper-anchor-width]">
+ <DropdownMenuContent className="w-(--radix-popper-anchor-width)">
<DropdownMenuItem>
<span>Acme Inc</span>
</DropdownMenuItem>
@@ -622,7 +622,7 @@ export function AppSidebar() {
<ChevronUp className="ml-auto" />
</SidebarMenuButton>
</DropdownMenuTrigger>
- <DropdownMenuContent side="top" className="w-[--radix-popper-anchor-width]">
+ <DropdownMenuContent side="top" className="w-(--radix-popper-anchor-width)">
<DropdownMenuItem>
<span>Account</span>
</DropdownMenuItem>
@@ -724,7 +724,7 @@ export function AppSidebar() {
<SidebarGroupLabel asChild>
<CollapsibleTrigger>
Help
- <ChevronDown className="ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180" />
+ <ChevronDown className="ml-auto transition-transform group-data-open/collapsible:rotate-180" />
</CollapsibleTrigger>
</SidebarGroupLabel>
<CollapsibleContent>
diff --git a/apps/design-system/content/docs/components/typography.mdx b/apps/design-system/content/docs/components/typography.mdx
index d71c080c9a2..c39aa3e3ef6 100644
--- a/apps/design-system/content/docs/components/typography.mdx
+++ b/apps/design-system/content/docs/components/typography.mdx
@@ -6,7 +6,7 @@ source:
shadcn: true
---
-<ComponentPreview name="typography-demo" className="[&>div.min-h-[350px]]:p-6" peekCode wide />
+<ComponentPreview name="typography-demo" peekCode wide />
## h1
diff --git a/apps/design-system/package.json b/apps/design-system/package.json
index cd1e80e428b..9e808484710 100644
--- a/apps/design-system/package.json
+++ b/apps/design-system/package.json
@@ -53,12 +53,11 @@
},
"devDependencies": {
"@shikijs/compat": "^1.1.7",
- "@tailwindcss/container-queries": "^0.1.1",
"@types/lodash.template": "4.5.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"concurrently": "^8.2.2",
- "config": "workspace:^",
+ "config": "workspace:*",
"mdast-util-toc": "^6.1.1",
"postcss": "catalog:",
"rimraf": "^4.1.3",
diff --git a/apps/design-system/registry/default/block/chart-composed-metrics.tsx b/apps/design-system/registry/default/block/chart-composed-metrics.tsx
index 361c35a9a45..deab28e4ee2 100644
--- a/apps/design-system/registry/default/block/chart-composed-metrics.tsx
+++ b/apps/design-system/registry/default/block/chart-composed-metrics.tsx
@@ -71,7 +71,7 @@ export default function ChartComposedMetrics() {
</ChartHeader>
<ChartContent
className="p-0"
- loadingState={<Skeleton className="w-full h-[6rem] rounded-none mt-4" />}
+ loadingState={<Skeleton className="w-full h-24 rounded-none mt-4" />}
>
<ChartSparkline data={data} dataKey="value" />
</ChartContent>
@@ -89,7 +89,7 @@ export default function ChartComposedMetrics() {
</ChartHeader>
<ChartContent
className="p-0"
- loadingState={<Skeleton className="w-full h-[6rem] rounded-none mt-4" />}
+ loadingState={<Skeleton className="w-full h-24 rounded-none mt-4" />}
>
<ChartSparkline data={data} dataKey="value" />
</ChartContent>
diff --git a/apps/design-system/registry/default/example/assistant-chat-commands.tsx b/apps/design-system/registry/default/example/assistant-chat-commands.tsx
index b2d3a3fcbde..bc125193f8b 100644
--- a/apps/design-system/registry/default/example/assistant-chat-commands.tsx
+++ b/apps/design-system/registry/default/example/assistant-chat-commands.tsx
@@ -46,7 +46,7 @@ export default function AssistantChatCommands() {
/>
</AssistantCommandsPopover>
<p className="text-xs mt-3 text-foreground-lighter">
- Press <span className="bg-surface-300 px-[3px] py-[2px] border rounded">/</span> to open
+ Press <span className="bg-surface-300 px-[3px] py-[2px] border rounded-sm">/</span> to open
commands
</p>
</div>
diff --git a/apps/design-system/registry/default/example/chart-tooltip-demo.tsx b/apps/design-system/registry/default/example/chart-tooltip-demo.tsx
index 3d42a84badb..5fffac2424a 100644
--- a/apps/design-system/registry/default/example/chart-tooltip-demo.tsx
+++ b/apps/design-system/registry/default/example/chart-tooltip-demo.tsx
@@ -35,11 +35,11 @@ export default function Component() {
{ name: 'Desktop', value: 186, fill: 'hsl(var(--chart-1))' },
{ name: 'Mobile', value: 80, fill: 'hsl(var(--chart-2))' },
]}
- className="w-[8rem]"
+ className="w-32"
/>
</div>
<div className="items-end">
- <div className="absolute left-[122px] top-[0px] z-10 text-sm font-medium">Name</div>
+ <div className="absolute left-[122px] top-0 z-10 text-sm font-medium">Name</div>
<svg
xmlns="http://www.w3.org/2000/svg"
width="35"
@@ -68,25 +68,25 @@ export default function Component() {
{ name: 'Firefox', value: 1000, fill: 'hsl(var(--chart-4))' },
]}
indicator="dashed"
- className="w-[8rem]"
+ className="w-32"
/>
</div>
- <div className="!hidden md:!flex">
+ <div className="hidden! md:flex!">
<TooltipDemo
label="Page Views"
payload={[{ name: 'Desktop', value: 12486, fill: 'hsl(var(--chart-3))' }]}
- className="w-[9rem]"
+ className="w-36"
indicator="line"
/>
</div>
- <div className="!items-start !justify-start">
+ <div className="items-start! justify-start!">
<div className="absolute left-[50px] top-[60px] z-10 text-sm font-medium">Indicator</div>
<TooltipDemo
label="Browser"
hideLabel
payload={[{ name: 'Chrome', value: 1286, fill: 'hsl(var(--chart-1))' }]}
indicator="dot"
- className="w-[8rem]"
+ className="w-32"
/>
<svg
xmlns="http://www.w3.org/2000/svg"
@@ -144,7 +144,7 @@ function TooltipDemo({
return (
<div
className={cn(
- 'grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl transition-all ease-in-out hover:-translate-y-0.5',
+ 'grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl transition-all ease-in-out hover:-translate-y-0.5',
className
)}
>
@@ -165,7 +165,7 @@ function TooltipDemo({
{!hideIndicator && (
<div
className={cn(
- 'shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]',
+ 'shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)',
{
'h-2.5 w-2.5': indicator === 'dot',
'w-1': indicator === 'line',
diff --git a/apps/design-system/registry/default/example/color-usage-surface-studio-frame.tsx b/apps/design-system/registry/default/example/color-usage-surface-studio-frame.tsx
index 462364c4d4b..6a5921d0ba2 100644
--- a/apps/design-system/registry/default/example/color-usage-surface-studio-frame.tsx
+++ b/apps/design-system/registry/default/example/color-usage-surface-studio-frame.tsx
@@ -6,35 +6,35 @@ import { ExampleLabel } from '@/components/example-label'
export default function Demo() {
return (
<div className="bg-studio w-full h-[320px] flex flex-col items-center border border-dashed rounded-md overflow-hidden">
- <div className="bg-surface-200 border h-12 w-full rounded-t-md flex justify-center gap-3 items-center shadow">
+ <div className="bg-surface-200 border h-12 w-full rounded-t-md flex justify-center gap-3 items-center shadow-sm">
<div className="flex gap-3">
<ExampleLabel>grid header</ExampleLabel>
<ClassLabel>bg-surface-200</ClassLabel>
<ClassLabel>border</ClassLabel>
</div>
</div>
- <div className="bg-200 border-b border-r border-l border-secondary h-14 w-full flex justify-center gap-3 items-center shadow">
+ <div className="bg-200 border-b border-r border-l border-secondary h-14 w-full flex justify-center gap-3 items-center shadow-sm">
<div className="flex gap-3">
<ExampleLabel>content row</ExampleLabel>
<ClassLabel>bg-200</ClassLabel>
<ClassLabel>border-secondary</ClassLabel>
</div>
</div>
- <div className="bg-200 border-b border-r border-l border-secondary h-14 w-full flex justify-center gap-3 items-center shadow">
+ <div className="bg-200 border-b border-r border-l border-secondary h-14 w-full flex justify-center gap-3 items-center shadow-sm">
<div className="flex gap-3">
<ExampleLabel>content row</ExampleLabel>
<ClassLabel>bg-200</ClassLabel>
<ClassLabel>border-secondary</ClassLabel>
</div>
</div>
- <div className="bg-200 border-b border-r border-l border-secondary h-14 w-full flex justify-center gap-3 items-center shadow">
+ <div className="bg-200 border-b border-r border-l border-secondary h-14 w-full flex justify-center gap-3 items-center shadow-sm">
<div className="flex gap-3">
<ExampleLabel>content row</ExampleLabel>
<ClassLabel>bg-200</ClassLabel>
<ClassLabel>border-secondary</ClassLabel>
</div>
</div>
- <div className="bg-200 border-b border-r border-l border-secondary h-14 w-full flex justify-center gap-3 items-center shadow">
+ <div className="bg-200 border-b border-r border-l border-secondary h-14 w-full flex justify-center gap-3 items-center shadow-sm">
<div className="flex gap-3">
<ExampleLabel>content row</ExampleLabel>
<ClassLabel>bg-200</ClassLabel>
diff --git a/apps/design-system/registry/default/example/command-dialog.tsx b/apps/design-system/registry/default/example/command-dialog.tsx
index f3211462ece..fc9eab9b0ff 100644
--- a/apps/design-system/registry/default/example/command-dialog.tsx
+++ b/apps/design-system/registry/default/example/command-dialog.tsx
@@ -32,7 +32,7 @@ export default function CommandDialogDemo() {
<>
<p className="text-sm text-muted-foreground">
Press{' '}
- <kbd className="pointer-events-none inline-flex h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium text-muted-foreground opacity-100">
+ <kbd className="pointer-events-none inline-flex h-5 select-none items-center gap-1 rounded-sm border bg-muted px-1.5 font-mono text-[10px] font-medium text-muted-foreground opacity-100">
<span className="text-xs">⌘</span>J
</kbd>
</p>
diff --git a/apps/design-system/registry/default/example/data-grid-demo.tsx b/apps/design-system/registry/default/example/data-grid-demo.tsx
index 44bc5edb744..d0d063b1f01 100644
--- a/apps/design-system/registry/default/example/data-grid-demo.tsx
+++ b/apps/design-system/registry/default/example/data-grid-demo.tsx
@@ -1,8 +1,5 @@
import { useState } from 'react'
import DataGrid, { Column, useRowSelection } from 'react-data-grid'
-
-import 'react-data-grid/lib/styles.css'
-
import { Checkbox, cn } from 'ui'
type User = {
@@ -153,7 +150,7 @@ export default function DataGridDemo() {
return cn(
'bg-surface-75',
isSelected && 'bg-surface-200',
- '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell]:border-secondary [&>.rdg-cell:not(:last-child)]:border-r',
!isLastRow && '[&>.rdg-cell]:border-b',
'[&>.rdg-cell:nth-child(2)>div]:ml-8'
diff --git a/apps/design-system/registry/default/example/data-grid-empty-state.tsx b/apps/design-system/registry/default/example/data-grid-empty-state.tsx
index 3f2211a8ddb..75046287096 100644
--- a/apps/design-system/registry/default/example/data-grid-empty-state.tsx
+++ b/apps/design-system/registry/default/example/data-grid-empty-state.tsx
@@ -1,8 +1,5 @@
import { Users } from 'lucide-react'
import DataGrid, { Column } from 'react-data-grid'
-
-import 'react-data-grid/lib/styles.css'
-
import { cn } from 'ui'
/**
@@ -33,7 +30,7 @@ export default function DataGridEmptyState() {
rowClass={() => {
return cn(
'bg-surface-200 cursor-pointer',
- '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell:first-child>div]:ml-8'
)
}}
diff --git a/apps/design-system/registry/default/example/field-hear.tsx b/apps/design-system/registry/default/example/field-hear.tsx
index e28e280bb67..80bee715127 100644
--- a/apps/design-system/registry/default/example/field-hear.tsx
+++ b/apps/design-system/registry/default/example/field-hear.tsx
@@ -42,16 +42,16 @@ export function FieldHear() {
</FieldDescription>
<FieldGroup className="flex flex-row flex-wrap gap-2 [--radius:9999rem]">
{options.map((option) => (
- <FieldLabel htmlFor={option.value} key={option.value} className="!w-fit">
+ <FieldLabel htmlFor={option.value} key={option.value} className="w-fit!">
<Field
orientation="horizontal"
- className="gap-1.5 overflow-hidden !px-3 !py-1.5 transition-all duration-100 ease-linear group-has-data-[state=checked]/field-label:!px-2"
+ className="gap-1.5 overflow-hidden px-3! py-1.5! transition-all duration-100 ease-linear group-has-data-checked/field-label:px-2!"
>
<Checkbox
value={option.value}
id={option.value}
defaultChecked={option.value === 'social-media'}
- className="-ml-6 -translate-x-1 rounded-full transition-all duration-100 ease-linear data-[state=checked]:ml-0 data-[state=checked]:translate-x-0"
+ className="-ml-6 -translate-x-1 rounded-full transition-all duration-100 ease-linear data-checked:ml-0 data-checked:translate-x-0"
/>
<FieldTitle>{option.label}</FieldTitle>
</Field>
diff --git a/apps/design-system/registry/default/example/form-patterns-pagelayout.tsx b/apps/design-system/registry/default/example/form-patterns-pagelayout.tsx
index f0713a50b90..0fdddbf9f0b 100644
--- a/apps/design-system/registry/default/example/form-patterns-pagelayout.tsx
+++ b/apps/design-system/registry/default/example/form-patterns-pagelayout.tsx
@@ -439,7 +439,7 @@ export default function FormPatternsPageLayout() {
{uploadedFiles.map((file, idx) => (
<div
key={`${file.name}-${idx}`}
- className="flex items-center justify-between gap-2 p-2 bg rounded border"
+ className="flex items-center justify-between gap-2 p-2 bg rounded-sm border"
>
<span className="text-sm text-foreground-light truncate flex-1">
{file.name}
diff --git a/apps/design-system/registry/default/example/form-patterns-sidepanel.tsx b/apps/design-system/registry/default/example/form-patterns-sidepanel.tsx
index 0c8abd4eb48..aa473f292be 100644
--- a/apps/design-system/registry/default/example/form-patterns-sidepanel.tsx
+++ b/apps/design-system/registry/default/example/form-patterns-sidepanel.tsx
@@ -424,7 +424,7 @@ export default function FormPatternsSidePanel() {
{uploadedFiles.map((file, idx) => (
<div
key={`${file.name}-${idx}`}
- className="flex items-center justify-between gap-2 p-2 bg rounded border"
+ className="flex items-center justify-between gap-2 p-2 bg rounded-sm border"
>
<span className="text-sm text-foreground-light truncate flex-1">
{file.name}
@@ -607,7 +607,7 @@ export default function FormPatternsSidePanel() {
badgeLimit="wrap"
showIcon={false}
deletableBadge
- className="w-full !min-w-lg"
+ className="w-full min-w-lg!"
/>
<MultiSelectorContent>
<MultiSelectorList>
diff --git a/apps/design-system/registry/default/example/inner-side-menu-empty.tsx b/apps/design-system/registry/default/example/inner-side-menu-empty.tsx
index 3333b5e6555..bf4bf8b2fe8 100644
--- a/apps/design-system/registry/default/example/inner-side-menu-empty.tsx
+++ b/apps/design-system/registry/default/example/inner-side-menu-empty.tsx
@@ -55,7 +55,7 @@ export default function InnerSideMenuEmpty() {
<Heart className="text-light" size={13} />
</div>
<Pointer
- className="absolute -right-[6px] -bottom-2 text-lighter"
+ className="absolute right-[-6px] -bottom-2 text-lighter"
strokeWidth={1.5}
size={16}
/>
diff --git a/apps/design-system/registry/default/example/navigation-menu-demo.tsx b/apps/design-system/registry/default/example/navigation-menu-demo.tsx
index eedae42b073..c36b5c6bd88 100644
--- a/apps/design-system/registry/default/example/navigation-menu-demo.tsx
+++ b/apps/design-system/registry/default/example/navigation-menu-demo.tsx
@@ -65,7 +65,7 @@ export default function NavigationMenuDemo() {
<li className="row-span-3">
<NavigationMenuLink asChild>
<a
- className="flex h-full w-full select-none flex-col justify-end rounded-md bg-gradient-to-b border from-background-surface-100/20 to-background-surface-100 p-6 no-underline outline-none focus:shadow-md"
+ className="flex h-full w-full select-none flex-col justify-end rounded-md bg-linear-to-b border from-background-surface-100/20 to-background-surface-100 p-6 no-underline outline-hidden focus:shadow-md"
href="/"
>
{/* <Icons.logo className="h-6 w-6" /> */}
@@ -125,7 +125,7 @@ const ListItem = React.forwardRef<React.ElementRef<'a'>, React.ComponentPropsWit
<a
ref={ref}
className={cn(
- 'block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-surface-100/50 hover:text-foreground focus:bg-surface-100/50 focus:text-foreground',
+ 'block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-surface-100/50 hover:text-foreground focus:bg-surface-100/50 focus:text-foreground',
className
)}
{...props}
diff --git a/apps/design-system/registry/default/example/navigation-menu-responsive.tsx b/apps/design-system/registry/default/example/navigation-menu-responsive.tsx
index 317d478ebdd..b5c4b309fd0 100644
--- a/apps/design-system/registry/default/example/navigation-menu-responsive.tsx
+++ b/apps/design-system/registry/default/example/navigation-menu-responsive.tsx
@@ -66,7 +66,7 @@ export default function NavigationMenuDemo() {
<li className="row-span-3">
<NavigationMenuLink asChild>
<a
- className="flex h-full w-full select-none flex-col justify-end rounded-md bg-gradient-to-b from-muted/50 to-muted p-6 no-underline outline-none focus:shadow-md"
+ className="flex h-full w-full select-none flex-col justify-end rounded-md bg-linear-to-b from-muted/50 to-muted p-6 no-underline outline-hidden focus:shadow-md"
href="/"
>
{/* <Icons.logo className="h-6 w-6" /> */}
@@ -170,7 +170,7 @@ const ListItem = React.forwardRef<React.ElementRef<'a'>, React.ComponentPropsWit
<a
ref={ref}
className={cn(
- 'block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-surface-100 hover:text-accent-foreground focus:bg-surface-100 focus:text-accent-foreground',
+ 'block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-surface-100 hover:text-accent-foreground focus:bg-surface-100 focus:text-accent-foreground',
className
)}
{...props}
diff --git a/apps/design-system/registry/default/example/scroll-area-horizontal-demo.tsx b/apps/design-system/registry/default/example/scroll-area-horizontal-demo.tsx
index 9a029ff3654..6c5b46cde93 100644
--- a/apps/design-system/registry/default/example/scroll-area-horizontal-demo.tsx
+++ b/apps/design-system/registry/default/example/scroll-area-horizontal-demo.tsx
@@ -32,7 +32,7 @@ export default function ScrollAreaHorizontalDemo() {
<Image
src={artwork.art}
alt={`Photo by ${artwork.artist}`}
- className="aspect-[3/4] h-fit w-fit object-cover"
+ className="aspect-3/4 h-fit w-fit object-cover"
width={300}
height={400}
/>
diff --git a/apps/design-system/registry/default/example/toc-demo.tsx b/apps/design-system/registry/default/example/toc-demo.tsx
index a4dfcf6ded2..6764c55119f 100644
--- a/apps/design-system/registry/default/example/toc-demo.tsx
+++ b/apps/design-system/registry/default/example/toc-demo.tsx
@@ -149,7 +149,7 @@ const TocComponent = () => {
<h3 className="inline-flex items-center gap-1.5 font-mono text-xs uppercase text-foreground pl-[calc(1.5rem+6px)]">
On this page
</h3>
- <TOCScrollArea className="-ml-[2px]">
+ <TOCScrollArea className="ml-[-2px]">
<TOCItems items={toc} />
</TOCScrollArea>
</Toc>
diff --git a/apps/design-system/registry/default/example/toc-single-demo.tsx b/apps/design-system/registry/default/example/toc-single-demo.tsx
index d1df877703f..bb010262eae 100644
--- a/apps/design-system/registry/default/example/toc-single-demo.tsx
+++ b/apps/design-system/registry/default/example/toc-single-demo.tsx
@@ -149,7 +149,7 @@ const TocComponent = () => {
<h3 className="inline-flex items-center gap-1.5 font-mono text-xs uppercase text-foreground pl-[calc(1.5rem+6px)]">
On this page
</h3>
- <TOCScrollArea className="-ml-[2px]">
+ <TOCScrollArea className="ml-[-2px]">
<TOCItems items={toc} />
</TOCScrollArea>
</Toc>
diff --git a/apps/design-system/registry/default/example/typography-demo.tsx b/apps/design-system/registry/default/example/typography-demo.tsx
index 3ea54c3a470..eee4c58b352 100644
--- a/apps/design-system/registry/default/example/typography-demo.tsx
+++ b/apps/design-system/registry/default/example/typography-demo.tsx
@@ -4,7 +4,7 @@ export default function TypographyDemo() {
<h1 className="scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl">
The Joke Tax Chronicles
</h1>
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
Once upon a time, in a far-off land, there was a very lazy king who spent all day lounging
on his throne. One day, his advisors came to him with a problem: the kingdom was running out
of money.
@@ -12,7 +12,7 @@ export default function TypographyDemo() {
<h2 className="mt-10 scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0">
The King&apos;s Plan
</h2>
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
The king thought long and hard, and finally came up with{' '}
<a href="#" className="font-medium text-primary underline underline-offset-4">
a brilliant plan
@@ -24,7 +24,7 @@ export default function TypographyDemo() {
that they should pay for the privilege.&quot;
</blockquote>
<h3 className="mt-8 scroll-m-20 text-2xl font-semibold tracking-tight">The Joke Tax</h3>
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
The king&apos;s subjects were not amused. They grumbled and complained, but the king was
firm:
</p>
@@ -33,7 +33,7 @@ export default function TypographyDemo() {
<li>2nd level of jokes: 10 gold coins</li>
<li>3rd level of one-liners : 20 gold coins</li>
</ul>
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
As a result, people stopped telling jokes, and the kingdom fell into a gloom. But there was
one person who refused to let the king&apos;s foolishness get him down: a court jester named
Jokester.
@@ -41,12 +41,12 @@ export default function TypographyDemo() {
<h3 className="mt-8 scroll-m-20 text-2xl font-semibold tracking-tight">
Jokester&apos;s Revolt
</h3>
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
Jokester began sneaking into the castle in the middle of the night and leaving jokes all
over the place: under the king&apos;s pillow, in his soup, even in the royal toilet. The
king was furious, but he couldn&apos;t seem to stop Jokester.
</p>
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
And then, one day, the people of the kingdom discovered that the jokes left by Jokester were
so funny that they couldn&apos;t help but laugh. And once they started laughing, they
couldn&apos;t stop.
@@ -54,7 +54,7 @@ export default function TypographyDemo() {
<h3 className="mt-8 scroll-m-20 text-2xl font-semibold tracking-tight">
The People&apos;s Rebellion
</h3>
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
The people of the kingdom, feeling uplifted by the laughter, started to tell jokes and puns
again, and soon the entire kingdom was in on the joke.
</p>
@@ -62,48 +62,48 @@ export default function TypographyDemo() {
<table className="w-full">
<thead>
<tr className="m-0 border-t p-0 even:bg-muted">
- <th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
+ <th className="border px-4 py-2 text-left font-bold [[align=center]]:text-center [[align=right]]:text-right">
King&apos;s Treasury
</th>
- <th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
+ <th className="border px-4 py-2 text-left font-bold [[align=center]]:text-center [[align=right]]:text-right">
People&apos;s happiness
</th>
</tr>
</thead>
<tbody>
<tr className="m-0 border-t p-0 even:bg-muted">
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Empty
</td>
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Overflowing
</td>
</tr>
<tr className="m-0 border-t p-0 even:bg-muted">
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Modest
</td>
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Satisfied
</td>
</tr>
<tr className="m-0 border-t p-0 even:bg-muted">
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Full
</td>
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Ecstatic
</td>
</tr>
</tbody>
</table>
</div>
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
The king, seeing how much happier his subjects were, realized the error of his ways and
repealed the joke tax. Jokester was declared a hero, and the kingdom lived happily ever
after.
</p>
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
The moral of the story is: never underestimate the power of a good laugh and always be
careful of bad ideas.
</p>
diff --git a/apps/design-system/registry/default/example/typography-inline-code.tsx b/apps/design-system/registry/default/example/typography-inline-code.tsx
index fbbc96ba688..36e5b271396 100644
--- a/apps/design-system/registry/default/example/typography-inline-code.tsx
+++ b/apps/design-system/registry/default/example/typography-inline-code.tsx
@@ -1,6 +1,6 @@
export default function TypographyInlineCode() {
return (
- <code className="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold">
+ <code className="relative rounded-sm bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold">
@radix-ui/react-alert-dialog
</code>
)
diff --git a/apps/design-system/registry/default/example/typography-p.tsx b/apps/design-system/registry/default/example/typography-p.tsx
index 0a20c523c48..ed5f1131101 100644
--- a/apps/design-system/registry/default/example/typography-p.tsx
+++ b/apps/design-system/registry/default/example/typography-p.tsx
@@ -1,6 +1,6 @@
export default function TypographyP() {
return (
- <p className="leading-7 [&:not(:first-child)]:mt-6">
+ <p className="leading-7 not-first:mt-6">
The king, seeing how much happier his subjects were, realized the error of his ways and
repealed the joke tax.
</p>
diff --git a/apps/design-system/registry/default/example/typography-table.tsx b/apps/design-system/registry/default/example/typography-table.tsx
index 7a91dfda844..a24e2c5316e 100644
--- a/apps/design-system/registry/default/example/typography-table.tsx
+++ b/apps/design-system/registry/default/example/typography-table.tsx
@@ -4,36 +4,36 @@ export default function TypographyTable() {
<table className="w-full">
<thead>
<tr className="m-0 border-t p-0 even:bg-muted">
- <th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
+ <th className="border px-4 py-2 text-left font-bold [[align=center]]:text-center [[align=right]]:text-right">
King&apos;s Treasury
</th>
- <th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
+ <th className="border px-4 py-2 text-left font-bold [[align=center]]:text-center [[align=right]]:text-right">
People&apos;s happiness
</th>
</tr>
</thead>
<tbody>
<tr className="m-0 border-t p-0 even:bg-muted">
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Empty
</td>
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Overflowing
</td>
</tr>
<tr className="m-0 border-t p-0 even:bg-muted">
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Modest
</td>
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Satisfied
</td>
</tr>
<tr className="m-0 border-t p-0 even:bg-muted">
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Full
</td>
- <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
+ <td className="border px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right">
Ecstatic
</td>
</tr>
diff --git a/apps/design-system/styles/globals.css b/apps/design-system/styles/globals.css
index d1f98daa8a0..0160d13280c 100644
--- a/apps/design-system/styles/globals.css
+++ b/apps/design-system/styles/globals.css
@@ -1,11 +1,13 @@
+@import 'tailwindcss';
+
@import './../../../packages/ui/build/css/source/global.css';
@import './../../../packages/ui/build/css/themes/dark.css';
@import './../../../packages/ui/build/css/themes/classic-dark.css';
@import './../../../packages/ui/build/css/themes/light.css';
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@config '../tailwind.config.js';
+
+@import 'config/typography.css';
@layer base {
:root {
@@ -68,3 +70,7 @@
@apply px-4;
}
}
+
+.rdg-cell {
+ padding-inline: 0.5rem;
+}
diff --git a/apps/design-system/styles/mdx.css b/apps/design-system/styles/mdx.css
index 84391167b6f..32f049edca0 100644
--- a/apps/design-system/styles/mdx.css
+++ b/apps/design-system/styles/mdx.css
@@ -1,3 +1,5 @@
+@reference './globals.css';
+
/* [data-theme="light"] {
display: block;
} */
diff --git a/apps/design-system/tailwind.config.js b/apps/design-system/tailwind.config.js
index 4d875930e75..e329c8e381e 100644
--- a/apps/design-system/tailwind.config.js
+++ b/apps/design-system/tailwind.config.js
@@ -5,12 +5,12 @@ module.exports = config({
'./app/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./registry/**/*.{js,ts,jsx,tsx}',
+ './content/**/*.mdx',
// purge styles from grid library
//
'./../../packages/ui/src/**/*.{tsx,ts,js}',
'./../../packages/ui-patterns/src/**/*.{tsx,ts,js}',
],
- plugins: [require('@tailwindcss/container-queries')],
theme: {
extend: {
maxWidth: {
diff --git a/apps/docs/app/graphiql/page.tsx b/apps/docs/app/graphiql/page.tsx
index 671b5525963..377685efd69 100644
--- a/apps/docs/app/graphiql/page.tsx
+++ b/apps/docs/app/graphiql/page.tsx
@@ -29,5 +29,5 @@ export default function GraphiQLPage() {
notFound()
}
- return <LazyGraphiQL className="!h-[calc(100vh-var(--header-height))]" />
+ return <LazyGraphiQL className="h-[calc(100vh-var(--header-height))]!" />
}
diff --git a/apps/docs/app/guides/database/database-advisors/page.tsx b/apps/docs/app/guides/database/database-advisors/page.tsx
index 334be03cd77..889dff9b749 100644
--- a/apps/docs/app/guides/database/database-advisors/page.tsx
+++ b/apps/docs/app/guides/database/database-advisors/page.tsx
@@ -87,7 +87,7 @@ const DatabaseAdvisorDocs = async () => {
.
</Admonition>
) : (
- <Tabs listClassNames="flex flex-wrap gap-2 [&>button]:!m-0" queryGroup="lint">
+ <Tabs listClassNames="flex flex-wrap gap-2 [&>button]:m-0!" queryGroup="lint">
{lints.map((lint) => (
<TabPanel
key={lint.path}
diff --git a/apps/docs/app/guides/deployment/terraform/reference/page.tsx b/apps/docs/app/guides/deployment/terraform/reference/page.tsx
index e4515a05839..93029a2c0d1 100644
--- a/apps/docs/app/guides/deployment/terraform/reference/page.tsx
+++ b/apps/docs/app/guides/deployment/terraform/reference/page.tsx
@@ -156,7 +156,7 @@ function Resources({ schema }: { schema: any }) {
<li key={nestedAttribute}>
{nestedAttribute}
<ul>
- <li className="*:!m-0">
+ <li className="*:m-0!">
<ReactMarkdown>
{
schema[resource].block.attributes[attribute].nested_type
@@ -285,7 +285,7 @@ function DataSources({ schema }: { schema: any }) {
<li key={nestedAttribute}>
{nestedAttribute}
<ul>
- <li className="*:!m-0">
+ <li className="*:m-0!">
<ReactMarkdown>
{
schema[dataSource].block.attributes[attribute].nested_type
diff --git a/apps/docs/app/guides/troubleshooting/page.tsx b/apps/docs/app/guides/troubleshooting/page.tsx
index 74582ef4838..d00356c6e27 100644
--- a/apps/docs/app/guides/troubleshooting/page.tsx
+++ b/apps/docs/app/guides/troubleshooting/page.tsx
@@ -26,7 +26,7 @@ export default async function GlobalTroubleshootingPage() {
const errors = await getAllTroubleshootingErrors()
return (
- <SidebarSkeleton hideSideNav className="w-full max-w-screen-lg mx-auto">
+ <SidebarSkeleton hideSideNav className="w-full max-w-(--breakpoint-lg) mx-auto">
<div className="py-8 px-5">
<h1 className="text-4xl tracking-tight mb-7">Troubleshooting</h1>
<p className="text-lg text-foreground-light">
diff --git a/apps/docs/components/AuthSmsProviderConfig/AuthSmsProviderConfig.tsx b/apps/docs/components/AuthSmsProviderConfig/AuthSmsProviderConfig.tsx
index 357b37ffa77..9e634a825d2 100644
--- a/apps/docs/components/AuthSmsProviderConfig/AuthSmsProviderConfig.tsx
+++ b/apps/docs/components/AuthSmsProviderConfig/AuthSmsProviderConfig.tsx
@@ -62,18 +62,18 @@ const AuthSmsProviderConfig = () => {
>
{selectedProvider && (
<DialogContent
- className="!w-[min(90vw,80ch)] !max-w-[min(90vw,80ch)] !max-h-[90dvh] prose overflow-auto"
+ className="w-[min(90vw,80ch)]! max-w-[min(90vw,80ch)]! max-h-[90dvh]! prose overflow-auto"
onOpenAutoFocus={(evt) => {
evt.preventDefault()
headingRef.current?.focus()
}}
>
- <DialogHeader className="pb-0 [&>h3]:!m-0 [&>h3>a]:!hidden [&>h3:focus-visible]:outline-none">
+ <DialogHeader className="pb-0 [&>h3]:m-0! [&>h3>a]:hidden! [&>h3:focus-visible]:outline-hidden">
<Heading tag="h3" ref={headingRef} tabIndex={-1}>
{selectedProvider.name}
</Heading>
</DialogHeader>
- <DialogSection className="[&>:first-child]:mt-0">
+ <DialogSection className="*:first:mt-0">
{selectedProvider.name.toLowerCase().includes('messagebird') && <MessageBird />}
{selectedProvider.name.toLowerCase().includes('twilio') && <Twilio />}
{selectedProvider.name.toLowerCase().includes('vonage') && <Vonage />}
diff --git a/apps/docs/components/BodyContentTypeDropdown.tsx b/apps/docs/components/BodyContentTypeDropdown.tsx
index 46c5437272e..33334ae094d 100644
--- a/apps/docs/components/BodyContentTypeDropdown.tsx
+++ b/apps/docs/components/BodyContentTypeDropdown.tsx
@@ -26,7 +26,7 @@ const BodyContentTypeDropdown = ({ types, onSelect }: IParamProps) => {
border
hover:border-control
hover:bg-overlay-hover
- border-control px-2 h-[32px] rounded
+ border-control px-2 h-[32px] rounded-sm
font-mono
flex items-center gap-1
text-foreground text-sm group-hover:text-foreground transition
diff --git a/apps/docs/components/ButtonCard.tsx b/apps/docs/components/ButtonCard.tsx
index ecc50fd15c0..f7df15298f3 100644
--- a/apps/docs/components/ButtonCard.tsx
+++ b/apps/docs/components/ButtonCard.tsx
@@ -26,7 +26,7 @@ const ButtonCard: FC<Props> = ({
<Link
href={to}
className={cn(
- 'h-full block shadow-none bg-surface-100 rounded transition',
+ 'h-full block shadow-none bg-surface-100 rounded-sm transition',
'border border-transparent hover:border-overlay',
className
)}
diff --git a/apps/docs/components/Feedback/Feedback.tsx b/apps/docs/components/Feedback/Feedback.tsx
index a54532715de..f6ce4f33303 100644
--- a/apps/docs/components/Feedback/Feedback.tsx
+++ b/apps/docs/components/Feedback/Feedback.tsx
@@ -154,7 +154,7 @@ function Feedback({ className }: { className?: string }) {
>
<Button
type="outline"
- rounded
+ rounded-sm
className={cn(
'px-1 w-7 h-7',
'text-foreground-light',
@@ -162,7 +162,7 @@ function Feedback({ className }: { className?: string }) {
'motion-reduce:[transition-duration:150ms,1ms,300ms]',
'[transition-timing-function:cubic-bezier(.76,0,.23,1)]',
!isNo && 'hover:text-warning hover:border-warning-500',
- isNo && `bg-warning text-warning-200 !border-warning disabled:opacity-100`,
+ isNo && `bg-warning text-warning-200 border-warning! disabled:opacity-100`,
!showNo && 'opacity-0 invisible'
)}
onClick={() => handleVote('no')}
@@ -173,7 +173,7 @@ function Feedback({ className }: { className?: string }) {
</Button>
<Button
type="outline"
- rounded
+ rounded-sm
className={cn(
'px-1 w-7 h-7',
'text-foreground-light',
@@ -182,7 +182,7 @@ function Feedback({ className }: { className?: string }) {
'[transition-timing-function:cubic-bezier(.76,0,.23,1)]',
!isYes && 'hover:text-brand-600 hover:border-brand-500',
isYes &&
- 'bg-brand text-brand-200 !border-brand disabled:opacity-100 -translate-x-[calc(100%+var(--container-inline-flex-gap,0.5rem))]',
+ 'bg-brand text-brand-200 border-brand! disabled:opacity-100 -translate-x-[calc(100%+var(--container-inline-flex-gap,0.5rem))]',
!showYes && 'opacity-0 invisible'
)}
onClick={() => handleVote('yes')}
@@ -205,8 +205,8 @@ function Feedback({ className }: { className?: string }) {
'[transition-delay:200ms,0ms]',
'[transition-timing-function:cubic-bezier(.76,0,.23,1)]',
'motion-reduce:[transition-duration:150ms,1ms]',
- '!ease-out',
- state.type === StateType.Followup && 'opacity-100 visible -translate-x-0'
+ 'ease-out!',
+ state.type === StateType.Followup && 'opacity-100 visible translate-x-0'
)}
>
{state.type === StateType.Followup && (
diff --git a/apps/docs/components/HomePageCover.tsx b/apps/docs/components/HomePageCover.tsx
index c67af16ecfb..93f642501bc 100644
--- a/apps/docs/components/HomePageCover.tsx
+++ b/apps/docs/components/HomePageCover.tsx
@@ -161,7 +161,7 @@ const HomePageCover = (props) => {
return (
<div className="relative z-10 w-full bg-alternative border-b max-w-none mb-16 md:mb-12 xl:mb-0">
<div className="max-w-7xl px-5 mx-auto py-8 sm:pb-16 sm:pt-12 xl:pt-16 flex flex-col xl:flex-row justify-between gap-12 xl:gap-12">
- <div className="flex flex-col sm:flex-row gap-4 sm:gap-8 items-start sm:items-center w-full max-w-xl xl:max-w-[33rem]">
+ <div className="flex flex-col sm:flex-row gap-4 sm:gap-8 items-start sm:items-center w-full max-w-xl xl:max-w-132">
<DocsCoverLogo aria-hidden="true" />
<div className="flex flex-col">
<h1 className="m-0 mb-3 text-2xl sm:text-3xl text-foreground">
diff --git a/apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
index 773e40b3c33..7faeb2db786 100644
--- a/apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/GlobalMobileMenu.tsx
@@ -30,7 +30,7 @@ const listItem = {
}
const itemClassName =
- 'block py-2 pl-2 pr-3.5 text-sm text-foreground-light hover:bg-surface-200 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:rounded'
+ 'block py-2 pl-2 pr-3.5 text-sm text-foreground-light hover:bg-surface-200 focus-visible:ring-2 focus-visible:outline-hidden focus-visible:ring-foreground-lighter focus-visible:rounded-sm'
const AccordionMenuItem = ({ section }: { section: DropdownMenuItem[] }) => {
const activeLabel = useActiveMenuLabel(GLOBAL_MENU_ITEMS)
@@ -38,7 +38,7 @@ const AccordionMenuItem = ({ section }: { section: DropdownMenuItem[] }) => {
return (
<m.div
variants={listItem}
- className="border-b border-muted [&>div]:!rounded-none [&_div[data-state=open]>div]:py-1"
+ className="border-b border-muted [&>div]:rounded-none! [&_div[data-state=open]>div]:py-1"
key={section[0].label}
>
{section[0].menuItems ? (
@@ -47,7 +47,7 @@ const AccordionMenuItem = ({ section }: { section: DropdownMenuItem[] }) => {
id={section[0].label}
className={cn(
'relative',
- activeLabel === section[0].label && '!text-foreground',
+ activeLabel === section[0].label && 'text-foreground!',
itemClassName
)}
>
@@ -75,7 +75,7 @@ const AccordionMenuItem = ({ section }: { section: DropdownMenuItem[] }) => {
) : (
<Link
href={section[0].href || '#'}
- className={cn(activeLabel === section[0].label && '!text-foreground', itemClassName)}
+ className={cn(activeLabel === section[0].label && 'text-foreground!', itemClassName)}
>
{section[0].label}
</Link>
@@ -126,9 +126,9 @@ const GlobalMobileMenu = ({ open, setOpen }: Props) => {
initial="hidden"
animate="show"
exit="exit"
- className="bg-overlay fixed overflow-hidden inset-0 z-50 h-screen max-h-screen w-screen supports-[height:100cqh]:h-[100cqh] supports-[height:100svh]:h-[100svh] transform"
+ className="bg-overlay fixed overflow-hidden inset-0 z-50 h-screen max-h-screen w-screen supports-[height:100cqh]:h-[100cqh] supports-[height:100svh]:h-svh transform"
>
- <div className="absolute px-5 h-[var(--header-height)] flex items-center justify-between w-screen left-0 top-0 z-50 bg-overlay before:content[''] before:absolute before:w-full before:h-3 before:inset-0 before:top-full before:bg-gradient-to-b before:from-background-overlay before:to-transparent">
+ <div className="absolute px-5 h-(--header-height) flex items-center justify-between w-screen left-0 top-0 z-50 bg-overlay before:content[''] before:absolute before:w-full before:h-3 before:inset-0 before:top-full before:bg-linear-to-b before:from-background-overlay before:to-transparent">
<Link href="/" className="flex items-center gap-2">
<Image
className="cursor-pointer hidden dark:block"
@@ -153,14 +153,14 @@ const GlobalMobileMenu = ({ open, setOpen }: Props) => {
<button
onClick={() => setOpen(false)}
type="button"
- className="inline-flex items-center justify-center focus:ring-brand bg-surface-100 hover:bg-surface-200 focus:outline-none focus:ring-2 focus:ring-inset border border-default bg-surface-100/75 text-foreground-light rounded min-w-[30px] w-[30px] h-[30px]"
+ className="inline-flex items-center justify-center focus:ring-brand bg-surface-100 hover:bg-surface-200 focus:outline-hidden focus:ring-2 focus:ring-inset border border-default bg-surface-100/75 text-foreground-light rounded-sm min-w-[30px] w-[30px] h-[30px]"
>
<span className="sr-only">Close menu</span>
<X />
</button>
</div>
</div>
- <div className="max-h-screen supports-[height:100cqh]:h-[100cqh] supports-[height:100svh]:h-[100svh] overflow-y-auto pt-12 pb-32 px-3">
+ <div className="max-h-screen supports-[height:100cqh]:h-[100cqh] supports-[height:100svh]:h-svh overflow-y-auto pt-12 pb-32 px-3">
<Menu />
</div>
<div className="absolute bottom-0 left-0 right-0 top-auto w-full bg-alternative flex items-stretch p-4 gap-4">
diff --git a/apps/docs/components/Navigation/NavigationMenu/GlobalNavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/GlobalNavigationMenu.tsx
index 29445946b4d..f323b7737a7 100644
--- a/apps/docs/components/Navigation/NavigationMenu/GlobalNavigationMenu.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/GlobalNavigationMenu.tsx
@@ -59,7 +59,7 @@ export const useActiveMenuLabel = (menu: typeof GLOBAL_MENU_ITEMS) => {
const GlobalNavigationMenu: FC = () => {
const activeLabel = useActiveMenuLabel(GLOBAL_MENU_ITEMS)
const triggerClassName =
- 'h-[var(--header-height)] p-2 bg-transparent border-0 border-b-2 border-transparent font-normal rounded-none text-foreground-light hover:text-foreground data-[state=open]:!text-foreground data-[radix-collection-item]:focus-visible:ring-2 data-[radix-collection-item]:focus-visible:ring-foreground-lighter data-[radix-collection-item]:focus-visible:text-foreground h-full focus-visible:rounded !shadow-none outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 focus-visible:outline-brand-600'
+ 'h-(--header-height) p-2 bg-transparent border-0 border-b-2 border-transparent font-normal rounded-none text-foreground-light hover:text-foreground data-open:text-foreground! data-radix-collection-item:focus-visible:ring-2 data-radix-collection-item:focus-visible:ring-foreground-lighter data-radix-collection-item:focus-visible:text-foreground h-full focus-visible:rounded-sm shadow-none! outline-hidden transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 focus-visible:outline-brand-600'
return (
<div className="flex relative gap-2 justify-start items-end w-full h-full">
@@ -68,9 +68,9 @@ const GlobalNavigationMenu: FC = () => {
skipDelayDuration={0}
className="w-full flex justify-start h-full"
renderViewport={false}
- viewportClassName="mt-0 max-w-screen overflow-hidden border-0 rounded-none mt-1.5 rounded-md !border-x"
+ viewportClassName="mt-0 max-w-screen overflow-hidden border-0 rounded-none mt-1.5 rounded-md border-x!"
>
- <NavigationMenuList className="px-6 space-x-2 h-[var(--header-height)]">
+ <NavigationMenuList className="px-6 space-x-2 h-(--header-height)">
{GLOBAL_MENU_ITEMS.filter((section) => section[0].enabled !== false).map(
(section, sectionIdx) =>
section[0].menuItems ? (
@@ -91,7 +91,7 @@ const GlobalNavigationMenu: FC = () => {
section[0].label
)}
</NavigationMenuTrigger>
- <NavigationMenuContent className="!top-[calc(100%+4px)] min-w-[14rem] max-h-[calc(100vh-4rem)] border-y w-screen md:w-64 overflow-hidden overflow-y-auto rounded-none md:rounded-md md:border border-overlay bg-overlay text-foreground-light shadow-md !duration-0">
+ <NavigationMenuContent className="top-[calc(100%+4px)]! min-w-56 max-h-[calc(100vh-4rem)] border-y w-screen md:w-64 overflow-hidden overflow-y-auto rounded-none md:rounded-md md:border border-overlay bg-overlay text-foreground-light shadow-md duration-0!">
<div className="p-3 md:p-1">
{section[0].menuItems?.map((menuItem, menuItemIndex) => (
<Fragment
@@ -170,7 +170,7 @@ export const MenuItem = React.forwardRef<
ref={ref}
className={cn(
'group/menu-item flex items-center gap-2',
- 'w-full flex h-8 items-center text-foreground-light text-sm hover:text-foreground select-none rounded-md p-2 leading-none no-underline !outline-none focus-visible:ring-2 focus-visible:ring-foreground-lighter focus-visible:text-foreground',
+ 'w-full flex h-8 items-center text-foreground-light text-sm hover:text-foreground select-none rounded-md p-2 leading-none no-underline outline-hidden! focus-visible:ring-2 focus-visible:ring-foreground-lighter focus-visible:text-foreground',
className
)}
{...props}
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx
index 99eb6d28ec9..c84ee4c287b 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx
@@ -112,7 +112,7 @@ const NavigationMenuCliList = ({ currentLevel, setLevel, id }) => {
<div className="flex items-center gap-3 my-3">
<img
src={`${BASE_PATH}` + (menu.icon ?? `/img/icons/menu/${id}.svg`)}
- className="w-5 rounded"
+ className="w-5 rounded-sm"
/>
<h2 className={['text-foreground ', !menu.title && 'capitalize'].join(' ')}>
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx
index 5f4a5836cd3..18e8d40f6cb 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefListItems.tsx
@@ -78,7 +78,7 @@ const FunctionLink = memo(function FunctionLink({
{active && !isSubItem && (
<div
aria-hidden="true"
- className="absolute -left-[13px] top-0 bottom-0 w-[1px] bg-brand-600"
+ className="absolute left-[-13px] top-0 bottom-0 w-px bg-brand-600"
></div>
)}
{isParent && (
diff --git a/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx b/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx
index 66221d9e786..ed7537aab81 100644
--- a/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx
@@ -32,9 +32,9 @@ const TopNavBar: FC = () => {
<>
<nav
aria-label="top bar"
- className="w-full z-40 flex flex-col border-b backdrop-blur backdrop-filter bg-default/75"
+ className="w-full z-40 flex flex-col border-b backdrop-blur-sm backdrop-filter bg-default/75"
>
- <div className="w-full px-5 lg:pl-10 flex justify-between h-[var(--header-height)] gap-3">
+ <div className="w-full px-5 lg:pl-10 flex justify-between h-(--header-height) gap-3">
<div className="hidden lg:flex h-full items-center justify-center gap-2">
<HeaderLogo />
<GlobalNavigationMenu />
@@ -58,7 +58,7 @@ const TopNavBar: FC = () => {
title="Menu dropdown button"
className={cn(
buttonVariants({ type: 'default' }),
- 'flex lg:hidden border-default bg-surface-100/75 text-foreground-light rounded-md min-w-[30px] w-[30px] h-[30px] data-[state=open]:bg-overlay-hover/30'
+ 'flex lg:hidden border-default bg-surface-100/75 text-foreground-light rounded-md min-w-[30px] w-[30px] h-[30px] data-open:bg-overlay-hover/30'
)}
onClick={() => setMobileMenuOpen(!mobileMenuOpen)}
>
@@ -100,11 +100,11 @@ const HeaderLogo = memo(() => {
href="/"
className={cn(
buttonVariants({ type: 'default' }),
- 'flex shrink-0 items-center w-fit !bg-transparent !border-none !shadow-none'
+ 'flex shrink-0 items-center w-fit bg-transparent! border-none! shadow-none!'
)}
>
<Image
- className={cn('hidden dark:block !m-0', largeLogo && 'h-[36px]')}
+ className={cn('hidden dark:block m-0!', largeLogo && 'h-[36px]')}
src={navigationLogo?.dark ?? '/docs/supabase-dark.svg'}
priority={true}
loading="eager"
@@ -113,7 +113,7 @@ const HeaderLogo = memo(() => {
alt="Supabase wordmark"
/>
<Image
- className={cn('block dark:hidden !m-0', largeLogo && 'h-[36px]')}
+ className={cn('block dark:hidden m-0!', largeLogo && 'h-[36px]')}
src={navigationLogo?.light ?? '/docs/supabase-light.svg'}
priority={true}
loading="eager"
diff --git a/apps/docs/components/Navigation/NavigationMenu/TopNavDropdown.tsx b/apps/docs/components/Navigation/NavigationMenu/TopNavDropdown.tsx
index bb656aa3b0d..a9e8b09f61a 100644
--- a/apps/docs/components/Navigation/NavigationMenu/TopNavDropdown.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/TopNavDropdown.tsx
@@ -70,7 +70,7 @@ const TopNavDropdown = () => {
title="Menu dropdown button"
className={cn(
buttonVariants({ type: 'default' }),
- 'text-foreground-light border-default w-[30px] min-w-[30px] h-[30px] data-[state=open]:bg-overlay-hover/30 hover:border-strong data-[state=open]:border-stronger hover:!bg-overlay-hover/50 bg-transparent'
+ 'text-foreground-light border-default w-[30px] min-w-[30px] h-[30px] data-open:bg-overlay-hover/30 hover:border-strong data-open:border-stronger hover:bg-overlay-hover/50! bg-transparent'
)}
>
<Menu size={18} strokeWidth={1} />
diff --git a/apps/docs/components/Navigation/SideBar.tsx b/apps/docs/components/Navigation/SideBar.tsx
index 8dfdee04d57..a88cd1bb5a9 100644
--- a/apps/docs/components/Navigation/SideBar.tsx
+++ b/apps/docs/components/Navigation/SideBar.tsx
@@ -56,9 +56,9 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {
</Link>
{referenceMeta !== undefined && (
<div className="my-5 flex items-center space-x-4">
- <div className="h-10 w-10 rounded bg-surface-100 flex items-center justify-center">
+ <div className="h-10 w-10 rounded-sm bg-surface-100 flex items-center justify-center">
<Image
- className="rounded"
+ className="rounded-sm"
width={24}
height={24}
alt={referenceMeta.name}
@@ -77,7 +77,7 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {
<div
key={item.name}
className={[
- 'py-1.5 px-5 rounded text-sm transition',
+ 'py-1.5 px-5 rounded-sm text-sm transition',
`${
item.url === pathname
? 'bg-background text-brand-link'
@@ -116,7 +116,7 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {
<Link href={section.url || '#'} key={section.name}>
<div
className={[
- 'py-1.5 px-5 rounded text-sm transition',
+ 'py-1.5 px-5 rounded-sm text-sm transition',
`${
section.url === pathname
? 'bg-background text-brand-link'
@@ -154,7 +154,7 @@ const SideBar = ({ menuItems = [] }: { menuItems: any }) => {
<div
key={item.name}
className={[
- 'py-1.5 ml-4 px-5 rounded text-sm transition',
+ 'py-1.5 ml-4 px-5 rounded-sm text-sm transition',
`${
item.url === pathname
? 'bg-background text-brand-link'
diff --git a/apps/docs/components/RefVersionDropdown.tsx b/apps/docs/components/RefVersionDropdown.tsx
index c65519e251c..abda64ec64a 100644
--- a/apps/docs/components/RefVersionDropdown.tsx
+++ b/apps/docs/components/RefVersionDropdown.tsx
@@ -49,7 +49,7 @@ const RevVersionDropdown = ({
border
hover:border-control
hover:bg-overlay-hover
- border-control px-2 h-[32px] rounded
+ border-control px-2 h-[32px] rounded-sm
font-mono
flex items-center gap-1 text-foreground-muted text-xs group-hover:text-foreground transition
"
diff --git a/apps/docs/components/RegionsList.tsx b/apps/docs/components/RegionsList.tsx
index 15f751bb1cc..5005b542df3 100644
--- a/apps/docs/components/RegionsList.tsx
+++ b/apps/docs/components/RegionsList.tsx
@@ -6,7 +6,7 @@ export function RegionsList() {
<ul>
{Object.keys(AWS_REGIONS).map((region) => (
<li key={region} className="flex flex-col gap-2">
- <span className="w-fit !mt-0">{AWS_REGIONS[region].displayName}</span>
+ <span className="w-fit mt-0!">{AWS_REGIONS[region].displayName}</span>
<code className="w-fit">{AWS_REGIONS[region].code}</code>
</li>
))}
@@ -18,7 +18,7 @@ export function SmartRegionsList() {
<ul>
{[...SMART_REGION_TO_EXACT_REGION_MAP.entries()].map(([smartRegion, exactRegion]) => (
<li key={smartRegion} className="flex flex-col gap-2">
- <span className="w-fit !mt-0">{smartRegion}</span>
+ <span className="w-fit mt-0!">{smartRegion}</span>
<code className="w-fit">{exactRegion}</code>
</li>
))}
diff --git a/apps/docs/components/StepHike/index.tsx b/apps/docs/components/StepHike/index.tsx
index 6ffb4a0314e..bb94c1029e2 100644
--- a/apps/docs/components/StepHike/index.tsx
+++ b/apps/docs/components/StepHike/index.tsx
@@ -77,7 +77,7 @@ const Step = ({ children, title, step }) => {
"
>
<div className="flex items-center gap-6">
- <div className="border bg-selection border-strong flex w-7 h-7 items-center justify-center rounded text-base text-foreground font-semibold font-mono">
+ <div className="border bg-selection border-strong flex w-7 h-7 items-center justify-center rounded-sm text-base text-foreground font-semibold font-mono">
{step}
</div>
<h3 className="text-foreground text-xl" id={cleanTitleId}>
diff --git a/apps/docs/components/Table.tsx b/apps/docs/components/Table.tsx
index 8c036556ad1..dec8afe8723 100644
--- a/apps/docs/components/Table.tsx
+++ b/apps/docs/components/Table.tsx
@@ -29,7 +29,7 @@ const Table = ({ children, ...props }: TableProps) => {
<div className="relative">
<span
className={cn(
- 'block md:hidden absolute inset-0 left-auto w-5 bg-gradient-to-r from-transparent to-background transition-opacity opacity-100',
+ 'block md:hidden absolute inset-0 left-auto w-5 bg-linear-to-r from-transparent to-background transition-opacity opacity-100',
!showShadow && 'opacity-0 duration-300'
)}
/>
diff --git a/apps/docs/content/guides/auth/signing-keys.mdx b/apps/docs/content/guides/auth/signing-keys.mdx
index 20f1475516b..2fcd8b3ce59 100644
--- a/apps/docs/content/guides/auth/signing-keys.mdx
+++ b/apps/docs/content/guides/auth/signing-keys.mdx
@@ -14,7 +14,7 @@ When a JWT is issued by Supabase Auth, the key used to create its [signature](ht
| System | Type | Description |
| ----------------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Legacy | JWT&nbsp;secret | Initially Supabase was designed to use a single shared secret key to sign all JWTs. This includes <span className="!whitespace-nowrap">the `anon` and `service_role`</span> keys, all user access tokens including some [Storage pre-signed URLs](/docs/reference/javascript/storage-from-createsignedurl). **No longer recommended.** Available for backward compatibility. |
+| Legacy | JWT&nbsp;secret | Initially Supabase was designed to use a single shared secret key to sign all JWTs. This includes <span className="whitespace-nowrap!">the `anon` and `service_role`</span> keys, all user access tokens including some [Storage pre-signed URLs](/docs/reference/javascript/storage-from-createsignedurl). **No longer recommended.** Available for backward compatibility. |
| Signing&nbsp;keys | Asymmetric&nbsp;key (RSA, Elliptic Curves) | A JWT signing key based on [public-key cryptography](https://en.wikipedia.org/wiki/Public-key_cryptography) (RSA, Elliptic Curves) that follows industry best practices and significantly improves the security, reliability and performance of your applications. |
| Signing&nbsp;keys | Shared&nbsp;secret&nbsp;key | A JWT signing key based on a [shared secret](https://en.wikipedia.org/wiki/HMAC). |
@@ -101,12 +101,12 @@ Each action on a key is reversible (except permanent deletion).
| Action | Accepted JWT signatures | Description |
| -------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| <span className="!whitespace-nowrap">Create a new key</span> | Current key only, new key has not created any JWTs yet. | When you initially create a key, after choosing the signing algorithm or importing a private key you already have, it starts out in the standby state. If using an asymmetric key (RSA, Elliptic Curve) its public key will be available in the discovery endpoint. Supabase Auth does not use this key to create new JWTs. |
-| <span className="!whitespace-nowrap">Rotate keys</span> | Both keys in the rotation. | Rotation only changes the key used by Supabase Auth to create new JWTs, but the trust relationship with both keys remains. |
-| <span className="!whitespace-nowrap">Revoke key</span> | <span className="!whitespace-nowrap">Only from the current key.</span> | Once all regularly valid JWTs have expired (or sooner) revoke the previously used key to revoke trust in it. |
-| <span className="!whitespace-nowrap">Move to standby</span> from revoked | Current and previously revoked key. | If you've made a mistake or need more time to adjust your application, you can move a revoked key to standby. Follow up with a rotation to ensure Auth starts using the originally revoked key again to make new JWTs. |
-| <span className="!whitespace-nowrap">Move to standby</span> from previously used | Both keys. | This only prepares the key from the last rotation to be used by Auth to make new JWTs with it. |
-| <span className="!whitespace-nowrap">Delete key</span> | - | Permanently destroys the private key or shared secret of a key, so it will not be possible to re-use or rotate again into it. |
+| <span className="whitespace-nowrap!">Create a new key</span> | Current key only, new key has not created any JWTs yet. | When you initially create a key, after choosing the signing algorithm or importing a private key you already have, it starts out in the standby state. If using an asymmetric key (RSA, Elliptic Curve) its public key will be available in the discovery endpoint. Supabase Auth does not use this key to create new JWTs. |
+| <span className="whitespace-nowrap!">Rotate keys</span> | Both keys in the rotation. | Rotation only changes the key used by Supabase Auth to create new JWTs, but the trust relationship with both keys remains. |
+| <span className="whitespace-nowrap!">Revoke key</span> | <span className="whitespace-nowrap!">Only from the current key.</span> | Once all regularly valid JWTs have expired (or sooner) revoke the previously used key to revoke trust in it. |
+| <span className="whitespace-nowrap!">Move to standby</span> from revoked | Current and previously revoked key. | If you've made a mistake or need more time to adjust your application, you can move a revoked key to standby. Follow up with a rotation to ensure Auth starts using the originally revoked key again to make new JWTs. |
+| <span className="whitespace-nowrap!">Move to standby</span> from previously used | Both keys. | This only prepares the key from the last rotation to be used by Auth to make new JWTs with it. |
+| <span className="whitespace-nowrap!">Delete key</span> | - | Permanently destroys the private key or shared secret of a key, so it will not be possible to re-use or rotate again into it. |
### Public key discovery and caching
@@ -135,12 +135,12 @@ Finally this multi-level cache is cleared every 20 minutes, or longer if you hav
To strike the right balance between performance, security and ease-of-use, JWT signing keys are based on capabilities available in the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API).
-| Algorithm | <span className="!whitespace-nowrap">JWT `alg`</span> | Information |
+| Algorithm | <span className="whitespace-nowrap!">JWT `alg`</span> | Information |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| <span className="!whitespace-nowrap">[NIST P-256 Curve](https://en.wikipedia.org/wiki/Elliptic-curve_cryptography)</span><br/>(Asymmetric) | <span className="!whitespace-nowrap">`ES256`</span> | Elliptic Curves are a faster alternative than RSA, while providing comparable security. Especially important for Auth use cases is the fact that signatures using the P-256 curve are significantly shorter than those created by RSA, which reduces data transfer sizes and helps in managing cookie size. Web Crypto and most other cryptography libraries and runtimes support this curve. |
-| <span className="!whitespace-nowrap">[RSA 2048](https://en.wikipedia.org/wiki/RSA_cryptosystem)</span><br/>(Asymmetric) | <span className="!whitespace-nowrap">`RS256`</span> | RSA is the oldest and most widely supported public-key cryptosystem in use. While being easy to code by hand, it can be significantly slower than elliptic curves in certain aspects. We recommend using the P-256 elliptic curve instead. |
-| <span className="!whitespace-nowrap">[Ed25519 Curve](https://en.wikipedia.org/wiki/EdDSA#Ed25519)</span><br/>(Asymmetric) | <span className="!whitespace-nowrap">`EdDSA`</span> | Coming soon. This algorithm is based on a different elliptic curve cryptosystem developed in the open, unlike the P-256 curve. Web Crypto or other crypto libraries may not support it in all runtimes, making it difficult to work with. |
-| <span className="!whitespace-nowrap">[HMAC with shared secret](https://en.wikipedia.org/wiki/HMAC)</span><br/>(Symmetric) | <span className="!whitespace-nowrap">`HS256`</span> | **Not recommended for production applications.** A shared secret uses a message authentication code to verify the authenticity of a JSON Web Token. This requires that both the creator of the JWT (Auth) and the system verifying the JWT know the secret. As there is no public key counterpart, revoking this key might require deploying changes to your app's backend infrastructure. |
+| <span className="whitespace-nowrap!">[NIST P-256 Curve](https://en.wikipedia.org/wiki/Elliptic-curve_cryptography)</span><br/>(Asymmetric) | <span className="whitespace-nowrap!">`ES256`</span> | Elliptic Curves are a faster alternative than RSA, while providing comparable security. Especially important for Auth use cases is the fact that signatures using the P-256 curve are significantly shorter than those created by RSA, which reduces data transfer sizes and helps in managing cookie size. Web Crypto and most other cryptography libraries and runtimes support this curve. |
+| <span className="whitespace-nowrap!">[RSA 2048](https://en.wikipedia.org/wiki/RSA_cryptosystem)</span><br/>(Asymmetric) | <span className="whitespace-nowrap!">`RS256`</span> | RSA is the oldest and most widely supported public-key cryptosystem in use. While being easy to code by hand, it can be significantly slower than elliptic curves in certain aspects. We recommend using the P-256 elliptic curve instead. |
+| <span className="whitespace-nowrap!">[Ed25519 Curve](https://en.wikipedia.org/wiki/EdDSA#Ed25519)</span><br/>(Asymmetric) | <span className="whitespace-nowrap!">`EdDSA`</span> | Coming soon. This algorithm is based on a different elliptic curve cryptosystem developed in the open, unlike the P-256 curve. Web Crypto or other crypto libraries may not support it in all runtimes, making it difficult to work with. |
+| <span className="whitespace-nowrap!">[HMAC with shared secret](https://en.wikipedia.org/wiki/HMAC)</span><br/>(Symmetric) | <span className="whitespace-nowrap!">`HS256`</span> | **Not recommended for production applications.** A shared secret uses a message authentication code to verify the authenticity of a JSON Web Token. This requires that both the creator of the JWT (Auth) and the system verifying the JWT know the secret. As there is no public key counterpart, revoking this key might require deploying changes to your app's backend infrastructure. |
<Admonition type="caution">
diff --git a/apps/docs/content/guides/database/orioledb.mdx b/apps/docs/content/guides/database/orioledb.mdx
index b2757eecd67..d2908ca22ba 100644
--- a/apps/docs/content/guides/database/orioledb.mdx
+++ b/apps/docs/content/guides/database/orioledb.mdx
@@ -11,7 +11,7 @@ OrioleDB addresses Postgres's scalability limitations by removing bottlenecks in
<Image
alt="TPC-C (warehouses = 500)"
src="/docs/img/database/orioledb-tpc-c-500-warehouse.png"
- className="max-w-[550px] !mx-auto border rounded-md"
+ className="max-w-[550px] mx-auto! border rounded-md"
width={1000}
height={609}
@@ -54,7 +54,7 @@ To get started with OrioleDB you need to [create a new Supabase project](/dashbo
light: '/docs/img/database/orioledb-creating-project--light.png',
dark: '/docs/img/database/orioledb-creating-project.png',
}}
- className="max-w-[550px] !mx-auto border rounded-md"
+ className="max-w-[550px] mx-auto! border rounded-md"
width={1376}
height={2034}
diff --git a/apps/docs/content/guides/database/partitions.mdx b/apps/docs/content/guides/database/partitions.mdx
index 8b7e73dfd30..9019ea55e34 100644
--- a/apps/docs/content/guides/database/partitions.mdx
+++ b/apps/docs/content/guides/database/partitions.mdx
@@ -12,7 +12,7 @@ Table partitioning is a technique that allows you to divide a large table into s
light: '/docs/img/database/partitions-light.png',
dark: '/docs/img/database/partitions-dark.png',
}}
- className="max-h-[400px] !mx-auto"
+ className="max-h-[400px] mx-auto!"
width={1600}
height={1075}
/>
diff --git a/apps/docs/content/guides/deployment/branching/github-integration.mdx b/apps/docs/content/guides/deployment/branching/github-integration.mdx
index b0b91b2727f..00ab2a97bd6 100644
--- a/apps/docs/content/guides/deployment/branching/github-integration.mdx
+++ b/apps/docs/content/guides/deployment/branching/github-integration.mdx
@@ -119,7 +119,7 @@ We highly recommend turning on a 'required check' for the Supabase integration.
<Image
-className="max-w-[700px] !mx-auto"
+className="max-w-[700px] mx-auto!"
alt='Check the "Require status checks to pass before merging" option.'
caption='Check the "Require status checks to pass before merging" option.'
src="/docs/img/guides/platform/branching/github-required-check.jpg?v=1"
diff --git a/apps/docs/content/guides/getting-started/api-keys.mdx b/apps/docs/content/guides/getting-started/api-keys.mdx
index 64bcb052eea..1d3ebea3115 100644
--- a/apps/docs/content/guides/getting-started/api-keys.mdx
+++ b/apps/docs/content/guides/getting-started/api-keys.mdx
@@ -27,10 +27,10 @@ There are 4 types of API keys that you can use with Supabase:
| Type | Format | Privileges | Availability | Use |
| ---------------------------------------------------------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Publishable&nbsp;key | <span className="!whitespace-nowrap">`sb_publishable_...`</span> | Low | Platform | Safe to expose online: web page, mobile or desktop app, GitHub actions, CLIs, source code. |
-| Secret&nbsp;keys | <span className="!whitespace-nowrap">`sb_secret_...`</span> | Elevated | Platform | **Only use in backend components of your app:** servers, already secured APIs (admin panels), [Edge Functions](/docs/guides/functions), microservices, etc. They provide _full access_ to your project's data, bypassing [Row Level Security](/docs/guides/database/postgres/row-level-security). |
-| <span className="!whitespace-nowrap">`anon`</span> | JWT (long lived) | Low | <span className="!whitespace-nowrap">Platform, CLI</span> | Legacy version of publishable keys. |
-| <span className="!whitespace-nowrap">`service_role`</span> | JWT (long lived) | Elevated | <span className="!whitespace-nowrap">Platform, CLI</span> | Legacy version of secret keys. |
+| Publishable&nbsp;key | <span className="whitespace-nowrap!">`sb_publishable_...`</span> | Low | Platform | Safe to expose online: web page, mobile or desktop app, GitHub actions, CLIs, source code. |
+| Secret&nbsp;keys | <span className="whitespace-nowrap!">`sb_secret_...`</span> | Elevated | Platform | **Only use in backend components of your app:** servers, already secured APIs (admin panels), [Edge Functions](/docs/guides/functions), microservices, etc. They provide _full access_ to your project's data, bypassing [Row Level Security](/docs/guides/database/postgres/row-level-security). |
+| <span className="whitespace-nowrap!">`anon`</span> | JWT (long lived) | Low | <span className="whitespace-nowrap!">Platform, CLI</span> | Legacy version of publishable keys. |
+| <span className="whitespace-nowrap!">`service_role`</span> | JWT (long lived) | Elevated | <span className="whitespace-nowrap!">Platform, CLI</span> | Legacy version of secret keys. |
<Admonition type="caution" title="Changes to API keys">
diff --git a/apps/docs/content/guides/platform/project-transfer.mdx b/apps/docs/content/guides/platform/project-transfer.mdx
index 6f41feef481..5ba93e504f9 100644
--- a/apps/docs/content/guides/platform/project-transfer.mdx
+++ b/apps/docs/content/guides/platform/project-transfer.mdx
@@ -12,7 +12,7 @@ You can freely transfer projects between different organizations. Head to your [
light: '/docs/img/guides/platform/project-transfer-overview--light.png',
dark: '/docs/img/guides/platform/project-transfer-overview.png',
}}
- className="max-w-[600px] !mx-auto border rounded-md"
+ className="max-w-[600px] mx-auto! border rounded-md"
width={677}
height={224}
@@ -24,7 +24,7 @@ height={224}
light: '/docs/img/guides/platform/project-transfer-modal--light.png',
dark: '/docs/img/guides/platform/project-transfer-modal.png',
}}
- className="max-w-[600px] !mx-auto"
+ className="max-w-[600px] mx-auto!"
width={773}
height={581}
diff --git a/apps/docs/content/guides/platform/read-replicas.mdx b/apps/docs/content/guides/platform/read-replicas.mdx
index 54ca456e81d..ad81e899d34 100644
--- a/apps/docs/content/guides/platform/read-replicas.mdx
+++ b/apps/docs/content/guides/platform/read-replicas.mdx
@@ -13,7 +13,7 @@ Read Replicas are additional databases kept in sync with your Primary database.
<Image
alt="Map view of all project databases."
src="/docs/img/guides/platform/read-replicas/map-view.png?v=1"
- containerClassName="max-w-[700px] !mx-auto"
+ containerClassName="max-w-[700px] mx-auto!"
width={2000}
height={830}
diff --git a/apps/docs/content/guides/queues/quickstart.mdx b/apps/docs/content/guides/queues/quickstart.mdx
index 95228840680..58af639d01c 100644
--- a/apps/docs/content/guides/queues/quickstart.mdx
+++ b/apps/docs/content/guides/queues/quickstart.mdx
@@ -75,7 +75,7 @@ Queue names can only be lowercase and hyphens and underscores are permitted.
light: '/docs/img/queues-quickstart-create.png',
}}
-className="max-w-lg !mx-auto"
+className="max-w-lg mx-auto!"
width={1456}
height={1420}
@@ -214,13 +214,13 @@ const QueuesTest: React.FC = () => {
<h2 className="text-2xl font-bold mb-4">Queue Test Component</h2>
<button
onClick={sendToQueue}
- className="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600 mr-4"
+ className="bg-blue-500 text-white px-4 py-2 rounded-sm hover:bg-blue-600 mr-4"
>
Add Message
</button>
<button
onClick={popFromQueue}
- className="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600"
+ className="bg-blue-500 text-white px-4 py-2 rounded-sm hover:bg-blue-600"
>
Pop Message
</button>
diff --git a/apps/docs/content/guides/telemetry/metrics.mdx b/apps/docs/content/guides/telemetry/metrics.mdx
index 3939b8bf9e9..4fd0dc73531 100644
--- a/apps/docs/content/guides/telemetry/metrics.mdx
+++ b/apps/docs/content/guides/telemetry/metrics.mdx
@@ -30,7 +30,7 @@ Pick the workflow that best matches your tooling. Cards link to Supabase-authore
<img
src="/docs/img/guides/platform/supabase-grafana-prometheus.png"
alt="Supabase Grafana dashboard showcasing database metrics"
- className="mt-8 rounded-lg border border-foreground/10 shadow-sm"
+ className="mt-8 rounded-lg border border-foreground/10 shadow-xs"
/>
## Additional resources
diff --git a/apps/docs/content/guides/telemetry/metrics/grafana-cloud.mdx b/apps/docs/content/guides/telemetry/metrics/grafana-cloud.mdx
index 081c23c3ab9..8df4fe0d5b6 100644
--- a/apps/docs/content/guides/telemetry/metrics/grafana-cloud.mdx
+++ b/apps/docs/content/guides/telemetry/metrics/grafana-cloud.mdx
@@ -47,7 +47,7 @@ This dashboard includes 200+ charts grouped by CPU, IO, connections, replication
<img
src="/docs/img/guides/platform/supabase-grafana-prometheus.png"
alt="Supabase Grafana dashboard showcasing database metrics"
- className="mt-6 rounded-lg border border-foreground/10 shadow-sm"
+ className="mt-6 rounded-lg border border-foreground/10 shadow-xs"
/>
## 4. Configure alerts (optional)
diff --git a/apps/docs/content/guides/telemetry/metrics/grafana-self-hosted.mdx b/apps/docs/content/guides/telemetry/metrics/grafana-self-hosted.mdx
index cde68d3d82d..5e10dbd38a0 100644
--- a/apps/docs/content/guides/telemetry/metrics/grafana-self-hosted.mdx
+++ b/apps/docs/content/guides/telemetry/metrics/grafana-self-hosted.mdx
@@ -66,7 +66,7 @@ You now have over 200 production-ready panels covering CPU, IO, WAL, replication
<img
src="/docs/img/guides/platform/supabase-grafana-prometheus.png"
alt="Supabase Grafana dashboard showcasing database metrics"
- className="mt-6 rounded-lg border border-foreground/10 shadow-sm"
+ className="mt-6 rounded-lg border border-foreground/10 shadow-xs"
/>
## 4. Configure alerting
diff --git a/apps/docs/content/guides/telemetry/metrics/vendor-agnostic.mdx b/apps/docs/content/guides/telemetry/metrics/vendor-agnostic.mdx
index 955b9f22b14..69d1291e8ec 100644
--- a/apps/docs/content/guides/telemetry/metrics/vendor-agnostic.mdx
+++ b/apps/docs/content/guides/telemetry/metrics/vendor-agnostic.mdx
@@ -54,7 +54,7 @@ No matter which collector you use, you need to hit the Metrics API once per minu
<img
src="/docs/img/guides/platform/supabase-grafana-prometheus.png"
alt="Supabase Grafana dashboard showcasing database metrics"
- className="mt-6 rounded-lg border border-foreground/10 shadow-sm"
+ className="mt-6 rounded-lg border border-foreground/10 shadow-xs"
/>
## 4. Alerts and automation
diff --git a/apps/docs/docs/ref/self-hosting-functions/introduction.mdx b/apps/docs/docs/ref/self-hosting-functions/introduction.mdx
index 9bc0dceb654..64661800631 100644
--- a/apps/docs/docs/ref/self-hosting-functions/introduction.mdx
+++ b/apps/docs/docs/ref/self-hosting-functions/introduction.mdx
@@ -5,7 +5,7 @@ hideTitle: true
---
<div className="flex items-start gap-6 not-prose" id="introduction">
- <img src="/docs/img/icons/menu/reference-analytics.svg" className="w-8 h-8 rounded" />
+ <img src="/docs/img/icons/menu/reference-analytics.svg" className="w-8 h-8 rounded-sm" />
<div className="flex flex-col gap-2">
<h1 className="text-3xl text-foreground m-0">Self-Hosting Functions</h1>
</div>
diff --git a/apps/docs/features/directives/CodeSample.client.tsx b/apps/docs/features/directives/CodeSample.client.tsx
index 10c850162f9..ea206c1a492 100644
--- a/apps/docs/features/directives/CodeSample.client.tsx
+++ b/apps/docs/features/directives/CodeSample.client.tsx
@@ -42,7 +42,7 @@ function MultipleSources({ children, sources }: PropsWithChildren<{ sources: (st
{children}
<DropdownMenu>
<DropdownMenuTrigger asChild>
- <button className="block -mt-4 mb-4 ml-auto text-foreground-lighter text-sm focus-visible:outline-none focus-visible:underline">
+ <button className="block -mt-4 mb-4 ml-auto text-foreground-lighter text-sm focus-visible:outline-hidden focus-visible:underline">
View sources
</button>
</DropdownMenuTrigger>
diff --git a/apps/docs/features/directives/CodeTabs.components.tsx b/apps/docs/features/directives/CodeTabs.components.tsx
index 757eb6b2e94..c18c76aa31b 100644
--- a/apps/docs/features/directives/CodeTabs.components.tsx
+++ b/apps/docs/features/directives/CodeTabs.components.tsx
@@ -8,7 +8,7 @@ export function NamedCodeBlock({ name, children }: PropsWithChildren<{ name: str
<h6
className={cn(
'w-fit flex items-center text-center',
- 'shadow-sm rounded border border-stronger bg-selection',
+ 'shadow-xs rounded-sm border border-stronger bg-selection',
'px-2.5 py-1',
'text-xs text-foreground'
)}
diff --git a/apps/docs/features/docs/Reference.sections.tsx b/apps/docs/features/docs/Reference.sections.tsx
index 8c6bf9365ee..382fdcfb2fb 100644
--- a/apps/docs/features/docs/Reference.sections.tsx
+++ b/apps/docs/features/docs/Reference.sections.tsx
@@ -171,8 +171,8 @@ async function CliCommandSection({ link, section }: CliCommandSectionProps) {
return (
<RefSubLayout.Section columns="double" link={link} {...section}>
- <StickyHeader title={command.title} className="col-[1_/_-1]" monoFont={true} />
- <div className="w-full min-w-0 prose break-words mb-8">
+ <StickyHeader title={command.title} className="col-span-full" monoFont={true} />
+ <div className="w-full min-w-0 prose wrap-break-word mb-8">
{command.description && <ReactMarkdown>{command.description}</ReactMarkdown>}
{command.usage && (
<div className="mb-8">
@@ -220,7 +220,7 @@ async function CliCommandSection({ link, section }: CliCommandSectionProps) {
)}
</div>
{flag.description && (
- <div className="prose break-words text-sm">
+ <div className="prose wrap-break-word text-sm">
<ReactMarkdown>{flag.description}</ReactMarkdown>
</div>
)}
@@ -320,7 +320,7 @@ async function ApiEndpointSection({ link, section, servicePath }: ApiEndpointSec
)}
</>
}
- className="col-[1_/_-1]"
+ className="col-span-full"
/>
<div className="flex flex-col gap-12">
<div className="flex items-center gap-2">
@@ -342,7 +342,7 @@ async function ApiEndpointSection({ link, section, servicePath }: ApiEndpointSec
</code>
</div>
{endpointDetails.description && (
- <div className="prose break-words mb-8">
+ <div className="prose wrap-break-word mb-8">
<ReactMarkdown>{endpointDetails.description}</ReactMarkdown>
</div>
)}
@@ -473,11 +473,11 @@ async function FunctionSection({
return (
<RefSubLayout.Section columns="double" link={link} {...section}>
- <StickyHeader {...section} className="col-[1_/_-1]" />
+ <StickyHeader {...section} className="col-span-full" />
{/* Display method signature below title */}
{types && 'params' in types && formatMethodSignature(types) && (
- <div className="col-[1_/_-1] -mt-2 mb-4">
+ <div className="col-span-full -mt-2 mb-4">
<code className="text-sm text-foreground-muted font-mono">
{formatMethodSignature(types)}
</code>
@@ -485,7 +485,7 @@ async function FunctionSection({
)}
<div className="overflow-hidden flex flex-col gap-8">
- <div className="prose break-words text-sm">
+ <div className="prose wrap-break-word text-sm">
<MDXRemoteRefs source={fullDescription} />
</div>
<FnParameterDetails
diff --git a/apps/docs/features/docs/Reference.ui.tsx b/apps/docs/features/docs/Reference.ui.tsx
index 8a5d0893b81..ab7cc470360 100644
--- a/apps/docs/features/docs/Reference.ui.tsx
+++ b/apps/docs/features/docs/Reference.ui.tsx
@@ -40,7 +40,7 @@ function Section({ slug, link, columns = 'single', children }: SectionProps) {
link={link}
className={cn(
'grid grid-cols-[1fr] gap-x-16 gap-y-8',
- singleColumn ? 'max-w-3xl' : '@4xl/article:grid-cols-[1fr,1fr]'
+ singleColumn ? 'max-w-3xl' : '@4xl/article:grid-cols-[1fr_1fr]'
)}
>
{children}
@@ -99,7 +99,7 @@ export function StickyHeader({ title, monoFont = false, className }: StickyHeade
<h2
tabIndex={-1} // For programmatic focus on auto-scroll to section
className={cn(
- 'sticky top-0 z-[1]',
+ 'sticky top-0 z-1',
'w-full',
// Enough padding to cover the background when stuck to the top,
// then readjust with negative margin to prevent it looking too
@@ -107,10 +107,10 @@ export function StickyHeader({ title, monoFont = false, className }: StickyHeade
'pt-[calc(var(--header-height)+1rem)] -mt-[calc(var(--header-height)+1rem-2px)]',
// Same for bottom
'pb-8 -mb-3',
- 'bg-gradient-to-b from-background from-85% to-transparent to-100%',
+ 'bg-linear-to-b from-background from-85% to-transparent to-100%',
'text-2xl font-medium text-foreground',
'scroll-mt-[calc(var(--header-height)+1rem)]',
- 'focus:outline-none',
+ 'focus:outline-hidden',
monoFont && 'font-mono',
className
)}
@@ -127,19 +127,16 @@ export function CollapsibleDetails({ title, content }: { title: string; content:
className={cn(
'group',
'w-full h-8',
- 'border bg-surface-100 rounded',
+ 'border bg-surface-100 rounded-sm',
'px-5',
'flex items-center gap-3',
'text-xs text-foreground-light',
- 'data-[state=open]:bg-surface-200',
- 'data-[state=open]:rounded-b-none data-[state=open]:border-b-0',
+ 'data-open:bg-surface-200',
+ 'data-open:rounded-b-none data-open:border-b-0',
'transition-safe-all ease-out'
)}
>
- <ChevronRight
- size={12}
- className="group-data-[state=open]:rotate-90 transition-transform"
- />
+ <ChevronRight size={12} className="group-data-open:rotate-90 transition-transform" />
{title}
</CollapsibleTrigger_Shadcn_>
<CollapsibleContent_Shadcn_
@@ -294,8 +291,8 @@ function TypeSubDetails({
'flex items-center gap-2',
'text-left text-sm text-foreground-light',
'hover:bg-surface-100',
- 'data-[state=open]:w-full',
- 'data-[state=open]:rounded-b-none data-[state=open]:rounded-tl-lg data-[state=open]:rounded-tr-lg',
+ 'data-open:w-full',
+ 'data-open:rounded-b-none data-open:rounded-tl-lg data-open:rounded-tr-lg',
'transition [transition-property:width,background-color]',
className
)}
@@ -304,7 +301,7 @@ function TypeSubDetails({
size={14}
className={cn(
'text-foreground-muted',
- 'group-data-[state=closed]:rotate-45',
+ 'group-data-closed:rotate-45',
'transition-transform'
)}
/>
@@ -352,7 +349,7 @@ export function ApiSchemaParamDetails({ param }: { param: IApiEndPoint['paramete
)}
</div>
{param.description && (
- <div className="prose break-words text-sm">
+ <div className="prose wrap-break-word text-sm">
<ReactMarkdown>{param.description}</ReactMarkdown>
</div>
)}
@@ -513,8 +510,8 @@ export function ApiSchemaParamSubdetails({
'flex items-center gap-2',
'text-left text-sm text-foreground-light',
'hover:bg-surface-100',
- 'data-[state=open]:w-full',
- 'data-[state=open]:rounded-b-none data-[state=open]:rounded-tl-lg data-[state=open]:rounded-tr-lg',
+ 'data-open:w-full',
+ 'data-open:rounded-b-none data-open:rounded-tl-lg data-open:rounded-tr-lg',
'transition [transition-property:width,background-color]',
className
)}
@@ -523,7 +520,7 @@ export function ApiSchemaParamSubdetails({
size={14}
className={cn(
'text-foreground-muted',
- 'group-data-[state=closed]:rotate-45',
+ 'group-data-closed:rotate-45',
'transition-transform'
)}
/>
diff --git a/apps/docs/features/docs/Troubleshooting.page.tsx b/apps/docs/features/docs/Troubleshooting.page.tsx
index d5849135389..805623bbe5e 100644
--- a/apps/docs/features/docs/Troubleshooting.page.tsx
+++ b/apps/docs/features/docs/Troubleshooting.page.tsx
@@ -16,7 +16,7 @@ export default async function TroubleshootingPage({ entry }: { entry: ITroublesh
return (
<SidebarSkeleton
hideSideNav
- className="@container/troubleshooting-entry-layout w-full max-w-screen-lg mx-auto lg:py-8 lg:px-5"
+ className="@container/troubleshooting-entry-layout w-full max-w-(--breakpoint-lg) mx-auto lg:py-8 lg:px-5"
>
<div className="px-5 py-8 lg:px-0 lg:py-0">
<Breadcrumbs minLength={1} forceDisplayOnMobile />
@@ -28,7 +28,7 @@ export default async function TroubleshootingPage({ entry }: { entry: ITroublesh
</p>
)}
<hr className="my-7" aria-hidden />
- <div className="grid gap-10 @3xl/troubleshooting-entry-layout:grid-cols-[1fr,250px]">
+ <div className="grid gap-10 @3xl/troubleshooting-entry-layout:grid-cols-[1fr_250px]">
<div className="min-w-0">
<MDXRemoteBase source={entry.content} />
</div>
diff --git a/apps/docs/features/docs/Troubleshooting.ui.client.tsx b/apps/docs/features/docs/Troubleshooting.ui.client.tsx
index 784ead6a35f..97c69ee4b5b 100644
--- a/apps/docs/features/docs/Troubleshooting.ui.client.tsx
+++ b/apps/docs/features/docs/Troubleshooting.ui.client.tsx
@@ -138,13 +138,10 @@ function TroubleshootingFilterMobileCollapsed(props: TroubleshootingFilterProps)
<CollapsibleTrigger className="group w-full pb-6 text-foreground-light">
<div className="flex items-center justify-between gap-2">
<span>Filters</span>
- <ChevronDown
- size={16}
- className="group-data-[state=open]:rotate-180 transition-transform"
- />
+ <ChevronDown size={16} className="group-data-open:rotate-180 transition-transform" />
</div>
{numberFiltersApplied > 0 && (
- <div className="group-data-[state=open]:hidden text-sm text-left">
+ <div className="group-data-open:hidden text-sm text-left">
{numberFiltersApplied} filter{numberFiltersApplied > 1 ? 's' : ''} applied
</div>
)}
diff --git a/apps/docs/features/docs/Troubleshooting.ui.tsx b/apps/docs/features/docs/Troubleshooting.ui.tsx
index 0f0aaceb3af..ddad25e7c1f 100644
--- a/apps/docs/features/docs/Troubleshooting.ui.tsx
+++ b/apps/docs/features/docs/Troubleshooting.ui.tsx
@@ -102,7 +102,7 @@ export function TroubleshootingHeader({
errors: ITroubleshootingMetadata['errors']
}) {
return (
- <div className="lg:sticky lg:top-[var(--header-height)] lg:z-10 bg-background">
+ <div className="lg:sticky lg:top-(--header-height) lg:z-10 bg-background">
<div className="pt-8 pb-6 px-5">
<h1 className="text-4xl tracking-tight mb-7">{title}</h1>
<p className="text-lg text-foreground-light">{description}</p>
diff --git a/apps/docs/features/ui/CodeBlock/CodeBlock.client.tsx b/apps/docs/features/ui/CodeBlock/CodeBlock.client.tsx
index a075ae9f2e0..0d8f8fbb1f7 100644
--- a/apps/docs/features/ui/CodeBlock/CodeBlock.client.tsx
+++ b/apps/docs/features/ui/CodeBlock/CodeBlock.client.tsx
@@ -48,7 +48,7 @@ export function AnnotatedSpan({
style={token.htmlStyle}
className={cn(
isTouchDevice &&
- 'underline underline-offset-4 decoration-dashed [text-decoration-color:rgba(from_currentColor_r_g_b_/_0.5)]'
+ 'underline underline-offset-4 decoration-dashed decoration-[rgba(from_currentColor_r_g_b/0.5)]'
)}
>
{token.content}
diff --git a/apps/docs/features/ui/InfoTooltip.tsx b/apps/docs/features/ui/InfoTooltip.tsx
index 254abdb0522..d8dd67b1da6 100644
--- a/apps/docs/features/ui/InfoTooltip.tsx
+++ b/apps/docs/features/ui/InfoTooltip.tsx
@@ -31,7 +31,7 @@ interface PopUpProps extends PropsWithChildren {
const buttonClassName = cn(
'relative px-1 py-0 -my-px',
- 'rounded bg-surface-200 border border-dashed',
+ 'rounded-sm bg-surface-200 border border-dashed',
'transition-colors hover:border-strong group/inline-popup'
)
@@ -83,7 +83,7 @@ const InfoTooltip = ({
{children}
<InfoIcon
aria-hidden={true}
- className="absolute p-[1px] bg-background rounded-full -left-1.5 -top-1.5 w-3 h-3 text-foreground-lighter group-hover/inline-popup:text-foreground-light transition-colors"
+ className="absolute p-px bg-background rounded-full -left-1.5 -top-1.5 w-3 h-3 text-foreground-lighter group-hover/inline-popup:text-foreground-light transition-colors"
/>
</span>
</TooltipTrigger>
@@ -108,7 +108,7 @@ const InfoTooltip = ({
<ErrorBoundary FallbackComponent={() => <CommandEmpty_Shadcn_ />}>
<SheetHeader className="flex items-center justify-between gap-2 px-0 py-2 mb-2 max-w-full">
<div className="flex items-center gap-2 max-w-[90%]">
- <InfoIcon className="p-[1px] min-w-4 min-h-4 text-foreground-lighter" />
+ <InfoIcon className="p-px min-w-4 min-h-4 text-foreground-lighter" />
<p className="italic text-foreground-light truncate">{children}</p>
</div>
<Button type="text" onClick={() => setMobileSheetOpen(false)} className="px-1">
diff --git a/apps/docs/layouts/MainSkeleton.tsx b/apps/docs/layouts/MainSkeleton.tsx
index 1e51d5ebcc9..906fc2b879c 100644
--- a/apps/docs/layouts/MainSkeleton.tsx
+++ b/apps/docs/layouts/MainSkeleton.tsx
@@ -265,7 +265,7 @@ const MobileMenuBackdrop = memo(function MobileMenuBackdrop() {
'left-0',
'right-0',
'z-10',
- 'backdrop-blur-sm backdrop-filter bg-alternative/90',
+ 'backdrop-blur-xs backdrop-filter bg-alternative/90',
mobileMenuOpen ? 'absolute h-full w-full top-0 left-0' : 'hidden h-0',
// always hide on desktop
'lg:hidden'
@@ -305,7 +305,7 @@ const NavContainer = memo(function NavContainer({ children }: PropsWithChildren)
'fixed lg:relative z-40 lg:z-auto',
mobileMenuOpen ? 'w-[75%] sm:w-[50%] md:w-[33%] left-0' : 'w-0 -left-full',
'lg:w-[420px] !lg:left-0',
- 'lg:top-[var(--header-height)] lg:sticky',
+ 'lg:top-(--header-height) lg:sticky',
'h-screen lg:h-[calc(100vh-var(--header-height))]',
// desktop override any left styles
'lg:left-0',
@@ -318,13 +318,13 @@ const NavContainer = memo(function NavContainer({ children }: PropsWithChildren)
>
<div
className={cn(
- 'top-0 lg:top-[var(--header-height)]',
+ 'top-0 lg:top-(--header-height)',
'h-full',
'relative lg:sticky',
'w-full lg:w-auto',
'h-fit lg:h-screen overflow-y-scroll lg:overflow-auto',
- '[overscroll-behavior:contain]',
- 'backdrop-blur backdrop-filter bg-background',
+ 'overscroll-contain',
+ 'backdrop-blur-sm backdrop-filter bg-background',
'flex flex-col grow'
)}
>
@@ -332,7 +332,7 @@ const NavContainer = memo(function NavContainer({ children }: PropsWithChildren)
Main menu
</span>
<div className="top-0 sticky h-0 z-10">
- <div className="bg-gradient-to-b from-background to-transparent h-4 w-full"></div>
+ <div className="bg-linear-to-b from-background to-transparent h-4 w-full"></div>
</div>
<div
className={cn(
@@ -411,7 +411,7 @@ function SidebarSkeleton({
className={cn(
'sticky',
'transition-all top-0 z-10',
- 'backdrop-blur backdrop-filter bg-background'
+ 'backdrop-blur-sm backdrop-filter bg-background'
)}
>
{hideSideNav ? null : menuName ? (
diff --git a/apps/docs/layouts/ref/RefSubLayout.tsx b/apps/docs/layouts/ref/RefSubLayout.tsx
index 1b72eeb5e5c..4aa5101ff71 100644
--- a/apps/docs/layouts/ref/RefSubLayout.tsx
+++ b/apps/docs/layouts/ref/RefSubLayout.tsx
@@ -111,7 +111,7 @@ const StickyHeader: FC<StickyHeader> = ({ icon, ...props }) => {
return (
<div className={['flex items-center gap-3 not-prose', icon && 'mb-8'].join(' ')}>
{icon && (
- <div className="w-8 h-8 bg-brand-300 rounded flex items-center justify-center">
+ <div className="w-8 h-8 bg-brand-300 rounded-sm flex items-center justify-center">
<Image width={16} height={16} alt={icon} src={`${icon}.svg`} />
</div>
)}
diff --git a/apps/docs/package.json b/apps/docs/package.json
index 923ce887436..a81d57a7396 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -56,7 +56,6 @@
"@octokit/plugin-retry": "^8.1.0",
"@sentry/nextjs": "catalog:",
"@supabase/supabase-js": "catalog:",
- "@tailwindcss/container-queries": "^0.1.1",
"@tanstack/react-query": "^5.13.4",
"acorn": "^8.11.3",
"acorn-typescript": "^1.4.13",
diff --git a/apps/docs/styles/main.css b/apps/docs/styles/main.css
index 340a8a8a369..e5366ce7235 100644
--- a/apps/docs/styles/main.css
+++ b/apps/docs/styles/main.css
@@ -1,11 +1,21 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@import 'tailwindcss';
@import './../../../packages/ui/build/css/source/global.css';
@import './../../../packages/ui/build/css/themes/dark.css';
@import './../../../packages/ui/build/css/themes/light.css';
+@config '../tailwind.config.cjs';
+
+@layer base {
+ *,
+ ::after,
+ ::before,
+ ::backdrop,
+ ::file-selector-button {
+ border-color: hsl(var(--border-default, currentColor));
+ }
+}
+
@font-face {
font-family: 'custom-font';
src:
@@ -123,7 +133,7 @@ pre[class*='language-'] {
.method-list-item-validation {
code {
- @apply text-xs bg-control rounded;
+ @apply text-xs bg-control rounded-sm;
padding: 1px 6px;
}
}
diff --git a/apps/docs/styles/prism-okaidia.css b/apps/docs/styles/prism-okaidia.css
index 1f55d10156b..d27f85f1667 100644
--- a/apps/docs/styles/prism-okaidia.css
+++ b/apps/docs/styles/prism-okaidia.css
@@ -1,3 +1,4 @@
+@reference './main.css';
/**
* okaidia theme for JavaScript, CSS and HTML
* Loosely based on Monokai textmate theme by http://www.monokai.nl/
diff --git a/apps/docs/tailwind.config.cjs b/apps/docs/tailwind.config.cjs
index 18cea7130c4..e442579b818 100644
--- a/apps/docs/tailwind.config.cjs
+++ b/apps/docs/tailwind.config.cjs
@@ -22,6 +22,5 @@ module.exports = config({
},
})
},
- require('@tailwindcss/container-queries'),
],
})
diff --git a/apps/learn/components/command.tsx b/apps/learn/components/command.tsx
index c3c5ce6240d..b7142400870 100644
--- a/apps/learn/components/command.tsx
+++ b/apps/learn/components/command.tsx
@@ -61,7 +61,7 @@ export function Command({ name, highlight, framework = 'react' }: CommandCopyPro
<div className="w-full group relative rounded-lg bg-surface-200 dark:bg-surface-100 px-4 py-2 overflow-hidden">
{highlight && (
<motion.div
- className="absolute inset-0 bg-gradient-to-l from-transparent via-[#bbb] dark:via-white to-transparent opacity-10 z-0"
+ className="absolute inset-0 bg-linear-to-l from-transparent via-[#bbb] dark:via-white to-transparent opacity-10 z-0"
initial={{ x: '100%' }}
animate={{ x: '-100%' }}
transition={{
diff --git a/apps/learn/components/course-hero.tsx b/apps/learn/components/course-hero.tsx
index fc8f59df95f..e4659967cf3 100644
--- a/apps/learn/components/course-hero.tsx
+++ b/apps/learn/components/course-hero.tsx
@@ -18,7 +18,7 @@ interface CourseHeroProps {
export function CourseHero({ title, subtitle, description, instructors }: CourseHeroProps) {
return (
- <div className="relative w-full mx-auto py-16 sm:py-24 border-b bg-[radial-gradient(circle_at_top,_rgba(16,185,129,0.14),_transparent_55%),radial-gradient(circle_at_bottom,_rgba(34,197,94,0.10),_transparent_50%)]">
+ <div className="relative w-full mx-auto py-16 sm:py-24 border-b bg-[radial-gradient(circle_at_top,rgba(16,185,129,0.14),transparent_55%),radial-gradient(circle_at_bottom,rgba(34,197,94,0.10),transparent_50%)]">
{/* Chapter label */}
<div className="flex items-center justify-center mb-6">
<span className="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-muted border border-border text-xs font-medium text-muted-foreground uppercase tracking-wider">
@@ -27,7 +27,7 @@ export function CourseHero({ title, subtitle, description, instructors }: Course
</span>
</div>
- <h1 className="text-4xl sm:text-5xl lg:text-6xl font-bold mb-6 text-balance text-center bg-gradient-to-br from-foreground to-foreground/70 bg-clip-text text-transparent">
+ <h1 className="text-4xl sm:text-5xl lg:text-6xl font-bold mb-6 text-balance text-center bg-linear-to-br from-foreground to-foreground/70 bg-clip-text text-transparent">
{title}
</h1>
diff --git a/apps/learn/components/mdx-components.tsx b/apps/learn/components/mdx-components.tsx
index d71686970ef..a08419d26d9 100644
--- a/apps/learn/components/mdx-components.tsx
+++ b/apps/learn/components/mdx-components.tsx
@@ -57,10 +57,7 @@ const components = {
/>
),
p: ({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>) => (
- <p
- className={cn('leading-7 [&:not(:first-child)]:mt-6 text-foreground-light', className)}
- {...props}
- />
+ <p className={cn('leading-7 not-first:mt-6 text-foreground-light', className)} {...props} />
),
ul: ({ className, ...props }: React.HTMLAttributes<HTMLUListElement>) => (
<ul className={cn('my-6 ml-6 list-disc text-foreground-light', className)} {...props} />
@@ -92,7 +89,7 @@ const components = {
th: ({ className, ...props }: React.HTMLAttributes<HTMLTableCellElement>) => (
<th
className={cn(
- 'border px-4 py-2 text-left font-normal [&[align=center]]:text-center [&[align=right]]:text-right',
+ 'border px-4 py-2 text-left font-normal [[align=center]]:text-center [[align=right]]:text-right',
className
)}
{...props}
@@ -101,7 +98,7 @@ const components = {
td: ({ className, ...props }: React.HTMLAttributes<HTMLTableCellElement>) => (
<td
className={cn(
- 'border text-foreground-light px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right',
+ 'border text-foreground-light px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right',
className
)}
{...props}
diff --git a/apps/learn/components/theme-switcher-dropdown.tsx b/apps/learn/components/theme-switcher-dropdown.tsx
index 314312960b4..9aa0292f43b 100644
--- a/apps/learn/components/theme-switcher-dropdown.tsx
+++ b/apps/learn/components/theme-switcher-dropdown.tsx
@@ -49,7 +49,7 @@ const ThemeSwitcherDropdown = () => {
)
}
- const iconClasses = 'text-foreground-light group-data-[state=open]:text-foreground'
+ const iconClasses = 'text-foreground-light group-data-open:text-foreground'
return (
<>
diff --git a/apps/learn/components/what-will-i-learn.tsx b/apps/learn/components/what-will-i-learn.tsx
index 4be8a0522c2..178bbf07318 100644
--- a/apps/learn/components/what-will-i-learn.tsx
+++ b/apps/learn/components/what-will-i-learn.tsx
@@ -100,19 +100,19 @@ export function WhatWillILearn() {
</div>
<div className="col-span-6">
<ul className="grid gap-6 text-foreground-light ">
- <li className="grid grid-cols-[auto,1fr] gap-3 border-b border-border/40 pb-3">
+ <li className="grid grid-cols-[auto_1fr] gap-3 border-b border-border/40 pb-3">
<span className="flex h-9 w-9 items-center justify-center rounded-md bg-brand-500/10 text-brand-500">
<Timer className="h-5 w-5" />
</span>
<span>Real-time room monitoring that tracks live occupancy, sensor readings</span>
</li>
- <li className="grid grid-cols-[auto,1fr] gap-3 border-b border-border/40 pb-3">
+ <li className="grid grid-cols-[auto_1fr] gap-3 border-b border-border/40 pb-3">
<span className="flex h-9 w-9 items-center justify-center rounded-md bg-brand-500/10 text-brand-500">
<CalendarRange className="h-5 w-5" />
</span>
<span>Booking management with live status filters, calendar integrations.</span>
</li>
- <li className="grid grid-cols-[auto,1fr] gap-3 border-b border-border/40 pb-3">
+ <li className="grid grid-cols-[auto_1fr] gap-3 border-b border-border/40 pb-3">
<span className="flex h-9 w-9 items-center justify-center rounded-md bg-brand-500/10 text-brand-500">
<History className="h-5 w-5" />
</span>
@@ -120,7 +120,7 @@ export function WhatWillILearn() {
Advanced analytics that surface 30+ days of utilization trends and patterns.
</span>
</li>
- <li className="grid grid-cols-[auto,1fr] gap-3">
+ <li className="grid grid-cols-[auto_1fr] gap-3">
<span className="flex h-9 w-9 items-center justify-center rounded-md bg-brand-500/10 text-brand-500">
<BarChart3 className="h-5 w-5" />
</span>
diff --git a/apps/learn/package.json b/apps/learn/package.json
index 1f75dbc32e4..217c202dc5b 100644
--- a/apps/learn/package.json
+++ b/apps/learn/package.json
@@ -43,8 +43,9 @@
"@types/react": "catalog:",
"config": "workspace:^",
"mdast-util-toc": "^6.1.1",
+ "shiki": "^1.1.7",
+ "tailwindcss": "catalog:",
"tsconfig": "workspace:*",
- "tsx": "catalog:",
- "shiki": "^1.1.7"
+ "tsx": "catalog:"
}
}
diff --git a/apps/learn/styles/globals.css b/apps/learn/styles/globals.css
index 6f47ae5da96..54735e85e71 100644
--- a/apps/learn/styles/globals.css
+++ b/apps/learn/styles/globals.css
@@ -1,11 +1,11 @@
+@import 'tailwindcss';
+
@import './../../../packages/ui/build/css/source/global.css';
@import './../../../packages/ui/build/css/themes/dark.css';
@import './../../../packages/ui/build/css/themes/classic-dark.css';
@import './../../../packages/ui/build/css/themes/light.css';
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@config '../tailwind.config.js';
@layer base {
:root {
diff --git a/apps/learn/styles/mdx.css b/apps/learn/styles/mdx.css
index 66ebc271c5c..8b06fb2d87f 100644
--- a/apps/learn/styles/mdx.css
+++ b/apps/learn/styles/mdx.css
@@ -1,3 +1,5 @@
+@reference './globals.css';
+
.dark [data-theme='light'] {
display: none;
}
diff --git a/apps/lite-studio/app/app.css b/apps/lite-studio/app/app.css
index 67093bff5cd..da69bb81ee1 100644
--- a/apps/lite-studio/app/app.css
+++ b/apps/lite-studio/app/app.css
@@ -1,8 +1,12 @@
+@import 'tailwindcss';
+
@import './../../../packages/ui/build/css/source/global.css';
@import './../../../packages/ui/build/css/themes/dark.css';
@import './../../../packages/ui/build/css/themes/light.css';
-@tailwind components;
+@config '../tailwind.config.js';
+
+@import 'config/typography.css';
@font-face {
font-family: 'custom-font';
diff --git a/apps/lite-studio/app/root.tsx b/apps/lite-studio/app/root.tsx
index 73dda59651e..6ea72dfb0f6 100644
--- a/apps/lite-studio/app/root.tsx
+++ b/apps/lite-studio/app/root.tsx
@@ -3,7 +3,6 @@ import { isRouteErrorResponse, Links, Meta, Outlet, Scripts, ScrollRestoration }
import type { Route } from './+types/root'
import './app.css'
-import 'config/typography.css'
export const links: Route.LinksFunction = () => [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
diff --git a/apps/lite-studio/package.json b/apps/lite-studio/package.json
index 7429825bb70..54379669df7 100644
--- a/apps/lite-studio/package.json
+++ b/apps/lite-studio/package.json
@@ -25,7 +25,6 @@
"@types/node": "^22",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
- "autoprefixer": "^10.4.27",
"config": "workspace:*",
"postcss": "catalog:",
"tailwindcss": "catalog:",
diff --git a/apps/studio/components/grid/components/editor/DateTimeEditor.tsx b/apps/studio/components/grid/components/editor/DateTimeEditor.tsx
index 8f0e8f4ac33..321308e17c9 100644
--- a/apps/studio/components/grid/components/editor/DateTimeEditor.tsx
+++ b/apps/studio/components/grid/components/editor/DateTimeEditor.tsx
@@ -93,7 +93,7 @@ function BaseEditor<TRow, TSummaryRow = unknown>({
value={inputValue ?? ''}
placeholder={format}
onChange={(e) => setInputValue(e.target.value)}
- className="border-0 rounded-none bg-dash-sidebar outline-none !ring-0 !ring-offset-0"
+ className="border-0 rounded-none bg-dash-sidebar outline-hidden ring-0! ring-offset-0!"
/>
</BlockKeys>
<div className="px-3 py-1 flex flex-col gap-y-0.5">
@@ -107,7 +107,7 @@ function BaseEditor<TRow, TSummaryRow = unknown>({
displayAs="utc"
utcTimestamp={timeValue}
labelFormat="DD MMM YYYY HH:mm:ss (ZZ)"
- className="text-left !text-sm font-mono tracking-tight"
+ className="text-left text-sm! font-mono tracking-tight"
/>
) : (
<p className="text-sm font-mono tracking-tight">
@@ -126,13 +126,13 @@ function BaseEditor<TRow, TSummaryRow = unknown>({
<div className="px-3 pt-1 pb-2 flex justify-between gap-x-1">
<div className="space-y-1">
<div className="flex items-center space-x-2">
- <div className="px-1.5 h-[22px] rounded bg-surface-300 border border-strong flex items-center justify-center">
+ <div className="px-1.5 h-[22px] rounded-sm bg-surface-300 border border-strong flex items-center justify-center">
<span className="text-[10px]">⏎</span>
</div>
<p className="text-xs text-foreground-light">{applyChangesLabel}</p>
</div>
<div className="flex items-center space-x-2">
- <div className="px-1 h-[22px] rounded bg-surface-300 border border-strong flex items-center justify-center">
+ <div className="px-1 h-[22px] rounded-sm bg-surface-300 border border-strong flex items-center justify-center">
<span className="text-[10px]">Esc</span>
</div>
<p className="text-xs text-foreground-light">Cancel changes</p>
diff --git a/apps/studio/components/grid/components/editor/JsonEditor.tsx b/apps/studio/components/grid/components/editor/JsonEditor.tsx
index da6ed1e8162..58822f49b77 100644
--- a/apps/studio/components/grid/components/editor/JsonEditor.tsx
+++ b/apps/studio/components/grid/components/editor/JsonEditor.tsx
@@ -187,13 +187,13 @@ export const JsonEditor = <TRow, TSummaryRow = unknown>({
{isEditable && (
<div className="space-y-1">
<div className="flex items-center space-x-2">
- <div className="px-1.5 py-[2.5px] rounded bg-selection border border-strong flex items-center justify-center">
+ <div className="px-1.5 py-[2.5px] rounded-sm bg-selection border border-strong flex items-center justify-center">
<span className="text-[10px]">⏎</span>
</div>
<p className="text-xs text-foreground-light">{applyChangesLabel}</p>
</div>
<div className="flex items-center space-x-2">
- <div className="px-1 py-[2.5px] rounded bg-selection border border-strong flex items-center justify-center">
+ <div className="px-1 py-[2.5px] rounded-sm bg-selection border border-strong flex items-center justify-center">
<span className="text-[10px]">Esc</span>
</div>
<p className="text-xs text-foreground-light">Cancel changes</p>
@@ -204,7 +204,7 @@ export const JsonEditor = <TRow, TSummaryRow = unknown>({
<TooltipTrigger asChild>
<div
className={[
- 'border border-strong rounded p-1 flex items-center justify-center',
+ 'border border-strong rounded-sm p-1 flex items-center justify-center',
'transition cursor-pointer bg-selection hover:bg-border-strong',
].join(' ')}
onClick={() => onSelectExpand()}
diff --git a/apps/studio/components/grid/components/editor/TextEditor.tsx b/apps/studio/components/grid/components/editor/TextEditor.tsx
index d719cf39074..494adf84018 100644
--- a/apps/studio/components/grid/components/editor/TextEditor.tsx
+++ b/apps/studio/components/grid/components/editor/TextEditor.tsx
@@ -143,13 +143,13 @@ export const TextEditor = <TRow, TSummaryRow = unknown>({
<div className="flex items-start justify-between p-2 bg-surface-200 space-x-2">
<div className="space-y-1">
<div className="flex items-center space-x-2">
- <div className="px-1.5 py-[2.5px] rounded bg-surface-300 border border-strong flex items-center justify-center">
+ <div className="px-1.5 py-[2.5px] rounded-sm bg-surface-300 border border-strong flex items-center justify-center">
<span className="text-[10px]">⏎</span>
</div>
<p className="text-xs text-foreground-light">{applyChangesLabel}</p>
</div>
<div className="flex items-center space-x-2">
- <div className="px-1 py-[2.5px] rounded bg-surface-300 border border-strong flex items-center justify-center">
+ <div className="px-1 py-[2.5px] rounded-sm bg-surface-300 border border-strong flex items-center justify-center">
<span className="text-[10px]">Esc</span>
</div>
<p className="text-xs text-foreground-light">Cancel changes</p>
diff --git a/apps/studio/components/grid/components/formatter/ReferenceRecordPeek.tsx b/apps/studio/components/grid/components/formatter/ReferenceRecordPeek.tsx
index 8fb5bf1bd44..0d7e1043991 100644
--- a/apps/studio/components/grid/components/formatter/ReferenceRecordPeek.tsx
+++ b/apps/studio/components/grid/components/formatter/ReferenceRecordPeek.tsx
@@ -80,7 +80,7 @@ export const ReferenceRecordPeek = ({ table, column, value }: ReferenceRecordPee
sortable: false,
width: columnWidth,
minWidth: COLUMN_MIN_WIDTH,
- headerCellClass: 'outline-none !shadow-none',
+ headerCellClass: 'outline-hidden shadow-none!',
renderHeaderCell: () => (
<div className="flex h-full items-center justify-center gap-x-2">
{isPrimaryKey && (
diff --git a/apps/studio/components/grid/components/grid/ColumnHeader.tsx b/apps/studio/components/grid/components/grid/ColumnHeader.tsx
index 30808cbec6c..cc75818f6f8 100644
--- a/apps/studio/components/grid/components/grid/ColumnHeader.tsx
+++ b/apps/studio/components/grid/components/grid/ColumnHeader.tsx
@@ -88,7 +88,7 @@ export function ColumnHeader<R>({
onClick={() => openSheet(column.name as string)}
>
<span className="sr-only">View {column.name} index suggestion</span>
- <Lightbulb size={14} strokeWidth={2} className="!text-warning" />
+ <Lightbulb size={14} strokeWidth={2} className="text-warning!" />
</button>
</TooltipTrigger>
<TooltipContent side="bottom" className="font-normal">
@@ -124,20 +124,20 @@ function ColumnIcon({
<div className="font-normal">
<p className="text-xs text-foreground-light">Foreign key relation:</p>
<div className="flex items-center space-x-1">
- <p className="text-xs !text-foreground">{name}</p>
- <ArrowRight size={14} strokeWidth={1.5} className="!text-foreground-light" />
- <p className="text-xs !text-foreground">
+ <p className="text-xs text-foreground!">{name}</p>
+ <ArrowRight size={14} strokeWidth={1.5} className="text-foreground-light!" />
+ <p className="text-xs text-foreground!">
{foreignKey?.targetTableSchema}.{foreignKey?.targetTableName}.
{foreignKey?.targetColumnName}
</p>
</div>
{foreignKey?.updateAction !== FOREIGN_KEY_CASCADE_ACTION.NO_ACTION && (
- <p className="text-xs !text-foreground mt-1">
+ <p className="text-xs text-foreground! mt-1">
On update: {getForeignKeyCascadeAction(foreignKey?.updateAction)}
</p>
)}
{foreignKey?.deletionAction !== FOREIGN_KEY_CASCADE_ACTION.NO_ACTION && (
- <p className="text-xs !text-foreground mt-1">
+ <p className="text-xs text-foreground! mt-1">
On delete: {getForeignKeyCascadeAction(foreignKey?.deletionAction)}
</p>
)}
diff --git a/apps/studio/components/grid/components/grid/ColumnOverlayItem.tsx b/apps/studio/components/grid/components/grid/ColumnOverlayItem.tsx
index e5cd5bbe03c..f48b9cedb47 100644
--- a/apps/studio/components/grid/components/grid/ColumnOverlayItem.tsx
+++ b/apps/studio/components/grid/components/grid/ColumnOverlayItem.tsx
@@ -34,7 +34,7 @@ export function ColumnOverlayItem({ column }: ColumnOverlayItemProps) {
{columnFormat === 'bytea' ? ` (hex)` : ''}
</span>
{column.isEncrypted && <Lock size={14} strokeWidth={2} />}
- {hasIndexSuggestion && <Lightbulb size={14} strokeWidth={2} className="!text-warning" />}
+ {hasIndexSuggestion && <Lightbulb size={14} strokeWidth={2} className="text-warning!" />}
</div>
</div>
)
diff --git a/apps/studio/components/grid/components/grid/Grid.tsx b/apps/studio/components/grid/components/grid/Grid.tsx
index 4377e34d5ef..f714cf5d01d 100644
--- a/apps/studio/components/grid/components/grid/Grid.tsx
+++ b/apps/studio/components/grid/components/grid/Grid.tsx
@@ -231,7 +231,7 @@ export const Grid = memo(
{(rows ?? []).length === 0 && (
<div
className={cn(
- 'absolute w-full inset-0 flex flex-col items-center justify-center p-2 z-[1] pointer-events-none'
+ 'absolute w-full inset-0 flex flex-col items-center justify-center p-2 z-1 pointer-events-none'
)}
>
{isLoading && !isDisabled && (
diff --git a/apps/studio/components/grid/components/grid/GridError.tsx b/apps/studio/components/grid/components/grid/GridError.tsx
index 1574b239fd4..cdedbab22f1 100644
--- a/apps/studio/components/grid/components/grid/GridError.tsx
+++ b/apps/studio/components/grid/components/grid/GridError.tsx
@@ -121,7 +121,7 @@ const FilterError = ({ removeAllFilters }: { removeAllFilters: () => void }) =>
className="pointer-events-auto"
title="No results found — check your filter values"
>
- <p className="!mb-4">
+ <p className="mb-4!">
One or more of your filters may have a value or operator that doesn't match the column's
data type. Try updating or removing the filter.
</p>
@@ -145,16 +145,16 @@ const InvalidOrderingOperatorError = ({ error }: { error: ResponseError }) => {
className="pointer-events-auto"
title={`Sorting is not supporting on ${sorts.length > 1 ? 'one of the selected columns' : 'the selected column'}`}
>
- <p className="!mb-0">
+ <p className="mb-0!">
Unable to retrieve results as sorting is not supported on{' '}
{sorts.length > 1 ? 'one of the selected columns' : 'the selected column'} due to its data
type. ({formattedInvalidDataType})
</p>
- <p className="!mb-2">
+ <p className="mb-2!">
Remove any sorts on columns with the data type {formattedInvalidDataType} applying the sorts
again.
</p>
- <p className="text-sm text-foreground-lighter prose max-w-full !mb-4">
+ <p className="text-sm text-foreground-lighter prose max-w-full mb-4!">
Error: <code className="text-code-inline">{error.message}</code>
</p>
diff --git a/apps/studio/components/grid/components/header/Header.tsx b/apps/studio/components/grid/components/header/Header.tsx
index c5cfec42e8c..20086e61688 100644
--- a/apps/studio/components/grid/components/header/Header.tsx
+++ b/apps/studio/components/grid/components/header/Header.tsx
@@ -145,7 +145,7 @@ const InsertButton = () => {
<div
className={cn([
'border border-foreground-light w-[15px] h-[4px] translate-x-0.5',
- 'transition duration-200 group-data-[highlighted]:border-brand group-data-[highlighted]:translate-x-0',
+ 'transition duration-200 group-data-highlighted:border-brand group-data-highlighted:translate-x-0',
])}
/>
</div>
@@ -169,7 +169,7 @@ const InsertButton = () => {
<div
className={cn([
'border border-foreground-light w-[4px] h-[15px] -translate-y-0.5',
- 'transition duration-200 group-data-[highlighted]:border-brand group-data-[highlighted]:translate-y-0',
+ 'transition duration-200 group-data-highlighted:border-brand group-data-highlighted:translate-y-0',
])}
/>
</div>
@@ -204,11 +204,11 @@ const InsertButton = () => {
}}
>
<div className="relative -mt-2 shrink-0">
- <FileText size={18} strokeWidth={1.5} className="-translate-x-[2px]" />
+ <FileText size={18} strokeWidth={1.5} className="translate-x-[-2px]" />
<ArrowUp
className={cn(
'transition duration-200 absolute bottom-0 right-0 translate-y-1 opacity-0 bg-brand-400 rounded-full',
- 'group-data-[highlighted]:translate-y-0 group-data-[highlighted]:text-brand group-data-[highlighted]:opacity-100'
+ 'group-data-highlighted:translate-y-0 group-data-highlighted:text-brand group-data-highlighted:opacity-100'
)}
strokeWidth={3}
size={12}
diff --git a/apps/studio/components/grid/components/menu/RowContextMenu.tsx b/apps/studio/components/grid/components/menu/RowContextMenu.tsx
index 7cd7bde1d8c..9065e101fa1 100644
--- a/apps/studio/components/grid/components/menu/RowContextMenu.tsx
+++ b/apps/studio/components/grid/components/menu/RowContextMenu.tsx
@@ -77,7 +77,7 @@ export const RowContextMenuContent = ({ row }: RowContextMenuContentProps) => {
}, [getRowAndColumn])
return (
- <ContextMenuContent className="!min-w-36">
+ <ContextMenuContent className="min-w-36!">
<ContextMenuItem_Shadcn_ className="gap-x-2" onSelect={onCopyCellContent}>
<Copy size={12} />
<span className="text-xs">Copy cell</span>
diff --git a/apps/studio/components/grid/context/TableIndexAdvisorContext.tsx b/apps/studio/components/grid/context/TableIndexAdvisorContext.tsx
index c12f949293f..09d986de1c9 100644
--- a/apps/studio/components/grid/context/TableIndexAdvisorContext.tsx
+++ b/apps/studio/components/grid/context/TableIndexAdvisorContext.tsx
@@ -128,7 +128,7 @@ export function TableIndexAdvisorProvider({
<TableIndexAdvisorContext.Provider value={value}>
{children}
<Sheet open={isSheetOpen} onOpenChange={(open) => !open && closeSheet()}>
- <SheetContent className="flex flex-col gap-0 p-0 lg:!w-[calc(100vw-802px)] max-w-[700px]">
+ <SheetContent className="flex flex-col gap-0 p-0 lg:w-[calc(100vw-802px)]! max-w-[700px]">
<SheetHeader className="border-b px-5 py-3">
<SheetTitle>Index Recommendation</SheetTitle>
</SheetHeader>
diff --git a/apps/studio/components/interfaces/APIKeys/APIKeyRow.tsx b/apps/studio/components/interfaces/APIKeys/APIKeyRow.tsx
index 91115ebde06..764bad7a475 100644
--- a/apps/studio/components/interfaces/APIKeys/APIKeyRow.tsx
+++ b/apps/studio/components/interfaces/APIKeys/APIKeyRow.tsx
@@ -88,7 +88,7 @@ export const APIKeyRow = ({
<TableCell className="py-2">
<div className="flex justify-end">
<DropdownMenu>
- <DropdownMenuTrigger className="px-1 focus-visible:outline-none" asChild>
+ <DropdownMenuTrigger className="px-1 focus-visible:outline-hidden" asChild>
<Button
type="text"
size="tiny"
diff --git a/apps/studio/components/interfaces/APIKeys/ApiKeysIllustrations.tsx b/apps/studio/components/interfaces/APIKeys/ApiKeysIllustrations.tsx
index 358af930acd..f63fd6350bb 100644
--- a/apps/studio/components/interfaces/APIKeys/ApiKeysIllustrations.tsx
+++ b/apps/studio/components/interfaces/APIKeys/ApiKeysIllustrations.tsx
@@ -95,12 +95,12 @@ const ApiKeysIllustrationWithOverlay = () => {
{/* Gradient overlay - horizontal on desktop, vertical on mobile */}
<div
className="absolute inset-x-0 bottom-0 h-1/2 xl:h-full xl:inset-x-auto xl:-right-16 xl:top-3 w-full xl:w-2/3
- bg-gradient-to-t xl:bg-gradient-to-l
- from-background-alternative via-background-alternative/90 via-[5%] to-transparent
- z-[3] pointer-events-none xl:max-w-[500px]"
+ bg-linear-to-t xl:bg-linear-to-l
+ from-background-alternative via-background-alternative/90 via-5% to-transparent
+ z-3 pointer-events-none xl:max-w-[500px]"
/>
- <div className="absolute scale-100 left-10 -bottom-14 w-[720px] xl:w-[500px] xl:left-auto xl:-right-[200px] 2xl:-right-16 xl:top-[21px] xl:scale-75">
+ <div className="absolute scale-100 left-10 -bottom-14 w-[720px] xl:w-[500px] xl:left-auto xl:right-[-200px] 2xl:-right-16 xl:top-[21px] xl:scale-75">
<ApiKeysTableIllustration />
</div>
</>
@@ -110,7 +110,7 @@ const ApiKeysIllustrationWithOverlay = () => {
export const ApiKeysCreateCallout = () => {
return (
<FeatureBanner illustration={<ApiKeysIllustrationWithOverlay />} bgAlt>
- <div className="flex flex-col gap-0 z-[2]">
+ <div className="flex flex-col gap-0 z-2">
<p className="text-sm text-foreground">Create API keys</p>
<p className="text-sm text-foreground-lighter lg:max-w-sm 2xl:max-w-none">
Use keys to authenticate requests to your app
@@ -127,7 +127,7 @@ export const ApiKeysFeedbackBanner = () => {
return (
<FeatureBanner
storageKey={LOCAL_STORAGE_KEYS.API_KEYS_FEEDBACK_DISMISSED}
- className="!p-0 flex flex-col gap-0"
+ className="p-0! flex flex-col gap-0"
dismissable
>
<div className="p-5">
diff --git a/apps/studio/components/interfaces/APIKeys/CreateNewAPIKeysButton.tsx b/apps/studio/components/interfaces/APIKeys/CreateNewAPIKeysButton.tsx
index 333734e703d..1af8b69bc29 100644
--- a/apps/studio/components/interfaces/APIKeys/CreateNewAPIKeysButton.tsx
+++ b/apps/studio/components/interfaces/APIKeys/CreateNewAPIKeysButton.tsx
@@ -51,7 +51,7 @@ export const CreateNewAPIKeysButton = () => {
<AlertDialogTitle>Create new API keys</AlertDialogTitle>
<AlertDialogDescription>
This will create a default publishable key and a default secret key both named{' '}
- <code className="!break-keep text-code-inline">default</code>. These keys are required
+ <code className="break-keep! text-code-inline">default</code>. These keys are required
to connect your application to your Supabase project.
</AlertDialogDescription>
</AlertDialogHeader>
diff --git a/apps/studio/components/interfaces/APIKeys/SecretAPIKeys.tsx b/apps/studio/components/interfaces/APIKeys/SecretAPIKeys.tsx
index 0b4e54bd204..da0b609db0f 100644
--- a/apps/studio/components/interfaces/APIKeys/SecretAPIKeys.tsx
+++ b/apps/studio/components/interfaces/APIKeys/SecretAPIKeys.tsx
@@ -141,7 +141,7 @@ export const SecretAPIKeys = () => {
<AlertError error={error} subject="Failed to load secret API keys" />
) : empty ? (
<Card>
- <div className="!rounded-b-md overflow-hidden py-12 flex flex-col gap-1 items-center justify-center">
+ <div className="rounded-b-md! overflow-hidden py-12 flex flex-col gap-1 items-center justify-center">
<p className="text-sm text-foreground">No secret API keys found</p>
<p className="text-sm text-foreground-light">
Your project is not accessible via secret keys—there are no active secret keys
diff --git a/apps/studio/components/interfaces/Account/AccessTokens/AccessTokenNewBanner/TokenPermissionSection.tsx b/apps/studio/components/interfaces/Account/AccessTokens/AccessTokenNewBanner/TokenPermissionSection.tsx
index 8a77b265965..991f0efd7dc 100644
--- a/apps/studio/components/interfaces/Account/AccessTokens/AccessTokenNewBanner/TokenPermissionSection.tsx
+++ b/apps/studio/components/interfaces/Account/AccessTokens/AccessTokenNewBanner/TokenPermissionSection.tsx
@@ -41,7 +41,7 @@ export const TokenPermissionsSection = ({
</div>
</Button>
</CollapsibleTrigger>
- <CollapsibleContent className="pt-3 transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down">
+ <CollapsibleContent className="pt-3 transition-all data-closed:animate-collapsible-up data-open:animate-collapsible-down">
<PermissionsList groupedPermissions={groupedPermissions} />
</CollapsibleContent>
</Collapsible>
diff --git a/apps/studio/components/interfaces/Account/AccessTokens/AccessTokenTable/TableContainer.tsx b/apps/studio/components/interfaces/Account/AccessTokens/AccessTokenTable/TableContainer.tsx
index 8462711f9fd..e684a587677 100644
--- a/apps/studio/components/interfaces/Account/AccessTokens/AccessTokenTable/TableContainer.tsx
+++ b/apps/studio/components/interfaces/Account/AccessTokens/AccessTokenTable/TableContainer.tsx
@@ -35,7 +35,7 @@ export const TableContainer = ({ children, sort, onSortChange }: TableContainerP
Expires
</TableHeadSort>
</TableHead>
- <TableHead className={cn(tableHeaderClass, '!text-right')} />
+ <TableHead className={cn(tableHeaderClass, 'text-right!')} />
</TableRow>
</TableHeader>
<TableBody>{children}</TableBody>
diff --git a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/NewScopedTokenSheet.tsx b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/NewScopedTokenSheet.tsx
index cc9a391d7dd..7943c87529b 100644
--- a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/NewScopedTokenSheet.tsx
+++ b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/NewScopedTokenSheet.tsx
@@ -247,7 +247,7 @@ export const NewScopedTokenSheet = ({
<SheetContent
showClose={false}
size="default"
- className="!min-w-[600px] flex flex-col h-full gap-0"
+ className="min-w-[600px]! flex flex-col h-full gap-0"
>
<SheetHeader>
<SheetTitle>
@@ -312,7 +312,7 @@ export const NewScopedTokenSheet = ({
</Form>
</div>
</ScrollArea>
- <SheetFooter className="!justify-end w-full mt-auto py-4 border-t">
+ <SheetFooter className="justify-end! w-full mt-auto py-4 border-t">
<div className="flex gap-2">
<Button type="default" disabled={isPending} onClick={handleClose}>
Cancel
diff --git a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/ViewTokenSheet.tsx b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/ViewTokenSheet.tsx
index 24a7da1f464..8ca78ea879c 100644
--- a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/ViewTokenSheet.tsx
+++ b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/ViewTokenSheet.tsx
@@ -102,7 +102,7 @@ export function ViewTokenSheet({ visible, tokenId, onClose }: ViewTokenSheetProp
<SheetContent
showClose={false}
size="default"
- className="!min-w-[600px] flex flex-col h-full gap-0"
+ className="min-w-[600px]! flex flex-col h-full gap-0"
>
<SheetHeader
className={cn('flex flex-row justify-between gap-x-4 items-center border-b')}
diff --git a/apps/studio/components/interfaces/Account/AuditLogs.tsx b/apps/studio/components/interfaces/Account/AuditLogs.tsx
index 489f664d54b..a5078a28d7e 100644
--- a/apps/studio/components/interfaces/Account/AuditLogs.tsx
+++ b/apps/studio/components/interfaces/Account/AuditLogs.tsx
@@ -158,7 +158,7 @@ export const AuditLogs = () => {
/>
{isSuccess && (
<>
- <div className="h-[20px] border-r border-strong !ml-4 !mr-2" />
+ <div className="h-[20px] border-r border-strong ml-4! mr-2!" />
<p className="prose text-xs">Viewing {sortedLogs.length} logs in total</p>
</>
)}
@@ -186,11 +186,11 @@ export const AuditLogs = () => {
{isSuccess && (
<>
{logs.length === 0 ? (
- <div className="bg-surface-100 border rounded p-4 flex items-center justify-between">
+ <div className="bg-surface-100 border rounded-sm p-4 flex items-center justify-between">
<p className="prose text-sm">You do not have any audit logs available yet</p>
</div>
) : logs.length > 0 && sortedLogs.length === 0 ? (
- <div className="bg-surface-100 border rounded p-4 flex items-center justify-between">
+ <div className="bg-surface-100 border rounded-sm p-4 flex items-center justify-between">
<p className="prose text-sm">No audit logs found based on the filters applied</p>
</div>
) : (
@@ -243,12 +243,12 @@ export const AuditLogs = () => {
<Table.tr
key={log.occurred_at}
onClick={() => setSelectedLog(log)}
- className="cursor-pointer hover:!bg-alternative transition duration-100"
+ className="cursor-pointer hover:bg-alternative! transition duration-100"
>
<Table.td className="max-w-[250px]">
<div className="flex items-center space-x-2">
{hasStatusCode && (
- <p className="bg-surface-200 rounded px-1 flex items-center justify-center text-xs font-mono border">
+ <p className="bg-surface-200 rounded-sm px-1 flex items-center justify-center text-xs font-mono border">
{log.action.metadata[0].status}
</p>
)}
diff --git a/apps/studio/components/interfaces/Account/Preferences/DeleteAccountButton.tsx b/apps/studio/components/interfaces/Account/Preferences/DeleteAccountButton.tsx
index 37b63c1ba8a..35de49e4eba 100644
--- a/apps/studio/components/interfaces/Account/Preferences/DeleteAccountButton.tsx
+++ b/apps/studio/components/interfaces/Account/Preferences/DeleteAccountButton.tsx
@@ -110,7 +110,7 @@ export const DeleteAccountButton = () => {
Request to delete account
</Button>
</DialogTrigger>
- <DialogContent className="!w-[500px]">
+ <DialogContent className="w-[500px]!">
<DialogHeader>
{(organizations ?? []).length > 0 ? (
<>
diff --git a/apps/studio/components/interfaces/Account/TOTPFactors/AddNewFactorModal.tsx b/apps/studio/components/interfaces/Account/TOTPFactors/AddNewFactorModal.tsx
index 1e0b9143c98..f9d6e06f927 100644
--- a/apps/studio/components/interfaces/Account/TOTPFactors/AddNewFactorModal.tsx
+++ b/apps/studio/components/interfaces/Account/TOTPFactors/AddNewFactorModal.tsx
@@ -217,7 +217,7 @@ const SecondStep = ({
{factor && (
<div className="flex flex-col gap-y-4">
<div className="flex justify-center py-6">
- <div className="h-48 w-48 bg-white rounded">
+ <div className="h-48 w-48 bg-white rounded-sm">
<img width={190} height={190} src={factor.totp.qr_code} alt={factor.totp.uri} />
</div>
</div>
diff --git a/apps/studio/components/interfaces/Advisors/AdvisorRuleItem.tsx b/apps/studio/components/interfaces/Advisors/AdvisorRuleItem.tsx
index 8f6afca5b60..62dbabdeb9d 100644
--- a/apps/studio/components/interfaces/Advisors/AdvisorRuleItem.tsx
+++ b/apps/studio/components/interfaces/Advisors/AdvisorRuleItem.tsx
@@ -106,7 +106,7 @@ export const AdvisorRuleItem = ({ lint }: AdvisorRuleItemProps) => {
else setExpandedLint(undefined)
}}
>
- <CollapsibleTrigger_Shadcn_ asChild className="[&[data-state=open]>div>svg]:!rotate-90">
+ <CollapsibleTrigger_Shadcn_ asChild className="[&[data-state=open]>div>svg]:rotate-90!">
<Card className="border-b-0 rounded-none">
<CardContent className="py-3 flex items-center justify-between text-sm gap-4 cursor-pointer transition hover:bg-surface-200">
<div className="flex items-center justify-center [&>svg]:text-foreground-lighter">
@@ -138,7 +138,7 @@ export const AdvisorRuleItem = ({ lint }: AdvisorRuleItemProps) => {
</CollapsibleTrigger_Shadcn_>
<CollapsibleContent_Shadcn_
className={cn(
- 'bg-surface border-x border-t !rounded-none',
+ 'bg-surface border-x border-t rounded-none!',
rules.length > 0 ? 'divide-y' : ''
)}
>
diff --git a/apps/studio/components/interfaces/Advisors/AdvisorRules.tsx b/apps/studio/components/interfaces/Advisors/AdvisorRules.tsx
index 72c59071b51..fe4056a3b64 100644
--- a/apps/studio/components/interfaces/Advisors/AdvisorRules.tsx
+++ b/apps/studio/components/interfaces/Advisors/AdvisorRules.tsx
@@ -11,7 +11,7 @@ export const AdvisorRules = ({ category }: AdvisorRulesProps) => {
return (
<ScaffoldContainer>
- <ScaffoldSection isFullWidth className="!pt-6">
+ <ScaffoldSection isFullWidth className="pt-6!">
<div className="[&>div:first-child>div]:rounded-t [&>div:last-child>div]:border-b [&>div:last-child>div]:rounded-b">
{lints.map((lint) => (
<AdvisorRuleItem key={lint.name} lint={lint} />
diff --git a/apps/studio/components/interfaces/Advisors/AdvisorRules.utils.tsx b/apps/studio/components/interfaces/Advisors/AdvisorRules.utils.tsx
index 62ff6b1e4d7..786a34457d6 100644
--- a/apps/studio/components/interfaces/Advisors/AdvisorRules.utils.tsx
+++ b/apps/studio/components/interfaces/Advisors/AdvisorRules.utils.tsx
@@ -25,7 +25,7 @@ export const generateRuleDescription = ({
return (
<>
<p className="font-mono uppercase text-xs text-foreground-lighter">What this rule means:</p>
- <p className="!mb-0">
+ <p className="mb-0!">
The "{lint?.title}" lint will be{' '}
{disabled
? `ignored for ${!!member ? `this user only` : 'this project'}`
diff --git a/apps/studio/components/interfaces/App/CommandMenu/ContextSearchResults.shared.tsx b/apps/studio/components/interfaces/App/CommandMenu/ContextSearchResults.shared.tsx
index 2db9db46f0e..d2ae7fd773b 100644
--- a/apps/studio/components/interfaces/App/CommandMenu/ContextSearchResults.shared.tsx
+++ b/apps/studio/components/interfaces/App/CommandMenu/ContextSearchResults.shared.tsx
@@ -18,10 +18,10 @@ export function SkeletonResults() {
<div className="p-2 space-y-1">
{[0, 1, 2, 3].map((i) => (
<div key={i} className="flex items-center gap-3 px-2 py-2">
- <ShimmeringLoader className="!w-4 !h-4 !py-0 rounded" delayIndex={i} />
+ <ShimmeringLoader className="w-4! h-4! py-0! rounded-sm" delayIndex={i} />
<div className="flex-1 space-y-1">
- <ShimmeringLoader className="!w-32 !py-1.5" delayIndex={i} />
- <ShimmeringLoader className="!w-48 !py-1" delayIndex={i + 1} />
+ <ShimmeringLoader className="w-32! py-1.5!" delayIndex={i} />
+ <ShimmeringLoader className="w-48! py-1!" delayIndex={i + 1} />
</div>
</div>
))}
@@ -88,7 +88,7 @@ export function ResultsList({
return (
<CommandList_Shadcn_
className={cn(
- '!max-h-full flex-1 min-h-0 overflow-y-auto overflow-x-hidden bg-transparent',
+ 'max-h-full! flex-1 min-h-0 overflow-y-auto overflow-x-hidden bg-transparent',
className
)}
>
diff --git a/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.tsx b/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.tsx
index 2a91347b5a5..29e4c0b8898 100644
--- a/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.tsx
+++ b/apps/studio/components/interfaces/App/CommandMenu/CreateCommands.tsx
@@ -330,7 +330,7 @@ export function useCreateCommands(options?: CommandOptions) {
const getIcon = () => {
if (isWrapper) {
return (
- <div className="w-6 h-6 relative bg-white border rounded-md flex items-center justify-center [&>img]:!p-1 [&>svg]:!p-1">
+ <div className="w-6 h-6 relative bg-white border rounded-md flex items-center justify-center [&>img]:p-1! [&>svg]:p-1!">
{integration.icon()}
</div>
)
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/AdvisorRulesPreview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/AdvisorRulesPreview.tsx
index 2a96db1432a..1f4d3964817 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/AdvisorRulesPreview.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/AdvisorRulesPreview.tsx
@@ -21,9 +21,9 @@ export const AdvisorRulesPreview = () => {
width={1296}
height={900}
alt="api-docs-side-panel-preview"
- className="rounded border mb-4"
+ className="rounded-sm border mb-4"
/>
- <div className="space-y-2 !mt-4">
+ <div className="space-y-2 mt-4!">
<p className="text-sm">Enabling this preview will:</p>
<ul className="list-disc pl-6 text-sm text-foreground-light space-y-1">
<li>
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/CLSPreview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/CLSPreview.tsx
index e7064826eae..672f6bf0c6c 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/CLSPreview.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/CLSPreview.tsx
@@ -41,9 +41,9 @@ export const CLSPreview = () => {
width={1860}
height={970}
alt="api-docs-side-panel-preview"
- className="rounded border"
+ className="rounded-sm border"
/>
- <div className="space-y-2 !mt-4">
+ <div className="space-y-2 mt-4!">
<p className="text-sm">Enabling this preview will:</p>
<ul className="list-disc pl-6 text-sm text-foreground-light space-y-1">
<li>
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx
index ae16a7b11a1..01cdada28fd 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx
@@ -96,7 +96,7 @@ export const FeaturePreviewModal = () => {
return (
<Dialog open={showFeaturePreviewModal} onOpenChange={toggleFeaturePreviewModal}>
- <DialogContent size="xlarge" className="flex flex-col !max-w-4xl h-[90dvh] md:h-auto">
+ <DialogContent size="xlarge" className="flex flex-col max-w-4xl! h-[90dvh] md:h-auto">
<DialogHeader>
<DialogTitle>Dashboard feature previews</DialogTitle>
<DialogDescription>Get early access to new features and give feedback</DialogDescription>
@@ -104,7 +104,7 @@ export const FeaturePreviewModal = () => {
<DialogSectionSeparator />
- <DialogSection className="!p-0 flex-1 min-h-0 h-full">
+ <DialogSection className="p-0! flex-1 min-h-0 h-full">
{allFeaturePreviews.length > 0 ? (
<div className="max-h-full flex-1 min-h-0 h-full flex flex-col gap-y-1 md:gap-y-4 md:flex-row">
<div>
@@ -136,7 +136,7 @@ export const FeaturePreviewModal = () => {
{selectedFeature.isNew && <Badge variant="success">New</Badge>}
</div>
</SelectTrigger>
- <SelectContent className="!p-0 [&>div]:!w-full [&>div]:!p-0 [&>div]:!flex [&>div]:!flex-col w-full flex">
+ <SelectContent className="p-0! [&>div]:w-full! [&>div]:p-0! [&>div]:flex! [&>div]:flex-col! w-full flex">
{allFeaturePreviews.map((feature) => (
<SelectItem
key={feature.key}
@@ -226,7 +226,7 @@ const FeaturePreviewItem = ({
key={feature.key}
onClick={() => selectFeaturePreview(feature.key)}
className={cn(
- '!w-full flex-1 flex items-center justify-between p-4 border-b cursor-pointer bg transition',
+ 'w-full! flex-1 flex items-center justify-between p-4 border-b cursor-pointer bg transition',
selectedFeature?.key === feature.key ? 'bg-surface-300' : 'bg-surface-100',
className
)}
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/InlineEditorPreview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/InlineEditorPreview.tsx
index 71f85053224..7b9beaa3d26 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/InlineEditorPreview.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/InlineEditorPreview.tsx
@@ -10,7 +10,7 @@ export const InlineEditorPreview = () => {
width={1296}
height={900}
alt="api-docs-side-panel-preview"
- className="rounded border mb-4"
+ className="rounded-sm border mb-4"
/>
<p className="text-sm text-foreground-light mb-4">
Edit policies, functions, and triggers directly in the inline SQL editor. When you select
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/PgDeltaDiffPreview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/PgDeltaDiffPreview.tsx
index 98b0bacfc5f..677fd196501 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/PgDeltaDiffPreview.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/PgDeltaDiffPreview.tsx
@@ -21,7 +21,7 @@ export const PgDeltaDiffPreview = () => {
</li>
</ul>
</div>
- <div className="space-y-2 !mt-4">
+ <div className="space-y-2 mt-4!">
<p className="text-sm">Enabling this preview will:</p>
<ul className="list-disc pl-6 text-sm text-foreground-light space-y-1">
<li>Use pg-delta to compute schema diffs when comparing branches, instead of migra</li>
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/RLSTesterPreview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/RLSTesterPreview.tsx
index 704b0dfd8f1..4f8a00c3def 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/RLSTesterPreview.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/RLSTesterPreview.tsx
@@ -20,9 +20,9 @@ export const RLSTesterPreview = () => {
height={900}
quality={100}
alt="rls-tester-preview"
- className="rounded border"
+ className="rounded-sm border"
/>
- <div className="space-y-2 !mt-4">
+ <div className="space-y-2 mt-4!">
<p className="text-sm">Enabling this preview will:</p>
<ul className="list-disc pl-6 text-sm text-foreground-light space-y-1">
<li>
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/UnifiedLogsPreview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/UnifiedLogsPreview.tsx
index fc623381159..7448f63c2d8 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/UnifiedLogsPreview.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/UnifiedLogsPreview.tsx
@@ -22,10 +22,10 @@ export const UnifiedLogsPreview = () => {
src={`${BASE_PATH}/img/previews/new-logs-preview.png`}
width={1296}
height={900}
- className="rounded border mb-4"
+ className="rounded-sm border mb-4"
/>
- <div className="space-y-2 !mt-4">
+ <div className="space-y-2 mt-4!">
<p className="text-sm">Enabling this preview will:</p>
<ul className="list-disc pl-6 text-sm text-foreground-light space-y-1">
<li>
diff --git a/apps/studio/components/interfaces/Auth/AuditLogsForm.tsx b/apps/studio/components/interfaces/Auth/AuditLogsForm.tsx
index 4e2a60fb64c..5c187bd0d45 100644
--- a/apps/studio/components/interfaces/Auth/AuditLogsForm.tsx
+++ b/apps/studio/components/interfaces/Auth/AuditLogsForm.tsx
@@ -173,7 +173,7 @@ export const AuditLogsForm = () => {
</InlineLink>
. You are responsible for backing up, copying, or migrating existing data
from the{' '}
- <code className="text-code-inline !break-keep">
+ <code className="text-code-inline break-keep!">
{AUDIT_LOG_ENTRIES_TABLE}
</code>{' '}
table if needed.
diff --git a/apps/studio/components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.constants.ts b/apps/studio/components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.constants.ts
index cb272c121c5..a4e1318751e 100644
--- a/apps/studio/components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.constants.ts
+++ b/apps/studio/components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.constants.ts
@@ -6,7 +6,7 @@ export const ProviderCollapsibleClasses = [
'hover:border-strong data-open:border-strong',
'data-open:pb-px col-span-12 mx-auto',
'-space-y-px overflow-hidden',
- 'border shadow',
+ 'border shadow-sm',
'transition',
'first:rounded-tl',
'first:rounded-tr',
diff --git a/apps/studio/components/interfaces/Auth/CustomAuthProviders/CreateOrUpdateCustomProviderSheet.tsx b/apps/studio/components/interfaces/Auth/CustomAuthProviders/CreateOrUpdateCustomProviderSheet.tsx
index e7765b0dc50..8916086b469 100644
--- a/apps/studio/components/interfaces/Auth/CustomAuthProviders/CreateOrUpdateCustomProviderSheet.tsx
+++ b/apps/studio/components/interfaces/Auth/CustomAuthProviders/CreateOrUpdateCustomProviderSheet.tsx
@@ -261,7 +261,7 @@ export const CreateOrUpdateCustomProviderSheet = ({
<SheetClose
className={cn(
'text-muted hover:text ring-offset-background transition-opacity hover:opacity-100',
- 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',
+ 'focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2',
'disabled:pointer-events-none data-[state=open]:bg-secondary',
'transition'
)}
diff --git a/apps/studio/components/interfaces/Auth/CustomAuthProviders/CustomAuthProvidersList.tsx b/apps/studio/components/interfaces/Auth/CustomAuthProviders/CustomAuthProvidersList.tsx
index afd2bf2c280..3b23e23d148 100644
--- a/apps/studio/components/interfaces/Auth/CustomAuthProviders/CustomAuthProvidersList.tsx
+++ b/apps/studio/components/interfaces/Auth/CustomAuthProviders/CustomAuthProvidersList.tsx
@@ -403,7 +403,7 @@ export const CustomAuthProvidersList = () => {
</TableHead>
<TableHead>Enabled</TableHead>
<TableHead className="w-8 px-0">
- <div className="!bg-200 px-4 w-full h-full flex items-center border-l @[944px]:border-l-0" />
+ <div className="bg-200! px-4 w-full h-full flex items-center border-l @[944px]:border-l-0" />
</TableHead>
</TableRow>
</TableHeader>
@@ -421,7 +421,7 @@ export const CustomAuthProvidersList = () => {
<TableCell className="flex" title={provider.name}>
<Button
type="text"
- className="text-link-table-cell text-sm p-0 hover:bg-transparent title [&>span]:!w-full"
+ className="text-link-table-cell text-sm p-0 hover:bg-transparent title [&>span]:w-full!"
onClick={() => setSelectedProviderToEdit(provider.id)}
title={provider.name}
>
diff --git a/apps/studio/components/interfaces/Auth/EmailTemplates/SpamValidation.tsx b/apps/studio/components/interfaces/Auth/EmailTemplates/SpamValidation.tsx
index 2dfb19ef0cc..8b1f397f4f2 100644
--- a/apps/studio/components/interfaces/Auth/EmailTemplates/SpamValidation.tsx
+++ b/apps/studio/components/interfaces/Auth/EmailTemplates/SpamValidation.tsx
@@ -54,7 +54,7 @@ export const SpamValidation = ({ spamRules = [] }: SpamValidationProps) => {
</Table>
</div>
<Markdown
- className="!max-w-none text-foreground-lighter text-xs mt-2"
+ className="max-w-none! text-foreground-lighter text-xs mt-2"
content="Spam validation is powered by [SpamAssassin](https://spamassassin.apache.org/doc.html). Full list of all available warnings can be found [here](https://gist.github.com/ychaouche/a2faff159c2a1fea16019156972c7f8b)."
/>
</div>
diff --git a/apps/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx b/apps/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx
index b701cdb43e7..7bedec7cfd1 100644
--- a/apps/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx
+++ b/apps/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx
@@ -285,12 +285,12 @@ export const TemplateEditor = ({ template }: TemplateEditorProps) => {
</div>
{activeView === 'source' ? (
<>
- <div className="overflow-hidden rounded-md border dark:border-control overflow-hidden [&_.monaco-editor]:outline-0 [&_.monaco-editor-background]:!bg-surface-200/30 [&_.monaco-editor_.margin]:!bg-surface-200/30 dark:[&_.monaco-editor-background]:!bg-surface-300 dark:[&_.monaco-editor_.margin]:!bg-surface-300">
+ <div className="overflow-hidden rounded-md border dark:border-control overflow-hidden [&_.monaco-editor]:outline-0 [&_.monaco-editor-background]:bg-surface-200/30! [&_.monaco-editor_.margin]:bg-surface-200/30! dark:[&_.monaco-editor-background]:bg-surface-300! dark:[&_.monaco-editor_.margin]:bg-surface-300!">
<CodeEditor
id="code-id"
language="html"
isReadOnly={!canUpdateConfig}
- className="!mb-0 relative h-96 outline-none outline-offset-0 outline-width-0 outline-0"
+ className="mb-0! relative h-96 outline-hidden outline-offset-0 outline-width-0 outline-0"
onInputChange={(e: string | undefined) => {
setBodyValue(e ?? '')
if (bodyValue !== e) setHasUnsavedChanges(true)
@@ -325,7 +325,7 @@ export const TemplateEditor = ({ template }: TemplateEditorProps) => {
) : (
<>
<iframe
- className="!mb-0 mt-0 overflow-hidden h-96 w-full rounded-md border bg-white"
+ className="mb-0! mt-0 overflow-hidden h-96 w-full rounded-md border bg-white"
title={id}
srcDoc={bodyValue}
sandbox="allow-scripts allow-forms"
diff --git a/apps/studio/components/interfaces/Auth/Hooks/HookCard.tsx b/apps/studio/components/interfaces/Auth/Hooks/HookCard.tsx
index ef30411d008..783da15af7b 100644
--- a/apps/studio/components/interfaces/Auth/Hooks/HookCard.tsx
+++ b/apps/studio/components/interfaces/Auth/Hooks/HookCard.tsx
@@ -17,7 +17,7 @@ export const HookCard = ({ hook, onSelect }: HookCardProps) => {
const { can: canUpdateAuthHook } = useAsyncCheckPermissions(PermissionAction.AUTH_EXECUTE, '*')
return (
- <div className="bg-surface-100 border-default overflow-hidden border shadow px-5 py-4 flex flex-row first:rounded-t-md last:rounded-b-md space-x-4">
+ <div className="bg-surface-100 border-default overflow-hidden border shadow-sm px-5 py-4 flex flex-row first:rounded-t-md last:rounded-b-md space-x-4">
<div className="">
<Webhook size={21} strokeWidth="1" />
</div>
diff --git a/apps/studio/components/interfaces/Auth/OAuthApps/CreateOrUpdateOAuthAppSheet.tsx b/apps/studio/components/interfaces/Auth/OAuthApps/CreateOrUpdateOAuthAppSheet.tsx
index 24e7cdd6c39..10165b72bbe 100644
--- a/apps/studio/components/interfaces/Auth/OAuthApps/CreateOrUpdateOAuthAppSheet.tsx
+++ b/apps/studio/components/interfaces/Auth/OAuthApps/CreateOrUpdateOAuthAppSheet.tsx
@@ -251,7 +251,7 @@ export const CreateOrUpdateOAuthAppSheet = ({
<SheetClose
className={cn(
'text-muted hover:text ring-offset-background transition-opacity hover:opacity-100',
- 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',
+ 'focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2',
'disabled:pointer-events-none data-[state=open]:bg-secondary',
'transition'
)}
diff --git a/apps/studio/components/interfaces/Auth/OAuthApps/OAuthAppsList.tsx b/apps/studio/components/interfaces/Auth/OAuthApps/OAuthAppsList.tsx
index f85f8da6e96..d995647864d 100644
--- a/apps/studio/components/interfaces/Auth/OAuthApps/OAuthAppsList.tsx
+++ b/apps/studio/components/interfaces/Auth/OAuthApps/OAuthAppsList.tsx
@@ -332,7 +332,7 @@ export const OAuthAppsList = () => {
</TableHeadSort>
</TableHead>
<TableHead className="w-8 px-0">
- <div className="!bg-200 px-4 w-full h-full flex items-center border-l @[944px]:border-l-0" />
+ <div className="bg-200! px-4 w-full h-full flex items-center border-l @[944px]:border-l-0" />
</TableHead>
</TableRow>
</TableHeader>
@@ -350,7 +350,7 @@ export const OAuthAppsList = () => {
<TableCell title={app.client_name}>
<Button
type="text"
- className="text-link-table-cell text-sm p-0 hover:bg-transparent title [&>span]:!w-full"
+ className="text-link-table-cell text-sm p-0 hover:bg-transparent title [&>span]:w-full!"
onClick={() => setSelectedAppToEdit(app.client_id)}
title={app.client_name}
>
diff --git a/apps/studio/components/interfaces/Auth/Overview/OverviewMetrics.tsx b/apps/studio/components/interfaces/Auth/Overview/OverviewMetrics.tsx
index 298b315aaf4..25166092e76 100644
--- a/apps/studio/components/interfaces/Auth/Overview/OverviewMetrics.tsx
+++ b/apps/studio/components/interfaces/Auth/Overview/OverviewMetrics.tsx
@@ -288,7 +288,7 @@ export const OverviewMetrics = ({ metrics, isLoading, error }: OverviewMetricsPr
<ChartTitle>Auth API Errors</ChartTitle>
</ChartHeader>
<ChartContent
- className="!p-0"
+ className="p-0!"
isEmpty={responseErrors.length === 0}
emptyState={
<div className="p-6">
@@ -312,7 +312,7 @@ export const OverviewMetrics = ({ metrics, isLoading, error }: OverviewMetricsPr
{
key: 'request',
header: 'Request',
- className: 'w-auto !pr-0',
+ className: 'w-auto pr-0!',
render: (row) => {
return <StatusCode method={row.method} statusCode={row.status_code} />
},
@@ -351,7 +351,7 @@ export const OverviewMetrics = ({ metrics, isLoading, error }: OverviewMetricsPr
<ChartActions actions={errorCodesActions} />
</ChartHeader>
<ChartContent
- className="!p-0"
+ className="p-0!"
isEmpty={errorCodes.length === 0}
emptyState={
<div className="p-6">
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyEditorPanelHeader.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyEditorPanelHeader.tsx
index aa3c5dda329..4ac4b166872 100644
--- a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyEditorPanelHeader.tsx
+++ b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyEditorPanelHeader.tsx
@@ -31,7 +31,7 @@ export const PolicyEditorPanelHeader = ({
<SheetClose
className={cn(
'text-muted hover:text ring-offset-background transition-opacity hover:opacity-100',
- 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',
+ 'focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2',
'transition disabled:pointer-events-none data-[state=open]:bg-secondary',
'mt-1.5'
)}
@@ -39,7 +39,7 @@ export const PolicyEditorPanelHeader = ({
<X className="h-3 w-3" />
<span className="sr-only">Close</span>
</SheetClose>
- <div className="h-[24px] w-[1px] bg-border-overlay" />
+ <div className="h-[24px] w-px bg-border-overlay" />
<div>
<SheetTitle className="truncate">
{selectedPolicy !== undefined
@@ -52,7 +52,7 @@ export const PolicyEditorPanelHeader = ({
open={showDetails}
onOpenChange={setShowDetails}
>
- <CollapsibleTrigger_Shadcn_ className="group font-normal p-0 [&[data-state=open]>div>svg]:!-rotate-180">
+ <CollapsibleTrigger_Shadcn_ className="group font-normal p-0 [&[data-state=open]>div>svg]:-rotate-180!">
<div className="flex items-center gap-x-2 w-full">
<p className="text-xs text-foreground-light group-hover:text-foreground transition">
View policy details
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyTemplates.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyTemplates.tsx
index ec4547f7523..2194d35771c 100644
--- a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyTemplates.tsx
+++ b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyTemplates.tsx
@@ -80,7 +80,7 @@ export const PolicyTemplates = ({
className={cn(
'transition w-full',
template.id === selectedTemplate
- ? '!border-stronger bg-surface-200 hover:!border-stronger'
+ ? 'border-stronger! bg-surface-200 hover:border-stronger!'
: ''
)}
key={template.id}
@@ -91,7 +91,7 @@ export const PolicyTemplates = ({
<div className="min-w-16 flex items-start">
<Badge
className={cn(
- '!rounded font-mono',
+ 'rounded-sm! font-mono',
template.command === 'UPDATE'
? 'bg-blue-400 text-blue-900 border border-blue-800'
: ''
@@ -126,7 +126,7 @@ export const PolicyTemplates = ({
<SimpleCodeBlock
showCopy={false}
className="sql"
- parentClassName="!p-0 [&>div>span]:text-xs"
+ parentClassName="p-0! [&>div>span]:text-xs"
>
{template.statement}
</SimpleCodeBlock>
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/RLSCodeEditor.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/RLSCodeEditor.tsx
index e14c5f9caaf..292236f3026 100644
--- a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/RLSCodeEditor.tsx
+++ b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/RLSCodeEditor.tsx
@@ -170,8 +170,8 @@ export const RLSCodeEditor = ({
<div
id={placeholderId}
className={cn(
- 'monaco-placeholder absolute top-[0px] left-[57px] text-sm pointer-events-none font-mono tracking-tighter',
- '[&>div>p]:text-foreground-lighter [&>div>p]:!m-0'
+ 'monaco-placeholder absolute top-0 left-[57px] text-sm pointer-events-none font-mono tracking-tighter',
+ '[&>div>p]:text-foreground-lighter [&>div>p]:m-0!'
)}
style={{ display: 'none' }}
>
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx
index ea97f2d3555..35b72af2f72 100644
--- a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx
+++ b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx
@@ -298,7 +298,7 @@ export const PolicyEditorPanel = memo(function ({
size={showTools ? 'lg' : 'default'}
className={cn(
'bg-surface-200 p-0 flex flex-row gap-0',
- showTools ? '!min-w-[100vw] lg:!min-w-[1000px]' : '!min-w-[100vw] lg:!min-w-[600px]'
+ showTools ? 'min-w-screen! lg:min-w-[1000px]!' : 'min-w-screen! lg:min-w-[600px]!'
)}
>
<div className={cn('flex flex-col grow w-full', showTools && 'w-[60%]')}>
@@ -481,7 +481,7 @@ export const PolicyEditorPanel = memo(function ({
{error !== undefined && (
<QueryError error={error} open={errorPanelOpen} setOpen={setErrorPanelOpen} />
)}
- <SheetFooter className="flex items-center !justify-end px-5 py-4 w-full border-t">
+ <SheetFooter className="flex items-center justify-end! px-5 py-4 w-full border-t">
<Button
type="default"
disabled={isExecuting || isUpdating}
@@ -532,7 +532,7 @@ export const PolicyEditorPanel = memo(function ({
<TabsContent_Shadcn_
value="templates"
className={cn(
- '!mt-0 overflow-y-auto',
+ 'mt-0! overflow-y-auto',
'data-[state=active]:flex data-[state=active]:grow'
)}
>
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicySelection.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicySelection.tsx
index 98ecfd3f009..dac2ddc7c56 100644
--- a/apps/studio/components/interfaces/Auth/Policies/PolicySelection.tsx
+++ b/apps/studio/components/interfaces/Auth/Policies/PolicySelection.tsx
@@ -33,7 +33,7 @@ const PolicySelection = ({
className="
flex h-8 w-8 items-center
justify-center
- rounded bg-foreground text-background
+ rounded-sm bg-foreground text-background
"
>
<Grid size={14} strokeWidth={2} />
@@ -51,7 +51,7 @@ const PolicySelection = ({
className="
flex h-8 w-8 items-center
justify-center
- rounded bg-foreground text-background
+ rounded-sm bg-foreground text-background
"
>
<Edit size={14} strokeWidth={2} />
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx
index 7972413c508..c25aa78bd85 100644
--- a/apps/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx
+++ b/apps/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx
@@ -107,7 +107,7 @@ export const PolicyRow = ({
>
{displayedRoles.slice(2).map((role, i, arr) => (
<>
- <code key={role} className="text-code-inline !break-keep">
+ <code key={role} className="text-code-inline break-keep!">
{role}
</code>
{i < arr.length - 1 && ', '}
diff --git a/apps/studio/components/interfaces/Auth/RLSTester/RLSTableCard.tsx b/apps/studio/components/interfaces/Auth/RLSTester/RLSTableCard.tsx
index d2753ab8bfe..34ffce73d50 100644
--- a/apps/studio/components/interfaces/Auth/RLSTester/RLSTableCard.tsx
+++ b/apps/studio/components/interfaces/Auth/RLSTester/RLSTableCard.tsx
@@ -108,9 +108,9 @@ export const RLSTableCard = ({
return (
<Collapsible_Shadcn_
- className={cn('border rounded', !isRLSEnabled && 'bg-warning-300 border-warning-500')}
+ className={cn('border rounded-sm', !isRLSEnabled && 'bg-warning-300 border-warning-500')}
>
- <CollapsibleTrigger_Shadcn_ className="flex items-center justify-between px-3 py-2 w-full [&[data-state=open]>div>svg]:!-rotate-180">
+ <CollapsibleTrigger_Shadcn_ className="flex items-center justify-between px-3 py-2 w-full [&[data-state=open]>div>svg]:-rotate-180!">
<div className="w-full flex items-center justify-between">
<div className="flex items-center gap-x-2">
{!isRLSEnabled ? (
@@ -161,7 +161,7 @@ const TableAccessPolicySummary = ({
handleSelectEditPolicy: (policy: PostgresPolicy) => void
}) => {
return (
- <div className="border rounded mt-4">
+ <div className="border rounded-sm mt-4">
<p className="text-xs font-mono text-foreground-light uppercase border-b px-3 py-2">
{policies.length} {policies.length > 1 ? 'policies' : 'policy'} applied
</p>
diff --git a/apps/studio/components/interfaces/Auth/RLSTester/RLSTesterResults.tsx b/apps/studio/components/interfaces/Auth/RLSTester/RLSTesterResults.tsx
index fa2cf00625b..19bbd6d5dc1 100644
--- a/apps/studio/components/interfaces/Auth/RLSTester/RLSTesterResults.tsx
+++ b/apps/studio/components/interfaces/Auth/RLSTester/RLSTesterResults.tsx
@@ -62,7 +62,7 @@ export const RLSTesterResults = ({
</TabsList_Shadcn_>
{!!parseQueryResults && (
- <div className="border rounded flex items-center justify-between px-3 py-1.5 mt-3">
+ <div className="border rounded-sm flex items-center justify-between px-3 py-1.5 mt-3">
<div className="flex items-center gap-x-2">
<p className="text-xs text-foreground-light">Ran as</p>
{!parseQueryResults.role ? (
@@ -86,8 +86,8 @@ export const RLSTesterResults = ({
<TabsContent_Shadcn_ value="policies" className="mt-0">
{!isServiceRole &&
(!!tableWithRLSEnabledButNoPolicies ? (
- <Admonition showIcon={false} type="default" className="rounded mt-2">
- <p className="!mb-0.5">This user has no access to any rows from this query</p>
+ <Admonition showIcon={false} type="default" className="rounded-sm mt-2">
+ <p className="mb-0.5!">This user has no access to any rows from this query</p>
<p className="text-foreground-light">
The table{' '}
<code className="text-code-inline">
@@ -95,13 +95,13 @@ export const RLSTesterResults = ({
{tableWithRLSEnabledButNoPolicies.table}
</code>{' '}
has RLS enabled but no policies set up for the{' '}
- <code className="text-code-inline !break-keep">{parseQueryResults.role}</code>{' '}
+ <code className="text-code-inline break-keep!">{parseQueryResults.role}</code>{' '}
role.
</p>
</Admonition>
) : tableWithRLSEnabledWithPolicyFalse ? (
- <Admonition showIcon={false} type="default" className="rounded mt-2">
- <p className="!mb-0.5">This user has no access to any rows from this query</p>
+ <Admonition showIcon={false} type="default" className="rounded-sm mt-2">
+ <p className="mb-0.5!">This user has no access to any rows from this query</p>
<p className="text-foreground-light">
The table{' '}
<code className="text-code-inline">
@@ -109,16 +109,16 @@ export const RLSTesterResults = ({
{tableWithRLSEnabledWithPolicyFalse.table}
</code>{' '}
has a policy that evaluates to
- <code className="text-code-inline !break-keep">false</code> for the{' '}
- <code className="text-code-inline !break-keep">{parseQueryResults.role}</code>{' '}
+ <code className="text-code-inline break-keep!">false</code> for the{' '}
+ <code className="text-code-inline break-keep!">{parseQueryResults.role}</code>{' '}
role.
</p>
</Admonition>
) : null)}
{isServiceRole && (
- <Admonition showIcon={false} type="default" className="rounded mt-2">
- <p className="!mb-0.5">
+ <Admonition showIcon={false} type="default" className="rounded-sm mt-2">
+ <p className="mb-0.5!">
The <code className="text-code-inline">postgres</code> role has access to all rows
for this query
</p>
@@ -152,8 +152,8 @@ export const RLSTesterResults = ({
<TabsContent_Shadcn_ value="data" className="mt-2">
<div
className={cn(
- 'flex-grow flex flex-col border overflow-hidden',
- results.length === 0 ? 'rounded h-32' : 'rounded-t h-56'
+ 'grow flex flex-col border overflow-hidden',
+ results.length === 0 ? 'rounded-sm h-32' : 'rounded-t h-56'
)}
>
<Results rows={results} />
diff --git a/apps/studio/components/interfaces/Auth/RLSTester/RLSTesterSheet.tsx b/apps/studio/components/interfaces/Auth/RLSTester/RLSTesterSheet.tsx
index 305e7281b1e..cf9a96e6769 100644
--- a/apps/studio/components/interfaces/Auth/RLSTester/RLSTesterSheet.tsx
+++ b/apps/studio/components/interfaces/Auth/RLSTester/RLSTesterSheet.tsx
@@ -85,7 +85,7 @@ export const RLSTesterSheet = ({ handleSelectEditPolicy }: RLSTesterSheetProps)
</Button>
</SheetTrigger>
- <SheetContent className="!w-[600px] flex flex-col gap-y-0">
+ <SheetContent className="w-[600px]! flex flex-col gap-y-0">
<SheetHeader>
<SheetTitle>What data can my users see?</SheetTitle>
<SheetDescription>
@@ -93,7 +93,7 @@ export const RLSTesterSheet = ({ handleSelectEditPolicy }: RLSTesterSheetProps)
</SheetDescription>
</SheetHeader>
- <div className="flex-grow overflow-y-auto flex flex-col">
+ <div className="grow overflow-y-auto flex flex-col">
<SheetSection className="px-0 py-0">
<div className="flex flex-col p-5 pt-4 gap-y-4">
<RoleSelector onSelectRole={setSelectedOption} />
diff --git a/apps/studio/components/interfaces/Auth/RLSTester/UserSelector.tsx b/apps/studio/components/interfaces/Auth/RLSTester/UserSelector.tsx
index a9c3bdc46b8..914cc3cd07b 100644
--- a/apps/studio/components/interfaces/Auth/RLSTester/UserSelector.tsx
+++ b/apps/studio/components/interfaces/Auth/RLSTester/UserSelector.tsx
@@ -123,7 +123,7 @@ export const UserSelector = () => {
<div className="w-full flex items-center justify-between">
<p className="space-x-3">
<span className="text-foreground-light">{user.email}</span>
- <code className="text-code-inline !text-foreground-lighter">
+ <code className="text-code-inline text-foreground-lighter!">
{user.id?.slice(0, 8)}
</code>
</p>
diff --git a/apps/studio/components/interfaces/Auth/RedirectUrls/AddNewURLModal.tsx b/apps/studio/components/interfaces/Auth/RedirectUrls/AddNewURLModal.tsx
index c8532caf279..e095c396017 100644
--- a/apps/studio/components/interfaces/Auth/RedirectUrls/AddNewURLModal.tsx
+++ b/apps/studio/components/interfaces/Auth/RedirectUrls/AddNewURLModal.tsx
@@ -85,7 +85,7 @@ export const AddNewURLModal = ({ visible, allowList, onClose }: AddNewURLModalPr
<Modal
hideFooter
size="medium"
- className="!max-w-[440px]"
+ className="max-w-[440px]!"
visible={visible}
onCancel={() => {
form.reset(initialValues)
diff --git a/apps/studio/components/interfaces/Auth/RedirectUrls/ValueContainer.tsx b/apps/studio/components/interfaces/Auth/RedirectUrls/ValueContainer.tsx
index 3fda763e8ae..efc0aba0d85 100644
--- a/apps/studio/components/interfaces/Auth/RedirectUrls/ValueContainer.tsx
+++ b/apps/studio/components/interfaces/Auth/RedirectUrls/ValueContainer.tsx
@@ -18,7 +18,7 @@ export const ValueContainer = ({
'bg-surface-100 hover:bg-surface-200 border-default text-foreground flex items-center',
'transition justify-between gap-2 border px-6 py-4 text-sm',
'first:rounded-tr first:rounded-tl last:rounded-br last:rounded-bl',
- isSelected ? '!bg-surface-300' : '',
+ isSelected ? 'bg-surface-300!' : '',
onClick ? 'cursor-pointer' : '',
className
)}
diff --git a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx
index 090a1853756..a204f411b59 100644
--- a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx
+++ b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx
@@ -187,7 +187,7 @@ export const IntegrationCard = ({
return (
<>
- <div className="bg-surface-100 border overflow-hidden shadow px-5 py-4 flex flex-row first:rounded-t-md last:rounded-b-md space-x-4">
+ <div className="bg-surface-100 border overflow-hidden shadow-sm px-5 py-4 flex flex-row first:rounded-t-md last:rounded-b-md space-x-4">
<div className="py-1">
<Image src={getIntegrationTypeIcon(type)} width={21} height={21} alt={`${type} icon`} />
</div>
diff --git a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/index.tsx b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/index.tsx
index a6d7c82e42a..53b9c5c3ee5 100644
--- a/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/index.tsx
+++ b/apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/index.tsx
@@ -94,7 +94,7 @@ export const ThirdPartyAuthForm = () => {
{isLoading && (
<div
className={cn(
- 'border rounded border-default px-20 py-16 flex flex-col items-center justify-center space-y-4'
+ 'border rounded-sm border-default px-20 py-16 flex flex-col items-center justify-center space-y-4'
)}
>
<Loader2 size={24} className="animate-spin" />
diff --git a/apps/studio/components/interfaces/Auth/Users/AddUserDropdown.tsx b/apps/studio/components/interfaces/Auth/Users/AddUserDropdown.tsx
index b58eed11797..56cfc295bee 100644
--- a/apps/studio/components/interfaces/Auth/Users/AddUserDropdown.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/AddUserDropdown.tsx
@@ -56,7 +56,7 @@ export const AddUserDropdown = () => {
)}
<DropdownMenuItemTooltip
- className="space-x-2 !pointer-events-auto"
+ className="space-x-2 pointer-events-auto!"
disabled={!canCreateUsers}
onClick={() => {
if (canCreateUsers) setCreateVisible(true)
diff --git a/apps/studio/components/interfaces/Auth/Users/UserLogs.tsx b/apps/studio/components/interfaces/Auth/Users/UserLogs.tsx
index bb1de78c0d5..f840a241be2 100644
--- a/apps/studio/components/interfaces/Auth/Users/UserLogs.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UserLogs.tsx
@@ -146,7 +146,7 @@ export const UserLogs = ({ user }: UserLogsProps) => {
<div
className={cn(
'flex items-center justify-center gap-x-1',
- !!log.status && 'border px-1 py-0.5 rounded',
+ !!log.status && 'border px-1 py-0.5 rounded-sm',
is400
? 'text-warning border-warning bg-warning-300'
: is500
diff --git a/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx b/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
index 6e34283ea2b..1e847c0e004 100644
--- a/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
@@ -213,12 +213,12 @@ export const UserOverview = ({ user, onDeleteSuccess }: UserOverviewProps) => {
<RowData property="SSO" value={user.is_sso_user} />
</div>
- <div className={cn('flex flex-col !pt-0', PANEL_PADDING)}>
+ <div className={cn('flex flex-col pt-0!', PANEL_PADDING)}>
<p>Provider Information</p>
<p className="text-sm text-foreground-light">The user has the following providers</p>
</div>
- <div className={cn('flex flex-col -space-y-1 !pt-0', PANEL_PADDING)}>
+ <div className={cn('flex flex-col -space-y-1 pt-0!', PANEL_PADDING)}>
{providers.map((provider) => {
const providerMeta = PROVIDERS_SCHEMAS.find(
(x) =>
@@ -378,7 +378,7 @@ export const UserOverview = ({ user, onDeleteSuccess }: UserOverviewProps) => {
</p>
</div>
- <div className={cn('flex flex-col -space-y-1 !pt-0', PANEL_PADDING)}>
+ <div className={cn('flex flex-col -space-y-1 pt-0!', PANEL_PADDING)}>
<RowAction
title="Remove MFA factors"
description="Removes all MFA factors associated with the user"
diff --git a/apps/studio/components/interfaces/Auth/Users/UserPanel.tsx b/apps/studio/components/interfaces/Auth/Users/UserPanel.tsx
index 17cd90cff98..400d8838cb1 100644
--- a/apps/studio/components/interfaces/Auth/Users/UserPanel.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UserPanel.tsx
@@ -81,19 +81,19 @@ export const UserPanel = () => {
<TabsList_Shadcn_ className="px-5 flex gap-x-4 min-h-[46px]">
<TabsTrigger_Shadcn_
value="overview"
- className="px-0 pb-0 h-full text-xs data-[state=active]:bg-transparent !shadow-none"
+ className="px-0 pb-0 h-full text-xs data-[state=active]:bg-transparent shadow-none!"
>
Overview
</TabsTrigger_Shadcn_>
<TabsTrigger_Shadcn_
value="logs"
- className="px-0 pb-0 h-full text-xs data-[state=active]:bg-transparent !shadow-none"
+ className="px-0 pb-0 h-full text-xs data-[state=active]:bg-transparent shadow-none!"
>
Logs
</TabsTrigger_Shadcn_>
<TabsTrigger_Shadcn_
value="raw"
- className="px-0 pb-0 h-full text-xs data-[state=active]:bg-transparent !shadow-none"
+ className="px-0 pb-0 h-full text-xs data-[state=active]:bg-transparent shadow-none!"
>
Raw JSON
</TabsTrigger_Shadcn_>
diff --git a/apps/studio/components/interfaces/Auth/Users/Users.utils.tsx b/apps/studio/components/interfaces/Auth/Users/Users.utils.tsx
index 862e5fd41f1..be90587aeb4 100644
--- a/apps/studio/components/interfaces/Auth/Users/Users.utils.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/Users.utils.tsx
@@ -281,7 +281,7 @@ export const formatUserColumns = ({
draggable: true,
width: savedConfig?.width ?? col.width,
minWidth: col.minWidth ?? 120,
- headerCellClass: 'z-50 outline-none !shadow-none',
+ headerCellClass: 'z-50 outline-hidden shadow-none!',
renderHeaderCell: () => {
// [Joshen] I'm on the fence to support "Select all" for users, as the results are infinitely paginated
// "Select all" wouldn't be an accurate representation if not all the pages have been fetched, but if decide
diff --git a/apps/studio/components/interfaces/Auth/Users/UsersGridComponents.tsx b/apps/studio/components/interfaces/Auth/Users/UsersGridComponents.tsx
index 67d4b04fb27..ae0f97651af 100644
--- a/apps/studio/components/interfaces/Auth/Users/UsersGridComponents.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UsersGridComponents.tsx
@@ -62,7 +62,7 @@ export const HeaderCell = ({
return (
<div className="flex items-center justify-between font-normal text-xs w-full">
<div className="flex items-center gap-x-2">
- <p className="!text-foreground">{col.name}</p>
+ <p className="text-foreground!">{col.name}</p>
</div>
{specificFilterColumn === 'freeform' && ['created_at', 'email', 'phone'].includes(col.id) && (
<DropdownMenu
diff --git a/apps/studio/components/interfaces/Auth/Users/UsersSearch.tsx b/apps/studio/components/interfaces/Auth/Users/UsersSearch.tsx
index 1cf28a2ee0d..8eaaa1f620a 100644
--- a/apps/studio/components/interfaces/Auth/Users/UsersSearch.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UsersSearch.tsx
@@ -112,7 +112,7 @@ export const UsersSearch = ({
<SelectTrigger_Shadcn_
size="tiny"
className={cn(
- 'w-[130px] !bg-transparent rounded-none -ml-[1px]',
+ 'w-[130px] bg-transparent! rounded-none -ml-px',
specificFilterColumn === 'freeform' && 'text-warning'
)}
>
@@ -156,7 +156,7 @@ export const UsersSearch = ({
<Input
size="tiny"
- containerClassName="w-[245px] rounded-l-none -ml-[1px]"
+ containerClassName="w-[245px] rounded-l-none -ml-px"
className={cn(
'bg-transparent',
searchInvalid ? 'text-red-900 dark:border-red-900' : '',
diff --git a/apps/studio/components/interfaces/Auth/Users/UsersV2.tsx b/apps/studio/components/interfaces/Auth/Users/UsersV2.tsx
index a3e01b417db..5118c7f4413 100644
--- a/apps/studio/components/interfaces/Auth/Users/UsersV2.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UsersV2.tsx
@@ -485,7 +485,7 @@ export const UsersV2 = () => {
return (
<>
<div className="h-full flex flex-col">
- <FormHeader className="py-4 px-6 !mb-0 border-b" title="Users" />
+ <FormHeader className="py-4 px-6 mb-0! border-b" title="Users" />
{showImprovedSearchOptIn && (
<Alert_Shadcn_ className="rounded-none mb-0 border-0 relative">
@@ -592,7 +592,7 @@ export const UsersV2 = () => {
<SelectTrigger_Shadcn_
size="tiny"
className={cn(
- 'w-[140px] !bg-transparent',
+ 'w-[140px] bg-transparent!',
filterUserType === 'all' && 'border-dashed'
)}
>
@@ -762,7 +762,7 @@ export const UsersV2 = () => {
const isSelected = row.id === selectedUser
return [
`${isSelected ? 'bg-surface-300 dark:bg-surface-300' : 'bg-200'} cursor-pointer`,
- '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell:first-child>div]:ml-4',
].join(' ')
}}
diff --git a/apps/studio/components/interfaces/Billing/NoProjectsOnPaidOrgInfo.tsx b/apps/studio/components/interfaces/Billing/NoProjectsOnPaidOrgInfo.tsx
index 8411f59f79a..d13aaf25138 100644
--- a/apps/studio/components/interfaces/Billing/NoProjectsOnPaidOrgInfo.tsx
+++ b/apps/studio/components/interfaces/Billing/NoProjectsOnPaidOrgInfo.tsx
@@ -23,7 +23,7 @@ export const NoProjectsOnPaidOrgInfo = () => {
type="default"
title={`Your organization is on the ${organization.plan.name} plan with no projects running`}
description={
- <div className="!max-w-full prose text-sm">
+ <div className="max-w-full! prose text-sm">
The monthly fees for the paid plan still apply. To cancel your subscription, head over to
your{' '}
<Link href={`/org/${organization?.slug}/billing`}>organization billing settings</Link>
diff --git a/apps/studio/components/interfaces/Billing/Payment/AddNewPaymentMethodModal.tsx b/apps/studio/components/interfaces/Billing/Payment/AddNewPaymentMethodModal.tsx
index cb0971ca9f6..2d9ae03ad44 100644
--- a/apps/studio/components/interfaces/Billing/Payment/AddNewPaymentMethodModal.tsx
+++ b/apps/studio/components/interfaces/Billing/Payment/AddNewPaymentMethodModal.tsx
@@ -108,15 +108,15 @@ const AddNewPaymentMethodModal = ({
size="invisible"
onOpen={() => {
// [Joshen] This is to ensure that hCaptcha popup remains clickable
- if (document !== undefined) document.body.classList.add('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.add('pointer-events-auto!')
}}
onClose={() => {
onLocalCancel()
- if (document !== undefined) document.body.classList.remove('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.remove('pointer-events-auto!')
}}
onVerify={(token) => {
setCaptchaToken(token)
- if (document !== undefined) document.body.classList.remove('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.remove('pointer-events-auto!')
}}
onExpire={() => {
setCaptchaToken(null)
diff --git a/apps/studio/components/interfaces/Billing/Payment/AddPaymentMethodForm.tsx b/apps/studio/components/interfaces/Billing/Payment/AddPaymentMethodForm.tsx
index 60d1fd9099e..32756b29353 100644
--- a/apps/studio/components/interfaces/Billing/Payment/AddPaymentMethodForm.tsx
+++ b/apps/studio/components/interfaces/Billing/Payment/AddPaymentMethodForm.tsx
@@ -59,14 +59,14 @@ const AddPaymentMethodForm = ({ onCancel, onConfirm }: AddPaymentMethodFormProps
if (document !== undefined) {
// [Joshen] This is to ensure that any 3DS popup from Stripe remains clickable
- document.body.classList.add('!pointer-events-auto')
+ document.body.classList.add('pointer-events-auto!')
}
if (isPrimaryBillingAddress && isTaxIdError) {
toast.error('Unable to load current tax ID. Please try again.')
setIsSaving(false)
if (document !== undefined) {
- document.body.classList.remove('!pointer-events-auto')
+ document.body.classList.remove('pointer-events-auto!')
}
return
}
@@ -80,7 +80,7 @@ const AddPaymentMethodForm = ({ onCancel, onConfirm }: AddPaymentMethodFormProps
if (isPrimaryBillingAddress && !formValues) {
setIsSaving(false)
if (document !== undefined) {
- document.body.classList.remove('!pointer-events-auto')
+ document.body.classList.remove('pointer-events-auto!')
}
return
}
@@ -98,7 +98,7 @@ const AddPaymentMethodForm = ({ onCancel, onConfirm }: AddPaymentMethodFormProps
toast.error(error instanceof Error ? error.message : 'Failed to validate billing profile')
setIsSaving(false)
if (document !== undefined) {
- document.body.classList.remove('!pointer-events-auto')
+ document.body.classList.remove('pointer-events-auto!')
}
return
}
@@ -171,7 +171,7 @@ const AddPaymentMethodForm = ({ onCancel, onConfirm }: AddPaymentMethodFormProps
}
if (document !== undefined) {
- document.body.classList.remove('!pointer-events-auto')
+ document.body.classList.remove('pointer-events-auto!')
}
}
diff --git a/apps/studio/components/interfaces/Billing/Payment/PaymentMethods/CreditCard.tsx b/apps/studio/components/interfaces/Billing/Payment/PaymentMethods/CreditCard.tsx
index 91e4d85266c..13638070517 100644
--- a/apps/studio/components/interfaces/Billing/Payment/PaymentMethods/CreditCard.tsx
+++ b/apps/studio/components/interfaces/Billing/Payment/PaymentMethods/CreditCard.tsx
@@ -176,7 +176,7 @@ const CreditCard = ({
<DropdownMenuItemTooltip
key="delete-method"
disabled={!isRemovable}
- className="!pointer-events-auto"
+ className="pointer-events-auto!"
onClick={() => setSelectedMethodToDelete?.(paymentMethod)}
tooltip={{
content: {
diff --git a/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx b/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx
index bdc906a9d0f..03d04bbb951 100644
--- a/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx
@@ -23,10 +23,10 @@ export const BranchManagementSection = ({
}: PropsWithChildren<BranchManagementSectionProps>) => {
return (
<div className="border rounded-lg overflow-hidden">
- <div className="bg-surface-100 shadow-sm flex justify-between items-center px-4 py-3 rounded-t-lg text-xs font-mono uppercase">
+ <div className="bg-surface-100 shadow-xs flex justify-between items-center px-4 py-3 rounded-t-lg text-xs font-mono uppercase">
{typeof header === 'string' ? <span>{header}</span> : header}
</div>
- <div className="bg-surface border-t shadow-sm rounded-b-lg text-sm divide-y">{children}</div>
+ <div className="bg-surface border-t shadow-xs rounded-b-lg text-sm divide-y">{children}</div>
{footer !== undefined && <div className="bg-surface-100 px-6 py-1 border-t">{footer}</div>}
</div>
)
diff --git a/apps/studio/components/interfaces/BranchManagement/DatabaseDiffPanel.tsx b/apps/studio/components/interfaces/BranchManagement/DatabaseDiffPanel.tsx
index 73400a291d7..b52d51c2bc4 100644
--- a/apps/studio/components/interfaces/BranchManagement/DatabaseDiffPanel.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/DatabaseDiffPanel.tsx
@@ -33,7 +33,7 @@ export const DatabaseDiffPanel = ({
<span className="text-sm text-foreground-light">Loading database diff…</span>
</div>
<div className="min-h-0 flex-1 p-4">
- <Skeleton className="h-full w-full rounded" />
+ <Skeleton className="h-full w-full rounded-sm" />
</div>
</div>
</div>
diff --git a/apps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsx b/apps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsx
index b3b8b65e489..f5967e6d7be 100644
--- a/apps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsx
@@ -98,7 +98,7 @@ export const WorkflowLogs = ({ branch }: WorkflowLogsProps) => {
<DialogSectionSeparator />
- <DialogSection className={cn('!px-0', isWorkflowRunLogsSuccess ? 'py-0 pt-2' : '!py-0')}>
+ <DialogSection className={cn('px-0!', isWorkflowRunLogsSuccess ? 'py-0 pt-2' : 'py-0!')}>
{!selectedWorkflowRun ? (
<>
{isWorkflowRunsLoading && <GenericSkeletonLoader className="py-4" />}
diff --git a/apps/studio/components/interfaces/BranchManagement/WorkflowLogsCard.tsx b/apps/studio/components/interfaces/BranchManagement/WorkflowLogsCard.tsx
index 42d0ab4dc4e..5653ae5d265 100644
--- a/apps/studio/components/interfaces/BranchManagement/WorkflowLogsCard.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/WorkflowLogsCard.tsx
@@ -98,11 +98,11 @@ export const WorkflowLogsCard = ({
className="overflow-hidden border-0 overflow-y-auto relative p-0"
>
{/* sticky gradient overlay */}
- <div className="sticky top-0 -mb-8 h-8 bg-gradient-to-b from-background to-transparent pointer-events-none z-10" />
+ <div className="sticky top-0 -mb-8 h-8 bg-linear-to-b from-background to-transparent pointer-events-none z-10" />
{logs ? (
- <pre className="p-6 text-xs text-foreground-light p-0 rounded">{logs}</pre>
+ <pre className="p-6 text-xs text-foreground-light p-0 rounded-sm">{logs}</pre>
) : (
- <pre className="p-6 text-sm text-foreground-light rounded">
+ <pre className="p-6 text-sm text-foreground-light rounded-sm">
{isLoading || isPolling ? 'Initializing workflow...' : 'Waiting for logs...'}
</pre>
)}
diff --git a/apps/studio/components/interfaces/Connect/ConnectionPanel.tsx b/apps/studio/components/interfaces/Connect/ConnectionPanel.tsx
index 095ab8e141a..07e707155f4 100644
--- a/apps/studio/components/interfaces/Connect/ConnectionPanel.tsx
+++ b/apps/studio/components/interfaces/Connect/ConnectionPanel.tsx
@@ -63,11 +63,11 @@ const IPv4StatusIcon = ({ className, active }: { className?: string; active: boo
</svg>
{!active ? (
- <div className="absolute -right-1.5 -top-1.5 bg-destructive rounded w-4 h-4 flex items-center justify-center">
+ <div className="absolute -right-1.5 -top-1.5 bg-destructive rounded-sm w-4 h-4 flex items-center justify-center">
<X size={10} strokeWidth={4} className="text-white rounded-full" />
</div>
) : (
- <div className="absolute -right-1.5 -top-1.5 bg-brand-500 rounded w-4 h-4 flex items-center justify-center">
+ <div className="absolute -right-1.5 -top-1.5 bg-brand-500 rounded-sm w-4 h-4 flex items-center justify-center">
<svg
width="10"
height="10"
@@ -170,12 +170,12 @@ export const ConnectionPanel = ({
)}
language={lang}
value={connectionString}
- className="[&_code]:text-[12px] [&_code]:text-foreground [&_code]:!whitespace-normal"
+ className="[&_code]:text-[12px] [&_code]:text-foreground [&_code]:whitespace-normal!"
hideLineNumbers
onCopyCallback={onCopyCallback}
/>
{notice && (
- <div className="border px-4 py-1 w-full justify-start rounded-t-none !last:rounded-b group-data-[state=open]:rounded-b-none border-light">
+ <div className="border px-4 py-1 w-full justify-start rounded-t-none !last:rounded-b group-data-open:rounded-b-none border-light">
{notice?.map((text: string) => (
<p key={text} className="text-xs text-foreground-lighter">
{text}
@@ -220,7 +220,7 @@ export const ConnectionPanel = ({
{type === 'session' && (
<div className="border border-muted px-5 flex gap-7 items-center py-3 first:rounded-t last:rounded-b bg-alternative/50">
- <div className="flex w-6 h-6 rounded items-center justify-center gap-2 shrink-0 bg-surface-100">
+ <div className="flex w-6 h-6 rounded-sm items-center justify-center gap-2 shrink-0 bg-surface-100">
<WarningIcon />
</div>
<div className="flex flex-col">
@@ -237,16 +237,16 @@ export const ConnectionPanel = ({
<Collapsible_Shadcn_ className="group -space-y-px">
<CollapsibleTrigger_Shadcn_
asChild
- className="group/collapse w-full justify-start rounded-t-none !last:rounded-b group-data-[state=open]:rounded-b-none border-muted"
+ className="group/collapse w-full justify-start rounded-t-none !last:rounded-b group-data-open:rounded-b-none border-muted"
>
<Button
type="default"
size="tiny"
- className="text-foreground-lighter !bg-dash-sidebar"
+ className="text-foreground-lighter bg-dash-sidebar!"
icon={
<ChevronRight
className={cn(
- 'group-data-[state=open]/collapse:rotate-90 text-foreground-muted transition-transform'
+ 'group-data-open/collapse:rotate-90 text-foreground-muted transition-transform'
)}
/>
}
diff --git a/apps/studio/components/interfaces/Connect/ConnectionParameters.tsx b/apps/studio/components/interfaces/Connect/ConnectionParameters.tsx
index 2b4752d8391..4b3348b5e41 100644
--- a/apps/studio/components/interfaces/Connect/ConnectionParameters.tsx
+++ b/apps/studio/components/interfaces/Connect/ConnectionParameters.tsx
@@ -27,12 +27,12 @@ export const ConnectionParameters = ({ parameters }: ConnectionParametersProps)
<Collapsible_Shadcn_ open={isOpen} onOpenChange={setIsOpen} className="group -space-y-px">
<CollapsibleTrigger_Shadcn_
asChild
- className="w-full justify-start rounded-t-none !last:rounded-b group-data-[state=open]:rounded-b-none data-[state=open]:border-light border-light px-3"
+ className="w-full justify-start rounded-t-none !last:rounded-b group-data-open:rounded-b-none data-[state=open]:border-light border-light px-3"
>
<Button
type="default"
size="tiny"
- className="text-foreground-lighter !bg-dash-sidebar"
+ className="text-foreground-lighter bg-dash-sidebar!"
icon={
<ChevronRight
className={cn(
@@ -64,7 +64,7 @@ export const ConnectionParameters = ({ parameters }: ConnectionParametersProps)
className={cn(
'text-foreground-lighter',
'ml-2 opacity-0 group-hover/param:opacity-100',
- 'hover:text-foreground rounded-sm p-1',
+ 'hover:text-foreground rounded-xs p-1',
copiedMap[param.key] && 'opacity-100',
'transition-all'
)}
diff --git a/apps/studio/components/interfaces/Connect/DatabaseConnectionString.tsx b/apps/studio/components/interfaces/Connect/DatabaseConnectionString.tsx
index cc0c3fc0c57..d19c4075a74 100644
--- a/apps/studio/components/interfaces/Connect/DatabaseConnectionString.tsx
+++ b/apps/studio/components/interfaces/Connect/DatabaseConnectionString.tsx
@@ -490,15 +490,15 @@ export const DatabaseConnectionString = () => {
<Collapsible_Shadcn_ className="group">
<CollapsibleTrigger_Shadcn_
asChild
- className="w-full justify-start !last:rounded-b group-data-[state=open]:rounded-b-none border-light px-3"
+ className="w-full justify-start !last:rounded-b group-data-open:rounded-b-none border-light px-3"
>
<Button
type="default"
size="large"
iconRight={
- <ChevronDown className="transition group-data-[state=open]:rotate-180" />
+ <ChevronDown className="transition group-data-open:rotate-180" />
}
- className="text-foreground !bg-dash-sidebar justify-between"
+ className="text-foreground bg-dash-sidebar! justify-between"
>
<div className="text-xs flex items-center gap-x-2 py-2 px-1">
<span>Using the Shared Pooler</span>
@@ -590,7 +590,7 @@ export const DatabaseConnectionString = () => {
<>
<Separator />
<Collapsible_Shadcn_ className="px-8 py-5">
- <CollapsibleTrigger_Shadcn_ className="group [&[data-state=open]>div>svg]:!-rotate-180">
+ <CollapsibleTrigger_Shadcn_ className="group [&[data-state=open]>div>svg]:-rotate-180!">
<div className="flex items-center gap-x-2 w-full">
<p className="text-xs text-foreground-light group-hover:text-foreground transition">
Connecting to SQL Alchemy
diff --git a/apps/studio/components/interfaces/ConnectSheet/ConnectConfigSection.tsx b/apps/studio/components/interfaces/ConnectSheet/ConnectConfigSection.tsx
index 39ee7052dd7..aa4e4a7adb6 100644
--- a/apps/studio/components/interfaces/ConnectSheet/ConnectConfigSection.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/ConnectConfigSection.tsx
@@ -175,7 +175,7 @@ export function ConnectConfigSection({
layout="horizontal"
label={field.label}
description={field.description}
- className="[&>div>label>span]:!break-keep [&>div>label>span]:text-balance"
+ className="[&>div>label>span]:break-keep! [&>div>label>span]:text-balance"
>
<Switch
id={field.id}
diff --git a/apps/studio/components/interfaces/ConnectSheet/ConnectSheetStep.tsx b/apps/studio/components/interfaces/ConnectSheet/ConnectSheetStep.tsx
index 77f969c6cc5..ecbddac8c80 100644
--- a/apps/studio/components/interfaces/ConnectSheet/ConnectSheetStep.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/ConnectSheetStep.tsx
@@ -43,7 +43,7 @@ export const ConnectSheetStep = ({
<p className="text-sm font-medium text-foreground">{title}</p>
<p className="text-sm text-foreground-light">{description}</p>
</div>
- <div className="2xl:col-span-3 [&_pre.code-block]:!bg-surface-75" data-step-content>
+ <div className="2xl:col-span-3 [&_pre.code-block]:bg-surface-75!" data-step-content>
{children}
</div>
</div>
diff --git a/apps/studio/components/interfaces/ConnectSheet/ConnectionParameters.tsx b/apps/studio/components/interfaces/ConnectSheet/ConnectionParameters.tsx
index 677dd0f8728..4e372d1bcf7 100644
--- a/apps/studio/components/interfaces/ConnectSheet/ConnectionParameters.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/ConnectionParameters.tsx
@@ -35,7 +35,7 @@ export const ConnectionParameters = ({ parameters, onCopy }: ConnectionParameter
className={cn(
'text-foreground-lighter',
'ml-2 opacity-0 group-hover/param:opacity-100',
- 'hover:text-foreground rounded-sm p-1',
+ 'hover:text-foreground rounded-xs p-1',
copiedMap[param.key] && 'opacity-100',
'transition-all'
)}
diff --git a/apps/studio/components/interfaces/ConnectSheet/CopyPromptAdmonition.tsx b/apps/studio/components/interfaces/ConnectSheet/CopyPromptAdmonition.tsx
index 3c20be3c97d..9c70466cd78 100644
--- a/apps/studio/components/interfaces/ConnectSheet/CopyPromptAdmonition.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/CopyPromptAdmonition.tsx
@@ -139,7 +139,7 @@ export function CopyPromptAdmonition({ stepsContainerRef }: CopyPromptAdmonition
alt="Supabase Grafana"
className="w-full h-full object-cover object-right dark:hidden"
/>
- <div className="absolute inset-0 bg-gradient-to-r from-background-alternative to-transparent" />
+ <div className="absolute inset-0 bg-linear-to-r from-background-alternative to-transparent" />
</div>
<div className="relative flex flex-col md:flex-row md:items-center gap-y-2 md:gap-x-8 justify-between">
diff --git a/apps/studio/components/interfaces/ConnectSheet/FrameworkSelector.tsx b/apps/studio/components/interfaces/ConnectSheet/FrameworkSelector.tsx
index ffac00de4d7..e0478b64cd4 100644
--- a/apps/studio/components/interfaces/ConnectSheet/FrameworkSelector.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/FrameworkSelector.tsx
@@ -59,7 +59,7 @@ export const FrameworkSelector = ({
</PopoverTrigger_Shadcn_>
</div>
<PopoverContent_Shadcn_
- className="p-0 w-[var(--radix-popover-trigger-width)] min-w-48"
+ className="p-0 w-radix-popover-trigger-width min-w-48"
side="bottom"
align="start"
onOpenAutoFocus={(e) => e.preventDefault()}
diff --git a/apps/studio/components/interfaces/ConnectSheet/content/steps/direct-connection/IPv4StatusPanel.tsx b/apps/studio/components/interfaces/ConnectSheet/content/steps/direct-connection/IPv4StatusPanel.tsx
index e193f3b2fdc..64968af9ded 100644
--- a/apps/studio/components/interfaces/ConnectSheet/content/steps/direct-connection/IPv4StatusPanel.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/content/steps/direct-connection/IPv4StatusPanel.tsx
@@ -31,11 +31,11 @@ const IPv4StatusIcon = ({ className, active }: { className?: string; active: boo
</svg>
{!active ? (
- <div className="absolute -right-1.5 -top-1.5 bg-destructive rounded w-4 h-4 flex items-center justify-center">
+ <div className="absolute -right-1.5 -top-1.5 bg-destructive rounded-sm w-4 h-4 flex items-center justify-center">
<X size={10} strokeWidth={4} className="text-white rounded-full" />
</div>
) : (
- <div className="absolute -right-1.5 -top-1.5 bg-brand-500 rounded w-4 h-4 flex items-center justify-center">
+ <div className="absolute -right-1.5 -top-1.5 bg-brand-500 rounded-sm w-4 h-4 flex items-center justify-center">
<svg
width="10"
height="10"
@@ -78,8 +78,8 @@ export function IPv4StatusPanel({ method, ipv4Status, projectRef }: IPv4StatusPa
return (
<div className="flex flex-col -space-y-px w-full">
{method === 'session' ? (
- <div className="border border-muted px-5 flex gap-7 items-center py-3 rounded bg-alternative/50">
- <div className="flex w-6 h-6 rounded items-center justify-center gap-2 shrink-0 bg-surface-100">
+ <div className="border border-muted px-5 flex gap-7 items-center py-3 rounded-sm bg-alternative/50">
+ <div className="flex w-6 h-6 rounded-sm items-center justify-center gap-2 shrink-0 bg-surface-100">
<WarningIcon />
</div>
<div className="flex flex-col">
@@ -127,16 +127,16 @@ export function IPv4StatusPanel({ method, ipv4Status, projectRef }: IPv4StatusPa
<Collapsible_Shadcn_ className="group -space-y-px">
<CollapsibleTrigger_Shadcn_
asChild
- className="group/collapse w-full justify-start rounded-t-none !last:rounded-b group-data-[state=open]:rounded-b-none border-muted"
+ className="group/collapse w-full justify-start rounded-t-none !last:rounded-b group-data-open:rounded-b-none border-muted"
>
<Button
type="default"
size="tiny"
- className="text-foreground-lighter !bg-dash-sidebar"
+ className="text-foreground-lighter bg-dash-sidebar!"
icon={
<ChevronRight
className={cn(
- 'group-data-[state=open]/collapse:rotate-90 text-foreground-muted transition-transform'
+ 'group-data-open/collapse:rotate-90 text-foreground-muted transition-transform'
)}
/>
}
diff --git a/apps/studio/components/interfaces/ConnectSheet/content/steps/mcp/claude-code/authenticate/content.tsx b/apps/studio/components/interfaces/ConnectSheet/content/steps/mcp/claude-code/authenticate/content.tsx
index 724c23fceb3..27106ed4c35 100644
--- a/apps/studio/components/interfaces/ConnectSheet/content/steps/mcp/claude-code/authenticate/content.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/content/steps/mcp/claude-code/authenticate/content.tsx
@@ -12,7 +12,7 @@ function ClaudeAuthenticateContent(_props: StepContentProps) {
language="bash"
/>
<p className="text-sm text-foreground-light">
- Select the <code className="text-xs bg-surface-300 px-1 py-0.5 rounded">supabase</code>{' '}
+ Select the <code className="text-xs bg-surface-300 px-1 py-0.5 rounded-sm">supabase</code>{' '}
server, then <span className="font-medium">Authenticate</span> to begin the flow.
</p>
</div>
diff --git a/apps/studio/components/interfaces/ConnectSheet/content/steps/mcp/codex/verify/content.tsx b/apps/studio/components/interfaces/ConnectSheet/content/steps/mcp/codex/verify/content.tsx
index 6c05f23d66a..a866f26f6eb 100644
--- a/apps/studio/components/interfaces/ConnectSheet/content/steps/mcp/codex/verify/content.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/content/steps/mcp/codex/verify/content.tsx
@@ -4,8 +4,8 @@ function CodexVerifyContent(_props: StepContentProps) {
return (
<div className="space-y-2">
<p className="text-sm text-foreground-light">
- Run <code className="text-xs bg-surface-300 px-1 py-0.5 rounded">/mcp</code> inside Codex to
- verify authentication.
+ Run <code className="text-xs bg-surface-300 px-1 py-0.5 rounded-sm">/mcp</code> inside Codex
+ to verify authentication.
</p>
</div>
)
diff --git a/apps/studio/components/interfaces/Database/Backups/BackupItem.tsx b/apps/studio/components/interfaces/Database/Backups/BackupItem.tsx
index 3c47b0468df..7a368985b20 100644
--- a/apps/studio/components/interfaces/Database/Backups/BackupItem.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/BackupItem.tsx
@@ -97,7 +97,7 @@ export const BackupItem = ({ index, isHealthy, backup, onSelectBackup }: BackupI
displayAs="utc"
utcTimestamp={backup.inserted_at}
labelFormat="DD MMM YYYY HH:mm:ss (ZZ)"
- className="text-left !text-sm font-mono tracking-tight"
+ className="text-left text-sm! font-mono tracking-tight"
/>
<Tooltip>
<TooltipTrigger>
diff --git a/apps/studio/components/interfaces/Database/Backups/BackupsList.tsx b/apps/studio/components/interfaces/Database/Backups/BackupsList.tsx
index 0cd0e0a1e0a..fb3d5f8fc7c 100644
--- a/apps/studio/components/interfaces/Database/Backups/BackupsList.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/BackupsList.tsx
@@ -119,7 +119,7 @@ export const BackupsList = () => {
displayAs="utc"
utcTimestamp={selectedBackup.inserted_at}
labelFormat="DD MMM YYYY HH:mm:ss (ZZ)"
- className="!text-sm"
+ className="text-sm!"
/>
</p>
)}
diff --git a/apps/studio/components/interfaces/Database/Backups/PITR/PITRForm.tsx b/apps/studio/components/interfaces/Database/Backups/PITR/PITRForm.tsx
index 477ab6af962..70de6cd1005 100644
--- a/apps/studio/components/interfaces/Database/Backups/PITR/PITRForm.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/PITR/PITRForm.tsx
@@ -140,10 +140,10 @@ export function PITRForm({
]}
classNames={{
day: cn(
- '[&:not(:has(:disabled))]:border [&:not(:has(:disabled))]:border-stronger [&:not(:last-child)]:border-r-0 [&:not(:has(:disabled))]:bg-overlay-hover',
+ '[&:not(:has(:disabled))]:border [&:not(:has(:disabled))]:border-stronger not-last:border-r-0 [&:not(:has(:disabled))]:bg-overlay-hover',
'rounded-none'
),
- selected: '!bg-brand-500',
+ selected: 'bg-brand-500!',
}}
/>
{availableDates.length > 1 && (
@@ -216,7 +216,7 @@ export function PITRForm({
closest backup within the 2-minute window
</p>
</div>
- <div className="!mt-4 space-y-1">
+ <div className="mt-4! space-y-1">
<h3 className="text-sm text-foreground-light"></h3>
{isSelectedOnEarliestDay && (
<p className="text-sm text-foreground-light">
diff --git a/apps/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx b/apps/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx
index 788d64d7ae8..6131909db14 100644
--- a/apps/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx
@@ -48,7 +48,7 @@ export const PITRNotice = () => {
}
>
<div className="flex p-6 space-x-6">
- <div className="flex items-center justify-center w-10 h-10 rounded bg-border-strong">
+ <div className="flex items-center justify-center w-10 h-10 rounded-sm bg-border-strong">
<Calendar strokeWidth={2} />
</div>
<div className="space-y-2">
diff --git a/apps/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx b/apps/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx
index 5d96bc211ee..dcf5db90281 100644
--- a/apps/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx
@@ -103,7 +103,7 @@ const TimeInput = ({ defaultTime, minimumTime, maximumTime, onChange = noop }: T
aria-label="Hours"
onBlur={(event) => onInputBlur(event, 'h')}
onChange={(event) => onInputChange(event, 'h')}
- className="w-full text-sm bg-transparent p-0 text-center outline-none border-none focus:ring-0"
+ className="w-full text-sm bg-transparent p-0 text-center outline-hidden border-none focus:ring-0"
/>
</TooltipTrigger>
@@ -122,7 +122,7 @@ const TimeInput = ({ defaultTime, minimumTime, maximumTime, onChange = noop }: T
aria-label="Minutes"
onBlur={(event) => onInputBlur(event, 'm')}
onChange={(event) => onInputChange(event, 'm')}
- className="w-full text-sm bg-transparent p-0 text-center outline-none border-none focus:ring-0"
+ className="w-full text-sm bg-transparent p-0 text-center outline-hidden border-none focus:ring-0"
/>
</TooltipTrigger>
@@ -141,7 +141,7 @@ const TimeInput = ({ defaultTime, minimumTime, maximumTime, onChange = noop }: T
aria-label="Seconds"
onBlur={(event) => onInputBlur(event, 's')}
onChange={(event) => onInputChange(event, 's')}
- className="w-full text-sm bg-transparent p-0 text-center outline-none border-none focus:ring-0"
+ className="w-full text-sm bg-transparent p-0 text-center outline-hidden border-none focus:ring-0"
/>
</TooltipTrigger>
<TooltipContent side="bottom">Seconds (SS)</TooltipContent>
diff --git a/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/BackupsList.tsx b/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/BackupsList.tsx
index 4fadd518cbc..108ba2ec0a8 100644
--- a/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/BackupsList.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/BackupsList.tsx
@@ -36,7 +36,7 @@ export const BackupsList = ({ onSelectRestore, disabled, hasAccess }: BackupsLis
displayAs="utc"
utcTimestamp={backup.inserted_at}
labelFormat="DD MMM YYYY HH:mm:ss (ZZ)"
- className="text-left !text-sm font-mono tracking-tight"
+ className="text-left text-sm! font-mono tracking-tight"
/>
</div>
<div>
diff --git a/apps/studio/components/interfaces/Database/EnumeratedTypes/CreateEnumeratedTypeSidePanel.tsx b/apps/studio/components/interfaces/Database/EnumeratedTypes/CreateEnumeratedTypeSidePanel.tsx
index 73555f363d3..fc479c735bb 100644
--- a/apps/studio/components/interfaces/Database/EnumeratedTypes/CreateEnumeratedTypeSidePanel.tsx
+++ b/apps/studio/components/interfaces/Database/EnumeratedTypes/CreateEnumeratedTypeSidePanel.tsx
@@ -189,7 +189,7 @@ const CreateEnumeratedTypeSidePanel = ({
After creation, values cannot be deleted or sorted
</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
- <p className="!leading-normal track">
+ <p className="leading-normal! track">
You will need to delete and recreate the enumerated type with the updated values
instead.
</p>
diff --git a/apps/studio/components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx b/apps/studio/components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx
index 4673a34a456..b0d11862123 100644
--- a/apps/studio/components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx
+++ b/apps/studio/components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx
@@ -222,7 +222,7 @@ const EditEnumeratedTypeSidePanel = ({
<AlertCircle strokeWidth={1.5} />
<AlertTitle_Shadcn_>Existing values cannot be deleted or sorted</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
- <p className="!leading-normal track">
+ <p className="leading-normal! track">
You will need to delete and recreate the enumerated type with the updated values
instead.
</p>
diff --git a/apps/studio/components/interfaces/Database/EnumeratedTypes/EnumeratedTypeValueRow.tsx b/apps/studio/components/interfaces/Database/EnumeratedTypes/EnumeratedTypeValueRow.tsx
index 8c23ba32289..ecafd3db303 100644
--- a/apps/studio/components/interfaces/Database/EnumeratedTypes/EnumeratedTypeValueRow.tsx
+++ b/apps/studio/components/interfaces/Database/EnumeratedTypes/EnumeratedTypeValueRow.tsx
@@ -49,7 +49,7 @@ const EnumeratedTypeValueRow = <TFieldValues extends FieldValues>({
{...attributes}
{...listeners}
className={`opacity-50 hover:opacity-100 disabled:hover:opacity-50 transition cursor-grab ${
- isDisabled ? 'text-foreground-lighter !cursor-default' : 'text-foreground'
+ isDisabled ? 'text-foreground-lighter cursor-default!' : 'text-foreground'
}`}
type="button"
disabled={isDisabled}
diff --git a/apps/studio/components/interfaces/Database/Extensions/ExtensionCardSkeleton.tsx b/apps/studio/components/interfaces/Database/Extensions/ExtensionCardSkeleton.tsx
index 5ec45241d40..92dc53a869c 100644
--- a/apps/studio/components/interfaces/Database/Extensions/ExtensionCardSkeleton.tsx
+++ b/apps/studio/components/interfaces/Database/Extensions/ExtensionCardSkeleton.tsx
@@ -7,7 +7,7 @@ export interface ExtensionCardSkeletonProps {
const ExtensionCardSkeleton = ({ index = 0 }: ExtensionCardSkeletonProps) => {
return (
- <div className="flex border-overlay flex-col overflow-hidden rounded border shadow-sm">
+ <div className="flex border-overlay flex-col overflow-hidden rounded-sm border shadow-xs">
<div className="border-overlay bg-surface-100 flex justify-between w-full border-b py-3 px-4">
<div className="flex items-center gap-1 max-w-[85%]">
<div className="flex items-center space-x-2 truncate">
diff --git a/apps/studio/components/interfaces/Database/Extensions/Extensions.tsx b/apps/studio/components/interfaces/Database/Extensions/Extensions.tsx
index dcaed37668b..9d58a8c4761 100644
--- a/apps/studio/components/interfaces/Database/Extensions/Extensions.tsx
+++ b/apps/studio/components/interfaces/Database/Extensions/Extensions.tsx
@@ -100,7 +100,7 @@ export const Extensions = () => {
in the dashboard with sticky columns
*/}
<TableHead key="enabled" className="px-0">
- <div className="!bg-200 px-4 w-full h-full flex items-center border-l">
+ <div className="bg-200! px-4 w-full h-full flex items-center border-l">
Enabled
</div>
</TableHead>
@@ -114,7 +114,7 @@ export const Extensions = () => {
<TableRow>
<TableCell colSpan={7}>
<NoSearchResults
- className="border-none !p-0 bg-transparent"
+ className="border-none p-0! bg-transparent"
searchString={filterString}
onResetFilter={() => setFilterString('')}
/>
diff --git a/apps/studio/components/interfaces/Database/Functions/CreateFunction/CreateFunctionHeader.tsx b/apps/studio/components/interfaces/Database/Functions/CreateFunction/CreateFunctionHeader.tsx
index e63633b2d29..78129118d5d 100644
--- a/apps/studio/components/interfaces/Database/Functions/CreateFunction/CreateFunctionHeader.tsx
+++ b/apps/studio/components/interfaces/Database/Functions/CreateFunction/CreateFunctionHeader.tsx
@@ -16,7 +16,7 @@ export const CreateFunctionHeader = ({
<SheetClose
className={cn(
'text-muted hover:text ring-offset-background transition-opacity hover:opacity-100',
- 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',
+ 'focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2',
'disabled:pointer-events-none data-[state=open]:bg-secondary',
'transition'
)}
diff --git a/apps/studio/components/interfaces/Database/Functions/CreateFunction/FunctionEditor.tsx b/apps/studio/components/interfaces/Database/Functions/CreateFunction/FunctionEditor.tsx
index a9abafc856f..d636f9fa444 100644
--- a/apps/studio/components/interfaces/Database/Functions/CreateFunction/FunctionEditor.tsx
+++ b/apps/studio/components/interfaces/Database/Functions/CreateFunction/FunctionEditor.tsx
@@ -29,7 +29,7 @@ export const FunctionEditor = ({
</FormControl>
<div
className={cn(
- 'absolute top-0 right-2 bg-surface-300 border border-strong rounded h-[28px]',
+ 'absolute top-0 right-2 bg-surface-300 border border-strong rounded-sm h-[28px]',
'opacity-0 group-hover:opacity-100 group-hover:top-2 transition-all'
)}
>
diff --git a/apps/studio/components/interfaces/Database/Functions/CreateFunction/index.tsx b/apps/studio/components/interfaces/Database/Functions/CreateFunction/index.tsx
index 845fbe42b23..946577fbd19 100644
--- a/apps/studio/components/interfaces/Database/Functions/CreateFunction/index.tsx
+++ b/apps/studio/components/interfaces/Database/Functions/CreateFunction/index.tsx
@@ -164,7 +164,7 @@ export const CreateFunction = ({
<SheetContent
showClose={false}
size={'default'}
- className={'p-0 flex flex-row gap-0 !min-w-screen lg:!min-w-[600px]'}
+ className={'p-0 flex flex-row gap-0 min-w-screen! lg:min-w-[600px]!'}
>
<div className="flex flex-col grow w-full">
<CreateFunctionHeader selectedFunction={func?.name} isDuplicating={isDuplicating} />
@@ -247,7 +247,7 @@ export const CreateFunction = ({
<FormFieldArgs readonly={isEditing} />
</SheetSection>
<Separator className={focusedEditor ? 'hidden' : ''} />
- <SheetSection className={`${focusedEditor ? 'h-full' : ''} !px-0`}>
+ <SheetSection className={`${focusedEditor ? 'h-full' : ''} px-0!`}>
<FormField
control={form.control}
name="definition"
@@ -287,7 +287,7 @@ export const CreateFunction = ({
) : (
<>
<SheetSection className={focusedEditor ? 'hidden' : ''}>
- <div className="space-y-8 rounded bg-studio py-4 px-6 border border-overlay">
+ <div className="space-y-8 rounded-sm bg-studio py-4 px-6 border border-overlay">
<FormItem className="flex flex-row items-center justify-between">
<div className="space-y-0.5">
<FormLabel className="text-base">Show advanced settings</FormLabel>
diff --git a/apps/studio/components/interfaces/Database/Hooks/FormContents.tsx b/apps/studio/components/interfaces/Database/Hooks/FormContents.tsx
index a47d79a7373..4ecb2497494 100644
--- a/apps/studio/components/interfaces/Database/Hooks/FormContents.tsx
+++ b/apps/studio/components/interfaces/Database/Hooks/FormContents.tsx
@@ -103,8 +103,8 @@ export const FormContents = ({ form, selectedHook }: FormContentsProps) => {
return (
<div>
- <FormSection header={<FormSectionLabel className="lg:!col-span-4">General</FormSectionLabel>}>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSection header={<FormSectionLabel className="lg:col-span-4!">General</FormSectionLabel>}>
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<FormField
control={form.control}
name="name"
@@ -125,7 +125,7 @@ export const FormContents = ({ form, selectedHook }: FormContentsProps) => {
<FormSection
header={
<FormSectionLabel
- className="lg:!col-span-4"
+ className="lg:col-span-4!"
description={
<p className="text-sm text-foreground-light">
Select which table and events will trigger your webhook
@@ -136,7 +136,7 @@ export const FormContents = ({ form, selectedHook }: FormContentsProps) => {
</FormSectionLabel>
}
>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<FormField
control={form.control}
name="table_id"
@@ -212,10 +212,10 @@ export const FormContents = ({ form, selectedHook }: FormContentsProps) => {
<SidePanel.Separator />
<FormSection
header={
- <FormSectionLabel className="lg:!col-span-4">Webhook configuration</FormSectionLabel>
+ <FormSectionLabel className="lg:col-span-4!">Webhook configuration</FormSectionLabel>
}
>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<FormField
control={form.control}
name="function_type"
diff --git a/apps/studio/components/interfaces/Database/Hooks/HTTPHeaders.tsx b/apps/studio/components/interfaces/Database/Hooks/HTTPHeaders.tsx
index 4f41ad316e3..5638114c771 100644
--- a/apps/studio/components/interfaces/Database/Hooks/HTTPHeaders.tsx
+++ b/apps/studio/components/interfaces/Database/Hooks/HTTPHeaders.tsx
@@ -43,9 +43,9 @@ export const HTTPHeaders = ({ form }: HTTPHeadersProps) => {
return (
<FormSection
- header={<FormSectionLabel className="lg:!col-span-4">HTTP Headers</FormSectionLabel>}
+ header={<FormSectionLabel className="lg:col-span-4!">HTTP Headers</FormSectionLabel>}
>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<KeyValueFieldArray
control={form.control}
name="httpHeaders"
diff --git a/apps/studio/components/interfaces/Database/Hooks/HTTPParameters.tsx b/apps/studio/components/interfaces/Database/Hooks/HTTPParameters.tsx
index af2402db0c7..50d0e9308f9 100644
--- a/apps/studio/components/interfaces/Database/Hooks/HTTPParameters.tsx
+++ b/apps/studio/components/interfaces/Database/Hooks/HTTPParameters.tsx
@@ -16,9 +16,9 @@ interface HTTPParametersProps {
export const HTTPParameters = ({ form }: HTTPParametersProps) => {
return (
<FormSection
- header={<FormSectionLabel className="lg:!col-span-4">HTTP Parameters</FormSectionLabel>}
+ header={<FormSectionLabel className="lg:col-span-4!">HTTP Parameters</FormSectionLabel>}
>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<KeyValueFieldArray
control={form.control}
name="httpParameters"
diff --git a/apps/studio/components/interfaces/Database/Hooks/HTTPRequestConfig.tsx b/apps/studio/components/interfaces/Database/Hooks/HTTPRequestConfig.tsx
index fed44794552..cf07cef8113 100644
--- a/apps/studio/components/interfaces/Database/Hooks/HTTPRequestConfig.tsx
+++ b/apps/studio/components/interfaces/Database/Hooks/HTTPRequestConfig.tsx
@@ -40,7 +40,7 @@ export const HTTPRequestConfig = ({ form }: HTTPRequestConfigProps) => {
return (
<FormSection
header={
- <FormSectionLabel className="lg:!col-span-4">
+ <FormSectionLabel className="lg:col-span-4!">
{functionType === 'http_request'
? 'HTTP Request'
: functionType === 'supabase_function'
@@ -49,7 +49,7 @@ export const HTTPRequestConfig = ({ form }: HTTPRequestConfigProps) => {
</FormSectionLabel>
}
>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<FormField
control={form.control}
name="http_method"
@@ -90,7 +90,7 @@ export const HTTPRequestConfig = ({ form }: HTTPRequestConfigProps) => {
) : functionType === 'supabase_function' && edgeFunctions.length === 0 ? (
<div className="space-y-1">
<p className="text-sm text-foreground-light">Select which edge function to trigger</p>
- <div className="px-4 py-4 border rounded bg-surface-300 border-strong flex items-center justify-between space-x-4">
+ <div className="px-4 py-4 border rounded-sm bg-surface-300 border-strong flex items-center justify-between space-x-4">
<p className="text-sm">No edge functions created yet</p>
<Button asChild>
<Link href={`/project/${ref}/functions`}>Create an edge function</Link>
diff --git a/apps/studio/components/interfaces/Database/Hooks/HooksList/SchemaTable.tsx b/apps/studio/components/interfaces/Database/Hooks/HooksList/SchemaTable.tsx
index c3dcfc6d34e..a4585bfd003 100644
--- a/apps/studio/components/interfaces/Database/Hooks/HooksList/SchemaTable.tsx
+++ b/apps/studio/components/interfaces/Database/Hooks/HooksList/SchemaTable.tsx
@@ -9,7 +9,7 @@ interface SchemaTableProps {
export const SchemaTable = ({ schema, filterString }: SchemaTableProps) => {
return (
<div key={schema}>
- <div className="sticky top-0 backdrop-blur backdrop-filter">
+ <div className="sticky top-0 backdrop-blur-sm backdrop-filter">
<div className="flex items-baseline space-x-1 py-2">
<h5 className="text-foreground-light">schema</h5>
<h4>{schema}</h4>
diff --git a/apps/studio/components/interfaces/Database/Indexes/CreateIndexSidePanel.tsx b/apps/studio/components/interfaces/Database/Indexes/CreateIndexSidePanel.tsx
index 40d6174a1b0..e9f5eeb8c06 100644
--- a/apps/studio/components/interfaces/Database/Indexes/CreateIndexSidePanel.tsx
+++ b/apps/studio/components/interfaces/Database/Indexes/CreateIndexSidePanel.tsx
@@ -211,7 +211,7 @@ CREATE INDEX ON "${selectedSchema}"."${selectedEntity}" USING ${selectedIndexTyp
onValueChange={setSchemaSearchTerm}
/>
<CommandList_Shadcn_
- className={cn((schemas ?? []).length > 7 && '!max-h-[210px] overflow-y-auto')}
+ className={cn((schemas ?? []).length > 7 && 'max-h-[210px]! overflow-y-auto')}
onWheel={(event) => event.stopPropagation()}
>
<CommandEmpty_Shadcn_>No schemas found</CommandEmpty_Shadcn_>
@@ -292,7 +292,7 @@ CREATE INDEX ON "${selectedSchema}"."${selectedEntity}" USING ${selectedIndexTyp
onValueChange={handleSearchChange}
/>
<CommandList_Shadcn_
- className={cn(entityTypes.length > 7 && '!max-h-[210px] overflow-y-auto')}
+ className={cn(entityTypes.length > 7 && 'max-h-[210px]! overflow-y-auto')}
onWheel={(event) => event.stopPropagation()}
>
<CommandEmpty_Shadcn_>
@@ -396,7 +396,7 @@ CREATE INDEX ON "${selectedSchema}"."${selectedEntity}" USING ${selectedIndexTyp
<span>{index.name}</span>
{index.description.split('\n').map((x, idx) => (
<span
- className="text-foreground-lighter group-focus:text-foreground-light group-data-[state=checked]:text-foreground-light"
+ className="text-foreground-lighter group-focus:text-foreground-light group-data-checked:text-foreground-light"
key={`${index.value}-description-${idx}`}
>
{x}
@@ -413,7 +413,7 @@ CREATE INDEX ON "${selectedSchema}"."${selectedEntity}" USING ${selectedIndexTyp
{isOrioleDb && (
<Admonition
type="default"
- className="!mt-2"
+ className="mt-2!"
title="OrioleDB currently only supports the B-tree index type"
description="More index types may be supported when OrioleDB is no longer in preview"
>
@@ -439,7 +439,7 @@ CREATE INDEX ON "${selectedSchema}"."${selectedEntity}" USING ${selectedIndexTyp
</Button>
</div>
</SidePanel.Content>
- <div className="h-[200px] !mt-2">
+ <div className="h-[200px] mt-2!">
<div className="relative h-full">
<CodeEditor
isReadOnly
diff --git a/apps/studio/components/interfaces/Database/Indexes/Indexes.tsx b/apps/studio/components/interfaces/Database/Indexes/Indexes.tsx
index 85160122e0a..6b80cb1d207 100644
--- a/apps/studio/components/interfaces/Database/Indexes/Indexes.tsx
+++ b/apps/studio/components/interfaces/Database/Indexes/Indexes.tsx
@@ -132,7 +132,7 @@ export const Indexes = () => {
<div className="flex items-center gap-2 flex-wrap">
{isLoadingSchemas && <ShimmeringLoader className="w-[260px]" />}
{isErrorSchemas && (
- <div className="w-[260px] text-foreground-light text-sm border px-3 py-1.5 rounded flex items-center space-x-2">
+ <div className="w-[260px] text-foreground-light text-sm border px-3 py-1.5 rounded-sm flex items-center space-x-2">
<AlertCircle strokeWidth={2} size={16} />
<p>Failed to load schemas</p>
</div>
diff --git a/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx b/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx
index f67be422436..29aa51519a6 100644
--- a/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx
+++ b/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx
@@ -127,7 +127,7 @@ const Migrations = () => {
<TableCell>{migration.version}</TableCell>
<TableCell
className={cn(
- (migration?.name ?? '').length === 0 && '!text-foreground-lighter'
+ (migration?.name ?? '').length === 0 && 'text-foreground-lighter!'
)}
>
{migration?.name ?? 'Name not available'}
diff --git a/apps/studio/components/interfaces/Database/ProtectedSchemaWarning.tsx b/apps/studio/components/interfaces/Database/ProtectedSchemaWarning.tsx
index 791eac4d7af..0ee289f9970 100644
--- a/apps/studio/components/interfaces/Database/ProtectedSchemaWarning.tsx
+++ b/apps/studio/components/interfaces/Database/ProtectedSchemaWarning.tsx
@@ -33,7 +33,7 @@ export const ProtectedSchemaDialog = ({ onClose }: { onClose: () => void }) => {
</code>
))}
</div>
- <p className="text-sm !mt-4">
+ <p className="text-sm mt-4!">
These schemas are critical to the functionality of your Supabase project and hence we
highly recommend not altering them.
</p>
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx
index 84406fc3e6e..f50f37b8dc7 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx
@@ -47,7 +47,7 @@ export const AdvancedSettings = ({
</span>
</div>
</AccordionTrigger_Shadcn_>
- <AccordionContent_Shadcn_ className="!pb-0 pt-3 [&>div]:flex [&>div]:flex-col [&>div]:gap-y-4">
+ <AccordionContent_Shadcn_ className="pb-0! pt-3 [&>div]:flex [&>div]:flex-col [&>div]:gap-y-4">
{/* Batch wait time - applies to all destinations */}
<FormField
control={form.control}
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DestinationPanelFields.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DestinationPanelFields.tsx
index 8b72c53548c..a08a6c472c8 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DestinationPanelFields.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DestinationPanelFields.tsx
@@ -654,7 +654,7 @@ export const AnalyticsBucketFields = ({
{isSuccessKeys && keyNoLongerExists && (
<Admonition type="warning" title="Unable to find access key ID in project">
- <p className="!leading-normal">
+ <p className="leading-normal!">
Please select another key or create a new set, as this destination will not
work otherwise. S3 access keys can be managed in your{' '}
<InlineLink href={`/project/${projectRef}/storage/files/settings`}>
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationSelection.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationSelection.tsx
index 652bb4f27de..f96b0e28e45 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationSelection.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationSelection.tsx
@@ -54,7 +54,7 @@ export const PublicationSelection = ({
</FormControl>
{isSelectedPublicationMissing && (
<Admonition type="warning" className="mt-2">
- <p className="!leading-normal">
+ <p className="leading-normal!">
The publication <strong className="text-foreground">{publicationName}</strong> was
not found, it may have been renamed or deleted, please select another one.
</p>
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/ValidationFailuresSection.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/ValidationFailuresSection.tsx
index 5d946d25acc..942ac66207b 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/ValidationFailuresSection.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/ValidationFailuresSection.tsx
@@ -39,7 +39,7 @@ export const ValidationFailuresSection = ({
className="px-5 rounded-none border-0"
title="Destination configuration issues"
>
- <p className="text-sm text-foreground-light !mb-2">
+ <p className="text-sm text-foreground-light mb-2!">
{hasCriticalFailures
? `Please fix all required issues below${hasWarnings ? ' and review the others' : ''} before continuing.`
: 'The following issues were identified, although you may still proceed to create the destination.'}
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/index.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/index.tsx
index 6632bf4442e..63bae60250a 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/index.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/index.tsx
@@ -603,7 +603,7 @@ export const DestinationForm = ({
)}
</SheetSection>
- <SheetFooter className="!justify-between">
+ <SheetFooter className="justify-between!">
<AnimatePresence mode="wait">
{isValidating || isSaving ? (
<motion.div
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationPanel.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationPanel.tsx
index eba2fbd08c3..305b40e3b93 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationPanel.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationPanel.tsx
@@ -96,7 +96,7 @@ export const DestinationPanel = ({ onSuccessCreateReadReplica }: DestinationPane
return (
<>
<Sheet open={visible} onOpenChange={onClose}>
- <SheetContent size="default" showClose={false} className="md:!w-[850px]">
+ <SheetContent size="default" showClose={false} className="md:w-[850px]!">
<div className="flex flex-col h-full" tabIndex={-1}>
<SheetHeader>
<SheetTitle>{editMode ? 'Edit destination' : 'Create a new destination'}</SheetTitle>
@@ -145,7 +145,7 @@ export const DestinationPanel = ({ onSuccessCreateReadReplica }: DestinationPane
) : replicationNotEnabled ? (
<SheetSection>
<EnableReplicationCallout
- className="!p-6"
+ className="p-6!"
type={destinationType}
hasAccess={hasETLReplicationAccess}
/>
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationTypeSelection.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationTypeSelection.tsx
index 08f9ab6db68..af97dae720f 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationTypeSelection.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationTypeSelection.tsx
@@ -67,7 +67,7 @@ export const DestinationTypeSelection = () => {
? 'grid-cols-3'
: 'grid-cols-2',
'[&>button:first-of-type]:rounded-none [&>button:last-of-type]:rounded-none',
- '[&>button:first-of-type]:!rounded-l-lg [&>button:last-of-type]:!rounded-r-lg'
+ '[&>button:first-of-type]:rounded-l-lg! [&>button:last-of-type]:rounded-r-lg!'
)}
>
{((!editMode && infrastructureReadReplicas) ||
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/ReadReplicaForm/index.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/ReadReplicaForm/index.tsx
index d68ef5f64d7..cf56bea9007 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/ReadReplicaForm/index.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/ReadReplicaForm/index.tsx
@@ -96,7 +96,7 @@ export const ReadReplicaForm = ({ onSuccess, onClose }: ReadReplicaFormProps) =>
<div className="flex gap-x-3 items-center">
<img
alt="region icon"
- className="w-5 rounded-sm"
+ className="w-5 rounded-xs"
src={`${BASE_PATH}/img/regions/${region.region}.svg`}
/>
<p className="flex items-center gap-x-2">
@@ -112,7 +112,7 @@ export const ReadReplicaForm = ({ onSuccess, onClose }: ReadReplicaFormProps) =>
</Select_Shadcn_>
</FormItemLayout>
</SheetSection>
- <SheetFooter className="!justify-between">
+ <SheetFooter className="justify-between!">
<div className="flex items-center gap-x-4">
<InfoIcon className="h-5 w-5" />
<p className="text-sm">
diff --git a/apps/studio/components/interfaces/Database/Replication/EnableReplicationCallout.tsx b/apps/studio/components/interfaces/Database/Replication/EnableReplicationCallout.tsx
index f71c1f78eab..6a3f3d0c17e 100644
--- a/apps/studio/components/interfaces/Database/Replication/EnableReplicationCallout.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/EnableReplicationCallout.tsx
@@ -53,17 +53,17 @@ const EnableReplicationModal = () => {
<DialogTitle>Enable external replication</DialogTitle>
</DialogHeader>
<DialogSectionSeparator />
- <DialogSection className="flex flex-col gap-y-2 !p-0">
+ <DialogSection className="flex flex-col gap-y-2 p-0!">
<Admonition
type="warning"
className="rounded-none border-0"
title="Replication is currently in Alpha"
>
- <p className="text-sm !leading-normal">
+ <p className="text-sm leading-normal!">
This feature is in active development and may change as we gather feedback.
Availability and behavior can evolve while in Alpha.
</p>
- <p className="text-sm !leading-normal">
+ <p className="text-sm leading-normal!">
Pricing has not been finalized yet. You can enable replication now; we'll announce
pricing later and notify you before any charges apply.
</p>
diff --git a/apps/studio/components/interfaces/Database/Replication/ErrorDetailsDialog.tsx b/apps/studio/components/interfaces/Database/Replication/ErrorDetailsDialog.tsx
index 2281e5d5340..072b21f0192 100644
--- a/apps/studio/components/interfaces/Database/Replication/ErrorDetailsDialog.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/ErrorDetailsDialog.tsx
@@ -36,7 +36,7 @@ export const ErrorDetailsDialog = ({
</DialogTitle>
</DialogHeader>
<DialogSectionSeparator />
- <DialogSection className="!p-0">
+ <DialogSection className="p-0!">
<div className="px-4 py-3">
<p className="text-sm text-foreground-light">
The following error occurred during replication:
@@ -50,7 +50,7 @@ export const ErrorDetailsDialog = ({
)}
language="bash"
value={reason}
- className="[&_code]:text-xs [&_code]:text-foreground [&_span]:!text-foreground"
+ className="[&_code]:text-xs [&_code]:text-foreground [&_span]:text-foreground!"
/>
{solution && (
<div className="px-4 py-3">
diff --git a/apps/studio/components/interfaces/Database/Replication/ReadReplicas/ReadReplicaDetails.tsx b/apps/studio/components/interfaces/Database/Replication/ReadReplicas/ReadReplicaDetails.tsx
index 1a0035403db..f6b43c32a52 100644
--- a/apps/studio/components/interfaces/Database/Replication/ReadReplicas/ReadReplicaDetails.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/ReadReplicas/ReadReplicaDetails.tsx
@@ -154,7 +154,7 @@ export const ReadReplicaDetails = () => {
icon={
<img
alt="region icon"
- className="w-5 rounded-sm"
+ className="w-5 rounded-xs"
src={`${BASE_PATH}/img/regions/${region ?? ''}.svg`}
/>
}
diff --git a/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Edges.tsx b/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Edges.tsx
index 8bfc36c8697..299cced7593 100644
--- a/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Edges.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Edges.tsx
@@ -65,7 +65,7 @@ export const SmoothstepEdge = ({
{isFailed && (
<EdgeLabelRenderer>
<div
- className={cn('bg-surface-100 p-1 rounded absolute nodrag nopan border')}
+ className={cn('bg-surface-100 p-1 rounded-sm absolute nodrag nopan border')}
style={{
transform: `translate(-50%, -50%) translate(${targetX - 30}px,${targetY}px)`,
}}
@@ -81,7 +81,7 @@ export const SmoothstepEdge = ({
<TooltipTrigger asChild>
<div
className={cn(
- 'bg-surface-100 py-1 rounded absolute nodrag nopan border',
+ 'bg-surface-100 py-1 rounded-sm absolute nodrag nopan border',
isLoading || isComingUp ? 'px-1' : 'px-1.5'
)}
style={{
diff --git a/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Nodes.tsx b/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Nodes.tsx
index d8f275edc99..4438bcb2242 100644
--- a/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Nodes.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Nodes.tsx
@@ -33,7 +33,7 @@ const NodeContainer = ({ className, children }: PropsWithChildren<{ className?:
<div
style={{ width: NODE_WIDTH / 2 + 55 }}
className={cn(
- 'flex items-start justify-between p-3 rounded bg-surface-100 border border-default',
+ 'flex items-start justify-between p-3 rounded-sm bg-surface-100 border border-default',
className
)}
>
@@ -65,7 +65,7 @@ export const PrimaryDatabaseNode = () => {
{!!project && (
<img
alt="region icon"
- className="w-8 rounded-sm mt-0.5"
+ className="w-8 rounded-xs mt-0.5"
src={`${BASE_PATH}/img/regions/${project?.region}.svg`}
/>
)}
diff --git a/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/index.tsx b/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/index.tsx
index 0a9045b7c1b..d18ef483d36 100644
--- a/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/index.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/index.tsx
@@ -84,7 +84,7 @@ const ReplicationDiagramContent = () => {
source: projectRef,
target: x.identifier,
type: 'smoothstep',
- className: '!cursor-default',
+ className: 'cursor-default!',
animated: isReplicating,
style: {
opacity: isReplicating ? 1 : 0.4,
@@ -119,7 +119,7 @@ const ReplicationDiagramContent = () => {
source: projectRef,
target: x.id.toString(),
type: 'smoothstep',
- className: '!cursor-default',
+ className: 'cursor-default!',
animated: isReplicating,
style: {
opacity: isReplicating ? 1 : 0.4,
diff --git a/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/ReplicationPipelineStatus.tsx b/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/ReplicationPipelineStatus.tsx
index 7f9802d2928..caa5c9777bf 100644
--- a/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/ReplicationPipelineStatus.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/ReplicationPipelineStatus.tsx
@@ -329,8 +329,8 @@ export const ReplicationPipelineStatus = () => {
{(isPipelineLoading || isStatusLoading) && (
<div className="space-y-3">
<div className="flex items-center gap-x-3">
- <div className="h-6 w-40 rounded bg-surface-200" />
- <div className="h-5 w-24 rounded bg-surface-200" />
+ <div className="h-6 w-40 rounded-sm bg-surface-200" />
+ <div className="h-5 w-24 rounded-sm bg-surface-200" />
</div>
<GenericSkeletonLoader />
</div>
@@ -369,7 +369,7 @@ export const ReplicationPipelineStatus = () => {
reconciling with the overall pipeline.
</span>
</div>
- <div className="rounded border border-default/50 bg-surface-200/40">
+ <div className="rounded-sm border border-default/50 bg-surface-200/40">
<ul className="divide-y divide-default/40">
{tablesWithLag.map((table) => (
<li key={`${table.table_id}-${table.table_name}`} className="px-3 py-2">
@@ -414,7 +414,7 @@ export const ReplicationPipelineStatus = () => {
<Button
size="tiny"
type="default"
- className="rounded-r-none hover:z-[2]"
+ className="rounded-r-none hover:z-2"
icon={<RotateCcw />}
disabled={isAnyRestartInProgress || showDisabledState || isPipelineError}
loading={isAnyRestartInProgress}
@@ -430,7 +430,7 @@ export const ReplicationPipelineStatus = () => {
<Button
type="default"
icon={<ChevronDown />}
- className="w-7 rounded-l-none -ml-[1px]"
+ className="w-7 rounded-l-none -ml-px"
disabled={showDisabledState || isPipelineError}
/>
</DropdownMenuTrigger>
diff --git a/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/SlotLagMetrics.tsx b/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/SlotLagMetrics.tsx
index fac788ff165..52698112996 100644
--- a/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/SlotLagMetrics.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/SlotLagMetrics.tsx
@@ -98,7 +98,7 @@ export const SlotLagMetricsList = ({
<button
type="button"
aria-label={`What is ${label}`}
- className="inline-flex h-4 w-4 items-center justify-center rounded-full bg-surface-200 text-foreground-lighter transition-colors hover:bg-surface-300 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-foreground-lighter"
+ className="inline-flex h-4 w-4 items-center justify-center rounded-full bg-surface-200 text-foreground-lighter transition-colors hover:bg-surface-300 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-foreground-lighter"
>
<Info size={12} />
</button>
diff --git a/apps/studio/components/interfaces/Database/Replication/UpdateVersionModal.tsx b/apps/studio/components/interfaces/Database/Replication/UpdateVersionModal.tsx
index 22136bc5644..62fccf8478a 100644
--- a/apps/studio/components/interfaces/Database/Replication/UpdateVersionModal.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/UpdateVersionModal.tsx
@@ -97,7 +97,7 @@ export const UpdateVersionModal = ({
size="small"
visible={visible}
title="Update pipeline image"
- className="!p-0"
+ className="p-0!"
confirmLabel={confirmLabel ?? (isStopped ? 'Update image' : 'Update and restart')}
confirmLabelLoading={confirmLabelLoading}
onCancel={onClose}
@@ -119,7 +119,7 @@ export const UpdateVersionModal = ({
<Collapsible_Shadcn_ className="px-5 py-3 group">
<CollapsibleTrigger_Shadcn_ className="w-full flex items-center justify-between text-sm text-foreground-light">
<p>View version update details</p>
- <ChevronDown size={14} className="group-data-[state=open]:-rotate-180 transition" />
+ <ChevronDown size={14} className="group-data-open:-rotate-180 transition" />
</CollapsibleTrigger_Shadcn_>
<CollapsibleContent_Shadcn_>
<div className="flex flex-col gap-y-2 mt-2 pb-2">
diff --git a/apps/studio/components/interfaces/Database/RestoreToNewProject/PreviousRestoreItem.tsx b/apps/studio/components/interfaces/Database/RestoreToNewProject/PreviousRestoreItem.tsx
index b72e069e918..d293925eee4 100644
--- a/apps/studio/components/interfaces/Database/RestoreToNewProject/PreviousRestoreItem.tsx
+++ b/apps/studio/components/interfaces/Database/RestoreToNewProject/PreviousRestoreItem.tsx
@@ -15,7 +15,7 @@ export const PreviousRestoreItem = ({ clone }: { clone: CloneStatus['clones'][nu
</div>
<div>
<TimestampInfo
- className="text-left !text-sm font-mono tracking-tight text-foreground-lighter"
+ className="text-left text-sm! font-mono tracking-tight text-foreground-lighter"
displayAs="utc"
utcTimestamp={clone.inserted_at ?? ''}
labelFormat="DD MMM YYYY HH:mm:ss (ZZ)"
@@ -35,7 +35,7 @@ export const PreviousRestoreItem = ({ clone }: { clone: CloneStatus['clones'][nu
</div>
<div>
<TimestampInfo
- className="text-left !text-sm font-mono tracking-tight text-foreground-lighter"
+ className="text-left text-sm! font-mono tracking-tight text-foreground-lighter"
displayAs="utc"
utcTimestamp={clone.inserted_at ?? ''}
labelFormat="DD MMM YYYY HH:mm:ss (ZZ)"
diff --git a/apps/studio/components/interfaces/Database/Roles/RoleRow.tsx b/apps/studio/components/interfaces/Database/Roles/RoleRow.tsx
index 593ed9a0b8b..f695ef50114 100644
--- a/apps/studio/components/interfaces/Database/Roles/RoleRow.tsx
+++ b/apps/studio/components/interfaces/Database/Roles/RoleRow.tsx
@@ -103,17 +103,17 @@ export const RoleRow = ({ role, disabled = false, onSelectDelete }: RoleRowProps
'data-open:border-strong',
'data-open:pb-px col-span-12 mx-auto',
'-space-y-px overflow-hidden',
- 'border border-t-0 first:border-t first:!mt-0 hover:border-t hover:-mt-[1px] shadow transition hover:z-50',
+ 'border border-t-0 first:border-t first:mt-0! hover:border-t hover:-mt-px shadow-sm transition hover:z-50',
'first:rounded-tl first:rounded-tr',
'last:rounded-bl last:rounded-br'
)}
>
- <div className={cn('flex items-center relative', !disabled && 'pr-[--card-padding-x]')}>
+ <div className={cn('flex items-center relative', !disabled && 'pr-(--card-padding-x)')}>
<Collapsible.Trigger asChild>
<button
id={`collapsible-trigger-${role.id}`}
type="button"
- className="group flex w-full items-center justify-between rounded py-3 px-card text-foreground"
+ className="group flex w-full items-center justify-between rounded-sm py-3 px-card text-foreground"
onClick={(event) => {
event.preventDefault()
event.stopPropagation()
diff --git a/apps/studio/components/interfaces/Database/Roles/RoleRowSkeleton.tsx b/apps/studio/components/interfaces/Database/Roles/RoleRowSkeleton.tsx
index 386d40df4fa..6f7d8a2d3f1 100644
--- a/apps/studio/components/interfaces/Database/Roles/RoleRowSkeleton.tsx
+++ b/apps/studio/components/interfaces/Database/Roles/RoleRowSkeleton.tsx
@@ -16,12 +16,12 @@ export const RoleRowSkeleton = ({ index }: RoleRowSkeletonProps) => {
'data-open:border-strong',
'data-open:pb-px col-span-12 mx-auto',
'-space-y-px overflow-hidden',
- 'border border-t-0 first:border-t first:!mt-0 shadow transition',
+ 'border border-t-0 first:border-t first:mt-0! shadow-sm transition',
'first:rounded-tl first:rounded-tr',
'last:rounded-bl last:rounded-br',
])}
>
- <div className="flex w-full items-center justify-between rounded py-3 px-6 text-foreground">
+ <div className="flex w-full items-center justify-between rounded-sm py-3 px-6 text-foreground">
<div className="flex items-start space-x-3">
<ChevronUp
id="collapsible-trigger"
diff --git a/apps/studio/components/interfaces/Database/Roles/RolesList.tsx b/apps/studio/components/interfaces/Database/Roles/RolesList.tsx
index 68aca3aa624..031e578b0b5 100644
--- a/apps/studio/components/interfaces/Database/Roles/RolesList.tsx
+++ b/apps/studio/components/interfaces/Database/Roles/RolesList.tsx
@@ -138,7 +138,7 @@ export const RolesList = () => {
>
All roles
</button>
- <div className="h-full w-[1px] border-r border-strong"></div>
+ <div className="h-full w-px border-r border-strong"></div>
<button
className={cn(
'text-xs w-[80px] h-full text-center rounded-r-full flex items-center justify-center transition',
diff --git a/apps/studio/components/interfaces/Database/Schemas/DefaultEdge.tsx b/apps/studio/components/interfaces/Database/Schemas/DefaultEdge.tsx
index 24fb7e0889c..692a98db907 100644
--- a/apps/studio/components/interfaces/Database/Schemas/DefaultEdge.tsx
+++ b/apps/studio/components/interfaces/Database/Schemas/DefaultEdge.tsx
@@ -53,7 +53,7 @@ export const DefaultEdge = ({
<BaseEdge
id={id}
path={edgePath}
- className={cn(selected ? '!stroke-brand' : isDownloading ? '!stroke-black' : undefined)}
+ className={cn(selected ? 'stroke-brand!' : isDownloading ? 'stroke-black!' : undefined)}
stroke="#000000"
{...props}
/>
diff --git a/apps/studio/components/interfaces/Database/Schemas/SchemaGraph.tsx b/apps/studio/components/interfaces/Database/Schemas/SchemaGraph.tsx
index cedb6d69ad0..5e1e0710da6 100644
--- a/apps/studio/components/interfaces/Database/Schemas/SchemaGraph.tsx
+++ b/apps/studio/components/interfaces/Database/Schemas/SchemaGraph.tsx
@@ -253,9 +253,9 @@ export const SchemaGraph = () => {
return (
<>
- <div className="flex items-center justify-between p-4 border-b border-muted h-[var(--header-height)]">
+ <div className="flex items-center justify-between p-4 border-b border-muted h-(--header-height)">
{isLoadingSchemas && (
- <div className="h-[34px] w-[260px] bg-foreground-lighter rounded shimmering-loader" />
+ <div className="h-[34px] w-[260px] bg-foreground-lighter rounded-sm shimmering-loader" />
)}
{isErrorSchemas && <AlertError error={errorSchemas} subject="Failed to retrieve schemas" />}
@@ -441,7 +441,7 @@ export const SchemaGraph = () => {
>
<Background
gap={16}
- className="[&>*]:stroke-foreground-muted opacity-[25%]"
+ className="*:stroke-foreground-muted opacity-25"
variant={BackgroundVariant.Dots}
color={'inherit'}
/>
@@ -450,7 +450,7 @@ export const SchemaGraph = () => {
zoomable
nodeColor={miniMapNodeColor}
maskColor={miniMapMaskColor}
- className="border rounded-md shadow-sm"
+ className="border rounded-md shadow-xs"
/>
<SchemaGraphLegend />
</ReactFlow>
diff --git a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx
index 7bacc3629c0..1d296f1f116 100644
--- a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx
+++ b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx
@@ -50,7 +50,7 @@ export const TableNode = ({
}: NodeProps<Node<TableNodeData>> & { placeholder?: boolean }) => {
// Important styles is a nasty hack to use Handles (required for edges calculations), but do not show them in the UI.
// ref: https://github.com/wbkd/react-flow/discussions/2698
- const hiddenNodeConnector = '!h-px !w-px !min-w-0 !min-h-0 !cursor-grab !border-0 !opacity-0'
+ const hiddenNodeConnector = 'h-px! w-px! min-w-0! min-h-0! cursor-grab! border-0! opacity-0!'
const schemaGraphContext = useSchemaGraphContext()
const { data: project } = useSelectedProjectQuery()
const { can: canUpdateColumns } = useAsyncCheckPermissions(
@@ -85,7 +85,7 @@ export const TableNode = ({
) : (
<div
className={cn(
- 'border-[0.5px] overflow-hidden rounded-[4px] shadow-sm',
+ 'border-[0.5px] overflow-hidden rounded-[4px] shadow-xs',
hasEdgesSelected ? 'outline outline-1 outline-brand' : undefined
)}
style={{ width: TABLE_NODE_WIDTH / 2 }}
@@ -118,7 +118,10 @@ export const TableNode = ({
{!placeholder && (
<DropdownMenu>
<DropdownMenuTrigger asChild>
- <Button type="text" className="px-0 w-[16px] h-[16px] rounded nodrag nopan">
+ <Button
+ type="text"
+ className="px-0 w-[16px] h-[16px] rounded-sm nodrag nopan"
+ >
<MoreVertical size={10} />
<span className="sr-only">{data.name} actions</span>
</Button>
@@ -309,7 +312,7 @@ export const TableNode = ({
<Button
type="text"
// Use opacity to hide the button so that it remains accessible (users can tab to it)
- className="opacity-0 focus:opacity-100 group-hover:opacity-100 data-[state=open]:opacity-100 absolute right-0 top-1/2 -translate-y-1/2 px-0 mr-1 w-[16px] h-[16px] rounded"
+ className="opacity-0 focus:opacity-100 group-hover:opacity-100 data-open:opacity-100 absolute right-0 top-1/2 -translate-y-1/2 px-0 mr-1 w-[16px] h-[16px] rounded-sm"
>
<MoreVertical size={10} />
<span className="sr-only">
diff --git a/apps/studio/components/interfaces/Database/Tables/ColumnList.tsx b/apps/studio/components/interfaces/Database/Tables/ColumnList.tsx
index c986e0639cc..9b3bdacfe2d 100644
--- a/apps/studio/components/interfaces/Database/Tables/ColumnList.tsx
+++ b/apps/studio/components/interfaces/Database/Tables/ColumnList.tsx
@@ -190,7 +190,7 @@ export const ColumnList = ({
<Table>
<TableHeader>
<TableRow>
- <TableHead className="w-0 !px-0" />
+ <TableHead className="w-0 px-0!" />
<TableHead
className={cn(columns.length === 0 ? 'text-foreground-muted' : undefined)}
@@ -312,7 +312,7 @@ export const ColumnList = ({
return (
<TableRow key={column.name}>
- <TableCell className="w-0 !pl-5 !pr-1">
+ <TableCell className="w-0 pl-5! pr-1!">
<Tooltip>
<TooltipTrigger asChild className="cursor-default" aria-label={typeLabel}>
<div className="flex w-4 justify-center">{TypeIcon}</div>
diff --git a/apps/studio/components/interfaces/Database/Tables/TableList.tsx b/apps/studio/components/interfaces/Database/Tables/TableList.tsx
index f964e11294b..94104c9604d 100644
--- a/apps/studio/components/interfaces/Database/Tables/TableList.tsx
+++ b/apps/studio/components/interfaces/Database/Tables/TableList.tsx
@@ -306,7 +306,7 @@ export const TableList = ({
<Table>
<TableHeader>
<TableRow>
- <TableHead key="icon" className="w-0 !px-0" />
+ <TableHead key="icon" className="w-0 px-0!" />
<TableHead key="name" className="max-w-[160px] sm:max-w-[280px]">
Name
</TableHead>
@@ -367,7 +367,7 @@ export const TableList = ({
{entities.length > 0 &&
entities.map((x) => (
<TableRow key={x.id}>
- <TableCell className="w-0 !pl-5 !pr-1">
+ <TableCell className="w-0 pl-5! pr-1!">
<Tooltip>
<TooltipTrigger asChild className="cursor-default">
<div className="flex w-4 justify-center">
diff --git a/apps/studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsx b/apps/studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsx
index dd09e33c84b..6587ec0ec00 100644
--- a/apps/studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsx
+++ b/apps/studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsx
@@ -123,7 +123,7 @@ export interface SchemaFunctionGroupProps {
const SchemaFunctionGroup = ({ schema, functions, selectFunction }: SchemaFunctionGroupProps) => {
return (
<div className="space-y-4">
- <div className="sticky top-0 flex items-center space-x-1 px-6 backdrop-blur backdrop-filter">
+ <div className="sticky top-0 flex items-center space-x-1 px-6 backdrop-blur-sm backdrop-filter">
<h5 className="text-foreground-light">schema</h5>
<h5>{schema}</h5>
</div>
@@ -151,12 +151,12 @@ export interface FunctionProps {
const Function = ({ id, completeStatement, name, onClick }: FunctionProps) => {
return (
- <div className="cursor-pointer rounded p-3 px-6 hover:bg-studio" onClick={() => onClick(id)}>
+ <div className="cursor-pointer rounded-sm p-3 px-6 hover:bg-studio" onClick={() => onClick(id)}>
<Accordion_Shadcn_ type="single" collapsible>
<AccordionItem_Shadcn_ value="definition" className="border-none">
<div className="flex items-center justify-between space-x-3">
<div className="flex items-center space-x-3">
- <div className="flex items-center justify-center rounded bg-foreground p-1 text-background">
+ <div className="flex items-center justify-center rounded-sm bg-foreground p-1 text-background">
<Terminal strokeWidth={2} size={14} />
</div>
<p className="mb-0 text-sm">{name}</p>
diff --git a/apps/studio/components/interfaces/Database/Triggers/TriggerSheet.tsx b/apps/studio/components/interfaces/Database/Triggers/TriggerSheet.tsx
index c2b449357b6..1d3caaadbdf 100644
--- a/apps/studio/components/interfaces/Database/Triggers/TriggerSheet.tsx
+++ b/apps/studio/components/interfaces/Database/Triggers/TriggerSheet.tsx
@@ -418,8 +418,8 @@ export const TriggerSheet = ({
<button
type="button"
className={cn(
- 'relative w-full rounded border border-default',
- 'bg-surface-200 px-5 py-1 shadow-sm transition-all',
+ 'relative w-full rounded-sm border border-default',
+ 'bg-surface-200 px-5 py-1 shadow-xs transition-all',
'hover:border-strong hover:bg-overlay-hover'
)}
onClick={() => setShowFunctionSelector(true)}
@@ -434,11 +434,11 @@ export const TriggerSheet = ({
className={cn(
'relative w-full flex items-center justify-between',
'space-x-3 px-5 py-4 border border-default',
- 'rounded shadow-sm transition-shadow'
+ 'rounded-sm shadow-xs transition-shadow'
)}
>
<div className="flex items-center gap-2">
- <div className="flex h-6 w-6 items-center justify-center rounded bg-foreground text-background focus-within:bg-foreground/10">
+ <div className="flex h-6 w-6 items-center justify-center rounded-sm bg-foreground text-background focus-within:bg-foreground/10">
<Terminal size="18" strokeWidth={2} width={14} />
</div>
<p>
diff --git a/apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx b/apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx
index 044cb07d724..76c075fbf7e 100644
--- a/apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx
@@ -452,7 +452,7 @@ export function DiskManagementForm() {
open={advancedSettingsOpen}
onOpenChange={() => setAdvancedSettingsOpenState((prev) => !prev)}
>
- <CollapsibleTrigger_Shadcn_ className="px-card py-3 w-full border flex items-center gap-6 rounded-t data-[state=closed]:rounded-b group justify-between">
+ <CollapsibleTrigger_Shadcn_ className="px-card py-3 w-full border flex items-center gap-6 rounded-t data-closed:rounded-b group justify-between">
<div className="flex flex-col items-start">
<span className="text-sm text-foreground">Advanced disk settings</span>
<span className="text-sm text-foreground-light text-left">
@@ -462,14 +462,14 @@ export function DiskManagementForm() {
</div>
<ChevronRight
size={16}
- className="text-foreground-light transition-all group-data-[state=open]:rotate-90"
+ className="text-foreground-light transition-all group-data-open:rotate-90"
strokeWidth={1}
/>
</CollapsibleTrigger_Shadcn_>
<CollapsibleContent_Shadcn_
className={cn(
'transition-all rounded-b',
- 'data-[state=open]:border data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down'
+ 'data-open:border data-closed:animate-collapsible-up data-open:animate-collapsible-down'
)}
>
<div className="flex flex-col gap-y-8 py-8">
diff --git a/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.tsx b/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.tsx
index 772de6442b4..142cf781328 100644
--- a/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.tsx
@@ -125,7 +125,7 @@ export const DiskManagementReviewAndSubmitDialog = ({
{(hasComputeChanges || anyBillableDiskChange) && (
<>
<div className="relative flex border-b">
- <div className="flex-1 flex flex-col items-center gap-2 py-6 px-4 border-r bg-gradient-to-t from-[hsl(var(--background-surface-100))] to-transparent">
+ <div className="flex-1 flex flex-col items-center gap-2 py-6 px-4 border-r bg-linear-to-t from-[hsl(var(--background-surface-100))] to-transparent">
<span className="text-xs uppercase tracking-widest font-mono text-foreground-lighter">
Before
</span>
@@ -139,11 +139,11 @@ export const DiskManagementReviewAndSubmitDialog = ({
<div className="animate-badge-pulse absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-9 h-9 rounded-full bg-dash-sidebar border border-brand-500 flex items-center justify-center z-10 overflow-hidden">
<span className="absolute inset-0 bg-brand/10 rounded-full" />
- <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-gradient-to-br from-transparent via-brand/20 to-transparent blur-md" />
+ <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-linear-to-br from-transparent via-brand/20 to-transparent blur-md" />
<ArrowRight size={16} className="text-brand-600 relative z-10" strokeWidth={2.5} />
</div>
- <div className="flex-1 flex flex-col items-center gap-2 py-6 px-4 bg-gradient-to-t from-[hsl(var(--background-surface-100))] to-transparent">
+ <div className="flex-1 flex flex-col items-center gap-2 py-6 px-4 bg-linear-to-t from-[hsl(var(--background-surface-100))] to-transparent">
<span className="text-xs uppercase tracking-widest font-mono text-foreground-lighter">
After
</span>
diff --git a/apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx b/apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx
index 51f3f239dc5..aca13caeae1 100644
--- a/apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx
@@ -248,7 +248,7 @@ export function ComputeSizeField({ form, disabled }: ComputeSizeFieldProps) {
</div>
)}
<div className="w-full flex flex-col gap-3 justify-between">
- <div className="relative px-3 opacity-50 group-data-[state=checked]:opacity-100 flex justify-between">
+ <div className="relative px-3 opacity-50 group-data-checked:opacity-100 flex justify-between">
<ComputeBadge
className="inline-flex font-semibold"
infraComputeSize={compute.name as InfraInstanceSize}
@@ -267,7 +267,7 @@ export function ComputeSizeField({ form, disabled }: ComputeSizeFieldProps) {
>
${price}
</span>
- <span className="text-foreground-light translate-y-[1px]">
+ <span className="text-foreground-light translate-y-px">
{' '}
/{' '}
{compute.price_interval === 'monthly'
diff --git a/apps/studio/components/interfaces/DiskManagement/fields/StorageTypeField.tsx b/apps/studio/components/interfaces/DiskManagement/fields/StorageTypeField.tsx
index 32f29c37023..fc376c2a43e 100644
--- a/apps/studio/components/interfaces/DiskManagement/fields/StorageTypeField.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/fields/StorageTypeField.tsx
@@ -107,7 +107,7 @@ export function StorageTypeField({ form, disableInput }: StorageTypeFieldProps)
key={item.type}
disabled={disableInput || disableIo2}
value={item.type}
- className={cn(disableIo2 && '!pointer-events-auto')}
+ className={cn(disableIo2 && 'pointer-events-auto!')}
>
<div className="flex flex-col gap-0 items-start">
<div className="flex gap-2 items-center">
diff --git a/apps/studio/components/interfaces/DiskManagement/ui/BillingChangeBadge.tsx b/apps/studio/components/interfaces/DiskManagement/ui/BillingChangeBadge.tsx
index a8645815b2c..61b1e5bc135 100644
--- a/apps/studio/components/interfaces/DiskManagement/ui/BillingChangeBadge.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/ui/BillingChangeBadge.tsx
@@ -33,7 +33,7 @@ export const BillingChangeBadge = ({
<Badge
variant="default"
className={cn(
- free ? `bg-violet-200/100 border-violet-900` : 'bg-alternative/100',
+ free ? `bg-violet-200 border-violet-900` : 'bg-alternative',
`text-warning`,
className
)}
diff --git a/apps/studio/components/interfaces/DiskManagement/ui/DiskCountdownRadial.tsx b/apps/studio/components/interfaces/DiskManagement/ui/DiskCountdownRadial.tsx
index 3a5e8772390..053b28352e9 100644
--- a/apps/studio/components/interfaces/DiskManagement/ui/DiskCountdownRadial.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/ui/DiskCountdownRadial.tsx
@@ -46,7 +46,7 @@ export function DiskCountdownRadial() {
exit={{ opacity: 0, height: 0 }}
transition={{ duration: 0.2 }}
>
- <Card className="px-2 rounded bg-surface-100">
+ <Card className="px-2 rounded-sm bg-surface-100">
<CardContent className="py-3 flex gap-3 px-3 items-start">
<CountdownTimerRadial progress={progressPercentage} />
<div className="flex flex-col gap-2">
diff --git a/apps/studio/components/interfaces/DiskManagement/ui/DiskManagementReadReplicas.tsx b/apps/studio/components/interfaces/DiskManagement/ui/DiskManagementReadReplicas.tsx
index 6e1acdac2e1..e49082635fe 100644
--- a/apps/studio/components/interfaces/DiskManagement/ui/DiskManagementReadReplicas.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/ui/DiskManagementReadReplicas.tsx
@@ -79,10 +79,10 @@ export const DiskManagementDiskSizeReadReplicas = ({
{/* Hide for now until we have the utilization for each RR specifically */}
{/* <Collapsible open={isOpen} onOpenChange={setIsOpen}>
<CollapsibleTrigger asChild>
- <div className="flex items-center cursor-pointer rounded gap-2 mt-3 text-foreground-light hover:text-foreground data-[state=open]:text-foreground group">
+ <div className="flex items-center cursor-pointer rounded gap-2 mt-3 text-foreground-light hover:text-foreground data-open:text-foreground group">
<h3 className="text-sm">Read replica disk size information</h3>
<ChevronDown
- className={`h-4 w-4 transition-transform duration-200 group-data-[state=open]:transform group-data-[state=open]:rotate-180 group-data-[state=open]:text-foreground`}
+ className={`h-4 w-4 transition-transform duration-200 group-data-open:transform group-data-open:rotate-180 group-data-open:text-foreground`}
/>
</div>
</CollapsibleTrigger>
diff --git a/apps/studio/components/interfaces/DiskManagement/ui/DiskSpaceBar.tsx b/apps/studio/components/interfaces/DiskManagement/ui/DiskSpaceBar.tsx
index 5dea41b3513..e45e70dcbd3 100644
--- a/apps/studio/components/interfaces/DiskManagement/ui/DiskSpaceBar.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/ui/DiskSpaceBar.tsx
@@ -84,7 +84,7 @@ export const DiskSpaceBar = ({ form }: DiskSpaceBarProps) => {
<span className="text-foreground-light text-sm font-mono flex items-center gap-2">
{usedSizeTotal.toFixed(2)}
<span>GB used of </span>
- <span className="text-foreground font-semibold -mt-[2px]">
+ <span className="text-foreground font-semibold mt-[-2px]">
<MotionNumber value={newTotalSize} style={{ lineHeight: 0.8 }} className="font-mono" />
</span>{' '}
GB
@@ -93,7 +93,7 @@ export const DiskSpaceBar = ({ form }: DiskSpaceBarProps) => {
<div className="relative">
<div
className={cn(
- 'h-[35px] relative border rounded-sm w-full transition overflow-visible',
+ 'h-[35px] relative border rounded-xs w-full transition overflow-visible',
showNewSize ? 'bg-selection border border-brand' : 'bg-surface-300'
)}
>
@@ -105,7 +105,7 @@ export const DiskSpaceBar = ({ form }: DiskSpaceBarProps) => {
exit={{ rotateY: -90, zIndex: 2 }}
transition={{ duration: 0.3 }}
style={{ transformOrigin: 'left center', backfaceVisibility: 'hidden' }}
- className="absolute inset-0 rounded-sm overflow-hidden"
+ className="absolute inset-0 rounded-xs overflow-hidden"
>
<div className="h-full flex">
<div
@@ -175,15 +175,15 @@ export const DiskSpaceBar = ({ form }: DiskSpaceBarProps) => {
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: 10 }}
transition={{ duration: 0.1 }}
- className="absolute h-8 w-full -mx-[2px]"
+ className="absolute h-8 w-full mx-[-2px]"
>
<div
- className="absolute top-0 -left-0 h-full flex items-center transition-all duration-500 ease-in-out"
+ className="absolute top-0 left-0 h-full flex items-center transition-all duration-500 ease-in-out"
style={{ left: `${showNewSize ? newResizePercentage : resizePercentage}%` }}
>
<Tooltip>
<TooltipTrigger asChild>
- <div className="absolute right-full bottom-0 border mr-2 px-2 py-1 bg-surface-400 rounded text-xs text-foreground-light whitespace-nowrap flex items-center gap-x-1">
+ <div className="absolute right-full bottom-0 border mr-2 px-2 py-1 bg-surface-400 rounded-sm text-xs text-foreground-light whitespace-nowrap flex items-center gap-x-1">
Autoscaling <Info size={12} />
</div>
</TooltipTrigger>
diff --git a/apps/studio/components/interfaces/Docs/PublicSchemaNotEnabledAlert.tsx b/apps/studio/components/interfaces/Docs/PublicSchemaNotEnabledAlert.tsx
index 2965fb7bb31..6b74ca9c27d 100644
--- a/apps/studio/components/interfaces/Docs/PublicSchemaNotEnabledAlert.tsx
+++ b/apps/studio/components/interfaces/Docs/PublicSchemaNotEnabledAlert.tsx
@@ -8,15 +8,15 @@ const PublicSchemaNotEnabledAlert = () => {
return (
<Admonition type="default">
- <p className="!mt-0 !mb-1.5">The public schema for this project is not exposed</p>
- <p className="!mt-0 !mb-1.5 text-foreground-light">
+ <p className="mt-0! mb-1.5!">The public schema for this project is not exposed</p>
+ <p className="mt-0! mb-1.5! text-foreground-light">
You will not be able to query tables and views in the public schema via supabase-js or HTTP
clients. Configure this behavior in your project's Data API settings.
</p>
<Button asChild type="default" className="mt-1">
<Link
href={`/project/${projectRef}/settings/api#postgrest-config`}
- className="!no-underline"
+ className="no-underline!"
>
View API settings
</Link>
diff --git a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.NodeRow.tsx b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.NodeRow.tsx
index 5c318d567e0..f29e61ce397 100644
--- a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.NodeRow.tsx
+++ b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.NodeRow.tsx
@@ -52,7 +52,7 @@ export function ExplainNodeRow({ node, depth, maxDuration }: ExplainNodeRowProps
onClick={() => canExpand && setIsExpanded(!isExpanded)}
disabled={!canExpand}
className={cn(
- 'flex items-center justify-center w-5 h-5 rounded border border-border-muted shrink-0',
+ 'flex items-center justify-center w-5 h-5 rounded-sm border border-border-muted shrink-0',
canExpand ? 'hover:bg-surface-200 cursor-pointer' : 'opacity-30 cursor-default'
)}
aria-label={isExpanded ? 'Collapse details' : 'Expand details'}
diff --git a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts
index a305512a8ae..39998919531 100644
--- a/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts
+++ b/apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts
@@ -173,7 +173,7 @@ export function getScanBarColor(operation: string): string {
}
// Default neutral color for other operations
- return 'bg-foreground/[0.06]'
+ return 'bg-foreground/6'
}
export function getScanBorderColor(operation: string): string {
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
index 029a114b350..cfc0423f80f 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
@@ -188,7 +188,7 @@ export const EdgeFunctionDetails = () => {
only by the legacy secret
</em>{' '}
in the{' '}
- <code className="text-code-inline !break-keep">
+ <code className="text-code-inline break-keep!">
Authorization
</code>{' '}
header. The <code className="text-code-inline">anon</code> key
@@ -281,8 +281,8 @@ export const EdgeFunctionDetails = () => {
value={code}
wrapperClassName="[&>div]:top-0 [&>div]:right-3 px-6"
className={cn(
- 'p-0 text-xs !mt-0 border-none ',
- showKey ? '[&>code]:break-all' : '[&>code]:break-words'
+ 'p-0 text-xs mt-0! border-none ',
+ showKey ? '[&>code]:break-all' : '[&>code]:wrap-break-word'
)}
language={tab.language}
wrapLines={false}
@@ -316,7 +316,7 @@ export const EdgeFunctionDetails = () => {
</PageSectionSummary>
</PageSectionMeta>
<PageSectionContent>
- <div className="rounded border bg-surface-100 px-6 py-4 drop-shadow-sm">
+ <div className="rounded-sm border bg-surface-100 px-6 py-4 drop-shadow-xs">
<div className="space-y-6">
<CommandRender
commands={[
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionTesterSheet.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionTesterSheet.tsx
index c5588bc0c4f..15325768331 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionTesterSheet.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionTesterSheet.tsx
@@ -239,7 +239,7 @@ export const EdgeFunctionTesterSheet = ({ visible, onClose }: EdgeFunctionTester
</div>
<div className="border rounded-md bg-surface-200">
{(type === 'headers' ? headerFields : queryParamFields).map((field, index) => (
- <div key={field.id} className="grid grid-cols-[1fr,1fr,32px] border-b last:border-b-0">
+ <div key={field.id} className="grid grid-cols-[1fr_1fr_32px] border-b last:border-b-0">
<FormField
control={form.control}
name={`${type}.${index}.key`}
@@ -250,7 +250,7 @@ export const EdgeFunctionTesterSheet = ({ visible, onClose }: EdgeFunctionTester
size="tiny"
placeholder="Enter key..."
disabled={isPending}
- className="h-auto py-2 font-mono rounded-none shadow-none bg-transparent border-l-0 border-r-1 border-t-0 border-b-0 border-border"
+ className="h-auto py-2 font-mono rounded-none shadow-none bg-transparent border-l-0 border-r border-t-0 border-b-0 border-border"
/>
</FormControl>
)}
@@ -414,7 +414,7 @@ export const EdgeFunctionTesterSheet = ({ visible, onClose }: EdgeFunctionTester
<CodeBlock
language="json"
hideLineNumbers
- className="rounded-md !border-none !px-4 !py-3 h-full"
+ className="rounded-md border-none! px-4! py-3! h-full"
value={prettifyJSON(response.body)}
/>
</TabsContent>
@@ -422,7 +422,7 @@ export const EdgeFunctionTesterSheet = ({ visible, onClose }: EdgeFunctionTester
<CodeBlock
language="json"
hideLineNumbers
- className="rounded-md !border-none !px-4 !py-3 h-full"
+ className="rounded-md border-none! px-4! py-3! h-full"
value={prettifyJSON(JSON.stringify(response.headers, null, 2))}
/>
</TabsContent>
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionInvocationsChart.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionInvocationsChart.tsx
index 2b578bb4f57..15258cb47ce 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionInvocationsChart.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionInvocationsChart.tsx
@@ -38,7 +38,7 @@ export const EdgeFunctionInvocationsChart = ({
return (
<div className="flex flex-col gap-1">
<div className="relative h-40 w-full overflow-visible">
- <ChartContainer config={INVOCATION_CHART_CONFIG} className="!aspect-auto !h-full !w-full">
+ <ChartContainer config={INVOCATION_CHART_CONFIG} className="aspect-auto! h-full! w-full!">
<RechartBarChart
data={chartData}
margin={{ top: 0, right: 0, left: 0, bottom: 0 }}
@@ -95,7 +95,7 @@ export const EdgeFunctionInvocationsChart = ({
</ChartContainer>
{updateAnnotation && (
<span
- className="pointer-events-none absolute bottom-0 z-10 flex h-6 w-6 -translate-x-1/2 translate-y-1/2 items-center justify-center rounded-full border border-foreground/20 bg-background text-foreground shadow-sm"
+ className="pointer-events-none absolute bottom-0 z-10 flex h-6 w-6 -translate-x-1/2 translate-y-1/2 items-center justify-center rounded-full border border-foreground/20 bg-background text-foreground shadow-xs"
style={{ left: `${updateAnnotation.position}%` }}
title={`Updated ${formatChartTimestamp(updateAnnotation.updatedAt, dateTimeFormat)}`}
>
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionInvocationsSection.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionInvocationsSection.tsx
index 9d1ccb66693..86699312c17 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionInvocationsSection.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionInvocationsSection.tsx
@@ -73,7 +73,7 @@ export const EdgeFunctionInvocationsSection = ({
<PageSectionContent>
<PageContainer size="full">
<div className="flex flex-col gap-5">
- <PageSectionMeta className="!items-center">
+ <PageSectionMeta className="items-center!">
<PageSectionSummary>
<div className="flex flex-wrap items-start gap-x-8 gap-y-4">
<ChartMetric
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionRecentErrors.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionRecentErrors.tsx
index 7d9cdc5c811..7253d00f01c 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionRecentErrors.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionRecentErrors.tsx
@@ -343,7 +343,7 @@ export const EdgeFunctionRecentErrors = ({
)}
<span
className={cn(
- 'flex-1 break-words whitespace-pre-wrap',
+ 'flex-1 wrap-break-word whitespace-pre-wrap',
isError ? 'text-destructive' : 'text-foreground-light'
)}
>
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx
index 1833ad8f8a8..7b45804ea2b 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx
@@ -89,7 +89,7 @@ export const EdgeFunctionRecentInvocations = ({
{statusCode ? (
<div
className={cn(
- 'flex items-center justify-center border px-1.5 py-0.5 rounded text-xs font-mono',
+ 'flex items-center justify-center border px-1.5 py-0.5 rounded-sm text-xs font-mono',
is2xx && 'text-brand border-brand bg-brand-300',
is4xx && 'text-warning border-warning bg-warning-300',
is5xx && 'text-destructive border-destructive bg-destructive-300',
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx
index c1faf35d075..7349d9768e7 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx
@@ -49,7 +49,7 @@ const EdgeFunctionSecret = ({ secret, onSelectEdit, onSelectDelete }: EdgeFuncti
</TableCell>
<TableCell>
<p className="max-w-96 truncate" title={secret.value}>
- <code className="text-code-inline !text-foreground-light">{secret.value}</code>
+ <code className="text-code-inline text-foreground-light!">{secret.value}</code>
</p>
</TableCell>
<TableCell>
@@ -58,7 +58,7 @@ const EdgeFunctionSecret = ({ secret, onSelectEdit, onSelectDelete }: EdgeFuncti
displayAs="utc"
utcTimestamp={secret.updated_at}
labelFormat="DD MMM YYYY HH:mm:ss (ZZ)"
- className="!text-sm text-foreground-light whitespace-nowrap"
+ className="text-sm! text-foreground-light whitespace-nowrap"
/>
) : (
'-'
@@ -101,7 +101,7 @@ const EdgeFunctionSecret = ({ secret, onSelectEdit, onSelectDelete }: EdgeFuncti
<DropdownMenuItem asChild>
<ButtonTooltip
type="text"
- icon={<Trash size={14} className="group-[&:not(:disabled)]:text-destructive" />}
+ icon={<Trash size={14} className="group-not-disabled:text-destructive" />}
className="w-full justify-start group text-inherit"
disabled={!canUpdateSecrets}
onClick={() => onSelectDelete()}
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EditSecretSheet.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EditSecretSheet.tsx
index add876a382f..aa755723aa7 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EditSecretSheet.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EditSecretSheet.tsx
@@ -80,7 +80,7 @@ export function EditSecretSheet({ secret, visible, onClose }: EditSecretSheetPro
return (
<Sheet open={visible} onOpenChange={handleOpenChange}>
- <SheetContent size="default" className={'!min-w-screen lg:!min-w-[600px] flex flex-col'}>
+ <SheetContent size="default" className={'min-w-screen! lg:min-w-[600px]! flex flex-col'}>
<SheetHeader className="py-3 flex flex-row gap-3 items-center">
<SheetTitle>Edit secret</SheetTitle>
</SheetHeader>
@@ -101,7 +101,7 @@ export function EditSecretSheet({ secret, visible, onClose }: EditSecretSheetPro
<Input_Shadcn_
{...field}
readOnly
- className="!text-foreground-light cursor-not-allowed"
+ className="text-foreground-light! cursor-not-allowed"
/>
</FormControl>
</FormItemLayout>
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
index b60bdfbf36b..4f3de2b77d5 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
@@ -68,7 +68,7 @@ export const EdgeFunctionsListItem = ({ function: item }: EdgeFunctionsListItemP
</TableCell>
<TableCell>
<div className="text-xs text-foreground-light flex gap-2 items-center truncate">
- <p title={functionUrl} className="font-mono truncate hidden md:inline max-w-[30rem]">
+ <p title={functionUrl} className="font-mono truncate hidden md:inline max-w-120">
{functionUrl}
</p>
<button
diff --git a/apps/studio/components/interfaces/Functions/FunctionsEmptyState.tsx b/apps/studio/components/interfaces/Functions/FunctionsEmptyState.tsx
index f9f0917beac..8f4f17cec61 100644
--- a/apps/studio/components/interfaces/Functions/FunctionsEmptyState.tsx
+++ b/apps/studio/components/interfaces/Functions/FunctionsEmptyState.tsx
@@ -169,7 +169,7 @@ export const FunctionsEmptyState = () => {
{templates.map((template) => (
<ResourceItem
key={template.name}
- media={<Code strokeWidth={1.5} size={16} className="-translate-y-[9px]" />}
+ media={<Code strokeWidth={1.5} size={16} className="translate-y-[-9px]" />}
onClick={() => {
sendEvent({
action: 'edge_function_template_clicked',
@@ -325,7 +325,7 @@ curl --request POST 'http://localhost:54321/functions/v1/hello-world' \\
<DialogTrigger asChild>
<ResourceItem
key={template.name}
- media={<Code strokeWidth={1.5} size={16} className="-translate-y-[9px]" />}
+ media={<Code strokeWidth={1.5} size={16} className="translate-y-[-9px]" />}
>
<div>
<p>{template.name}</p>
@@ -339,7 +339,7 @@ curl --request POST 'http://localhost:54321/functions/v1/hello-world' \\
<DialogDescription>{template.description}</DialogDescription>
</DialogHeader>
<Separator />
- <DialogSection className="!p-0">
+ <DialogSection className="p-0!">
<CodeBlock
language="ts"
hideLineNumbers={true}
diff --git a/apps/studio/components/interfaces/Functions/FunctionsNav.tsx b/apps/studio/components/interfaces/Functions/FunctionsNav.tsx
index c58ec504fb9..fef34f7f0af 100644
--- a/apps/studio/components/interfaces/Functions/FunctionsNav.tsx
+++ b/apps/studio/components/interfaces/Functions/FunctionsNav.tsx
@@ -11,7 +11,7 @@ const FunctionsNav = ({ item }: any) => {
defaultActiveId="1"
type="underlined"
size="medium"
- baseClassNames="!space-y-0"
+ baseClassNames="space-y-0!"
activeId={!activeRoute ? 'overview' : activeRoute}
onChange={(e: string) => {
if (item?.slug) {
diff --git a/apps/studio/components/interfaces/Functions/TerminalInstructions.tsx b/apps/studio/components/interfaces/Functions/TerminalInstructions.tsx
index 2b63ae27354..aa62e519bcd 100644
--- a/apps/studio/components/interfaces/Functions/TerminalInstructions.tsx
+++ b/apps/studio/components/interfaces/Functions/TerminalInstructions.tsx
@@ -99,7 +99,7 @@ export const TerminalInstructions = forwardRef<
>
<CollapsibleTrigger_Shadcn_ className="flex w-full justify-between" disabled={!closable}>
<div className="flex items-center gap-x-3">
- <div className="flex items-center justify-center w-8 h-8 p-2 border rounded bg-alternative">
+ <div className="flex items-center justify-center w-8 h-8 p-2 border rounded-sm bg-alternative">
<Terminal strokeWidth={2} />
</div>
<h4>Create your first Edge Function via the CLI</h4>
@@ -114,7 +114,7 @@ export const TerminalInstructions = forwardRef<
</div>
)}
</CollapsibleTrigger_Shadcn_>
- <CollapsibleContent_Shadcn_ className="w-full transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down">
+ <CollapsibleContent_Shadcn_ className="w-full transition-all data-closed:animate-collapsible-up data-open:animate-collapsible-down">
<CommandRender commands={commands} className="my-4" />
{tokens && tokens.length === 0 ? (
<div className="py-4 space-y-3 border-t">
diff --git a/apps/studio/components/interfaces/GraphQL/GraphiQL.tsx b/apps/studio/components/interfaces/GraphQL/GraphiQL.tsx
index e47ee2a2a44..f53ebd4eb84 100644
--- a/apps/studio/components/interfaces/GraphQL/GraphiQL.tsx
+++ b/apps/studio/components/interfaces/GraphQL/GraphiQL.tsx
@@ -415,7 +415,7 @@ const GraphiQLInterface = ({ theme }: GraphiQLInterfaceProps) => {
<Button
type="outline"
aria-label="Dismiss"
- className="absolute top-2 right-2 p-1 !pl-1"
+ className="absolute top-2 right-2 p-1 pl-1!"
onClick={() => {
setRlsBypassedWarningDismissed(true)
}}
diff --git a/apps/studio/components/interfaces/GraphQL/graphiql.module.css b/apps/studio/components/interfaces/GraphQL/graphiql.module.css
index a474b358927..11a08708240 100644
--- a/apps/studio/components/interfaces/GraphQL/graphiql.module.css
+++ b/apps/studio/components/interfaces/GraphQL/graphiql.module.css
@@ -1,3 +1,5 @@
+@reference "../../../styles/main.css";
+
.graphiqlContainer .graphiqlSessions {
margin: 0;
border-radius: 0;
diff --git a/apps/studio/components/interfaces/Home/AdvisorWidget.tsx b/apps/studio/components/interfaces/Home/AdvisorWidget.tsx
index 683999bb061..b5953ecb26f 100644
--- a/apps/studio/components/interfaces/Home/AdvisorWidget.tsx
+++ b/apps/studio/components/interfaces/Home/AdvisorWidget.tsx
@@ -213,15 +213,15 @@ export const AdvisorWidget = () => {
<Card className="h-80">
<Tabs value={selectedTab} className="h-full flex flex-col">
<CardHeader className="h-10 py-0 pl-4 pr-2 flex flex-row items-center justify-between flex-0">
- <TabsList className="flex justify-start rounded-none gap-x-4 border-b-0 !mt-0 pt-0">
+ <TabsList className="flex justify-start rounded-none gap-x-4 border-b-0 mt-0! pt-0">
<TabsTrigger
value="security"
onClick={() => setSelectedTab('security')}
- className="flex items-center gap-2 text-xs py-3 border-b-[1px] font-mono uppercase"
+ className="flex items-center gap-2 text-xs py-3 border-b font-mono uppercase"
>
Security{' '}
{securityErrorCount + securityWarningCount > 0 && (
- <div className="rounded bg-warning text-warning-100 px-1">
+ <div className="rounded-sm bg-warning text-warning-100 px-1">
{securityErrorCount + securityWarningCount}
</div>
)}
@@ -229,11 +229,11 @@ export const AdvisorWidget = () => {
<TabsTrigger
value="performance"
onClick={() => setSelectedTab('performance')}
- className="flex items-center gap-2 text-xs py-3 border-b-[1px] font-mono uppercase"
+ className="flex items-center gap-2 text-xs py-3 border-b font-mono uppercase"
>
Performance{' '}
{performanceErrorCount + performanceWarningCount > 0 && (
- <div className="rounded bg-warning text-warning-100 px-1">
+ <div className="rounded-sm bg-warning text-warning-100 px-1">
{performanceErrorCount + performanceWarningCount}
</div>
)}
@@ -242,7 +242,7 @@ export const AdvisorWidget = () => {
<ButtonTooltip
asChild
type="text"
- className="!mt-0 w-7"
+ className="mt-0! w-7"
icon={<ExternalLink />}
tooltip={{
content: {
@@ -255,7 +255,7 @@ export const AdvisorWidget = () => {
<Link href={`/project/${projectRef}/advisors/${selectedTab}`} />
</ButtonTooltip>
</CardHeader>
- <CardContent className="!p-0 mt-0 flex-1 overflow-y-auto">
+ <CardContent className="p-0! mt-0 flex-1 overflow-y-auto">
<TabsContent value="security" className="p-0 mt-0 h-full">
{renderLintTabContent(
'Security',
@@ -284,7 +284,7 @@ export const AdvisorWidget = () => {
<ButtonTooltip
asChild
type="text"
- className="!mt-0 w-7"
+ className="mt-0! w-7"
icon={<ExternalLink />}
tooltip={{
content: {
@@ -296,7 +296,7 @@ export const AdvisorWidget = () => {
<Link href={`/project/${projectRef}/reports/query-performance`} />
</ButtonTooltip>
</CardHeader>
- <CardContent className="!p-0 flex-1 overflow-y-auto">
+ <CardContent className="p-0! flex-1 overflow-y-auto">
{isLoadingSlowestQueries ? (
<div className="space-y-2 p-4">
<ShimmeringLoader />
diff --git a/apps/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx b/apps/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx
index 628a0c5cc70..237dc813e83 100644
--- a/apps/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx
+++ b/apps/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx
@@ -184,7 +184,7 @@ export const APIKeys = () => {
<CardContent className="relative overflow-hidden">
<div
- className="absolute inset-0 rounded-md -mt-[1px]"
+ className="absolute inset-0 rounded-md -mt-px"
style={{
backgroundImage: `
linear-gradient(to top, hsl(var(--background-surface-100)/1) 0%, hsl(var(--background-surface-100)/1) 30%, hsl(var(--background-surface-75)/0) 100%),
diff --git a/apps/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx b/apps/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx
index 159b50a8f78..c32041b18f9 100644
--- a/apps/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx
+++ b/apps/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx
@@ -2,7 +2,7 @@ import { cn } from 'ui'
const Checkbox = () => (
<div className="w-[10%] h-full flex items-center border-r border-default px-2">
- <div className="w-3 h-3 rounded border border-control" />
+ <div className="w-3 h-3 rounded-sm border border-control" />
</div>
)
@@ -90,7 +90,7 @@ export const GetStartedHero = () => {
<div
className={cn(
'w-[260px] lg:w-[320px] h-[160px] lg:h-[220px] bg-surface-100 border border-default',
- 'absolute right-0 top-[50px] lg:-top-[40px] rounded-t overflow-y-hidden'
+ 'absolute right-0 top-[50px] lg:top-[-40px] rounded-t overflow-y-hidden'
)}
>
<Row col1="id" col2="task" col3="status" className="h-[24px] bg-surface-100" />
diff --git a/apps/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx b/apps/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx
index 9b65bb1f77a..3fa7844b6ce 100644
--- a/apps/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx
+++ b/apps/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx
@@ -78,7 +78,7 @@ export const NewProjectPanel = () => {
<Panel>
<Panel.Content className="flex flex-col space-y-4 md:px-3">
<div className="flex items-center space-x-3">
- <div className="rounded bg-surface-300 p-1.5 text-foreground-light shadow-sm">
+ <div className="rounded-sm bg-surface-300 p-1.5 text-foreground-light shadow-xs">
<Auth size={16} strokeWidth={1.5} />
</div>
<h5>Authentication</h5>
@@ -94,7 +94,7 @@ export const NewProjectPanel = () => {
</Button>
<Button
- className="translate-y-[1px]"
+ className="translate-y-px"
icon={<ExternalLink />}
type="default"
asChild
@@ -110,7 +110,7 @@ export const NewProjectPanel = () => {
<Panel>
<Panel.Content className="flex flex-col space-y-4 md:px-3">
<div className="flex items-center space-x-3">
- <div className="rounded bg-surface-300 p-1.5 text-foreground-light shadow-sm">
+ <div className="rounded-sm bg-surface-300 p-1.5 text-foreground-light shadow-xs">
<Storage size={16} strokeWidth={1.5} />
</div>
<h5>Storage</h5>
@@ -126,7 +126,7 @@ export const NewProjectPanel = () => {
</Button>
<Button
- className="translate-y-[1px]"
+ className="translate-y-px"
icon={<ExternalLink />}
type="default"
asChild
@@ -142,7 +142,7 @@ export const NewProjectPanel = () => {
<Panel>
<Panel.Content className="flex flex-col space-y-4 md:px-3">
<div className="flex items-center space-x-3">
- <div className="rounded bg-surface-300 p-1.5 text-foreground-light shadow-sm">
+ <div className="rounded-sm bg-surface-300 p-1.5 text-foreground-light shadow-xs">
<EdgeFunctions size={16} strokeWidth={1.5} />
</div>
<h5>Edge Functions</h5>
@@ -158,7 +158,7 @@ export const NewProjectPanel = () => {
<Link href={`/project/${ref}/functions`}>Explore Functions</Link>
</Button>
<Button
- className="translate-y-[1px]"
+ className="translate-y-px"
icon={<ExternalLink />}
type="default"
asChild
@@ -177,7 +177,7 @@ export const NewProjectPanel = () => {
<Panel>
<Panel.Content className="flex flex-col space-y-4 md:px-3">
<div className="flex items-center space-x-4">
- <div className="rounded bg-surface-300 p-1.5 text-foreground-light shadow-sm">
+ <div className="rounded-sm bg-surface-300 p-1.5 text-foreground-light shadow-xs">
<Realtime size={16} strokeWidth={1.5} />
</div>
<h5>Realtime</h5>
@@ -192,7 +192,7 @@ export const NewProjectPanel = () => {
<Link href={`/project/${ref}/realtime/inspector`}>Explore Realtime</Link>
</Button>
<Button
- className="translate-y-[1px]"
+ className="translate-y-px"
icon={<ExternalLink />}
type="default"
asChild
diff --git a/apps/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx b/apps/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx
index ab1b3d609ce..92f1462422e 100644
--- a/apps/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx
+++ b/apps/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx
@@ -71,7 +71,7 @@ export const ProjectCard = ({
<li className="list-none h-min">
<CardButton
linkHref={rewriteHref ? rewriteHref : `/project/${projectRef}`}
- className="h-44 !px-0 group pt-5 pb-0 overflow-hidden relative"
+ className="h-44 px-0! group pt-5 pb-0 overflow-hidden relative"
hideChevron
title={
<div className="w-full flex flex-col gap-y-4 justify-between px-5">
diff --git a/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx b/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
index 8d53b32e530..f8607bf9669 100644
--- a/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
+++ b/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
@@ -163,7 +163,7 @@ export const ProjectCardStatus = ({
if (!alertTitle) return null
return (
- <div role="alert" className={cn('w-full p-5 pb-[1.25rem] flex flex-row gap-x-2 items-center')}>
+ <div role="alert" className={cn('w-full p-5 pb-5 flex flex-row gap-x-2 items-center')}>
{/* Icon */}
<div
className={cn(
diff --git a/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx b/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx
index 47eedd01027..64c1f588812 100644
--- a/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx
+++ b/apps/studio/components/interfaces/Home/ProjectList/ProjectTableRow.tsx
@@ -91,7 +91,7 @@ export const ProjectTableRow = ({
handleCopyProjectRef(e)
}
}}
- className="inline-flex items-center gap-x-1 cursor-pointer border border-transparent border-dashed rounded transition-colors hover:bg-surface-100 hover:border hover:border-strong group font-mono text-xs text-foreground-lighter hover:text-foreground-light px-1 -ml-1"
+ className="inline-flex items-center gap-x-1 cursor-pointer border border-transparent border-dashed rounded-sm transition-colors hover:bg-surface-100 hover:border hover:border-strong group font-mono text-xs text-foreground-lighter hover:text-foreground-light px-1 -ml-1"
>
{projectRef}
{isCopied ? (
diff --git a/apps/studio/components/interfaces/Home/ProjectList/ShimmeringCard.tsx b/apps/studio/components/interfaces/Home/ProjectList/ShimmeringCard.tsx
index 07a6ed1ea16..38d5f132b68 100644
--- a/apps/studio/components/interfaces/Home/ProjectList/ShimmeringCard.tsx
+++ b/apps/studio/components/interfaces/Home/ProjectList/ShimmeringCard.tsx
@@ -3,7 +3,7 @@ import CardButton from '@/components/ui/CardButton'
export const ShimmeringCard = () => {
return (
<CardButton
- className="h-44 !px-0 pt-5 pb-0"
+ className="h-44 px-0! pt-5 pb-0"
title={
<div className="w-full justify-between space-y-1.5 px-5">
<p className="shrink truncate text-sm pr-4 shimmering-loader h-5 w-20" />
diff --git a/apps/studio/components/interfaces/Home/ProjectUsage.tsx b/apps/studio/components/interfaces/Home/ProjectUsage.tsx
index 8d9d0bacd13..abf36066ec2 100644
--- a/apps/studio/components/interfaces/Home/ProjectUsage.tsx
+++ b/apps/studio/components/interfaces/Home/ProjectUsage.tsx
@@ -114,7 +114,7 @@ const ProjectUsage = () => {
<Panel.Content className="space-y-4">
<PanelHeader
icon={
- <div className="rounded bg-surface-300 p-1.5 text-foreground-light shadow-sm">
+ <div className="rounded-sm bg-surface-300 p-1.5 text-foreground-light shadow-xs">
<Database strokeWidth={1.5} size={16} />
</div>
}
@@ -140,7 +140,7 @@ const ProjectUsage = () => {
<Panel.Content className="space-y-4">
<PanelHeader
icon={
- <div className="rounded bg-surface-300 p-1.5 text-foreground-light shadow-sm">
+ <div className="rounded-sm bg-surface-300 p-1.5 text-foreground-light shadow-xs">
<Auth strokeWidth={1.5} size={16} />
</div>
}
@@ -166,7 +166,7 @@ const ProjectUsage = () => {
<Panel.Content className="space-y-4">
<PanelHeader
icon={
- <div className="rounded bg-surface-300 p-1.5 text-foreground-light shadow-sm">
+ <div className="rounded-sm bg-surface-300 p-1.5 text-foreground-light shadow-xs">
<Storage strokeWidth={1.5} size={16} />
</div>
}
@@ -192,7 +192,7 @@ const ProjectUsage = () => {
<Panel.Content className="space-y-4">
<PanelHeader
icon={
- <div className="rounded bg-surface-300 p-1.5 text-foreground-light shadow-sm">
+ <div className="rounded-sm bg-surface-300 p-1.5 text-foreground-light shadow-xs">
<Realtime strokeWidth={1.5} size={16} />
</div>
}
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet/CronJobScheduleSection.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet/CronJobScheduleSection.tsx
index b8233dbfc3c..d1d7cf442d3 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet/CronJobScheduleSection.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet/CronJobScheduleSection.tsx
@@ -154,13 +154,13 @@ export const CronJobScheduleSection = ({ form, supportsSeconds }: CronJobSchedul
<AccordionTrigger_Shadcn_ className="text-xs text-foreground-light font-normal gap-2 justify-start py-1 ">
View syntax chart
</AccordionTrigger_Shadcn_>
- <AccordionContent_Shadcn_ asChild className="!pb-0">
+ <AccordionContent_Shadcn_ asChild className="pb-0!">
<CronSyntaxChart />
</AccordionContent_Shadcn_>
</AccordionItem_Shadcn_>
</Accordion_Shadcn_>
</div>
- <div className="bg-surface-100 p-4 rounded grid gap-y-4 border">
+ <div className="bg-surface-100 p-4 rounded-sm grid gap-y-4 border">
<h4 className="text-sm text-foreground">
Schedule {timezone ? `(${timezone})` : ''}
</h4>
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx
index ca2cfd35d7d..a35ce42d43f 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx
@@ -250,7 +250,7 @@ export const formatCronJobColumns = ({
col.id === 'jobname' && 'ml-8'
)}
>
- <p className="!text-foreground">{col.name}</p>
+ <p className="text-foreground!">{col.name}</p>
</div>
)
},
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.CleanupNotice.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.CleanupNotice.tsx
index bd5720e4ac9..bbdd7ecdf38 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.CleanupNotice.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.CleanupNotice.tsx
@@ -91,7 +91,7 @@ const CronJobRunDetailsOverflowDialog = ({
<p className="text-sm">
The dashboard fetches data for the cron jobs overview by running a join between the{' '}
<code className="text-code-inline">cron.job</code> and{' '}
- <code className="text-code-inline !break-keep">cron.job_run_details</code> tables to
+ <code className="text-code-inline break-keep!">cron.job_run_details</code> tables to
show each cron job's latest run.
</p>
@@ -107,7 +107,7 @@ const CronJobRunDetailsOverflowDialog = ({
</TooltipContent>
</Tooltip>{' '}
exceeds safety thresholds, likely due to the size of{' '}
- <code className="text-code-inline !break-keep">cron.job_run_details</code> table.
+ <code className="text-code-inline break-keep!">cron.job_run_details</code> table.
</p>
</DialogSection>
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.DataGrid.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.DataGrid.tsx
index 86c9a66e2ac..0b37422e905 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.DataGrid.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.DataGrid.tsx
@@ -61,7 +61,7 @@ export const CronJobsTabDataGrid = ({
rowClass={() => {
return cn(
'cursor-pointer',
- '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell:first-child>div]:ml-8'
)
}}
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.EstimateErrorNotice.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.EstimateErrorNotice.tsx
index 73f1f2ffb5e..2218c52305f 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.EstimateErrorNotice.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.EstimateErrorNotice.tsx
@@ -21,7 +21,7 @@ export const CronJobRunDetailsEstimateErrorNotice = ({
>
<div className="space-y-3 text-sm">
{error?.message && (
- <p className="text-foreground-light break-words">
+ <p className="text-foreground-light wrap-break-word">
Error message: <code className="text-xs">{error.message}</code>
</p>
)}
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/EdgeFunctionSection.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/EdgeFunctionSection.tsx
index d2a844fdbb4..95589d18191 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/EdgeFunctionSection.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/EdgeFunctionSection.tsx
@@ -104,7 +104,7 @@ export const EdgeFunctionSection = ({ form }: HTTPRequestFieldsProps) => {
Loading edge functions...
</Button>
) : (
- <div className="px-4 py-4 border rounded bg-surface-300 border-strong flex items-center justify-between space-x-4">
+ <div className="px-4 py-4 border rounded-sm bg-surface-300 border-strong flex items-center justify-between space-x-4">
<p className="text-sm">No edge functions created yet</p>
<Button asChild>
<Link href={`/project/${ref}/functions`}>Create an edge function</Link>
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/HttpBodyFieldSection.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/HttpBodyFieldSection.tsx
index 6b0c30a9c7e..4a6fb48d9ea 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/HttpBodyFieldSection.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/HttpBodyFieldSection.tsx
@@ -26,7 +26,7 @@ export const HttpBodyFieldSection = ({ form }: HttpBodyFieldSectionProps) => {
<FormLabel>HTTP Request Body</FormLabel>
<FormControl>
<TextArea_Shadcn_
- className="h-72 rounded-none px-4 outline-none"
+ className="h-72 rounded-none px-4 outline-hidden"
value={field.value}
onChange={field.onChange}
/>
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx
index bef928a964c..d72f87ff8b2 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx
@@ -119,7 +119,7 @@ const columns = cronJobColumns.map((col) => {
col.id === 'runid' && 'ml-8'
)}
>
- <p className="!text-foreground">{col.name}</p>
+ <p className="text-foreground!">{col.name}</p>
</div>
)
},
@@ -192,7 +192,7 @@ export const PreviousRunsTab = () => {
rowClass={() => {
return cn(
'cursor-pointer',
- '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell:first-child>div]:ml-8'
)
}}
diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/SqlSnippetSection.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/SqlSnippetSection.tsx
index c799eeb13bd..a932220cfb6 100644
--- a/apps/studio/components/interfaces/Integrations/CronJobs/SqlSnippetSection.tsx
+++ b/apps/studio/components/interfaces/Integrations/CronJobs/SqlSnippetSection.tsx
@@ -11,7 +11,7 @@ interface SqlSnippetSectionProps {
export const SqlSnippetSection = ({ form }: SqlSnippetSectionProps) => {
return (
- <SheetSection className="!px-0 !pb-0">
+ <SheetSection className="px-0! pb-0!">
<FormField
control={form.control}
name="values.snippet"
diff --git a/apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/InstallIntegrationSheet/AdvancedSettings.tsx b/apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/InstallIntegrationSheet/AdvancedSettings.tsx
index f2a137e4099..8bed19901e5 100644
--- a/apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/InstallIntegrationSheet/AdvancedSettings.tsx
+++ b/apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/InstallIntegrationSheet/AdvancedSettings.tsx
@@ -59,7 +59,7 @@ export const AdvancedSettings = ({
<AccordionTrigger_Shadcn_ className="font-normal gap-2 py-0 justify-between text-sm hover:no-underline">
Advanced settings
</AccordionTrigger_Shadcn_>
- <AccordionContent_Shadcn_ className="!pb-0 pt-3 [&>div]:flex [&>div]:flex-col [&>div]:gap-y-4">
+ <AccordionContent_Shadcn_ className="pb-0! pt-3 [&>div]:flex [&>div]:flex-col [&>div]:gap-y-4">
<p className="text-foreground-light">
Select which schemas to install the database extensions under
</p>
diff --git a/apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/InstallIntegrationSheet/InstallIntegrationSheet.tsx b/apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/InstallIntegrationSheet/InstallIntegrationSheet.tsx
index 9fd4f1ed215..de308876f74 100644
--- a/apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/InstallIntegrationSheet/InstallIntegrationSheet.tsx
+++ b/apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/InstallIntegrationSheet/InstallIntegrationSheet.tsx
@@ -222,7 +222,7 @@ export const InstallIntegrationSheet = ({ integration }: InstallIntegrationSheet
<SheetContent
size="default"
aria-describedby={undefined}
- className="flex flex-col gap-0 !w-[650px]"
+ className="flex flex-col gap-0 w-[650px]!"
>
<SheetHeader className="flex items-center gap-x-4">
<div className="shrink-0 w-11 h-11 relative bg-white border rounded-md flex items-center justify-center">
diff --git a/apps/studio/components/interfaces/Integrations/Integration/MarkdownContent.tsx b/apps/studio/components/interfaces/Integrations/Integration/MarkdownContent.tsx
index aed520f5cb9..45a9c5d1f22 100644
--- a/apps/studio/components/interfaces/Integrations/Integration/MarkdownContent.tsx
+++ b/apps/studio/components/interfaces/Integrations/Integration/MarkdownContent.tsx
@@ -36,13 +36,13 @@ export const MarkdownContent = ({
className="overflow-hidden"
transition={{ duration: 0.4 }}
>
- <Markdown content={displayContent} className="!max-w-3xl" />
+ <Markdown content={displayContent} className="max-w-3xl!" />
</motion.div>
{!isExpanded && (
<div
className={cn(
'bottom-0 left-0 right-0 h-24',
- supportExpanding && 'bg-gradient-to-t from-background-200 to-transparent',
+ supportExpanding && 'bg-linear-to-t from-background-200 to-transparent',
!isExpanded ? 'absolute' : 'relative'
)}
/>
diff --git a/apps/studio/components/interfaces/Integrations/Landing/AvailableIntegrations.tsx b/apps/studio/components/interfaces/Integrations/Landing/AvailableIntegrations.tsx
index 20de9ae7fd8..4bde37f6017 100644
--- a/apps/studio/components/interfaces/Integrations/Landing/AvailableIntegrations.tsx
+++ b/apps/studio/components/interfaces/Integrations/Landing/AvailableIntegrations.tsx
@@ -69,7 +69,7 @@ export const AvailableIntegrations = () => {
type: selectedCategory === category.key ? 'default' : 'outline',
}),
selectedCategory === category.key ? 'text-foreground' : 'text-foreground-lighter',
- '!rounded-full px-3'
+ 'rounded-full! px-3'
)}
>
{category.label}
@@ -89,7 +89,7 @@ export const AvailableIntegrations = () => {
/>
}
iconContainerClassName="p-0"
- className="pl-7 rounded-none !border-0 border-transparent bg-transparent !shadow-none !ring-0 !ring-offset-0"
+ className="pl-7 rounded-none border-0! border-transparent bg-transparent shadow-none! ring-0! ring-offset-0!"
placeholder="Search..."
/>
</TabsList_Shadcn_>
diff --git a/apps/studio/components/interfaces/Integrations/Landing/InstalledIntegrations.tsx b/apps/studio/components/interfaces/Integrations/Landing/InstalledIntegrations.tsx
index 91acd3d3de5..7069900b68f 100644
--- a/apps/studio/components/interfaces/Integrations/Landing/InstalledIntegrations.tsx
+++ b/apps/studio/components/interfaces/Integrations/Landing/InstalledIntegrations.tsx
@@ -23,7 +23,7 @@ export const InstalledIntegrations = () => {
{isSuccess && (
<>
{installedIntegrations.length === 0 ? (
- <div className="xl:col-span-3 2xl:col-span-4 w-full h-[110px] border rounded flex items-center justify-center">
+ <div className="xl:col-span-3 2xl:col-span-4 w-full h-[110px] border rounded-sm flex items-center justify-center">
{/* [Joshen] Not high priority imo - very low chance this state will be seen cause Vault is always installed */}
{/* Some placeholder image when no integrations are installed */}
<p className="text-sm text-foreground-light">No integrations installed yet</p>
diff --git a/apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/RlsSection.tsx b/apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/RlsSection.tsx
index 47b9f9392b6..a78591eebad 100644
--- a/apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/RlsSection.tsx
+++ b/apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/RlsSection.tsx
@@ -47,7 +47,7 @@ export function RlsSection({
title="Row Level Security for queues is only relevant if exposure through PostgREST has been enabled"
>
<Markdown
- className="[&>p]:!leading-normal"
+ className="[&>p]:leading-normal!"
content={`You may opt to manage your queues via any Supabase client libraries or PostgREST
endpoints by enabling this in the [queues settings](/project/${projectRef}/integrations/queues/settings).`}
/>
diff --git a/apps/studio/components/interfaces/Integrations/Queues/QueueTab.tsx b/apps/studio/components/interfaces/Integrations/Queues/QueueTab.tsx
index ef5c39b8a29..fd8178dd12b 100644
--- a/apps/studio/components/interfaces/Integrations/Queues/QueueTab.tsx
+++ b/apps/studio/components/interfaces/Integrations/Queues/QueueTab.tsx
@@ -223,7 +223,7 @@ export const QueueTab = () => {
) : (
<>
<Markdown
- className="[&>p]:!leading-normal text-xs [&>p]:!m-0 flex flex-col gap-y-2"
+ className="[&>p]:leading-normal! text-xs [&>p]:m-0! flex flex-col gap-y-2"
content={`
RLS for queues is only relevant if exposure through PostgREST has been enabled, in which you can restrict and control who can manage this queue using Row Level Security.
diff --git a/apps/studio/components/interfaces/Integrations/Queues/Queues.utils.tsx b/apps/studio/components/interfaces/Integrations/Queues/Queues.utils.tsx
index 9378c1e7528..a3fbea3a28a 100644
--- a/apps/studio/components/interfaces/Integrations/Queues/Queues.utils.tsx
+++ b/apps/studio/components/interfaces/Integrations/Queues/Queues.utils.tsx
@@ -23,7 +23,7 @@ export const formatQueueColumns = (): Column<QueueWithMetrics>[] => {
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full ml-8')}>
- <p className="!text-foreground">Name</p>
+ <p className="text-foreground!">Name</p>
</div>
)
},
@@ -40,7 +40,7 @@ export const formatQueueColumns = (): Column<QueueWithMetrics>[] => {
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full')}>
- <p className="!text-foreground">Type</p>
+ <p className="text-foreground!">Type</p>
</div>
)
},
@@ -57,7 +57,7 @@ export const formatQueueColumns = (): Column<QueueWithMetrics>[] => {
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full')}>
- <p className="!text-foreground">RLS enabled</p>
+ <p className="text-foreground!">RLS enabled</p>
</div>
)
},
@@ -74,7 +74,7 @@ export const formatQueueColumns = (): Column<QueueWithMetrics>[] => {
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full')}>
- <p className="!text-foreground">Created at</p>
+ <p className="text-foreground!">Created at</p>
</div>
)
},
@@ -91,7 +91,7 @@ export const formatQueueColumns = (): Column<QueueWithMetrics>[] => {
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full')}>
- <p className="!text-foreground">Size</p>
+ <p className="text-foreground!">Size</p>
</div>
)
},
diff --git a/apps/studio/components/interfaces/Integrations/Queues/QueuesSettings.tsx b/apps/studio/components/interfaces/Integrations/Queues/QueuesSettings.tsx
index b3e0f1bdd31..c226d6a2ead 100644
--- a/apps/studio/components/interfaces/Integrations/Queues/QueuesSettings.tsx
+++ b/apps/studio/components/interfaces/Integrations/Queues/QueuesSettings.tsx
@@ -250,7 +250,7 @@ export const QueuesSettings = () => {
title="Existing Queues must have RLS enabled first before exposing via PostgREST"
className="mt-2"
>
- <p className="!m-0">
+ <p className="m-0!">
Please ensure that the following {tablesWithoutRLS.length} queue
{tablesWithoutRLS.length > 1 ? 's' : ''} have RLS enabled in order to
prevent anonymous access.
diff --git a/apps/studio/components/interfaces/Integrations/Queues/QueuesTab.tsx b/apps/studio/components/interfaces/Integrations/Queues/QueuesTab.tsx
index a044cdb5e3f..9b19de8c81a 100644
--- a/apps/studio/components/interfaces/Integrations/Queues/QueuesTab.tsx
+++ b/apps/studio/components/interfaces/Integrations/Queues/QueuesTab.tsx
@@ -111,7 +111,7 @@ export const QueuesTab = () => {
rowClass={() => {
return cn(
'cursor-pointer',
- '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell:first-child>div]:ml-8'
)
}}
diff --git a/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/MessageDetailsPanel.tsx b/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/MessageDetailsPanel.tsx
index be47e16997e..168d54a0f3a 100644
--- a/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/MessageDetailsPanel.tsx
+++ b/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/MessageDetailsPanel.tsx
@@ -105,7 +105,7 @@ export const MessageDetailsPanel = ({
<TabsList_Shadcn_ className="px-5 flex gap-x-4 min-h-[46px]">
<TabsTrigger_Shadcn_
value="details"
- className="px-0 pb-0 h-full text-xs data-[state=active]:bg-transparent !shadow-none"
+ className="px-0 pb-0 h-full text-xs data-[state=active]:bg-transparent shadow-none!"
>
Overview
</TabsTrigger_Shadcn_>
diff --git a/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/QueueDataGrid.tsx b/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/QueueDataGrid.tsx
index 55b7418278e..0a14db6d9fb 100644
--- a/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/QueueDataGrid.tsx
+++ b/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/QueueDataGrid.tsx
@@ -117,7 +117,7 @@ const columns = messagesCols.map((col) => {
col.id === 'id' && 'ml-8'
)}
>
- <p className="!text-foreground">{col.name}</p>
+ <p className="text-foreground!">{col.name}</p>
</div>
)
},
@@ -163,7 +163,7 @@ export const QueueMessagesDataGrid = ({
rowClass={() => {
return cn(
'cursor-pointer',
- '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell:first-child>div]:ml-8'
)
}}
diff --git a/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/SendMessageModal.tsx b/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/SendMessageModal.tsx
index 22c59fbd647..0f30424ccdf 100644
--- a/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/SendMessageModal.tsx
+++ b/apps/studio/components/interfaces/Integrations/Queues/SingleQueue/SendMessageModal.tsx
@@ -122,7 +122,7 @@ export const SendMessageModal = ({ visible, onClose }: SendMessageModalProps) =>
id="message-payload"
language="json"
autofocus={false}
- className="!mb-0 h-32 overflow-hidden rounded border"
+ className="mb-0! h-32 overflow-hidden rounded-sm border"
onInputChange={(e: string | undefined) => field.onChange(e)}
options={{ wordWrap: 'off', contextmenu: false }}
value={field.value}
diff --git a/apps/studio/components/interfaces/Integrations/Vault/Secrets/Secrets.utils.tsx b/apps/studio/components/interfaces/Integrations/Vault/Secrets/Secrets.utils.tsx
index 495856ec52f..e1ad31bbefa 100644
--- a/apps/studio/components/interfaces/Integrations/Vault/Secrets/Secrets.utils.tsx
+++ b/apps/studio/components/interfaces/Integrations/Vault/Secrets/Secrets.utils.tsx
@@ -33,7 +33,7 @@ export const formatSecretColumns = (): Column<VaultSecret>[] => {
col.id === 'secret' && 'ml-8'
)}
>
- <p className="!text-foreground">{col.name}</p>
+ <p className="text-foreground!">{col.name}</p>
</div>
)
},
diff --git a/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx b/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx
index 6061c7e40fd..ad67c02f479 100644
--- a/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx
+++ b/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx
@@ -167,7 +167,7 @@ export const SecretsManagement = () => {
rowClass={() => {
return cn(
'cursor-pointer',
- '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell:first-child>div]:pl-8'
)
}}
diff --git a/apps/studio/components/interfaces/Integrations/Vercel/OrganizationPicker.tsx b/apps/studio/components/interfaces/Integrations/Vercel/OrganizationPicker.tsx
index 5f156f6a326..ce72ca94011 100644
--- a/apps/studio/components/interfaces/Integrations/Vercel/OrganizationPicker.tsx
+++ b/apps/studio/components/interfaces/Integrations/Vercel/OrganizationPicker.tsx
@@ -115,7 +115,7 @@ const OrganizationPicker = ({
<PartnerIcon organization={org} />
<span className="truncate">{org.name}</span>{' '}
{configurationId && installed[org.slug] && (
- <Badge className="!flex-none">Integration Installed</Badge>
+ <Badge className="flex-none!">Integration Installed</Badge>
)}
</CommandItem_Shadcn_>
)
diff --git a/apps/studio/components/interfaces/Integrations/VercelGithub/IntegrationPanels.tsx b/apps/studio/components/interfaces/Integrations/VercelGithub/IntegrationPanels.tsx
index 196438a945e..f03e3ea86a2 100644
--- a/apps/studio/components/interfaces/Integrations/VercelGithub/IntegrationPanels.tsx
+++ b/apps/studio/components/interfaces/Integrations/VercelGithub/IntegrationPanels.tsx
@@ -76,7 +76,7 @@ export const IntegrationInstallation = forwardRef<HTMLLIElement, IntegrationInst
({ integration, disabled, ...props }, ref) => {
const IntegrationIconBlock = () => {
return (
- <div className="bg-black text-white w-8 h-8 rounded flex items-center justify-center">
+ <div className="bg-black text-white w-8 h-8 rounded-sm flex items-center justify-center">
<HandleIcon type={integration.integration.name} />
</div>
)
@@ -86,7 +86,7 @@ export const IntegrationInstallation = forwardRef<HTMLLIElement, IntegrationInst
<li
ref={ref}
key={integration.id}
- className="bg-surface-100 border shadow-sm flex justify-between items-center px-8 py-4 rounded-lg"
+ className="bg-surface-100 border shadow-xs flex justify-between items-center px-8 py-4 rounded-lg"
{...props}
>
<div className="flex gap-6 items-center">
@@ -166,7 +166,7 @@ export const IntegrationConnection = forwardRef<HTMLLIElement, IntegrationConnec
orientation === 'horizontal'
? 'flex items-center justify-between gap-2'
: 'flex flex-col gap-3',
- 'bg-surface-100 border shadow-sm px-6 py-4 rounded-lg',
+ 'bg-surface-100 border shadow-xs px-6 py-4 rounded-lg',
className
)}
>
@@ -187,8 +187,8 @@ export const IntegrationConnection = forwardRef<HTMLLIElement, IntegrationConnec
<div className="flex-1 min-w-0 flex gap-2 items-center">
{!connection?.metadata?.framework ? (
- <div className="bg-black text-white w-4 h-4 rounded flex items-center justify-center">
- <HandleIcon type={type} className={'!w-2.5'} />
+ <div className="bg-black text-white w-4 h-4 rounded-sm flex items-center justify-center">
+ <HandleIcon type={type} className={'w-2.5!'} />
</div>
) : (
<img
@@ -243,7 +243,7 @@ export const IntegrationConnectionOption = forwardRef<HTMLLIElement, Integration
key={connection.id}
{...props}
className={cn(
- 'bg-surface-100 border shadow-sm flex justify-between items-center px-8 py-4 rounded-lg'
+ 'bg-surface-100 border shadow-xs flex justify-between items-center px-8 py-4 rounded-lg'
)}
>
<div className="flex flex-col gap-1">
diff --git a/apps/studio/components/interfaces/Integrations/VercelGithub/ProjectLinker.tsx b/apps/studio/components/interfaces/Integrations/VercelGithub/ProjectLinker.tsx
index 9f21e471f8b..0d43f41bc82 100644
--- a/apps/studio/components/interfaces/Integrations/VercelGithub/ProjectLinker.tsx
+++ b/apps/studio/components/interfaces/Integrations/VercelGithub/ProjectLinker.tsx
@@ -170,10 +170,10 @@ const ProjectLinker = ({
const oppositeMissingEntity = noSupabaseProjects ? mode : 'Supabase'
return (
- <div className="flex flex-col bg border shadow rounded-lg overflow-hidden">
+ <div className="flex flex-col bg border shadow-sm rounded-lg overflow-hidden">
<div className="relative p-12 border-b border-muted">
<div
- className="absolute inset-0 bg-grid-black/5 [mask-image:linear-gradient(0deg,#fff,rgba(255,255,255,0.6))] dark:bg-grid-white/5 dark:[mask-image:linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))]"
+ className="absolute inset-0 bg-grid-black/5 mask-[linear-gradient(0deg,#fff,rgba(255,255,255,0.6))] dark:bg-grid-white/5 dark:mask-[linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))]"
style={{ backgroundPosition: '10px 10px' }}
/>
@@ -195,7 +195,7 @@ const ProjectLinker = ({
) : (
<div className="flex justify-center gap-0 w-full relative">
<Panel>
- <div className="bg-white shadow border rounded p-1 w-12 h-12 flex justify-center items-center">
+ <div className="bg-white shadow-sm border rounded-sm p-1 w-12 h-12 flex justify-center items-center">
<img src={`${BASE_PATH}/img/supabase-logo.svg`} alt="Supabase" className="w-6" />
</div>
@@ -213,7 +213,7 @@ const ProjectLinker = ({
return (
<div className={cn('w-full flex items-center justify-between')}>
<div className="flex items-center gap-x-2">
- <div className="bg-white shadow border rounded p-1 w-6 h-6 flex justify-center items-center">
+ <div className="bg-white shadow-sm border rounded-sm p-1 w-6 h-6 flex justify-center items-center">
<img
src={`${BASE_PATH}/img/supabase-logo.svg`}
alt="Supabase"
@@ -245,7 +245,7 @@ const ProjectLinker = ({
}
>
<div className="flex items-center gap-x-2">
- <div className="bg-white shadow border rounded p-1 w-6 h-6 flex justify-center items-center">
+ <div className="bg-white shadow-sm border rounded-sm p-1 w-6 h-6 flex justify-center items-center">
<img
src={`${BASE_PATH}/img/supabase-logo.svg`}
alt="Supabase"
@@ -292,7 +292,7 @@ const ProjectLinker = ({
<div className="border border-foreground-lighter h-px w-8 border-dashed self-end mb-4" />
<Panel>
- <div className="bg-black shadow rounded p-1 w-12 h-12 flex justify-center items-center">
+ <div className="bg-black shadow-sm rounded-sm p-1 w-12 h-12 flex justify-center items-center">
{integrationIcon}
</div>
@@ -331,7 +331,7 @@ const ProjectLinker = ({
>
<Command_Shadcn_>
<CommandInput_Shadcn_ placeholder="Search for a project" />
- <CommandList_Shadcn_ className="!max-h-[170px]">
+ <CommandList_Shadcn_ className="max-h-[170px]!">
<CommandEmpty_Shadcn_>No results found.</CommandEmpty_Shadcn_>
<CommandGroup_Shadcn_>
{foreignProjects.map((project, i) => {
diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/ColumnType.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/ColumnType.tsx
index fbb0e30b702..a26488bb5e8 100644
--- a/apps/studio/components/interfaces/Integrations/Wrappers/ColumnType.tsx
+++ b/apps/studio/components/interfaces/Integrations/Wrappers/ColumnType.tsx
@@ -131,7 +131,7 @@ export const ColumnType = ({
}
return (
<FormItem className={cn('flex flex-col space-y-2', className)}>
- <FormLabel className="text-foreground flex gap-2 items-center break-words">
+ <FormLabel className="text-foreground flex gap-2 items-center wrap-break-word">
Type
</FormLabel>
<Popover_Shadcn_ modal open={open} onOpenChange={setOpen}>
@@ -169,7 +169,7 @@ export const ColumnType = ({
placeholder="Search types..."
// [Joshen] Addresses style issues when this component is being used in the old Form component
// Specifically in WrapperDynamicColumns - can be cleaned up once we're no longer using that
- className="!bg-transparent focus:!shadow-none focus:!ring-0 text-xs"
+ className="bg-transparent! focus:shadow-none! focus:ring-0! text-xs"
/>
<CommandEmpty_Shadcn_>Type not found.</CommandEmpty_Shadcn_>
diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/OverviewTab.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/OverviewTab.tsx
index 5a12573d134..071f8f87aa6 100644
--- a/apps/studio/components/interfaces/Integrations/Wrappers/OverviewTab.tsx
+++ b/apps/studio/components/interfaces/Integrations/Wrappers/OverviewTab.tsx
@@ -105,7 +105,7 @@ const AddNewWrapperCTA = () => {
if (!!wrapperMeta && isWrappersExtensionInstalled && !hasRequiredVersion) {
return (
<Admonition type="warning" title="Your extension version is outdated for this wrapper">
- <div className="flex flex-col gap-y-2 [&>p]:!mb-0">
+ <div className="flex flex-col gap-y-2 [&>p]:mb-0!">
<p>
The {wrapperMeta.label} wrapper requires a minimum extension version of{' '}
{wrapperMeta.minimumExtensionVersion}. You have version{' '}
diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/WrapperRow.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/WrapperRow.tsx
index 3240038a6b5..281c8b9d79c 100644
--- a/apps/studio/components/interfaces/Integrations/Wrappers/WrapperRow.tsx
+++ b/apps/studio/components/interfaces/Integrations/Wrappers/WrapperRow.tsx
@@ -42,7 +42,7 @@ export const WrapperRow = ({ wrapper }: WrapperRowProps) => {
return (
<TableRow>
- <TableCell className="gap-2 align-top !py-3 min-w-80">
+ <TableCell className="gap-2 align-top py-3! min-w-80">
{wrapper.name}
{visibleMetadata.map((metadata) => (
@@ -58,13 +58,13 @@ export const WrapperRow = ({ wrapper }: WrapperRowProps) => {
))}
</TableCell>
- <TableCell className="space-y-2 !p-4">
+ <TableCell className="space-y-2 p-4!">
{_tables?.map((table) => {
const target = table.table ?? table.object ?? table.src_key
return (
<div key={table.id} className="flex items-center">
- <Badge className="bg-surface-300/100 gap-2 font-mono text-[0.75rem] h-6 text-foreground rounded-r-none">
+ <Badge className="bg-surface-300 gap-2 font-mono text-[0.75rem] h-6 text-foreground rounded-r-none">
<div className="relative w-3 h-3 flex items-center justify-center">
{integration.icon({ className: 'p-0' })}
</div>
@@ -72,7 +72,7 @@ export const WrapperRow = ({ wrapper }: WrapperRowProps) => {
<TooltipTrigger className="truncate max-w-28">{target}</TooltipTrigger>
<TooltipContent
side="bottom"
- className="max-w-64 whitespace-pre-wrap break-words"
+ className="max-w-64 whitespace-pre-wrap wrap-break-word"
>
{target}
</TooltipContent>
@@ -89,7 +89,7 @@ export const WrapperRow = ({ wrapper }: WrapperRowProps) => {
</TooltipTrigger>
<TooltipContent
side="bottom"
- className="max-w-64 whitespace-pre-wrap break-words"
+ className="max-w-64 whitespace-pre-wrap wrap-break-word"
>
{table.schema}.{table.table_name}
</TooltipContent>
diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/WrapperTableEditor.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/WrapperTableEditor.tsx
index ba2a6122402..c62c13585aa 100644
--- a/apps/studio/components/interfaces/Integrations/Wrappers/WrapperTableEditor.tsx
+++ b/apps/studio/components/interfaces/Integrations/Wrappers/WrapperTableEditor.tsx
@@ -445,7 +445,7 @@ const TableForm = ({
badgeLimit="wrap"
showIcon={false}
deletableBadge
- className="w-full !min-w-lg"
+ className="w-full min-w-lg!"
/>
<MultiSelectorContent>
<MultiSelectorList>
diff --git a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StripeSyncSettingsPage.tsx b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StripeSyncSettingsPage.tsx
index 91db3cae5fb..af152e75464 100644
--- a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StripeSyncSettingsPage.tsx
+++ b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StripeSyncSettingsPage.tsx
@@ -108,7 +108,7 @@ export const StripeSyncSettingsPage = () => {
<h5 className="text-sm">View Stripe data in Table Editor</h5>
<p className="text-sm text-foreground-light text-balance">
The Stripe Sync Engine stores all synced data in the{' '}
- <code className="text-code-inline !break-keep">stripe</code> schema. You can
+ <code className="text-code-inline break-keep!">stripe</code> schema. You can
view and query this data directly in the Table Editor.
</p>
</div>
diff --git a/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx b/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx
index c507cfc8906..522c8f7d320 100644
--- a/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx
+++ b/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx
@@ -23,7 +23,7 @@ export const AlgorithmHoverCard = ({ algorithm, legacy }: AlgorithmHoverCardProp
<HoverCardTrigger className="min-w-0">
<HelpCircle size={14} className="text-foreground-lighter" />
</HoverCardTrigger>
- <HoverCardContent className="w-[22rem] flex items-start gap-3" side="right" align="center">
+ <HoverCardContent className="w-88 flex items-start gap-3" side="right" align="center">
<div className="flex-1">
<h4 className="font-semibold truncate">{details.name}</h4>
<div className="flex flex-col gap-2 text-sm text-foreground-light">
diff --git a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx
index ceb2d8c1154..7cbae5e582b 100644
--- a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx
+++ b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx
@@ -166,7 +166,7 @@ export const JWTSecretKeysTable = () => {
if (!canReadAPIKeys && !isLoadingCanReadAPIKeys) {
return (
- <div className="bg-surface-100 rounded-md border shadow-sm">
+ <div className="bg-surface-100 rounded-md border shadow-xs">
<div className="flex items-center py-8 px-8 space-x-2">
<AlertCircle size={16} strokeWidth={1.5} />
<p className="text-sm text-foreground-light">
diff --git a/apps/studio/components/interfaces/JwtSecrets/jwt-settings.tsx b/apps/studio/components/interfaces/JwtSecrets/jwt-settings.tsx
index 311b5d44874..9c10d1ad6b0 100644
--- a/apps/studio/components/interfaces/JwtSecrets/jwt-settings.tsx
+++ b/apps/studio/components/interfaces/JwtSecrets/jwt-settings.tsx
@@ -219,7 +219,7 @@ export const JWTSettings = () => {
</div>
}
>
- <Panel.Content className="border-t border-panel-border-interior-light [[data-theme*=dark]_&]:border-panel-border-interior-dark">
+ <Panel.Content className="border-t border-panel-border-interior-light in-data-[theme*=dark]:border-panel-border-interior-dark">
<Form {...form}>
<form
id={formId}
@@ -239,7 +239,7 @@ export const JWTSettings = () => {
type="warning"
title="Legacy JWT secret has been migrated to new JWT Signing Keys"
>
- <p className="!leading-normal">
+ <p className="leading-normal!">
Legacy JWT secret can only be changed by rotating to a standby key and then
revoking it. It is used to{' '}
<em className="text-foreground not-italic">
@@ -249,7 +249,7 @@ export const JWTSettings = () => {
</p>
{legacyAPIKeysStatus && legacyAPIKeysStatus.enabled && (
- <p className="!leading-normal">
+ <p className="leading-normal!">
<em className="text-warning not-italic">
This includes the <code className="text-code-inline">anon</code> and{' '}
<code className="text-code-inline">service_role</code> JWT based API
@@ -373,7 +373,7 @@ export const JWTSettings = () => {
)}
<Collapsible_Shadcn_ className="bg border rounded-md mt-4">
- <CollapsibleTrigger_Shadcn_ className="p-4 w-full flex items-center justify-between [&[data-state=open]>svg]:!-rotate-180">
+ <CollapsibleTrigger_Shadcn_ className="p-4 w-full flex items-center justify-between [&[data-state=open]>svg]:-rotate-180!">
<p className="text-sm">
{disableLegacyJwtSecretRotation
? 'How to migrate to the new API keys?'
@@ -412,7 +412,7 @@ export const JWTSettings = () => {
</InlineLink>
, create a publishable key and secret key, then swap them into your apps
in place of <code className="text-code-inline">anon</code> and{' '}
- <code className="text-code-inline !break-keep">service_role</code>{' '}
+ <code className="text-code-inline break-keep!">service_role</code>{' '}
respectively. Watch the "Last used" indicators to confirm no traffic still
depends on the legacy keys.
</p>
diff --git a/apps/studio/components/interfaces/JwtSecrets/jwt.constants.ts b/apps/studio/components/interfaces/JwtSecrets/jwt.constants.ts
index d499f5cfb5e..6d4c4a46116 100644
--- a/apps/studio/components/interfaces/JwtSecrets/jwt.constants.ts
+++ b/apps/studio/components/interfaces/JwtSecrets/jwt.constants.ts
@@ -10,10 +10,10 @@ export const statusLabels: Record<JWTSigningKey['status'], string> = {
}
export const statusColors: Record<JWTSigningKey['status'], string> = {
- standby: 'bg-surface-300/100 text-foreground border border-foreground-muted',
- in_use: 'bg-brand-200/100 text-brand-600 border-brand-500',
+ standby: 'bg-surface-300 text-foreground border border-foreground-muted',
+ in_use: 'bg-brand-200 text-brand-600 border-brand-500',
previously_used: 'bg-purple-300 dark:bg-purple-100 text-purple-1200 border-purple-800',
- revoked: 'bg-destructive-200/100 text-destructive-600 border-destructive-500',
+ revoked: 'bg-destructive-200 text-destructive-600 border-destructive-500',
}
export const JWT_SECRET_UPDATE_ERROR_MESSAGES = {
diff --git a/apps/studio/components/interfaces/JwtSecrets/start-using-keys-banner.tsx b/apps/studio/components/interfaces/JwtSecrets/start-using-keys-banner.tsx
index 24dac8296ca..e2848124807 100644
--- a/apps/studio/components/interfaces/JwtSecrets/start-using-keys-banner.tsx
+++ b/apps/studio/components/interfaces/JwtSecrets/start-using-keys-banner.tsx
@@ -12,7 +12,7 @@ export const StartUsingJwtSigningKeysBanner = ({
}) => {
return (
<FeatureBanner bgAlt>
- <div className="flex flex-col gap-0 z-[2]">
+ <div className="flex flex-col gap-0 z-2">
<p className="text-sm text-foreground">Start using JWT signing keys</p>
<p className="text-sm text-foreground-lighter lg:max-w-sm 2xl:max-w-none">
Right now your project is using the legacy JWT secret. To start taking advantage of the
diff --git a/apps/studio/components/interfaces/Linter/LintPageTabs.tsx b/apps/studio/components/interfaces/Linter/LintPageTabs.tsx
index 1438613b1c4..25645f8e2b8 100644
--- a/apps/studio/components/interfaces/Linter/LintPageTabs.tsx
+++ b/apps/studio/components/interfaces/Linter/LintPageTabs.tsx
@@ -75,17 +75,17 @@ const LintPageTabs = ({ currentTab, setCurrentTab, isLoading, activeLints }: Lin
value={tab.id}
className={cn(
'group relative',
- 'px-6 py-3 border-b-0 flex flex-col items-start !shadow-none border-default border-t',
- 'even:border-x last:border-r even:!border-x-strong last:!border-r-strong',
- tab.id === currentTab ? '!bg-surface-200' : '!bg-surface-200/[33%]',
- 'hover:!bg-surface-100',
- 'data-[state=active]:!bg-surface-200',
+ 'px-6 py-3 border-b-0 flex flex-col items-start shadow-none! border-default border-t',
+ 'even:border-x last:border-r even:border-x-strong! last:border-r-strong!',
+ tab.id === currentTab ? 'bg-surface-200!' : 'bg-surface-200/33!',
+ 'hover:bg-surface-100!',
+ 'data-[state=active]:bg-surface-200!',
'hover:text-foreground-light',
'transition'
)}
>
{tab.id === currentTab && (
- <div className="absolute top-0 left-0 w-full h-[1px] bg-foreground" />
+ <div className="absolute top-0 left-0 w-full h-px bg-foreground" />
)}
<div className="flex items-center gap-x-2">
<span
diff --git a/apps/studio/components/interfaces/Linter/LinterDataGrid.tsx b/apps/studio/components/interfaces/Linter/LinterDataGrid.tsx
index 80089af4d55..6a7e10abe96 100644
--- a/apps/studio/components/interfaces/Linter/LinterDataGrid.tsx
+++ b/apps/studio/components/interfaces/Linter/LinterDataGrid.tsx
@@ -90,7 +90,7 @@ const LinterDataGrid = ({
return (
<div className="flex items-center justify-between font-mono font-normal text-xs w-full">
<div className="flex items-center gap-x-2">
- <p className="!text-foreground">{col.name}</p>
+ <p className="text-foreground!">{col.name}</p>
{col.description && <p className="text-foreground-lighter">{col.description}</p>}
</div>
</div>
@@ -139,7 +139,7 @@ const LinterDataGrid = ({
return [
`${isSelected ? 'bg-surface-300 dark:bg-surface-300' : 'bg-200'} cursor-pointer`,
`${isSelected ? '[&>div:first-child]:border-l-4 border-l-secondary [&>div]:border-l-foreground' : ''}`,
- '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell:first-child>div]:ml-4',
].join(' ')
}}
diff --git a/apps/studio/components/interfaces/Linter/LinterPageFooter.tsx b/apps/studio/components/interfaces/Linter/LinterPageFooter.tsx
index fe7ebc97f12..0423d8c5f85 100644
--- a/apps/studio/components/interfaces/Linter/LinterPageFooter.tsx
+++ b/apps/studio/components/interfaces/Linter/LinterPageFooter.tsx
@@ -48,7 +48,7 @@ export const LinterPageFooter = ({
<Button
type="default"
- className="!mt-3 w-min"
+ className="mt-3! w-min"
disabled={isLoading || isRefetching}
loading={isLoading || isRefetching}
onClick={() => refetch()}
diff --git a/apps/studio/components/interfaces/LogDrains/AnimatedLogos.tsx b/apps/studio/components/interfaces/LogDrains/AnimatedLogos.tsx
index c02bb826115..edcee81935b 100644
--- a/apps/studio/components/interfaces/LogDrains/AnimatedLogos.tsx
+++ b/apps/studio/components/interfaces/LogDrains/AnimatedLogos.tsx
@@ -115,7 +115,7 @@ export const AnimatedLogos = () => {
)
})}
</AnimatePresence>
- <div className="absolute -inset-4 bg-gradient-to-r from-background-surface-75 via-transparent to-background-surface-75 z-40" />
+ <div className="absolute -inset-4 bg-linear-to-r from-background-surface-75 via-transparent to-background-surface-75 z-40" />
</div>
)
}
diff --git a/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx b/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx
index b28dec28fa8..7228f38c38b 100644
--- a/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx
+++ b/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx
@@ -381,7 +381,7 @@ export function LogDrainDestinationSheetForm({
<SheetHeader>
<SheetTitle>Add destination</SheetTitle>
</SheetHeader>
- <SheetSection className="!px-0 !pb-0">
+ <SheetSection className="px-0! pb-0!">
<Form {...form}>
<form
id={FORM_ID}
@@ -859,7 +859,7 @@ export function LogDrainDestinationSheetForm({
</ul>
</SheetSection>
- <SheetFooter className="p-content !mt-0 !justify-between !flex-row w-full items-center">
+ <SheetFooter className="p-content mt-0! justify-between! flex-row! w-full items-center">
<div className="flex flex-col gap-0.5">
<span className="text-sm text-foreground-light">
<span>See full pricing breakdown</span>{' '}
diff --git a/apps/studio/components/interfaces/LogDrains/LogDrains.tsx b/apps/studio/components/interfaces/LogDrains/LogDrains.tsx
index 88649b8a9eb..567ce2b450c 100644
--- a/apps/studio/components/interfaces/LogDrains/LogDrains.tsx
+++ b/apps/studio/components/interfaces/LogDrains/LogDrains.tsx
@@ -170,7 +170,7 @@ export function LogDrains({
<DropdownMenuTrigger asChild>
<Button
type="text"
- className="px-1 opacity-50 hover:opacity-100 !bg-transparent shrink-0"
+ className="px-1 opacity-50 hover:opacity-100 bg-transparent! shrink-0"
icon={<MoreHorizontal />}
/>
</DropdownMenuTrigger>
diff --git a/apps/studio/components/interfaces/Observability/DatabaseInfrastructureSection.tsx b/apps/studio/components/interfaces/Observability/DatabaseInfrastructureSection.tsx
index 1c3d61525fe..61f6dbfca12 100644
--- a/apps/studio/components/interfaces/Observability/DatabaseInfrastructureSection.tsx
+++ b/apps/studio/components/interfaces/Observability/DatabaseInfrastructureSection.tsx
@@ -175,7 +175,7 @@ export const DatabaseInfrastructureSection = ({
</MetricCardHeader>
<MetricCardContent>
{infraError ? (
- <div className="text-xs text-destructive break-words">{errorMessage}</div>
+ <div className="text-xs text-destructive wrap-break-word">{errorMessage}</div>
) : connections.max > 0 ? (
<MetricCardValue>
{connections.current}/{connections.max}
@@ -196,7 +196,7 @@ export const DatabaseInfrastructureSection = ({
</MetricCardHeader>
<MetricCardContent>
{infraError ? (
- <div className="text-xs text-destructive break-words">{errorMessage}</div>
+ <div className="text-xs text-destructive wrap-break-word">{errorMessage}</div>
) : metrics ? (
<MetricCardValue>{metrics.disk.current.toFixed(0)}%</MetricCardValue>
) : (
@@ -215,7 +215,7 @@ export const DatabaseInfrastructureSection = ({
</MetricCardHeader>
<MetricCardContent>
{infraError ? (
- <div className="text-xs text-destructive break-words">{errorMessage}</div>
+ <div className="text-xs text-destructive wrap-break-word">{errorMessage}</div>
) : metrics ? (
<MetricCardValue>{metrics.diskIo.current.toFixed(0)}%</MetricCardValue>
) : (
@@ -234,7 +234,7 @@ export const DatabaseInfrastructureSection = ({
</MetricCardHeader>
<MetricCardContent>
{infraError ? (
- <div className="text-xs text-destructive break-words">{errorMessage}</div>
+ <div className="text-xs text-destructive wrap-break-word">{errorMessage}</div>
) : metrics ? (
<MetricCardValue>{metrics.ram.current.toFixed(0)}%</MetricCardValue>
) : (
@@ -253,7 +253,7 @@ export const DatabaseInfrastructureSection = ({
</MetricCardHeader>
<MetricCardContent>
{infraError ? (
- <div className="text-xs text-destructive break-words">{errorMessage}</div>
+ <div className="text-xs text-destructive wrap-break-word">{errorMessage}</div>
) : metrics ? (
<MetricCardValue>{metrics.cpu.current.toFixed(0)}%</MetricCardValue>
) : (
diff --git a/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx b/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx
index b3607c7d82b..c3bada798f0 100644
--- a/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx
+++ b/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx
@@ -244,7 +244,7 @@ export const AuditLogs = () => {
/>
{isSuccess && (
<>
- <div className="h-[20px] border-r border-strong !ml-4 !mr-2" />
+ <div className="h-[20px] border-r border-strong ml-4! mr-2!" />
<p className="prose text-xs">Viewing {sortedLogs.length} logs in total</p>
</>
)}
@@ -287,13 +287,13 @@ export const AuditLogs = () => {
{isSuccess && (
<>
{logs.length === 0 ? (
- <div className="bg-surface-100 border rounded p-4 flex items-center justify-between">
+ <div className="bg-surface-100 border rounded-sm p-4 flex items-center justify-between">
<p className="prose text-sm">
Your organization does not have any audit logs available yet
</p>
</div>
) : logs.length > 0 && sortedLogs.length === 0 ? (
- <div className="bg-surface-100 border rounded p-4 flex items-center justify-between">
+ <div className="bg-surface-100 border rounded-sm p-4 flex items-center justify-between">
<p className="prose text-sm">
No audit logs found based on the filters applied
</p>
@@ -373,7 +373,7 @@ export const AuditLogs = () => {
<Table.tr
key={log.occurred_at}
onClick={() => setSelectedLog(log)}
- className="cursor-pointer hover:!bg-alternative transition duration-100"
+ className="cursor-pointer hover:bg-alternative! transition duration-100"
>
<Table.td>
<div className="flex items-center space-x-4">
@@ -391,7 +391,7 @@ export const AuditLogs = () => {
<Table.td className="max-w-[250px]">
<div className="flex items-center space-x-2">
{hasStatusCode && (
- <p className="bg-surface-200 rounded px-1 flex items-center justify-center text-xs font-mono border">
+ <p className="bg-surface-200 rounded-sm px-1 flex items-center justify-center text-xs font-mono border">
{log.action.metadata[0].status}
</p>
)}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingBreakdown.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingBreakdown.tsx
index c27578b04db..9eeebc2b440 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingBreakdown.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingBreakdown.tsx
@@ -58,7 +58,7 @@ const BillingBreakdown = () => {
barClass="bg-foreground"
labelBottom={`${billingCycleStart.format('MMMM DD')} - ${billingCycleEnd.format('MMMM DD')}`}
bgClass="bg-surface-300"
- labelBottomClass="!text-foreground-light p-1 m-0"
+ labelBottomClass="text-foreground-light! p-1 m-0"
labelTop={
subscription
? `${daysToCycleEnd} ${daysToCycleEnd === 1 ? 'day' : 'days'} left`
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/UpcomingInvoice.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/UpcomingInvoice.tsx
index 335e0e8539b..580cc1cbe61 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/UpcomingInvoice.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/UpcomingInvoice.tsx
@@ -112,7 +112,7 @@ export const UpcomingInvoice = ({ slug }: UpcomingInvoiceProps) => {
<Table className="w-full text-sm">
<TableBody>
<TableRow>
- <TableCell className="!py-2 px-0">{planItem?.description}</TableCell>
+ <TableCell className="py-2! px-0">{planItem?.description}</TableCell>
<TableCell className="text-right py-2 px-0">
{planItem == null ? (
'-'
@@ -439,7 +439,7 @@ function ComputeLineItem({
return (
<>
<TableRow>
- <TableCell className="!py-2 px-0 flex items-center gap-1">
+ <TableCell className="py-2! px-0 flex items-center gap-1">
<span>{title}</span>
<InfoTooltip className="max-w-sm">{tooltip}</InfoTooltip>
</TableCell>
@@ -452,11 +452,11 @@ function ComputeLineItem({
</TableRow>
{computeProjects.map((project) => (
<TableRow key={project.project_ref} className="text-foreground-light text-xs">
- <TableCell className="!py-2 px-0 pl-6">
+ <TableCell className="py-2! px-0 pl-6">
{project.project_name} ({project.computeType} - {project.usage} Hours)
</TableCell>
- <TableCell className="!py-2 px-0 text-right" translate="no">
+ <TableCell className="py-2! px-0 text-right" translate="no">
{formatCurrency(project.computeCosts)}
</TableCell>
</TableRow>
@@ -469,11 +469,11 @@ function ComputeLineItem({
key={title + computeItem.usage_metric}
className="text-foreground-light text-xs"
>
- <TableCell className="!py-2 px-0 pl-6">
+ <TableCell className="py-2! px-0 pl-6">
{computeItem.description} - {computeItem.usage_original} Hours
</TableCell>
- <TableCell className="!py-2 px-0 text-right" translate="no">
+ <TableCell className="py-2! px-0 text-right" translate="no">
{formatCurrency(computeItem.amount)}
</TableCell>
</TableRow>
@@ -481,8 +481,8 @@ function ComputeLineItem({
{computeCredits && (
<TableRow className="text-foreground-light text-xs">
- <TableCell className="!py-2 px-0 pl-6">Compute Credits</TableCell>
- <TableCell className="!py-2 px-0 text-right" translate="no">
+ <TableCell className="py-2! px-0 pl-6">Compute Credits</TableCell>
+ <TableCell className="py-2! px-0 text-right" translate="no">
{formatCurrency(computeCredits.amount)}
</TableCell>
</TableRow>
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingEmail.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingEmail.tsx
index 2c843d8b112..a50b72fd7a4 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingEmail.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingEmail.tsx
@@ -133,7 +133,7 @@ const BillingEmail = () => {
</div>
}
>
- <FormSection className="!px-8">
+ <FormSection className="px-8!">
<FormSectionContent fullWidth loading={loadingBillingCustomer}>
<FormField
control={form.control}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx
index efd337d2413..d9f7d90b3b1 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx
@@ -48,7 +48,7 @@ export const BillingSettings = () => {
<ScaffoldTitle>Billing</ScaffoldTitle>
</ScaffoldContainerLegacy>
- <ScaffoldContainer id="subscription" className={cn('[&>div]:!pt-0')}>
+ <ScaffoldContainer id="subscription" className={cn('[&>div]:pt-0!')}>
<Subscription />
</ScaffoldContainer>
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/CostControl.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/CostControl.tsx
index 4dc9b475a86..13bf71bbfec 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/CostControl.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/CostControl.tsx
@@ -144,7 +144,7 @@ const CostControl = ({}: CostControlProps) => {
<div className="flex flex-col md:flex-row gap-6">
<div>
- <div className="rounded-md bg-surface-200 w-[160px] h-[96px] shadow">
+ <div className="rounded-md bg-surface-200 w-[160px] h-[96px] shadow-sm">
<Image
alt="Spend Cap"
width={160}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx
index d72172af75b..ca45f08f494 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx
@@ -201,7 +201,7 @@ const SpendCapSidePanel = () => {
/>
)}
- <div className="!mt-8 pb-4">
+ <div className="mt-8! pb-4">
<div className="flex gap-3">
{SPEND_CAP_OPTIONS.map((option) => {
const isSelected = selectedOption === option.value
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/CreditCodeRedemption.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/CreditCodeRedemption.tsx
index 6a692073177..bdd49ee2b66 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/CreditCodeRedemption.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/CreditCodeRedemption.tsx
@@ -182,14 +182,14 @@ export const CreditCodeRedemption = ({
size="invisible"
onOpen={() => {
// [Joshen] This is to ensure that hCaptcha popup remains clickable
- if (document !== undefined) document.body.classList.add('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.add('pointer-events-auto!')
}}
onClose={() => {
- if (document !== undefined) document.body.classList.remove('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.remove('pointer-events-auto!')
}}
onVerify={(token) => {
captchaTokenRef.current = token
- if (document !== undefined) document.body.classList.remove('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.remove('pointer-events-auto!')
}}
onExpire={() => {
captchaTokenRef.current = null
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/CreditTopUp.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/CreditTopUp.tsx
index 1553f619d31..47160190045 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/CreditTopUp.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/CreditTopUp.tsx
@@ -280,14 +280,14 @@ export const CreditTopUp = ({ slug }: { slug: string | undefined }) => {
size="invisible"
onOpen={() => {
// [Joshen] This is to ensure that hCaptcha popup remains clickable
- if (document !== undefined) document.body.classList.add('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.add('pointer-events-auto!')
}}
onClose={() => {
- if (document !== undefined) document.body.classList.remove('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.remove('pointer-events-auto!')
}}
onVerify={(token) => {
setCaptchaToken(token)
- if (document !== undefined) document.body.classList.remove('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.remove('pointer-events-auto!')
}}
onExpire={() => {
setCaptchaToken(null)
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/EnterpriseCard.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/EnterpriseCard.tsx
index ddd7bdef443..0b843e78399 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/EnterpriseCard.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/EnterpriseCard.tsx
@@ -31,11 +31,11 @@ export const EnterpriseCard = ({ plan, isCurrentPlan }: EnterpriseCardProps) =>
<div className="flex items-center space-x-2">
<p className={cn('text-brand text-sm uppercase')}>{plan.name}</p>
{isCurrentPlan ? (
- <div className="text-xs bg-surface-300 text-foreground-light rounded px-2 py-0.5">
+ <div className="text-xs bg-surface-300 text-foreground-light rounded-sm px-2 py-0.5">
Current plan
</div>
) : plan.nameBadge ? (
- <div className="text-xs bg-surface-200 text-brand rounded px-2 py-0.5">
+ <div className="text-xs bg-surface-200 text-brand rounded-sm px-2 py-0.5">
{plan.nameBadge}
</div>
) : null}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsx
index e58a7678b58..fb84a6b72e0 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsx
@@ -116,7 +116,7 @@ export const ExitSurveyModal = ({ visible, projects, onClose }: ExitSurveyModalP
className={cn(
'flex cursor-pointer items-center space-x-2 rounded-md py-1',
'pl-2 pr-3 text-center text-sm',
- 'shadow-sm transition-all duration-100',
+ 'shadow-xs transition-all duration-100',
active
? `bg-foreground text-background opacity-100 hover:bg-foreground/75`
: `bg-border-strong text-foreground opacity-75 hover:opacity-100`
@@ -136,7 +136,7 @@ export const ExitSurveyModal = ({ visible, projects, onClose }: ExitSurveyModalP
})}
</div>
<div className="text-area-text-sm flex flex-col gap-y-2">
- <label className="text-sm whitespace-pre-line break-words">{textareaLabel}</label>
+ <label className="text-sm whitespace-pre-line wrap-break-word">{textareaLabel}</label>
<Input.TextArea
id="message"
name="message"
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PaymentMethodSelection.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PaymentMethodSelection.tsx
index 8066f002fc6..1d733e470af 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PaymentMethodSelection.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PaymentMethodSelection.tsx
@@ -275,15 +275,15 @@ const PaymentMethodSelection = forwardRef(function PaymentMethodSelection(
size="invisible"
onOpen={() => {
// [Joshen] This is to ensure that hCaptcha popup remains clickable
- if (document !== undefined) document.body.classList.add('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.add('pointer-events-auto!')
}}
onClose={() => {
setSetupIntent(undefined)
- if (document !== undefined) document.body.classList.remove('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.remove('pointer-events-auto!')
}}
onVerify={(token) => {
setCaptchaToken(token)
- if (document !== undefined) document.body.classList.remove('!pointer-events-auto')
+ if (document !== undefined) document.body.classList.remove('pointer-events-auto!')
}}
onExpire={() => {
setCaptchaToken(null)
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
index da1a3e9d649..a527b6153bb 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
@@ -279,11 +279,11 @@ export const PlanUpdateSidePanel = () => {
<div className="flex items-center space-x-2">
<p className="text-brand-link text-sm uppercase">{plan.name}</p>
{isCurrentPlan ? (
- <div className="text-xs bg-surface-300 text-foreground-light rounded px-2 py-0.5">
+ <div className="text-xs bg-surface-300 text-foreground-light rounded-sm px-2 py-0.5">
Current plan
</div>
) : plan.nameBadge ? (
- <div className="text-xs bg-brand-300 dark:bg-brand-400 text-brand-600 rounded px-2 py-0.5">
+ <div className="text-xs bg-brand-300 dark:bg-brand-400 text-brand-600 rounded-sm px-2 py-0.5">
{plan.nameBadge}
</div>
) : null}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx
index a4efb0fbcb2..c24380673ed 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx
@@ -133,7 +133,7 @@ const Subscription = () => {
type="default"
title="This organization is limited by the included usage"
>
- <div className="[&>p]:!leading-normal prose text-sm">
+ <div className="[&>p]:leading-normal! prose text-sm">
Projects may become unresponsive when this organization exceeds its{' '}
<Link href={`/org/${slug}/usage`}>included usage quota</Link>. To scale
seamlessly,{' '}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx
index 7509cba031f..8d806840a80 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx
@@ -525,7 +525,7 @@ export const SubscriptionPlanUpdateDialog = ({
<>
{planItem && (
<TableRow className="text-foreground-light">
- <TableCell className="!py-2 px-0">
+ <TableCell className="py-2! px-0">
{planItem.description}
</TableCell>
<TableCell
@@ -541,7 +541,7 @@ export const SubscriptionPlanUpdateDialog = ({
{allProjects.length > 0 && (
<>
<TableRow className="text-foreground-light">
- <TableCell className="!py-2 px-0 flex items-center gap-1">
+ <TableCell className="py-2! px-0 flex items-center gap-1">
<span>Compute</span>
</TableCell>
<TableCell
@@ -563,7 +563,7 @@ export const SubscriptionPlanUpdateDialog = ({
className="text-foreground-light"
>
<TableCell
- className="!py-2 px-0 pl-6"
+ className="py-2! px-0 pl-6"
translate="no"
>
{project.project_name} ({project.computeType}) |{' '}
@@ -574,7 +574,7 @@ export const SubscriptionPlanUpdateDialog = ({
{computeCreditsItem && (
<TableRow className="text-foreground-light">
<TableCell
- className="!py-2 px-0 pl-6"
+ className="py-2! px-0 pl-6"
translate="no"
>
Compute Credits |{' '}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/UpgradeModal.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/UpgradeModal.tsx
index 6dba37f0fea..57c3c61de2e 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/UpgradeModal.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/UpgradeModal.tsx
@@ -86,7 +86,7 @@ const UpgradeSurveyModal = ({
className={`
flex cursor-pointer items-center space-x-2 rounded-md py-1
pl-2 pr-3 text-center text-sm
- shadow-sm transition-all duration-100
+ shadow-xs transition-all duration-100
${
active
? ` bg-foreground text-background opacity-100 hover:bg-foreground/75`
diff --git a/apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceAutoRenewalWarning.tsx b/apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceAutoRenewalWarning.tsx
index 3173ceeceec..9aa1e25f0e2 100644
--- a/apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceAutoRenewalWarning.tsx
+++ b/apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceAutoRenewalWarning.tsx
@@ -17,7 +17,7 @@ const AwsMarketplaceAutoRenewalWarning = ({
<AlertTitle_Shadcn_ className="text-foreground font-bold text-orange-1000">
“Auto Renewal” is turned OFF for your AWS Marketplace subscription
</AlertTitle_Shadcn_>
- <AlertDescription_Shadcn_ className="flex flex-col gap-3 break-words">
+ <AlertDescription_Shadcn_ className="flex flex-col gap-3 wrap-break-word">
<div>
As a result, your Supabase organization will be downgraded to the Free Plan on{' '}
{dayjs(awsContractEndDate).format('MMMM DD')}. If you have more than 2 projects running,
diff --git a/apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceLinkExistingOrg.tsx b/apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceLinkExistingOrg.tsx
index eb63f167be8..f5fc42eb5bf 100644
--- a/apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceLinkExistingOrg.tsx
+++ b/apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceLinkExistingOrg.tsx
@@ -247,14 +247,14 @@ export const AwsMarketplaceLinkExistingOrg = ({
</p>
<ChevronRight
size={16}
- className="text-foreground-lighter transition-all group-data-[state=open]:rotate-90"
+ className="text-foreground-lighter transition-all group-data-open:rotate-90"
strokeWidth={1}
/>
</CollapsibleTrigger_Shadcn_>
<CollapsibleContent_Shadcn_
className={cn(
'flex flex-col gap-4 transition-all',
- 'data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down'
+ 'data-closed:animate-collapsible-up data-open:animate-collapsible-down'
)}
>
<p className="text-foreground-light text-xs">
diff --git a/apps/studio/components/interfaces/Organization/HeaderBanner.tsx b/apps/studio/components/interfaces/Organization/HeaderBanner.tsx
index f46880737ac..302648dcf61 100644
--- a/apps/studio/components/interfaces/Organization/HeaderBanner.tsx
+++ b/apps/studio/components/interfaces/Organization/HeaderBanner.tsx
@@ -110,7 +110,7 @@ export const HeaderBanner = ({ variant, title, description, onDismiss }: HeaderB
<Button
type="text"
size="tiny"
- className="opacity-75 z-[1] shrink-0 p-0.5 h-auto absolute right-5 md:right-4 top-1/2 -translate-y-1/2"
+ className="opacity-75 z-1 shrink-0 p-0.5 h-auto absolute right-5 md:right-4 top-1/2 -translate-y-1/2"
onClick={onDismiss}
aria-label="Dismiss banner"
>
diff --git a/apps/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx b/apps/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
index d9fb42c249f..348f5271829 100644
--- a/apps/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
+++ b/apps/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
@@ -149,7 +149,7 @@ export const InvoicesSettings = () => {
<TableRow className="rounded-b">
<TableCell
colSpan={invoices.length > 0 ? 6 : 5}
- className="!p-0 !rounded-b overflow-hidden"
+ className="p-0! rounded-b! overflow-hidden"
>
<AlertError
className="border-0 rounded-none"
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx
index 67e531186f2..1f9b78bcef6 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx
@@ -76,7 +76,7 @@ export const OAuthAppRow = ({ app, onSelectEdit, onSelectDelete }: OAuthAppRowPr
<DropdownMenuItem
key="edit"
disabled={!canUpdateOAuthApps}
- className="space-x-2 !pointer-events-auto"
+ className="space-x-2 pointer-events-auto!"
onClick={() => {
if (canUpdateOAuthApps) onSelectEdit()
}}
@@ -96,7 +96,7 @@ export const OAuthAppRow = ({ app, onSelectEdit, onSelectDelete }: OAuthAppRowPr
<TooltipTrigger asChild>
<DropdownMenuItem
disabled={!canDeleteOAuthApps}
- className="space-x-2 !pointer-events-auto"
+ className="space-x-2 pointer-events-auto!"
key="delete"
onClick={() => {
if (canDeleteOAuthApps) onSelectDelete()
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx
index 2bc700e4b1d..341ab20c308 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx
@@ -199,7 +199,7 @@ export const OAuthApps = () => {
className={cn(
'flex items-center justify-between p-4 px-6 border first:rounded-t last:rounded-b',
'bg-background-alternative',
- 'rounded'
+ 'rounded-sm'
)}
>
<div className="absolute top-4 right-4">
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel/index.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel/index.tsx
index 6a8d6e1f5fd..96bdd311743 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel/index.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel/index.tsx
@@ -255,7 +255,7 @@ export const PublishAppSidePanel = ({
{iconUrl !== undefined ? (
<div
className={cn(
- 'shadow transition group relative',
+ 'shadow-sm transition group relative',
'bg-center bg-cover bg-no-repeat',
'mt-4 mr-4 space-y-2 rounded-full h-[120px] w-[120px] flex flex-col items-center justify-center'
)}
@@ -427,7 +427,7 @@ export const PublishAppSidePanel = ({
<Modal
hideFooter
showCloseButton={false}
- className="!max-w-[600px]"
+ className="max-w-[600px]!"
visible={showPreview}
onCancel={() => setShowPreview(false)}
>
@@ -447,7 +447,7 @@ export const PublishAppSidePanel = ({
/>
<div className="pt-4 space-y-2">
<p className="prose text-sm">Select an organization to grant API access to</p>
- <div className="border border-control text-foreground-light rounded px-4 py-2 text-sm bg-surface-200">
+ <div className="border border-control text-foreground-light rounded-sm px-4 py-2 text-sm bg-surface-200">
Organizations that you have access to will be listed here
</div>
</div>
diff --git a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/AppsList/AppsListLoading.tsx b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/AppsList/AppsListLoading.tsx
index cc11ea87bf8..a9f40c590c0 100644
--- a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/AppsList/AppsListLoading.tsx
+++ b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/AppsList/AppsListLoading.tsx
@@ -15,10 +15,10 @@ export function AppsListLoading() {
{Array.from({ length: 3 }).map((_, i) => (
<TableRow key={i}>
<TableCell>
- <div className="h-4 w-32 bg-surface-300 rounded animate-pulse" />
+ <div className="h-4 w-32 bg-surface-300 rounded-sm animate-pulse" />
</TableCell>
<TableCell>
- <div className="h-4 w-24 bg-surface-300 rounded animate-pulse" />
+ <div className="h-4 w-24 bg-surface-300 rounded-sm animate-pulse" />
</TableCell>
<TableCell />
</TableRow>
diff --git a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/AppsList/AppsListTable.tsx b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/AppsList/AppsListTable.tsx
index 8cde0311714..9c56df35c0c 100644
--- a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/AppsList/AppsListTable.tsx
+++ b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/AppsList/AppsListTable.tsx
@@ -95,7 +95,7 @@ export function AppsListTable({
)}
<DropdownMenuSeparator />
<DropdownMenuItem
- className="!text-destructive gap-x-2"
+ className="text-destructive! gap-x-2"
onClick={() => onDeleteApp(app)}
>
<Trash size={14} />
diff --git a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/CreateAppSheet/CreateAppSheet.tsx b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/CreateAppSheet/CreateAppSheet.tsx
index c3be37b83a9..d053b4b19c6 100644
--- a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/CreateAppSheet/CreateAppSheet.tsx
+++ b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/CreateAppSheet/CreateAppSheet.tsx
@@ -142,7 +142,7 @@ export function CreateAppSheet({ visible, onClose, onCreated }: CreateAppSheetPr
<SheetContent
showClose={false}
size="default"
- className="!min-w-[600px] flex flex-col h-full gap-0"
+ className="min-w-[600px]! flex flex-col h-full gap-0"
>
<SheetHeader>
<SheetTitle>Create private app</SheetTitle>
@@ -347,7 +347,7 @@ export function CreateAppSheet({ visible, onClose, onCreated }: CreateAppSheetPr
readOnly
value={generatedKey.private_key}
rows={8}
- className="w-full rounded-md border border-control bg-surface-200 px-3 py-2 text-xs font-mono resize-none focus:outline-none"
+ className="w-full rounded-md border border-control bg-surface-200 px-3 py-2 text-xs font-mono resize-none focus:outline-hidden"
/>
<label className="flex items-center gap-3 cursor-pointer bg-warning-200 border border-warning-400 rounded-md px-3 py-2">
<Checkbox
@@ -366,7 +366,7 @@ export function CreateAppSheet({ visible, onClose, onCreated }: CreateAppSheetPr
</div>
</ScrollArea>
- <SheetFooter className="!justify-end w-full mt-auto py-4 border-t">
+ <SheetFooter className="justify-end! w-full mt-auto py-4 border-t">
<div className="flex gap-2">
<Button type="default" onClick={handleRequestClose} disabled={isLoading}>
Cancel
diff --git a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheet.tsx b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheet.tsx
index c2c7c68ee94..1ced43bcd04 100644
--- a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheet.tsx
+++ b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheet.tsx
@@ -62,7 +62,7 @@ export function ViewAppSheet({ app, visible, onClose, onDeleted }: ViewAppSheetP
<SheetContent
showClose={false}
size="default"
- className="!min-w-[600px] flex flex-col h-full gap-0"
+ className="min-w-[600px]! flex flex-col h-full gap-0"
>
<SheetHeader
className={cn('flex flex-row justify-between gap-x-4 items-center border-b')}
diff --git a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx
index 5390e57c61a..37da58d47a4 100644
--- a/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx
+++ b/apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx
@@ -38,7 +38,7 @@ function CopyableId({ id, label }: { id: string; label: string }) {
return (
<button
onClick={handleCopy}
- className="inline-flex items-center gap-x-1 cursor-pointer border border-transparent border-dashed rounded transition-colors hover:bg-surface-100 hover:border hover:border-strong group font-mono text-xs text-foreground-light px-1 -ml-1"
+ className="inline-flex items-center gap-x-1 cursor-pointer border border-transparent border-dashed rounded-sm transition-colors hover:bg-surface-100 hover:border hover:border-strong group font-mono text-xs text-foreground-light px-1 -ml-1"
>
<span className="truncate">{id}</span>
{isCopied ? (
diff --git a/apps/studio/components/interfaces/Organization/ProjectClaim/confirm.tsx b/apps/studio/components/interfaces/Organization/ProjectClaim/confirm.tsx
index 89e4134fb87..d4fdffbdf0b 100644
--- a/apps/studio/components/interfaces/Organization/ProjectClaim/confirm.tsx
+++ b/apps/studio/components/interfaces/Organization/ProjectClaim/confirm.tsx
@@ -97,7 +97,7 @@ export const ProjectClaimConfirm = ({
<div className="flex items-center justify-center w-28 relative">
<div className="h-0.5 w-full border-2 border-dashed border-stronger" />
- <div className="rounded-full border flex items-center justify-center h-10 w-full shadow-sm">
+ <div className="rounded-full border flex items-center justify-center h-10 w-full shadow-xs">
<ChevronsLeftRight className="text-muted-foreground" size={24} />
</div>
<div className="h-0.5 w-full border-2 border-dashed border-stronger z-10" />
@@ -183,14 +183,14 @@ export const ProjectClaimConfirm = ({
<ChevronRight
size={16}
- className="text-foreground-light transition-all group-data-[state=open]:rotate-90 w-20"
+ className="text-foreground-light transition-all group-data-open:rotate-90 w-20"
strokeWidth={1}
/>
</CollapsibleTrigger_Shadcn_>
<CollapsibleContent_Shadcn_
className={cn(
'flex flex-col gap-8 transition-all',
- 'data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down'
+ 'data-closed:animate-collapsible-up data-open:animate-collapsible-down'
)}
>
<div>
diff --git a/apps/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx b/apps/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx
index 760b9facecf..3ee322a066c 100644
--- a/apps/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx
+++ b/apps/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx
@@ -425,7 +425,7 @@ export const InviteMemberButton = () => {
)}
/>
</DialogSection>
- <DialogFooter className="!justify-between">
+ <DialogFooter className="justify-between!">
<Button type="default" onClick={confirmOnClose}>
Cancel
</Button>
diff --git a/apps/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx b/apps/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx
index d57e5d55e2b..505991fb5e7 100644
--- a/apps/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx
+++ b/apps/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx
@@ -93,7 +93,7 @@ const MembersView = ({ searchString }: MembersViewProps) => {
)}
{isSuccessMembers && (
- <div className="rounded w-full overflow-hidden overflow-x-scroll">
+ <div className="rounded-sm w-full overflow-hidden overflow-x-scroll">
<Card>
<Loading active={!filteredMembers}>
<Table>
@@ -111,7 +111,7 @@ const MembersView = ({ searchString }: MembersViewProps) => {
...(isSuccessRoles && isSuccessMembers && !isOrgScopedRole
? [
<TableRow key="project-scope-notice">
- <TableCell colSpan={12} className="!p-0">
+ <TableCell colSpan={12} className="p-0!">
<Admonition
type="note"
title="You have limited visibility in this organization"
diff --git a/apps/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx b/apps/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx
index 121234a7dc6..e6c3a22657c 100644
--- a/apps/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx
+++ b/apps/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx
@@ -33,7 +33,7 @@ export const TeamSettings = () => {
return (
<ScaffoldContainer>
- <ScaffoldSection isFullWidth className="!py-8 gap-y-8">
+ <ScaffoldSection isFullWidth className="py-8! gap-y-8">
<ScaffoldTitle>Team</ScaffoldTitle>
<ScaffoldFilterAndContent>
<ScaffoldActionsContainer className="w-full flex-col md:flex-row gap-2 justify-between">
diff --git a/apps/studio/components/interfaces/Organization/TeamSettings/UpdateRolesPanel/UpdateRolesPanel.tsx b/apps/studio/components/interfaces/Organization/TeamSettings/UpdateRolesPanel/UpdateRolesPanel.tsx
index 78cf844a38d..465978ef348 100644
--- a/apps/studio/components/interfaces/Organization/TeamSettings/UpdateRolesPanel/UpdateRolesPanel.tsx
+++ b/apps/studio/components/interfaces/Organization/TeamSettings/UpdateRolesPanel/UpdateRolesPanel.tsx
@@ -217,10 +217,7 @@ export const UpdateRolesPanel = ({ visible, member, onClose }: UpdateRolesPanelP
? `This member only has access to ${numberOfProjectsWithAccess} project${numberOfProjectsWithAccess > 1 ? 's' : ''}`
: `This member will only have access to ${numberOfProjectsWithAccess} project${numberOfProjectsWithAccess > 1 ? 's' : ''}`}
</span>
- <ChevronDown
- size={14}
- className="transition group-data-[state=open]:-rotate-180"
- />
+ <ChevronDown size={14} className="transition group-data-open:-rotate-180" />
</CollapsibleTrigger_Shadcn_>
<CollapsibleContent_Shadcn_ className="text-foreground-light text-sm px-4">
<p>
@@ -351,7 +348,7 @@ export const UpdateRolesPanel = ({ visible, member, onClose }: UpdateRolesPanelP
)}
</SheetSection>
- <SheetFooter className="flex items-center !justify-end px-5 py-4 w-full border-t">
+ <SheetFooter className="flex items-center justify-end! px-5 py-4 w-full border-t">
<Button type="default" disabled={false} onClick={() => onClose()}>
Cancel
</Button>
diff --git a/apps/studio/components/interfaces/Organization/Usage/TotalUsage.tsx b/apps/studio/components/interfaces/Organization/Usage/TotalUsage.tsx
index e8808525512..f3f3f826af9 100644
--- a/apps/studio/components/interfaces/Organization/Usage/TotalUsage.tsx
+++ b/apps/studio/components/interfaces/Organization/Usage/TotalUsage.tsx
@@ -193,7 +193,7 @@ export const TotalUsage = ({
)}
</p>
)}
- <div className="grid grid-cols-2 mt-3 gap-[1px] bg-border">
+ <div className="grid grid-cols-2 mt-3 gap-px bg-border">
{sortedBillingMetrics.map((metric, i) => {
return (
<div
diff --git a/apps/studio/components/interfaces/Organization/Usage/Usage.tsx b/apps/studio/components/interfaces/Organization/Usage/Usage.tsx
index 3bca73d5b05..4c0c21f4a8c 100644
--- a/apps/studio/components/interfaces/Organization/Usage/Usage.tsx
+++ b/apps/studio/components/interfaces/Organization/Usage/Usage.tsx
@@ -120,7 +120,7 @@ export const Usage = () => {
<ScaffoldTitle>Usage</ScaffoldTitle>
</ScaffoldHeader>
</ScaffoldContainer>
- <div className="sticky top-0 border-b bg-sidebar z-[1]">
+ <div className="sticky top-0 border-b bg-sidebar z-1">
<ScaffoldContainer>
<div className="py-4 flex items-center space-x-4">
{isLoadingSubscription || isLoadingPermissions ? (
@@ -153,7 +153,7 @@ export const Usage = () => {
loading={isLoadingSubscription}
currentBillingPeriodStart={subscription?.current_period_start}
currentBillingPeriodEnd={subscription?.current_period_end}
- className="!w-48"
+ className="w-48!"
/>
<OrganizationProjectSelector
diff --git a/apps/studio/components/interfaces/Organization/Usage/UsageSection/DatabaseSizeUsage.tsx b/apps/studio/components/interfaces/Organization/Usage/UsageSection/DatabaseSizeUsage.tsx
index 5b72e3c7471..45eacff7606 100644
--- a/apps/studio/components/interfaces/Organization/Usage/UsageSection/DatabaseSizeUsage.tsx
+++ b/apps/studio/components/interfaces/Organization/Usage/UsageSection/DatabaseSizeUsage.tsx
@@ -129,7 +129,7 @@ const DatabaseSizeUsage = ({
<div className="flex flex-col gap-2">
<div className="flex items-center h-6 gap-3">
<span className="text-foreground-light text-sm font-mono flex items-center gap-2">
- <span className="text-foreground font-semibold font-mono -mt-[2px]">
+ <span className="text-foreground font-semibold font-mono mt-[-2px]">
{formatBytes(project.usage)}
</span>{' '}
Database Size
diff --git a/apps/studio/components/interfaces/Organization/Usage/UsageSection/DiskUsage.tsx b/apps/studio/components/interfaces/Organization/Usage/UsageSection/DiskUsage.tsx
index d461138ba5d..9c3673ca47f 100644
--- a/apps/studio/components/interfaces/Organization/Usage/UsageSection/DiskUsage.tsx
+++ b/apps/studio/components/interfaces/Organization/Usage/UsageSection/DiskUsage.tsx
@@ -189,7 +189,7 @@ export const DiskUsage = ({
<div className="flex flex-col gap-2">
<div className="flex items-center h-6 gap-3">
<span className="text-foreground-light text-sm font-mono flex items-center gap-2">
- <span className="text-foreground font-semibold -mt-[2px]">
+ <span className="text-foreground font-semibold mt-[-2px]">
<MotionNumber
value={totalDiskUsage}
style={{ lineHeight: 0.8 }}
diff --git a/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.tsx b/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.tsx
index bb51676d405..dd4101c5e45 100644
--- a/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.tsx
+++ b/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.tsx
@@ -64,7 +64,7 @@ export const OrganizationInvite = () => {
<div
className={cn(
'mx-auto overflow-hidden rounded-md border',
- 'border-muted bg-alternative text-center shadow',
+ 'border-muted bg-alternative text-center shadow-sm',
'md:w-[400px]'
)}
>
diff --git a/apps/studio/components/interfaces/Platform/Webhooks/PlatformWebhooksEndpointSheet.tsx b/apps/studio/components/interfaces/Platform/Webhooks/PlatformWebhooksEndpointSheet.tsx
index 59cb8960e0e..ec94a011f8e 100644
--- a/apps/studio/components/interfaces/Platform/Webhooks/PlatformWebhooksEndpointSheet.tsx
+++ b/apps/studio/components/interfaces/Platform/Webhooks/PlatformWebhooksEndpointSheet.tsx
@@ -505,7 +505,7 @@ export const PlatformWebhooksEndpointSheet = ({
{allSelected ? 'Clear all' : 'Select all'}
</span>
)}
- <ChevronDown className="h-4 w-4 shrink-0 transition-transform duration-200 group-data-[state=open]:rotate-180" />
+ <ChevronDown className="h-4 w-4 shrink-0 transition-transform duration-200 group-data-open:rotate-180" />
</div>
</div>
</AccordionTrigger>
diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/Content/Entity.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/Content/Entity.tsx
index 644bc01ed03..8639dc516f3 100644
--- a/apps/studio/components/interfaces/ProjectAPIDocs/Content/Entity.tsx
+++ b/apps/studio/components/interfaces/ProjectAPIDocs/Content/Entity.tsx
@@ -64,7 +64,7 @@ export const Entity = ({ language, apikey = '', endpoint = '' }: ContentProps) =
</div>
<LanguageSelector />
</div>
- <div className="space-y-2 px-4 py-4 !border-t-0">
+ <div className="space-y-2 px-4 py-4 border-t-0!">
<p className="text-sm text-foreground-light">Columns</p>
<Table
head={[
diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/ContentSnippet.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/ContentSnippet.tsx
index 423e769e424..0b3bfbe003d 100644
--- a/apps/studio/components/interfaces/ProjectAPIDocs/ContentSnippet.tsx
+++ b/apps/studio/components/interfaces/ProjectAPIDocs/ContentSnippet.tsx
@@ -70,7 +70,7 @@ const ContentSnippet = ({
{children}
{codeSnippet !== undefined && (
<div className="px-4 codeblock-container">
- <div className="bg rounded p-2">
+ <div className="bg rounded-sm p-2">
<SimpleCodeBlock className={selectedLanguage} onCopy={handleCopy}>
{codeSnippet}
</SimpleCodeBlock>
diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/FirstLevelNav.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/FirstLevelNav.tsx
index 612c056c5f3..1ac1f02f5bf 100644
--- a/apps/studio/components/interfaces/ProjectAPIDocs/FirstLevelNav.tsx
+++ b/apps/studio/components/interfaces/ProjectAPIDocs/FirstLevelNav.tsx
@@ -23,7 +23,7 @@ type DocsCategory = DocsSection['key']
type DocsContentRegistry = typeof DOCS_CONTENT
type DocsSnippet = DocsContentRegistry[keyof DocsContentRegistry]
-const Separator = () => <hr className="border-t !mt-3 pb-1 mx-3" />
+const Separator = () => <hr className="border-t mt-3! pb-1 mx-3" />
const MENU_BUTTON_CLASSES = cn(
'w-full px-4',
@@ -118,7 +118,7 @@ export const FirstLevelNav = (): ReactNode => {
}
onClick={() => snap.setShowProjectApiDocs(false)}
>
- <Link className="!justify-start" href={`/project/${ref}/integrations/graphiql`}>
+ <Link className="justify-start!" href={`/project/${ref}/integrations/graphiql`}>
GraphiQL
</Link>
</Button>
@@ -127,7 +127,7 @@ export const FirstLevelNav = (): ReactNode => {
href={`${DOCS_URL}/guides/graphql`}
target="_blank"
rel="noreferrer"
- className="!justify-start"
+ className="justify-start!"
>
GraphQL guide
</Link>
@@ -136,7 +136,7 @@ export const FirstLevelNav = (): ReactNode => {
<div className="px-2 py-4">
<Button block asChild type="text" size="small" icon={<Book />}>
- <Link href={`${DOCS_URL}`} target="_blank" rel="noreferrer" className="!justify-start">
+ <Link href={`${DOCS_URL}`} target="_blank" rel="noreferrer" className="justify-start!">
Documentation
</Link>
</Button>
@@ -145,7 +145,7 @@ export const FirstLevelNav = (): ReactNode => {
href={`${DOCS_URL}/guides/api`}
target="_blank"
rel="noreferrer"
- className="!justify-start"
+ className="justify-start!"
>
REST guide
</Link>
diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/ResourceContent.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/ResourceContent.tsx
index a0bb6d9abf1..d32acccc8c2 100644
--- a/apps/studio/components/interfaces/ProjectAPIDocs/ResourceContent.tsx
+++ b/apps/studio/components/interfaces/ProjectAPIDocs/ResourceContent.tsx
@@ -58,7 +58,7 @@ const ResourceContent = ({ selectedLanguage, snippet, codeSnippets }: ResourceCo
<div key={codeSnippet.key} className="px-4 space-y-2">
<p className="text-sm text-foreground-light">{codeSnippet.title}</p>
<div className="codeblock-container">
- <div className="bg rounded p-2">
+ <div className="bg rounded-sm p-2">
<SimpleCodeBlock
className={selectedLanguage}
onCopy={() => handleCopy(codeSnippet.title)}
diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/SecondLevelNav.Layout.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/SecondLevelNav.Layout.tsx
index f0a6b7c9791..ca039d39157 100644
--- a/apps/studio/components/interfaces/ProjectAPIDocs/SecondLevelNav.Layout.tsx
+++ b/apps/studio/components/interfaces/ProjectAPIDocs/SecondLevelNav.Layout.tsx
@@ -174,14 +174,14 @@ const MoreInformation = ({ docsUrl }: MoreInformationProps) => {
<p className="text-xs">Unable to find what you're looking for?</p>
</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_ className="space-y-1">
- <p className="text-xs !leading-normal">
+ <p className="text-xs leading-normal!">
The API methods shown here are only the commonly used ones to get you started building
quickly.
</p>
- <p className="text-xs !leading-normal">
+ <p className="text-xs leading-normal!">
Head over to our docs site for the full API documentation.
</p>
- <DocsButton className="!mt-2" href={docsUrl} />
+ <DocsButton className="mt-2!" href={docsUrl} />
</AlertDescription_Shadcn_>
</Alert_Shadcn_>
)
diff --git a/apps/studio/components/interfaces/ProjectCreation/AdvancedConfiguration.tsx b/apps/studio/components/interfaces/ProjectCreation/AdvancedConfiguration.tsx
index cdca80bfdf5..566c01c5c78 100644
--- a/apps/studio/components/interfaces/ProjectCreation/AdvancedConfiguration.tsx
+++ b/apps/studio/components/interfaces/ProjectCreation/AdvancedConfiguration.tsx
@@ -47,7 +47,7 @@ export const AdvancedConfiguration = ({
<FormItemLayout
layout={layout}
label="Postgres Type"
- className="[&>div>label]:!break-normal"
+ className="[&>div>label]:break-normal!"
>
<FormControl>
<RadioGroupStacked
@@ -88,7 +88,7 @@ export const AdvancedConfiguration = ({
description="Not recommended for production workloads"
className={cn(
'[&>div>div>p]:text-left [&>div>div>p]:text-xs [&>div>div>label]:flex [&>div>div>label]:items-center [&>div>div>label]:gap-x-2',
- form.getValues('useOrioleDb') ? '!rounded-b-none' : ''
+ form.getValues('useOrioleDb') ? 'rounded-b-none!' : ''
)}
disabled={disableOrioleProjectCreation}
/>
@@ -126,18 +126,16 @@ export const AdvancedConfiguration = ({
const collapsibleContent = (
<Collapsible_Shadcn_>
- <CollapsibleTrigger_Shadcn_ className="group/advanced-trigger font-mono uppercase tracking-widest text-xs flex items-center gap-1 text-foreground-lighter/75 hover:text-foreground-light transition data-[state=open]:text-foreground-light">
+ <CollapsibleTrigger_Shadcn_ className="group/advanced-trigger font-mono uppercase tracking-widest text-xs flex items-center gap-1 text-foreground-lighter/75 hover:text-foreground-light transition data-open:text-foreground-light">
Advanced Configuration
<ChevronRight
size={16}
strokeWidth={1}
- className="mr-2 group-data-[state=open]/advanced-trigger:rotate-90 group-hover/advanced-trigger:text-foreground-light transition"
+ className="mr-2 group-data-open/advanced-trigger:rotate-90 group-hover/advanced-trigger:text-foreground-light transition"
/>
</CollapsibleTrigger_Shadcn_>
<CollapsibleContent_Shadcn_
- className={cn(
- 'pt-5 data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down'
- )}
+ className={cn('pt-5 data-closed:animate-collapsible-up data-open:animate-collapsible-down')}
>
{content}
</CollapsibleContent_Shadcn_>
diff --git a/apps/studio/components/interfaces/ProjectCreation/OrganizationSelector.tsx b/apps/studio/components/interfaces/ProjectCreation/OrganizationSelector.tsx
index 2c3a7ac90a4..77de7ec585f 100644
--- a/apps/studio/components/interfaces/ProjectCreation/OrganizationSelector.tsx
+++ b/apps/studio/components/interfaces/ProjectCreation/OrganizationSelector.tsx
@@ -75,7 +75,7 @@ export const OrganizationSelector = ({ form }: OrganizationSelectorProps) => {
<SelectItem_Shadcn_ key={x.id} value={x.slug}>
<div className="flex justify-between items-center gap-2 w-full">
<span>{x.name}</span>
- <Badge className="mt-[1px]">{x.plan.name}</Badge>
+ <Badge className="mt-px">{x.plan.name}</Badge>
</div>
</SelectItem_Shadcn_>
))}
diff --git a/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx b/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
index 379a8913f5a..d846ef42247 100644
--- a/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
+++ b/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
@@ -184,7 +184,7 @@ export const RegionSelector = ({
{selectedRegion?.code && (
<img
alt="region icon"
- className="w-5 rounded-sm"
+ className="w-5 rounded-xs"
src={`${BASE_PATH}/img/regions/${selectedRegion.code}.svg`}
/>
)}
@@ -213,7 +213,7 @@ export const RegionSelector = ({
<div className="flex items-center gap-x-3">
<img
alt="region icon"
- className="w-5 rounded-sm"
+ className="w-5 rounded-xs"
src={`${BASE_PATH}/img/regions/${value.code}.svg`}
/>
<span className="text-foreground">
@@ -246,7 +246,7 @@ export const RegionSelector = ({
value={value.name}
className={cn(
'w-full [&>:nth-child(2)]:w-full',
- value.status !== undefined && '!pointer-events-auto'
+ value.status !== undefined && 'pointer-events-auto!'
)}
disabled={value.status !== undefined}
>
@@ -254,7 +254,7 @@ export const RegionSelector = ({
<div className="flex items-center gap-x-3">
<img
alt="region icon"
- className="w-5 rounded-sm"
+ className="w-5 rounded-xs"
src={`${BASE_PATH}/img/regions/${value.code}.svg`}
/>
<div className="flex items-center gap-x-2">
diff --git a/apps/studio/components/interfaces/ProjectHome/ConnectSection.tsx b/apps/studio/components/interfaces/ProjectHome/ConnectSection.tsx
index a4e8c4ad765..6c1be4c4250 100644
--- a/apps/studio/components/interfaces/ProjectHome/ConnectSection.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/ConnectSection.tsx
@@ -69,7 +69,7 @@ export const ConnectSection = () => {
alt=""
className="w-full h-full object-cover object-right dark:hidden"
/>
- <div className="absolute inset-0 bg-gradient-to-r from-background-alternative to-transparent" />
+ <div className="absolute inset-0 bg-linear-to-r from-background-alternative to-transparent" />
</div>
<CardContent className="relative z-10 p-0">
@@ -84,7 +84,7 @@ export const ConnectSection = () => {
onClick={() => handleActionClick(action)}
className={cn(
'group flex items-center gap-3 p-4 text-left transition-colors min-h-[72px] w-full',
- 'hover:bg-surface-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand',
+ 'hover:bg-surface-100 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-brand',
'xl:min-h-32 xl:flex-col xl:justify-center xl:p-6 xl:text-center',
((action.requiresActiveProject ?? true)
? !isActiveHealthy
diff --git a/apps/studio/components/interfaces/ProjectHome/CustomReportSection.tsx b/apps/studio/components/interfaces/ProjectHome/CustomReportSection.tsx
index 0f133f7c505..4268d6d69bb 100644
--- a/apps/studio/components/interfaces/ProjectHome/CustomReportSection.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/CustomReportSection.tsx
@@ -364,11 +364,11 @@ export function CustomReportSection() {
</div>
<div className="relative">
{isDraggingOver && (
- <div className="absolute inset-0 rounded bg-brand/10 pointer-events-none z-10" />
+ <div className="absolute inset-0 rounded-sm bg-brand/10 pointer-events-none z-10" />
)}
{layout.length === 0 ? (
<div
- className="h-64 flex flex-col items-center justify-center rounded border-2 border-dashed p-16 transition-colors"
+ className="h-64 flex flex-col items-center justify-center rounded-sm border-2 border-dashed p-16 transition-colors"
onDrop={handleDrop}
onDragOver={handleDragOver}
onDragLeave={handleDragLeave}
diff --git a/apps/studio/components/interfaces/ProjectHome/Home.tsx b/apps/studio/components/interfaces/ProjectHome/Home.tsx
index 9ca26709731..442a0a27686 100644
--- a/apps/studio/components/interfaces/ProjectHome/Home.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/Home.tsx
@@ -86,7 +86,7 @@ export const ProjectHome = () => {
<ScaffoldContainer size="large" className={cn(isPaused && 'h-full')}>
<ScaffoldSection
isFullWidth
- className={cn(isPaused ? 'h-full flex justify-center !p-0' : 'pb-0')}
+ className={cn(isPaused ? 'h-full flex justify-center p-0!' : 'pb-0')}
>
<TopSection />
</ScaffoldSection>
diff --git a/apps/studio/components/interfaces/ProjectHome/SortableSection.tsx b/apps/studio/components/interfaces/ProjectHome/SortableSection.tsx
index 78704e042da..136b9a6271b 100644
--- a/apps/studio/components/interfaces/ProjectHome/SortableSection.tsx
+++ b/apps/studio/components/interfaces/ProjectHome/SortableSection.tsx
@@ -24,7 +24,7 @@ export const SortableSection = ({ id, children }: SortableSectionProps) => {
<div ref={setNodeRef} style={style} className="relative will-change-transform">
<button
aria-label="Drag to reorder section"
- className="absolute -left-6 top-2 text-foreground-muted hover:text-foreground focus:outline-none cursor-grab active:cursor-grabbing"
+ className="absolute -left-6 top-2 text-foreground-muted hover:text-foreground focus:outline-hidden cursor-grab active:cursor-grabbing"
{...attributes}
{...listeners}
>
diff --git a/apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChart.tsx b/apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChart.tsx
index 354fdd91a61..0c3911f40cf 100644
--- a/apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChart.tsx
+++ b/apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChart.tsx
@@ -85,12 +85,12 @@ export const QueryInsightsChart = ({
return (
<div className="bg-surface-100 border-b min-h-[320px]">
<Tabs_Shadcn_ value={selectedMetric} onValueChange={setSelectedMetric} className="w-full">
- <TabsList_Shadcn_ className="flex justify-start rounded-none gap-x-4 border-b !mt-0 pt-0 px-6">
+ <TabsList_Shadcn_ className="flex justify-start rounded-none gap-x-4 border-b mt-0! pt-0 px-6">
{CHART_TABS.map((tab) => (
<TabsTrigger_Shadcn_
key={tab.id}
value={tab.id}
- className="flex items-center gap-2 text-xs py-3 border-b-[1px] font-mono uppercase"
+ className="flex items-center gap-2 text-xs py-3 border-b font-mono uppercase"
>
{tab.label}
</TabsTrigger_Shadcn_>
@@ -134,7 +134,7 @@ export const QueryInsightsChart = ({
>
<span
className={cn(
- 'h-1.5 w-1.5 rounded-sm transition-opacity',
+ 'h-1.5 w-1.5 rounded-xs transition-opacity',
hiddenSeries.has(selDataKey) && 'opacity-30'
)}
style={{ backgroundColor: SEL_COLOR }}
diff --git a/apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChartTooltip.tsx b/apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChartTooltip.tsx
index 3dc7f26c75c..d89cd783338 100644
--- a/apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChartTooltip.tsx
+++ b/apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChartTooltip.tsx
@@ -12,7 +12,7 @@ export const QueryInsightsChartTooltip = ({ active, payload }: TooltipProps<numb
const localTimeZone = guessLocalTimezone()
return (
- <div className="grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg px-2.5 py-1.5 text-xs shadow-xl">
+ <div className="grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg px-2.5 py-1.5 text-xs shadow-xl">
<p className="text-foreground-light text-xs">{localTimeZone}</p>
<p className="font-medium">{dayjs(time).format('MMM D, hh:mm:ssa')}</p>
<div className="grid gap-0">
diff --git a/apps/studio/components/interfaces/QueryInsights/QueryInsightsHealth/QueryInsightsHealthMetric.tsx b/apps/studio/components/interfaces/QueryInsights/QueryInsightsHealth/QueryInsightsHealthMetric.tsx
index 7dcda59b571..ab2ff3e9412 100644
--- a/apps/studio/components/interfaces/QueryInsights/QueryInsightsHealth/QueryInsightsHealthMetric.tsx
+++ b/apps/studio/components/interfaces/QueryInsights/QueryInsightsHealth/QueryInsightsHealthMetric.tsx
@@ -22,7 +22,7 @@ export const QueryInsightsHealthMetric = ({
>
<span className="text-foreground-lighter tracking-wider truncate uppercase">{label}</span>
{isLoading ? (
- <div className="h-3 w-12 rounded bg-surface-300 animate-pulse" />
+ <div className="h-3 w-12 rounded-sm bg-surface-300 animate-pulse" />
) : (
<span className="text-foreground font-medium tabular-nums">{value}</span>
)}
diff --git a/apps/studio/components/interfaces/QueryInsights/QueryInsightsHealth/QueryInsightsHealthScoreSkeleton.tsx b/apps/studio/components/interfaces/QueryInsights/QueryInsightsHealth/QueryInsightsHealthScoreSkeleton.tsx
index 8e9d0db0572..a683b63a30a 100644
--- a/apps/studio/components/interfaces/QueryInsights/QueryInsightsHealth/QueryInsightsHealthScoreSkeleton.tsx
+++ b/apps/studio/components/interfaces/QueryInsights/QueryInsightsHealth/QueryInsightsHealthScoreSkeleton.tsx
@@ -2,8 +2,8 @@ export const QueryInsightsHealthScoreSkeleton = () => (
<>
<div className="h-12 w-12 rounded-full bg-surface-300 animate-pulse" />
<div className="flex flex-col gap-1.5">
- <div className="h-3 w-20 rounded bg-surface-300 animate-pulse" />
- <div className="h-5 w-24 rounded bg-surface-300 animate-pulse" />
+ <div className="h-3 w-20 rounded-sm bg-surface-300 animate-pulse" />
+ <div className="h-5 w-24 rounded-sm bg-surface-300 animate-pulse" />
</div>
</>
)
diff --git a/apps/studio/components/interfaces/QueryInsights/QueryInsightsTable/QueryInsightsDetailSheet.tsx b/apps/studio/components/interfaces/QueryInsights/QueryInsightsTable/QueryInsightsDetailSheet.tsx
index 56e9318ca10..54690f5e868 100644
--- a/apps/studio/components/interfaces/QueryInsights/QueryInsightsTable/QueryInsightsDetailSheet.tsx
+++ b/apps/studio/components/interfaces/QueryInsights/QueryInsightsTable/QueryInsightsDetailSheet.tsx
@@ -56,7 +56,7 @@ export const QueryInsightsDetailSheet = ({
<SheetDescription className="sr-only">Query Insights Details &amp; Indexes</SheetDescription>
<SheetContent
side="right"
- className="flex flex-col h-full bg-studio border-l lg:!w-[calc(100vw-802px)] max-w-[700px] w-full"
+ className="flex flex-col h-full bg-studio border-l lg:w-[calc(100vw-802px)]! max-w-[700px] w-full"
hasOverlay={false}
onInteractOutside={(event) => {
if (
@@ -76,20 +76,20 @@ export const QueryInsightsDetailSheet = ({
<TabsList_Shadcn_ className="px-0 flex gap-x-4 min-h-[46px] border-b-0 [&>button]:h-[47px]">
<TabsTrigger_Shadcn_
value="details"
- className="px-0 pb-0 data-[state=active]:bg-transparent !shadow-none"
+ className="px-0 pb-0 data-[state=active]:bg-transparent shadow-none!"
>
Query details
</TabsTrigger_Shadcn_>
<TabsTrigger_Shadcn_
value="indexes"
- className="px-0 pb-0 data-[state=active]:bg-transparent !shadow-none"
+ className="px-0 pb-0 data-[state=active]:bg-transparent shadow-none!"
>
Indexes
</TabsTrigger_Shadcn_>
{activeSheetRow?.issueType !== 'error' && (
<TabsTrigger_Shadcn_
value="explain"
- className="px-0 pb-0 data-[state=active]:bg-transparent !shadow-none"
+ className="px-0 pb-0 data-[state=active]:bg-transparent shadow-none!"
>
Explain
</TabsTrigger_Shadcn_>
diff --git a/apps/studio/components/interfaces/QueryInsights/QueryInsightsTable/QueryInsightsTable.tsx b/apps/studio/components/interfaces/QueryInsights/QueryInsightsTable/QueryInsightsTable.tsx
index 07c2cf59862..c3a06a7a301 100644
--- a/apps/studio/components/interfaces/QueryInsights/QueryInsightsTable/QueryInsightsTable.tsx
+++ b/apps/studio/components/interfaces/QueryInsights/QueryInsightsTable/QueryInsightsTable.tsx
@@ -365,28 +365,28 @@ export const QueryInsightsTable = ({
<div className="flex items-center">
{mode === 'triage' ? (
<Tabs_Shadcn_ value={filter} onValueChange={(v) => setFilter(v as IssueFilter)}>
- <TabsList_Shadcn_ className="flex gap-x-4 rounded-none !mt-0 pt-0 !border-none">
+ <TabsList_Shadcn_ className="flex gap-x-4 rounded-none mt-0! pt-0 border-none!">
<TabsTrigger_Shadcn_
value="all"
- className="text-xs py-3 border-b-[1px] font-mono uppercase"
+ className="text-xs py-3 border-b font-mono uppercase"
>
All{triageItems.length > 0 && ` (${triageItems.length})`}
</TabsTrigger_Shadcn_>
<TabsTrigger_Shadcn_
value="error"
- className="text-xs py-3 border-b-[1px] font-mono uppercase"
+ className="text-xs py-3 border-b font-mono uppercase"
>
Errors{errorCount > 0 && ` (${errorCount})`}
</TabsTrigger_Shadcn_>
<TabsTrigger_Shadcn_
value="index"
- className="text-xs py-3 border-b-[1px] font-mono uppercase"
+ className="text-xs py-3 border-b font-mono uppercase"
>
Index{indexCount > 0 && ` (${indexCount})`}
</TabsTrigger_Shadcn_>
<TabsTrigger_Shadcn_
value="slow"
- className="text-xs py-3 border-b-[1px] font-mono uppercase"
+ className="text-xs py-3 border-b font-mono uppercase"
>
Slow{slowCount > 0 && ` (${slowCount})`}
</TabsTrigger_Shadcn_>
@@ -465,7 +465,7 @@ export const QueryInsightsTable = ({
`${isSelected ? 'bg-surface-300 dark:bg-surface-300' : isCharted ? 'bg-surface-200 dark:bg-surface-200' : 'bg-200 hover:bg-surface-200'} cursor-pointer`,
'[&>div:first-child]:border-l-4 [&>div:first-child]:pl-5 [&>div:last-child]:pr-6',
`${isSelected || isCharted ? '[&>div:first-child]:border-l-foreground' : '[&>div:first-child]:border-l-transparent'}`,
- '[&>.rdg-cell]:box-border [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none [&>.rdg-cell]:py-3',
+ '[&>.rdg-cell]:box-border [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none [&>.rdg-cell]:py-3',
'[&>.rdg-cell.column-prop_total_time]:relative',
].join(' ')
}}
@@ -521,7 +521,7 @@ export const QueryInsightsTable = ({
`${isSelected ? 'bg-surface-300 dark:bg-surface-300' : isCharted ? 'bg-surface-200 dark:bg-surface-200' : 'bg-200 hover:bg-surface-200'} cursor-pointer`,
'[&>div:first-child]:border-l-4 [&>div:first-child]:pl-5 [&>div:last-child]:pr-6',
`${isSelected || isCharted ? '[&>div:first-child]:border-l-foreground' : '[&>div:first-child]:border-l-transparent'}`,
- '[&>.rdg-cell]:box-border [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none [&>.rdg-cell]:py-3',
+ '[&>.rdg-cell]:box-border [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none [&>.rdg-cell]:py-3',
'[&>.rdg-cell.column-prop_total_time]:relative',
].join(' ')
}}
diff --git a/apps/studio/components/interfaces/QueryInsights/hooks/useQueryInsightsTableColumns.tsx b/apps/studio/components/interfaces/QueryInsights/hooks/useQueryInsightsTableColumns.tsx
index eefca78dba3..44ab6291afd 100644
--- a/apps/studio/components/interfaces/QueryInsights/hooks/useQueryInsightsTableColumns.tsx
+++ b/apps/studio/components/interfaces/QueryInsights/hooks/useQueryInsightsTableColumns.tsx
@@ -78,7 +78,7 @@ export function useQueryInsightsTableColumns({
return (
<div className="flex items-center justify-between text-xs w-full">
<div className="flex items-center gap-x-2">
- <p className="!text-foreground font-medium">{col.name}</p>
+ <p className="text-foreground! font-medium">{col.name}</p>
{col.description && (
<p className="text-foreground-lighter font-normal">{col.description}</p>
)}
@@ -154,8 +154,8 @@ export function useQueryInsightsTableColumns({
</div>
<CodeBlock
language="pgsql"
- className="!bg-transparent !p-0 !m-0 !border-none !whitespace-nowrap [&>code]:!whitespace-nowrap [&>code]:break-words !overflow-visible !truncate !w-full !pr-20 pointer-events-none"
- wrapperClassName="!max-w-full flex-1"
+ className="bg-transparent! p-0! m-0! border-none! whitespace-nowrap! [&>code]:whitespace-nowrap! [&>code]:wrap-break-word overflow-visible! truncate! w-full! pr-20! pointer-events-none"
+ wrapperClassName="max-w-full! flex-1"
hideLineNumbers
hideCopy
value={typeof value === 'string' ? value.replace(/\s+/g, ' ').trim() : ''}
@@ -322,7 +322,7 @@ export function useQueryInsightsTableColumns({
headerCellClass: 'first:pl-6 cursor-default',
renderHeaderCell: () => (
<div className="flex items-center text-xs w-full">
- <p className="!text-foreground font-medium">Query</p>
+ <p className="text-foreground! font-medium">Query</p>
</div>
),
renderCell: (props) => {
@@ -394,7 +394,7 @@ export function useQueryInsightsTableColumns({
headerCellClass: 'cursor-default',
renderHeaderCell: () => (
<div className="flex items-center text-xs w-full">
- <p className="!text-foreground font-medium">Time consumed</p>
+ <p className="text-foreground! font-medium">Time consumed</p>
</div>
),
renderCell: (props) => {
@@ -437,7 +437,7 @@ export function useQueryInsightsTableColumns({
headerCellClass: 'cursor-default',
renderHeaderCell: () => (
<div className="flex items-center text-xs w-full">
- <p className="!text-foreground font-medium">Calls</p>
+ <p className="text-foreground! font-medium">Calls</p>
</div>
),
renderCell: (props) => {
@@ -463,7 +463,7 @@ export function useQueryInsightsTableColumns({
headerCellClass: 'cursor-default',
renderHeaderCell: () => (
<div className="flex items-center text-xs w-full">
- <p className="!text-foreground font-medium">Mean time</p>
+ <p className="text-foreground! font-medium">Mean time</p>
</div>
),
renderCell: (props) => {
@@ -489,7 +489,7 @@ export function useQueryInsightsTableColumns({
headerCellClass: 'cursor-default',
renderHeaderCell: () => (
<div className="flex items-center text-xs w-full">
- <p className="!text-foreground font-medium">Actions</p>
+ <p className="text-foreground! font-medium">Actions</p>
</div>
),
renderCell: (props) => {
diff --git a/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexAdvisorNotice.tsx b/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexAdvisorNotice.tsx
index 7111802bd02..6707b2815a5 100644
--- a/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexAdvisorNotice.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexAdvisorNotice.tsx
@@ -32,7 +32,7 @@ export const IndexAdvisorNotice = () => {
alt="Index Advisor"
className="w-full h-full object-cover object-right dark:hidden"
/>
- <div className="absolute inset-0 bg-gradient-to-r from-background-alternative to-transparent" />
+ <div className="absolute inset-0 bg-linear-to-r from-background-alternative to-transparent" />
</div>
<div className="relative z-10 flex flex-col md:flex-row md:items-center gap-y-2 md:gap-x-8 justify-between px-2 py-1">
<div className="flex flex-col gap-y-0.5">
diff --git a/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexSuggestionIcon.tsx b/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexSuggestionIcon.tsx
index 913b2b05776..a2d4c2da37d 100644
--- a/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexSuggestionIcon.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/IndexAdvisor/IndexSuggestionIcon.tsx
@@ -104,7 +104,7 @@ export const IndexSuggestionIcon = ({
className={cn(
'border-none rounded-none',
'max-w-full',
- '!py-0.5 !px-3.5 prose dark:prose-dark transition',
+ 'py-0.5! px-3.5! prose dark:prose-dark transition',
'[&>code]:m-0 [&>code>span]:flex [&>code>span]:flex-wrap'
)}
/>
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryDetail.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryDetail.tsx
index 9a6088ef8aa..69cbde6c17a 100644
--- a/apps/studio/components/interfaces/QueryPerformance/QueryDetail.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/QueryDetail.tsx
@@ -123,11 +123,11 @@ export const QueryDetail = ({ selectedRow, onClickViewSuggestion, onClose }: Que
</div>
<div
className={cn(
- 'absolute left-0 bottom-0 w-full bg-gradient-to-t from-black/30 to-transparent h-24 transition-opacity duration-300',
+ 'absolute left-0 bottom-0 w-full bg-linear-to-t from-black/30 to-transparent h-24 transition-opacity duration-300',
isExpanded && 'opacity-0 pointer-events-none'
)}
/>
- <div className="absolute -bottom-[13px] left-0 right-0 w-full flex items-center justify-center z-10">
+ <div className="absolute bottom-[-13px] left-0 right-0 w-full flex items-center justify-center z-10">
<Button
type="default"
className="rounded-full"
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryIndexes.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryIndexes.tsx
index 25fff1a3c89..0cc7a166066 100644
--- a/apps/studio/components/interfaces/QueryPerformance/QueryIndexes.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/QueryIndexes.tsx
@@ -175,7 +175,7 @@ export const QueryIndexes = ({
return (
<QueryPanelContainer className="h-full">
<QueryPanelSection className="pt-2">
- <div className="border rounded border-dashed flex flex-col items-center justify-center py-4 px-12 gap-y-1 text-center">
+ <div className="border rounded-sm border-dashed flex flex-col items-center justify-center py-4 px-12 gap-y-1 text-center">
<p className="text-sm text-foreground-light">Enable Index Advisor</p>
<p className="text-center text-xs text-foreground-lighter mb-2">
Recommends indexes to improve query performance.
@@ -212,7 +212,7 @@ export const QueryIndexes = ({
language="sql"
className={cn(
'max-w-full max-h-[200px]',
- '!py-2 !px-2.5 prose dark:prose-dark',
+ 'py-2! px-2.5! prose dark:prose-dark',
'[&>code]:m-0 [&>code>span]:flex [&>code>span]:flex-wrap'
)}
/>
@@ -241,7 +241,7 @@ export const QueryIndexes = ({
{isSuccess && (
<div>
{usedIndexes.length === 0 && (
- <div className="border rounded border-dashed flex flex-col items-center justify-center py-4 px-12 gap-y-1 text-center">
+ <div className="border rounded-sm border-dashed flex flex-col items-center justify-center py-4 px-12 gap-y-1 text-center">
<p className="text-sm text-foreground-light">
No indexes are involved in this query
</p>
@@ -339,7 +339,7 @@ export const QueryIndexes = ({
language="sql"
className={cn(
'max-w-full max-h-[310px]',
- '!py-3 !px-3.5 prose dark:prose-dark transition',
+ 'py-3! px-3.5! prose dark:prose-dark transition',
'[&>code]:m-0 [&>code>span]:flex [&>code>span]:flex-wrap'
)}
/>
@@ -391,7 +391,7 @@ export const QueryIndexes = ({
<h4 className="mb-2">FAQ</h4>
<Accordion_Shadcn_ collapsible type="single" className="border rounded-md">
<AccordionItem_Shadcn_ value="1">
- <AccordionTrigger className="px-4 py-3 text-sm font-normal text-foreground-light hover:text-foreground transition [&[data-state=open]]:text-foreground">
+ <AccordionTrigger className="px-4 py-3 text-sm font-normal text-foreground-light hover:text-foreground transition data-open:text-foreground">
What units are cost in?
</AccordionTrigger>
<AccordionContent_Shadcn_ className="px-4 text-foreground-light">
@@ -401,7 +401,7 @@ export const QueryIndexes = ({
</AccordionContent_Shadcn_>
</AccordionItem_Shadcn_>
<AccordionItem_Shadcn_ value="2" className="border-b-0">
- <AccordionTrigger className="px-4 py-3 text-sm font-normal text-foreground-light hover:text-foreground transition [&[data-state=open]]:text-foreground">
+ <AccordionTrigger className="px-4 py-3 text-sm font-normal text-foreground-light hover:text-foreground transition data-open:text-foreground">
How should I prioritize start up and total cost?
</AccordionTrigger>
<AccordionContent_Shadcn_ className="px-4 text-foreground-light [&>div]:space-y-2">
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceChart.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceChart.tsx
index 8678d17f8cf..281786220ec 100644
--- a/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceChart.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceChart.tsx
@@ -301,12 +301,12 @@ export const QueryPerformanceChart = ({
onValueChange={(value) => setSelectedMetric(value as string)}
className="w-full"
>
- <TabsList_Shadcn_ className="flex justify-start rounded-none gap-x-4 border-b !mt-0 pt-0 px-6">
+ <TabsList_Shadcn_ className="flex justify-start rounded-none gap-x-4 border-b mt-0! pt-0 px-6">
{QUERY_PERFORMANCE_CHART_TABS.map((tab) => (
<TabsTrigger_Shadcn_
key={tab.id}
value={tab.id}
- className="flex items-center gap-2 text-xs py-3 border-b-[1px] font-mono uppercase"
+ className="flex items-center gap-2 text-xs py-3 border-b font-mono uppercase"
>
{tab.label}
</TabsTrigger_Shadcn_>
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx
index 16625f2495c..5115ebec593 100644
--- a/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx
@@ -120,7 +120,7 @@ export const QueryPerformanceGrid = ({
return (
<div className="flex items-center justify-between text-xs w-full">
<div className="flex items-center gap-x-2">
- <p className="!text-foreground font-medium">{col.name}</p>
+ <p className="text-foreground! font-medium">{col.name}</p>
{col.description && (
<p className="text-foreground-lighter font-normal">{col.description}</p>
)}
@@ -187,8 +187,8 @@ export const QueryPerformanceGrid = ({
</div>
<CodeBlock
language="pgsql"
- className="!bg-transparent !p-0 !m-0 !border-none !whitespace-nowrap [&>code]:!whitespace-nowrap [&>code]:break-words !overflow-visible !truncate !w-full !pr-20 pointer-events-none"
- wrapperClassName="!max-w-full flex-1"
+ className="bg-transparent! p-0! m-0! border-none! whitespace-nowrap! [&>code]:whitespace-nowrap! [&>code]:wrap-break-word overflow-visible! truncate! w-full! pr-20! pointer-events-none"
+ wrapperClassName="max-w-full! flex-1"
hideLineNumbers
hideCopy
value={value.replace(/\s+/g, ' ').trim() as string}
@@ -526,10 +526,10 @@ export const QueryPerformanceGrid = ({
return [
`${isSelected ? (hasRecommendations ? 'bg-warning/10 hover:bg-warning/20' : 'bg-surface-300 dark:bg-surface-300') : hasRecommendations ? 'bg-warning/10 hover:bg-warning/20' : 'bg-200 hover:bg-surface-200'} cursor-pointer`,
- `${isSelected ? (hasRecommendations ? '[&>div:first-child]:border-l-4 border-l-warning [&>div]:border-l-warning' : '[&>div:first-child]:border-l-4 border-l-secondary [&>div]:!border-l-foreground') : ''}`,
+ `${isSelected ? (hasRecommendations ? '[&>div:first-child]:border-l-4 border-l-warning [&>div]:border-l-warning' : '[&>div:first-child]:border-l-4 border-l-secondary [&>div]:border-l-foreground!') : ''}`,
`${isCharted ? 'bg-surface-200 dark:bg-surface-200' : ''}`,
`${isCharted ? '[&>div:first-child]:border-l-4 border-l-secondary [&>div]:border-l-brand' : ''}`,
- '[&>.rdg-cell]:box-border [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none',
+ '[&>.rdg-cell]:box-border [&>.rdg-cell]:outline-hidden [&>.rdg-cell]:shadow-none',
'[&>.rdg-cell.column-prop_total_time]:relative',
].join(' ')
}}
@@ -596,7 +596,7 @@ export const QueryPerformanceGrid = ({
</SheetDescription>
<SheetContent
side="right"
- className="flex flex-col h-full bg-studio border-l lg:!w-[calc(100vw-802px)] max-w-[700px] w-full"
+ className="flex flex-col h-full bg-studio border-l lg:w-[calc(100vw-802px)]! max-w-[700px] w-full"
hasOverlay={false}
onInteractOutside={(event) => {
if (dataGridContainerRef.current?.contains(event.target as Node)) {
@@ -613,14 +613,14 @@ export const QueryPerformanceGrid = ({
<TabsList_Shadcn_ className="px-0 flex gap-x-4 min-h-[46px] border-b-0 [&>button]:h-[47px]">
<TabsTrigger_Shadcn_
value="details"
- className="px-0 pb-0 data-[state=active]:bg-transparent !shadow-none"
+ className="px-0 pb-0 data-[state=active]:bg-transparent shadow-none!"
>
Query details
</TabsTrigger_Shadcn_>
{selectedRow !== undefined && canShowIndexesTab && (
<TabsTrigger_Shadcn_
value="suggestion"
- className="px-0 pb-0 data-[state=active]:bg-transparent !shadow-none"
+ className="px-0 pb-0 data-[state=active]:bg-transparent shadow-none!"
>
Indexes
</TabsTrigger_Shadcn_>
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceMetrics.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceMetrics.tsx
index 5e71f07153b..7d4fe46038d 100644
--- a/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceMetrics.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceMetrics.tsx
@@ -70,7 +70,7 @@ export const QueryPerformanceMetrics = () => {
<button
type="button"
aria-label="How are slow queries calculated?"
- className="inline-flex h-4 w-4 items-center justify-center rounded-full bg-surface-200 text-foreground-lighter transition-colors hover:bg-surface-300 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-foreground-lighter"
+ className="inline-flex h-4 w-4 items-center justify-center rounded-full bg-surface-200 text-foreground-lighter transition-colors hover:bg-surface-300 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-foreground-lighter"
onClick={(e) => {
e.stopPropagation()
}}
@@ -90,7 +90,7 @@ export const QueryPerformanceMetrics = () => {
<button
type="button"
aria-label={`What is ${card.title}?`}
- className="inline-flex h-4 w-4 items-center justify-center rounded-full bg-surface-200 text-foreground-lighter transition-colors hover:bg-surface-300 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-foreground-lighter"
+ className="inline-flex h-4 w-4 items-center justify-center rounded-full bg-surface-200 text-foreground-lighter transition-colors hover:bg-surface-300 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-foreground-lighter"
onClick={(e) => {
e.stopPropagation()
}}
diff --git a/apps/studio/components/interfaces/QueryPerformance/SqlMonacoBlock.tsx b/apps/studio/components/interfaces/QueryPerformance/SqlMonacoBlock.tsx
index b734c965a63..8a51ef28f24 100644
--- a/apps/studio/components/interfaces/QueryPerformance/SqlMonacoBlock.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/SqlMonacoBlock.tsx
@@ -44,7 +44,7 @@ export const SqlMonacoBlock = ({
className={className}
wrapperProps={{
className:
- '[&_.monaco-editor]:!bg-transparent [&_.monaco-editor-background]:!bg-transparent [&_.monaco-editor]:!outline-transparent [&_.cursor]:!hidden',
+ '[&_.monaco-editor]:bg-transparent! [&_.monaco-editor-background]:bg-transparent! [&_.monaco-editor]:outline-transparent! [&_.cursor]:hidden!',
}}
options={{
readOnly: true,
diff --git a/apps/studio/components/interfaces/QueryPerformance/WithStatements/WithStatements.tsx b/apps/studio/components/interfaces/QueryPerformance/WithStatements/WithStatements.tsx
index 49b671dce70..7632da087b0 100644
--- a/apps/studio/components/interfaces/QueryPerformance/WithStatements/WithStatements.tsx
+++ b/apps/studio/components/interfaces/QueryPerformance/WithStatements/WithStatements.tsx
@@ -251,7 +251,7 @@ export const WithStatements = ({
</p>
<Button
type="default"
- className="!mt-3 w-min"
+ className="mt-3! w-min"
onClick={() => setShowResetgPgStatStatements(true)}
>
Reset report
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/Header.tsx b/apps/studio/components/interfaces/Realtime/Inspector/Header.tsx
index 47b1d18124f..4a5a9b090a6 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/Header.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/Header.tsx
@@ -29,7 +29,7 @@ export const Header = ({ config, onChangeConfig }: HeaderProps) => {
)
return (
- <div className="flex flex-row min-h-14 md:min-h-[var(--header-height)] gap-2.5 items-center px-4 border-b ">
+ <div className="flex flex-row min-h-14 md:min-h-(--header-height) gap-2.5 items-center px-4 border-b ">
<div className="flex flex-row">
<ChooseChannelPopover config={config} onChangeConfig={onChangeConfig} />
<RealtimeTokensPopover config={config} onChangeConfig={onChangeConfig} />
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/MessageSelection.tsx b/apps/studio/components/interfaces/Realtime/Inspector/MessageSelection.tsx
index 802e35c6628..24802aff91d 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/MessageSelection.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/MessageSelection.tsx
@@ -37,7 +37,7 @@ const MessageSelection = ({ log, onClose }: MessageSelectionProps) => {
log ? 'mt-0 scale-95 opacity-0' : 'mt-8 scale-100 opacity-100'
)}
>
- <div className="relative flex h-4 w-32 items-center rounded border border-default px-2">
+ <div className="relative flex h-4 w-32 items-center rounded-sm border border-default px-2">
<div className="h-0.5 w-2/3 rounded-full bg-overlay-hover"></div>
<div className="absolute right-1 -bottom-4">
<svg
@@ -88,7 +88,7 @@ const MessageSelection = ({ log, onClose }: MessageSelectionProps) => {
<X size={14} strokeWidth={2} className="text-scale-900" />
</Button>
</div>
- <div className="h-px w-full bg-scale-600 rounded" />
+ <div className="h-px w-full bg-scale-600 rounded-sm" />
</div>
<div className="flex flex-col space-y-6 py-4">
{log && <SelectedRealtimeMessagePanel log={log} />}
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/MessagesTable.tsx b/apps/studio/components/interfaces/Realtime/Inspector/MessagesTable.tsx
index 01edc489d7a..0549d980e68 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/MessagesTable.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/MessagesTable.tsx
@@ -55,7 +55,10 @@ const NoResultAlert = ({
<div className="mt-4 border bg-surface-100 border-border rounded-md justify-start items-center flex flex-col w-full">
<div className="w-full px-5 py-4 items-center gap-4 inline-flex border-b">
- <IconBroadcast size="xlarge" className="text-background bg-foreground rounded w-6" />
+ <IconBroadcast
+ size="xlarge"
+ className="text-background bg-foreground rounded-sm w-6"
+ />
<div className="grow flex-col flex">
<p className="text-foreground">Create a Broadcast message</p>
<p className="text-foreground-lighter text-xs">Send a message in the channel</p>
@@ -65,7 +68,10 @@ const NoResultAlert = ({
</Button>
</div>
<div className="w-full px-5 py-4 items-center gap-4 inline-flex border-b">
- <IconPresence size="xlarge" className="text-background bg-foreground rounded w-6" />
+ <IconPresence
+ size="xlarge"
+ className="text-background bg-foreground rounded-sm w-6"
+ />
<div className="grow flex-col flex">
<p className="text-foreground">Join from another browser tab</p>
<p className="text-foreground-lighter text-xs">
@@ -82,7 +88,7 @@ const NoResultAlert = ({
<div className="w-full px-5 py-4 items-center gap-4 inline-flex border-b">
<IconDatabaseChanges
size="xlarge"
- className="text-background bg-foreground rounded w-6"
+ className="text-background bg-foreground rounded-sm w-6"
/>
<div className="grow flex-col flex">
<p className="text-foreground">Listen to a table for changes</p>
@@ -179,7 +185,7 @@ const MessagesTable = ({
isEqual(row, focusedLog)
? 'bg-scale-800 rdg-row--focused'
: 'bg-200 hover:bg-scale-300 cursor-pointer',
- isErrorLog(row) && '!bg-warning-300',
+ isErrorLog(row) && 'bg-warning-300!',
])
}}
rows={data}
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/TableSelector.tsx b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/TableSelector.tsx
index 0f6afc9450e..bc1b3e7b5be 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/TableSelector.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/TableSelector.tsx
@@ -115,7 +115,7 @@ const TableSelector = ({
)}
{showError && isError && (
- <Alert_Shadcn_ variant="warning" className="!px-3 !py-3 !border-0 rounded-none">
+ <Alert_Shadcn_ variant="warning" className="px-3! py-3! border-0! rounded-none">
<AlertTitle_Shadcn_ className="text-xs text-amber-900">
Failed to load tables
</AlertTitle_Shadcn_>
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/index.tsx b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/index.tsx
index 6e58d8389a3..db7f79c2196 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/index.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeFilterPopover/index.tsx
@@ -96,7 +96,7 @@ export const RealtimeFilterPopover = ({ config, onChangeConfig }: RealtimeFilter
<div className="flex gap-2.5 items-center">
<IconPresence
size="xlarge"
- className="bg-foreground rounded text-background-muted"
+ className="bg-foreground rounded-sm text-background-muted"
/>
<label htmlFor="toggle-presence" className="text-sm">
Presence
@@ -120,7 +120,7 @@ export const RealtimeFilterPopover = ({ config, onChangeConfig }: RealtimeFilter
<div className="flex gap-2.5 items-center">
<IconBroadcast
size="xlarge"
- className="bg-foreground rounded text-background-muted"
+ className="bg-foreground rounded-sm text-background-muted"
/>
<label htmlFor="toggle-broadcast" className="text-sm">
Broadcast
@@ -145,7 +145,7 @@ export const RealtimeFilterPopover = ({ config, onChangeConfig }: RealtimeFilter
<IconDatabaseChanges
size="xlarge"
className={cn(
- 'rounded text-background-muted',
+ 'rounded-sm text-background-muted',
config.enableDbChanges ? 'bg-foreground' : 'bg-foreground-lighter'
)}
/>
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeMessageColumnRenderer.tsx b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeMessageColumnRenderer.tsx
index 91d55d11918..19800508ee0 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeMessageColumnRenderer.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeMessageColumnRenderer.tsx
@@ -31,10 +31,10 @@ export const ColumnRenderer: Column<LogData, unknown>[] = [
>
{ICONS[type]}
</div>
- <span className={cn('font-mono', isErrorLog(data.row) ? '!text-warning' : '')}>
+ <span className={cn('font-mono', isErrorLog(data.row) ? 'text-warning!' : '')}>
{new Date(data.row.timestamp).toISOString()}
</span>
- <span className={cn('truncate font-mono', isErrorLog(data.row) ? '!text-warning' : '')}>
+ <span className={cn('truncate font-mono', isErrorLog(data.row) ? 'text-warning!' : '')}>
{JSON.stringify(data.row.metadata)}
</span>
</RowLayout>
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/SelectedRealtimeMessagePanel.tsx b/apps/studio/components/interfaces/Realtime/Inspector/SelectedRealtimeMessagePanel.tsx
index f750787c9d3..c215e953356 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/SelectedRealtimeMessagePanel.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/SelectedRealtimeMessagePanel.tsx
@@ -3,7 +3,7 @@ import { jsonSyntaxHighlight, SelectionDetailedTimestampRow } from './MessagesFo
const LogsDivider = () => {
return (
- <div className="h-px w-full bg-panel-border-interior-light [[data-theme*=dark]_&]:bg-panel-border-interior-dark" />
+ <div className="h-px w-full bg-panel-border-interior-light in-data-[theme*=dark]:bg-panel-border-interior-dark" />
)
}
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/SendMessageModal.tsx b/apps/studio/components/interfaces/Realtime/Inspector/SendMessageModal.tsx
index e67fc5fd060..de3f89455a1 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/SendMessageModal.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/SendMessageModal.tsx
@@ -60,7 +60,7 @@ export const SendMessageModal = ({
<CodeEditor
id="message-payload"
language="json"
- className="!mb-0 h-32 overflow-hidden rounded border"
+ className="mb-0! h-32 overflow-hidden rounded-sm border"
onInputChange={(e: string | undefined) => setValues({ ...values, payload: e ?? '{}' })}
options={{ wordWrap: 'off', contextmenu: false }}
value={values.payload}
diff --git a/apps/studio/components/interfaces/Reports/ReportBlock/ReportBlockContainer.tsx b/apps/studio/components/interfaces/Reports/ReportBlock/ReportBlockContainer.tsx
index 63aac025f2b..44e7ed8722c 100644
--- a/apps/studio/components/interfaces/Reports/ReportBlock/ReportBlockContainer.tsx
+++ b/apps/studio/components/interfaces/Reports/ReportBlock/ReportBlockContainer.tsx
@@ -35,7 +35,7 @@ export const ReportBlockContainer = ({
draggable={draggable}
unselectable={draggable ? 'on' : undefined}
onDragStart={onDragStart}
- className="h-full flex flex-col overflow-hidden bg-surface-100 border-overlay relative rounded border shadow-sm"
+ className="h-full flex flex-col overflow-hidden bg-surface-100 border-overlay relative rounded-sm border shadow-xs"
>
<Tooltip>
<TooltipTrigger asChild>
diff --git a/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx b/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx
index 4c9b7b164d8..ef0e1edb77b 100644
--- a/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx
+++ b/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx
@@ -276,7 +276,7 @@ const ReportFilterBar = ({
<Button
type="text"
size="tiny"
- className="!p-0 !space-x-0"
+ className="p-0! space-x-0!"
onClick={() => onRemoveFilters([filter])}
icon={<X className="text-foreground-light" />}
>
diff --git a/apps/studio/components/interfaces/Reports/ReportFilterPopover.tsx b/apps/studio/components/interfaces/Reports/ReportFilterPopover.tsx
index 1189867c691..1b41f127e40 100644
--- a/apps/studio/components/interfaces/Reports/ReportFilterPopover.tsx
+++ b/apps/studio/components/interfaces/Reports/ReportFilterPopover.tsx
@@ -87,7 +87,7 @@ const FilterableInput = ({
onFocus={() => setIsOpen(true)}
onKeyDown={handleKeyDown}
className={cn('h-6 text-sm', defaultTheme.input.variants.standard, sizes.tiny)}
- wrapperClassName="!p-0 !border !border-control rounded-md"
+ wrapperClassName="p-0! border! border-control! rounded-md"
showSearchIcon={false}
/>
<div
diff --git a/apps/studio/components/interfaces/Reports/Reports.tsx b/apps/studio/components/interfaces/Reports/Reports.tsx
index a8bfa41767e..7d327914d34 100644
--- a/apps/studio/components/interfaces/Reports/Reports.tsx
+++ b/apps/studio/components/interfaces/Reports/Reports.tsx
@@ -456,7 +456,7 @@ const Reports = () => {
{config?.layout !== undefined && config.layout.length === 0 ? (
<div
className={cn(
- 'flex min-h-full items-center justify-center rounded border-2 border-dashed p-16 border-default transition duration-100',
+ 'flex min-h-full items-center justify-center rounded-sm border-2 border-dashed p-16 border-default transition duration-100',
isDraggedOver ? 'bg-surface-100' : ''
)}
onDragOver={onDragOverEmptyState}
diff --git a/apps/studio/components/interfaces/Reports/renderers/ApiRenderers.tsx b/apps/studio/components/interfaces/Reports/renderers/ApiRenderers.tsx
index d6a35346f26..981db21db28 100644
--- a/apps/studio/components/interfaces/Reports/renderers/ApiRenderers.tsx
+++ b/apps/studio/components/interfaces/Reports/renderers/ApiRenderers.tsx
@@ -38,6 +38,7 @@ import {
import Table from '@/components/to-be-cleaned/Table'
import AlertError from '@/components/ui/AlertError'
import BarChart from '@/components/ui/Charts/BarChart'
+import { DataTableColumnStatusCode } from '@/components/ui/DataTable/DataTableColumn/DataTableColumnStatusCode'
import { useFillTimeseriesSorted } from '@/hooks/analytics/useFillTimeseriesSorted'
import { BASE_PATH } from '@/lib/constants'
import type { ResponseError } from '@/types'
@@ -172,8 +173,8 @@ export const TopApiRoutesRenderer = (
) => {
const [showMore, setShowMore] = useState(false)
- const headerClasses = '!text-xs !py-2 p-0 font-bold !bg-surface-200 !border-x-0 !rounded-none'
- const cellClasses = '!text-xs !py-2 !border-x-0 !rounded-none align-middle'
+ const headerClasses = 'text-xs! py-2! p-0 font-bold bg-surface-200! border-x-0! rounded-none!'
+ const cellClasses = 'text-xs! py-2! border-x-0! rounded-none! align-middle'
if (props.data.length === 0) return null
@@ -351,7 +352,7 @@ const RouteTdContent = (datum: RouteTdContentProps) => (
<Collapsible_Shadcn_>
<CollapsibleTrigger_Shadcn_ asChild>
<div className="flex gap-2 items-center">
- <Button asChild type="text" className=" !py-0 !p-1" title="Show more route details">
+ <Button asChild type="text" className=" py-0! p-1!" title="Show more route details">
<span>
<ChevronRight
size={14}
@@ -360,19 +361,13 @@ const RouteTdContent = (datum: RouteTdContentProps) => (
</span>
</Button>
<TextFormatter
- className="w-10 h-4 text-center rounded bg-surface-300"
+ className="w-10 h-4 text-center rounded-sm bg-surface-300"
value={datum.method}
/>
{datum.status_code && (
- <TextFormatter
- className={`w-10 h-4 text-center rounded ${
- datum.status_code >= 400
- ? 'bg-orange-500'
- : datum.status_code >= 300
- ? 'bg-yellow-500'
- : 'bg-green-500'
- }`}
- value={String(datum.status_code)}
+ <DataTableColumnStatusCode
+ value={datum.status_code}
+ level={String(Math.floor(datum.status_code / 100))}
/>
)}
<div className=" truncate max-w-sm lg:max-w-lg">
@@ -386,7 +381,7 @@ const RouteTdContent = (datum: RouteTdContentProps) => (
</CollapsibleTrigger_Shadcn_>
<CollapsibleContent_Shadcn_ className="pt-2">
{datum.search ? (
- <pre className={`syntax-highlight overflow-auto rounded bg-surface-100 p-2 !text-xs`}>
+ <pre className={`syntax-highlight overflow-auto rounded-sm bg-surface-100 p-2 text-xs!`}>
<div
className="text-wrap"
dangerouslySetInnerHTML={{
@@ -630,7 +625,7 @@ export const RequestsByCountryMapRenderer = (
</ComposableMap>
{hoverInfo.visible && (
<div
- className="pointer-events-none absolute z-10 rounded bg-surface-100 p-1.5 border border-surface-200 text-sm"
+ className="pointer-events-none absolute z-10 rounded-sm bg-surface-100 p-1.5 border border-surface-200 text-sm"
style={{ left: hoverInfo.x, top: hoverInfo.y }}
>
<h3 className="text-foreground-lighter text-sm">{hoverInfo.title}</h3>
diff --git a/apps/studio/components/interfaces/Reports/renderers/StorageRenderers.tsx b/apps/studio/components/interfaces/Reports/renderers/StorageRenderers.tsx
index 0de73078d02..7ae70a05698 100644
--- a/apps/studio/components/interfaces/Reports/renderers/StorageRenderers.tsx
+++ b/apps/studio/components/interfaces/Reports/renderers/StorageRenderers.tsx
@@ -46,8 +46,8 @@ export const TopCacheMissesRenderer = (
}>
) => {
if (props.data.length === 0) return null
- const headerClasses = '!text-xs !py-2 p-0 font-bold !bg-surface-200'
- const cellClasses = '!text-xs !py-2'
+ const headerClasses = 'text-xs! py-2! p-0 font-bold bg-surface-200!'
+ const cellClasses = 'text-xs! py-2!'
return (
<>
diff --git a/apps/studio/components/interfaces/Reports/v2/ReportsSelectFilter.tsx b/apps/studio/components/interfaces/Reports/v2/ReportsSelectFilter.tsx
index 06aa035b86b..fd06a093715 100644
--- a/apps/studio/components/interfaces/Reports/v2/ReportsSelectFilter.tsx
+++ b/apps/studio/components/interfaces/Reports/v2/ReportsSelectFilter.tsx
@@ -99,7 +99,7 @@ export const ReportsSelectFilter = ({
<Label
key={option.value}
className={
- 'flex items-center overflow-hidden p-1 rounded-sm gap-x-3 w-full h-full'
+ 'flex items-center overflow-hidden p-1 rounded-xs gap-x-3 w-full h-full'
}
>
<Checkbox
diff --git a/apps/studio/components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx b/apps/studio/components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx
index badaa40dedd..5e230e30658 100644
--- a/apps/studio/components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx
+++ b/apps/studio/components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx
@@ -294,7 +294,7 @@ export const UserImpersonationSelector = () => {
{previousSearches.length > 0 ? (
<>
<Collapsible_Shadcn_ className="relative">
- <CollapsibleTrigger_Shadcn_ className="group font-normal p-0 [&[data-state=open]>div>svg]:!-rotate-180">
+ <CollapsibleTrigger_Shadcn_ className="group font-normal p-0 [&[data-state=open]>div>svg]:-rotate-180!">
<div className="flex items-center gap-x-1 w-full">
<p className="text-xs text-foreground-light group-hover:text-foreground transition">
Recents
@@ -382,7 +382,7 @@ export const UserImpersonationSelector = () => {
<DropdownMenuSeparator className="m-0" />
<div className="px-5 py-2 flex flex-col gap-2 relative">
<Collapsible_Shadcn_>
- <CollapsibleTrigger_Shadcn_ className="group font-normal p-0 [&[data-state=open]>div>svg]:!-rotate-180">
+ <CollapsibleTrigger_Shadcn_ className="group font-normal p-0 [&[data-state=open]>div>svg]:-rotate-180!">
<div className="flex items-center gap-x-1 w-full">
<p className="text-xs text-foreground-light group-hover:text-foreground transition">
Advanced options
diff --git a/apps/studio/components/interfaces/SQLEditor/AskAIWidget.tsx b/apps/studio/components/interfaces/SQLEditor/AskAIWidget.tsx
index cafc5539e98..cc8e3b2e189 100644
--- a/apps/studio/components/interfaces/SQLEditor/AskAIWidget.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/AskAIWidget.tsx
@@ -58,7 +58,7 @@ export const AskAIWidget = ({
<div className="overflow-hidden rounded-md p-0 bg-popover border border-foreground/20 focus-within:border-foreground/30 shadow-xl text-sm max-w-xl">
<ExpandingTextArea
ref={textAreaRef}
- className="bg-transparent border-0 outline-0 ring-0 ring-offset-0 focus:outline-0 focus:ring-0 focus:ring-offset-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus-within:outline-0 focus-within:ring-0 focus-within:ring-offset-0 shadow-none rounded-none gap-4 text-xs md:text-xs py-2 pl-3 !leading-[20px]"
+ className="bg-transparent border-0 outline-0 ring-0 ring-offset-0 focus:outline-0 focus:ring-0 focus:ring-offset-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus-within:outline-0 focus-within:ring-0 focus-within:ring-offset-0 shadow-none rounded-none gap-4 text-xs md:text-xs py-2 pl-3 leading-[20px]!"
placeholder={isDiffVisible ? 'Make an edit...' : 'Edit via the Assistant...'}
value={value}
onChange={handleChange}
diff --git a/apps/studio/components/interfaces/SQLEditor/DownloadSnippetModal.tsx b/apps/studio/components/interfaces/SQLEditor/DownloadSnippetModal.tsx
index 2b734ea95fa..831268f482b 100644
--- a/apps/studio/components/interfaces/SQLEditor/DownloadSnippetModal.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/DownloadSnippetModal.tsx
@@ -69,12 +69,12 @@ const DownloadSnippetModal = ({ id, ...props }: DownloadSnippetModalProps) => {
{SNIPPETS.map((snippet) => {
return (
<Tabs.Panel key={snippet.id} id={snippet.id} label={snippet.label}>
- <Modal.Content className="!py-0">
+ <Modal.Content className="py-0!">
<div className="flex items-center justify-between mb-3">
<div className="flex flex-col gap-y-1">
<p className="text-base">{snippet.title}</p>
<Markdown
- className="text-sm text-scale-1000 [&>p>code]:!break-normal"
+ className="text-sm text-scale-1000 [&>p>code]:break-normal!"
content={snippet.description}
/>
</div>
diff --git a/apps/studio/components/interfaces/SQLEditor/OngoingQueriesPanel.tsx b/apps/studio/components/interfaces/SQLEditor/OngoingQueriesPanel.tsx
index 6b72d051edc..2fea7898291 100644
--- a/apps/studio/components/interfaces/SQLEditor/OngoingQueriesPanel.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/OngoingQueriesPanel.tsx
@@ -140,7 +140,7 @@ export const OngoingQueriesPanel = () => {
language="sql"
className={cn(
'max-w-none max-h-52 w-full',
- '!bg-transparent !py-3 !px-3.5 prose dark:prose-dark',
+ 'bg-transparent! py-3! px-3.5! prose dark:prose-dark',
'[&>code]:m-0 [&>code>span]:flex [&>code>span]:flex-wrap'
)}
/>
diff --git a/apps/studio/components/interfaces/SQLEditor/RunQueryWarningModal.tsx b/apps/studio/components/interfaces/SQLEditor/RunQueryWarningModal.tsx
index 81daa60ed73..e3581268501 100644
--- a/apps/studio/components/interfaces/SQLEditor/RunQueryWarningModal.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/RunQueryWarningModal.tsx
@@ -51,7 +51,7 @@ export const RunQueryWarningModal = ({
if (!open) onCancel()
}}
>
- <DialogContent aria-describedby={undefined} className="p-0 gap-0 pb-5 !block" size="large">
+ <DialogContent aria-describedby={undefined} className="p-0 gap-0 pb-5 block!" size="large">
<DialogHeader className={cn('border-b')} padding="small">
<DialogTitle>
{`Potential issue${issueCount > 1 ? 's' : ''} detected with your query`}
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/CellDetailPanel.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/CellDetailPanel.tsx
index 38e22824c5d..e2dc34f37e5 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/CellDetailPanel.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/CellDetailPanel.tsx
@@ -61,7 +61,7 @@ export const CellDetailPanel = ({ column, value, visible, onClose }: CellDetailP
<div className="grow py-4 px-4 bg-default overflow-y-auto">
<Markdown
remarkPlugins={[remarkGfm]}
- className="!max-w-full markdown-body"
+ className="max-w-full! markdown-body"
content={formattedValue}
/>
</div>
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/ChartConfig.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/ChartConfig.tsx
index 08f664aafcd..01d3792ab2b 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/ChartConfig.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/ChartConfig.tsx
@@ -176,7 +176,7 @@ export const ChartConfig = ({
<ResizablePanel
defaultSize="25"
minSize="15"
- className="px-3 py-3 space-y-4 !overflow-y-auto"
+ className="px-3 py-3 space-y-4 overflow-y-auto!"
>
<div className="flex justify-between items-center h-5">
<h2 className="text-sm text-foreground-lighter">Chart options</h2>
@@ -217,7 +217,7 @@ export const ChartConfig = ({
<Badge variant="success">New</Badge>
<p className="text-xs">Add this chart to custom reports</p>
</div>
- <p className="text-xs text-foreground-light !mt-1">
+ <p className="text-xs text-foreground-light mt-1!">
SQL snippets can now be added and saved to your custom reports. Try it out now!
</p>
<Button asChild size="tiny" type="default" className="mt-1">
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
index 5eeed6ff05c..1199a92463b 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
@@ -98,7 +98,7 @@ export const Results = ({ rows }: { rows: readonly any[] }) => {
return (
<>
{rows.length === 0 ? (
- <div className="bg-table-header-light [[data-theme*=dark]_&]:bg-table-header-dark">
+ <div className="bg-table-header-light in-data-[theme*=dark]:bg-table-header-dark">
<p className="m-0 border-0 px-4 py-3 font-mono text-sm text-foreground-light">
Success. No rows returned
</p>
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx
index 2f157219b01..395603c3c7d 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx
@@ -137,13 +137,13 @@ export const UtilityPanel = ({
<TabsList_Shadcn_ className="flex justify-between gap-2 px-4 overflow-x-auto min-h-[42px]">
<div className="flex items-center gap-4">
<TabsTrigger_Shadcn_ className="py-3 text-xs" value="results">
- <span className="translate-y-[1px]">Results</span>
+ <span className="translate-y-px">Results</span>
</TabsTrigger_Shadcn_>
<TabsTrigger_Shadcn_ className="py-3 text-xs" value="explain">
- <span className="translate-y-[1px]">Explain</span>
+ <span className="translate-y-px">Explain</span>
</TabsTrigger_Shadcn_>
<TabsTrigger_Shadcn_ className="py-3 text-xs" value="chart">
- <span className="translate-y-[1px]">Chart</span>
+ <span className="translate-y-px">Chart</span>
</TabsTrigger_Shadcn_>
{result?.rows && (
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabExplain.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabExplain.tsx
index c06900e8379..e1713eaa6b8 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabExplain.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabExplain.tsx
@@ -24,7 +24,7 @@ export function UtilityTabExplain({ id, isExecuting }: UtilityTabExplainProps) {
if (isExecuting) {
return (
- <div className="flex items-center gap-x-4 px-6 py-4 bg-table-header-light [[data-theme*=dark]_&]:bg-table-header-dark">
+ <div className="flex items-center gap-x-4 px-6 py-4 bg-table-header-light in-data-[theme*=dark]:bg-table-header-dark">
<Loader2 size={14} className="animate-spin" />
<p className="m-0 border-0 font-mono text-sm">Running EXPLAIN ANALYZE...</p>
</div>
@@ -37,7 +37,7 @@ export function UtilityTabExplain({ id, isExecuting }: UtilityTabExplainProps) {
)
return (
- <div className="bg-table-header-light [[data-theme*=dark]_&]:bg-table-header-dark overflow-y-auto">
+ <div className="bg-table-header-light in-data-[theme*=dark]:bg-table-header-dark overflow-y-auto">
<div className="flex flex-row justify-between items-start py-4 px-6 gap-x-4 pb-9">
<div className="flex flex-col gap-y-1">
{formattedError.length > 0 ? (
@@ -72,7 +72,7 @@ export function UtilityTabExplain({ id, isExecuting }: UtilityTabExplainProps) {
if (!explainResult || explainResult.rows.length === 0) {
return (
- <div className="bg-table-header-light [[data-theme*=dark]_&]:bg-table-header-dark overflow-y-auto">
+ <div className="bg-table-header-light in-data-[theme*=dark]:bg-table-header-dark overflow-y-auto">
<p className="m-0 border-0 px-4 py-4 text-sm text-foreground-light">
No execution plan available. The query will be analyzed when you switch to this tab.
</p>
@@ -85,7 +85,7 @@ export function UtilityTabExplain({ id, isExecuting }: UtilityTabExplainProps) {
if (!isValidExplain) {
return (
- <div className="bg-table-header-light [[data-theme*=dark]_&]:bg-table-header-dark overflow-y-auto">
+ <div className="bg-table-header-light in-data-[theme*=dark]:bg-table-header-dark overflow-y-auto">
<p className="m-0 border-0 px-4 py-4 text-sm text-foreground-light">
Unable to parse explain results. Please try running the query again.
</p>
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
index 2ad0fef942b..644b1e3d125 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
@@ -50,7 +50,7 @@ export const UtilityTabResults = forwardRef<HTMLDivElement, UtilityTabResultsPro
if (isExecuting) {
return (
- <div className="flex items-center gap-x-4 px-6 py-4 bg-table-header-light [[data-theme*=dark]_&]:bg-table-header-dark">
+ <div className="flex items-center gap-x-4 px-6 py-4 bg-table-header-light in-data-[theme*=dark]:bg-table-header-dark">
<Loader2 size={14} className="animate-spin" />
<p className="m-0 border-0 font-mono text-sm">Running...</p>
</div>
@@ -65,7 +65,7 @@ export const UtilityTabResults = forwardRef<HTMLDivElement, UtilityTabResultsPro
)
return (
- <div className="bg-table-header-light [[data-theme*=dark]_&]:bg-table-header-dark overflow-y-auto">
+ <div className="bg-table-header-light in-data-[theme*=dark]:bg-table-header-dark overflow-y-auto">
<div className="flex flex-row justify-between items-start py-4 px-6 gap-x-4">
{isTimeout ? (
<div className="flex flex-col gap-y-1">
@@ -171,7 +171,7 @@ export const UtilityTabResults = forwardRef<HTMLDivElement, UtilityTabResultsPro
)
} else if (!result) {
return (
- <div className="bg-table-header-light [[data-theme*=dark]_&]:bg-table-header-dark overflow-y-auto">
+ <div className="bg-table-header-light in-data-[theme*=dark]:bg-table-header-dark overflow-y-auto">
<p className="m-0 border-0 px-4 py-4 text-sm text-foreground-light">
Click <code className="text-code-inline">Run</code> to execute your query
</p>
@@ -179,7 +179,7 @@ export const UtilityTabResults = forwardRef<HTMLDivElement, UtilityTabResultsPro
)
} else if (result.rows.length <= 0) {
return (
- <div className="bg-table-header-light [[data-theme*=dark]_&]:bg-table-header-dark overflow-y-auto">
+ <div className="bg-table-header-light in-data-[theme*=dark]:bg-table-header-dark overflow-y-auto">
<p className="m-0 border-0 px-6 py-4 font-mono text-sm">Success. No rows returned</p>
</div>
)
diff --git a/apps/studio/components/interfaces/Settings/API/ExposedFunctionSelector.tsx b/apps/studio/components/interfaces/Settings/API/ExposedFunctionSelector.tsx
index 10ec9730c52..ff41cbfb55e 100644
--- a/apps/studio/components/interfaces/Settings/API/ExposedFunctionSelector.tsx
+++ b/apps/studio/components/interfaces/Settings/API/ExposedFunctionSelector.tsx
@@ -102,7 +102,7 @@ export const ExposedFunctionSelector = ({
size="small"
disabled={disabled}
type="default"
- className="w-full [&>span]:w-full !pr-1 space-x-1"
+ className="w-full [&>span]:w-full pr-1! space-x-1"
iconRight={<ChevronsUpDown className="text-foreground-muted" strokeWidth={2} size={14} />}
>
<div className="w-full flex gap-1">
@@ -184,7 +184,7 @@ export const ExposedFunctionSelector = ({
value={key}
className={cn(
'w-full',
- isSchemaExposed ? 'cursor-pointer' : 'opacity-50 !cursor-not-allowed'
+ isSchemaExposed ? 'cursor-pointer' : 'opacity-50 cursor-not-allowed!'
)}
onSelect={() => {
if (!isSchemaExposed) return
diff --git a/apps/studio/components/interfaces/Settings/API/ExposedSchemaSelector.tsx b/apps/studio/components/interfaces/Settings/API/ExposedSchemaSelector.tsx
index 5b990eb7dc2..5049f4a7ca8 100644
--- a/apps/studio/components/interfaces/Settings/API/ExposedSchemaSelector.tsx
+++ b/apps/studio/components/interfaces/Settings/API/ExposedSchemaSelector.tsx
@@ -67,7 +67,7 @@ export const ExposedSchemaSelector = ({
size="small"
disabled={disabled}
type="default"
- className="w-full [&>span]:w-full !pr-1 space-x-1"
+ className="w-full [&>span]:w-full pr-1! space-x-1"
iconRight={<ChevronsUpDown className="text-foreground-muted" strokeWidth={2} size={14} />}
>
<div className="w-full flex gap-1">
diff --git a/apps/studio/components/interfaces/Settings/API/ExposedTableSelector.tsx b/apps/studio/components/interfaces/Settings/API/ExposedTableSelector.tsx
index 2b0bdc40826..ab1da9b51ae 100644
--- a/apps/studio/components/interfaces/Settings/API/ExposedTableSelector.tsx
+++ b/apps/studio/components/interfaces/Settings/API/ExposedTableSelector.tsx
@@ -96,7 +96,7 @@ export const ExposedTableSelector = ({
size="small"
disabled={disabled}
type="default"
- className="w-full [&>span]:w-full !pr-1 space-x-1"
+ className="w-full [&>span]:w-full pr-1! space-x-1"
iconRight={<ChevronsUpDown className="text-foreground-muted" strokeWidth={2} size={14} />}
>
<div className="w-full flex gap-1">
@@ -178,7 +178,7 @@ export const ExposedTableSelector = ({
value={`${table.schema}.${table.name}-${table.id}`}
className={cn(
'w-full',
- isSchemaExposed ? 'cursor-pointer' : 'opacity-50 !cursor-not-allowed'
+ isSchemaExposed ? 'cursor-pointer' : 'opacity-50 cursor-not-allowed!'
)}
onSelect={() => {
if (!isSchemaExposed) return
diff --git a/apps/studio/components/interfaces/Settings/API/UnsafeEntitiesConfirmModal.tsx b/apps/studio/components/interfaces/Settings/API/UnsafeEntitiesConfirmModal.tsx
index 2c022c962df..9769ecbe6fb 100644
--- a/apps/studio/components/interfaces/Settings/API/UnsafeEntitiesConfirmModal.tsx
+++ b/apps/studio/components/interfaces/Settings/API/UnsafeEntitiesConfirmModal.tsx
@@ -154,7 +154,7 @@ const EntityList = ({ entities }: { entities: Array<ExposedEntity> }) => {
<EntityListItem key={`${entity.schema}.${entity.name}`} entity={entity} />
))}
</ul>
- <CollapsibleContent className="transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down">
+ <CollapsibleContent className="transition-all data-closed:animate-collapsible-up data-open:animate-collapsible-down">
<ul className="list-disc pl-5 space-y-0.5">
{hiddenEntities.map((entity) => (
<EntityListItem key={`${entity.schema}.${entity.name}`} entity={entity} />
diff --git a/apps/studio/components/interfaces/Settings/Addons/Addons.tsx b/apps/studio/components/interfaces/Settings/Addons/Addons.tsx
index 637eab40be9..feb7c2872b6 100644
--- a/apps/studio/components/interfaces/Settings/Addons/Addons.tsx
+++ b/apps/studio/components/interfaces/Settings/Addons/Addons.tsx
@@ -140,7 +140,7 @@ export const Addons = () => {
const listTopSpacing = isBranch ? 'mt-6' : undefined
const resourceItemClassName =
- 'min-h-[128px] !border-b last:!border-b-0 [&>div:first-child]:hidden @lg:[&>div:first-child]:flex'
+ 'min-h-[128px] border-b! last:border-b-0! [&>div:first-child]:hidden @lg:[&>div:first-child]:flex'
let pitrAlert = null
diff --git a/apps/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx b/apps/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx
index e409e26a636..e661582096b 100644
--- a/apps/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx
@@ -150,7 +150,7 @@ const CustomDomainSidePanel = () => {
page after enabling the add-on.
</p>
- <div className={cn('!mt-8 pb-4', !hasAccessToCustomDomain && 'opacity-75')}>
+ <div className={cn('mt-8! pb-4', !hasAccessToCustomDomain && 'opacity-75')}>
<RadioGroupCard
id="custom-domain"
className="flex flex-wrap gap-3"
@@ -173,7 +173,7 @@ const CustomDomainSidePanel = () => {
<p className="text-foreground text-sm" translate="no">
$0
</p>
- <p className="text-foreground-light translate-y-[1px]"> / month</p>
+ <p className="text-foreground-light translate-y-px"> / month</p>
</div>
</div>
</div>
@@ -198,7 +198,7 @@ const CustomDomainSidePanel = () => {
<p className="text-foreground text-sm" translate="no">
{formatCurrency(option.price)}
</p>
- <p className="text-foreground-light translate-y-[1px]"> / month</p>
+ <p className="text-foreground-light translate-y-px"> / month</p>
</div>
</div>
</div>
diff --git a/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx b/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx
index ae225fa2160..47dcbecab1e 100644
--- a/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx
@@ -75,7 +75,7 @@ const IPv4SidePanel = () => {
priceContent: (
<>
<p className="text-foreground text-sm">$0</p>
- <p className="text-foreground-light translate-y-[1px] text-sm">/ month</p>
+ <p className="text-foreground-light translate-y-px text-sm">/ month</p>
</>
),
priceRowClassName: 'mt-2',
@@ -166,7 +166,7 @@ const IPv4SidePanel = () => {
)}
{isAws && (
- <div className={cn('!mt-8 pb-4', !hasAccessToIPv4 && 'opacity-75')}>
+ <div className={cn('mt-8! pb-4', !hasAccessToIPv4 && 'opacity-75')}>
<RadioGroup
name="ipv4"
value={selectedOption}
diff --git a/apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx b/apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx
index 2fe34c44d55..c60817aeb13 100644
--- a/apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx
@@ -180,7 +180,7 @@ const PITRSidePanel = () => {
in granularity.
</p>
- <div className="!mt-8 pb-4">
+ <div className="mt-8! pb-4">
<div className="flex gap-3">
{PITR_CATEGORY_OPTIONS.map((option) => {
const isSelected = selectedCategory === option.id
@@ -262,7 +262,7 @@ const PITRSidePanel = () => {
) : null}
{selectedCategory === 'on' && (
- <div className="!mt-8 pb-4">
+ <div className="mt-8! pb-4">
{!hasAccessToPitrVariants ? (
<UpgradeToPro
className="mb-4"
@@ -310,7 +310,7 @@ const PITRSidePanel = () => {
<p className="text-foreground text-sm" translate="no">
{formatCurrency(option.price)}
</p>
- <p className="text-foreground-light translate-y-[1px]"> / month</p>
+ <p className="text-foreground-light translate-y-px"> / month</p>
</div>
</div>
</div>
diff --git a/apps/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx b/apps/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx
index 35c71b8289f..3c42066a24c 100644
--- a/apps/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx
+++ b/apps/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx
@@ -92,7 +92,7 @@ export const DiskSizeConfiguration = ({ disabled = false }: DiskSizeConfiguratio
<PageSectionContent>
{organization?.usage_billing_enabled === true ? (
<div className="flex flex-col gap-3">
- <Panel className="!m-0">
+ <Panel className="m-0!">
<Panel.Content>
<div>
<div>
diff --git a/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRoleGrantFields.tsx b/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRoleGrantFields.tsx
index ef91e457d4e..504e12e7cc4 100644
--- a/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRoleGrantFields.tsx
+++ b/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRoleGrantFields.tsx
@@ -88,7 +88,7 @@ export function JitDbAccessRoleGrantFields({
className="mt-0.5"
/>
<div className="min-w-0 flex-1">
- <code className="text-code-inline dark:!bg-surface-300 dark:!border-control !tracking-normal">
+ <code className="text-code-inline dark:bg-surface-300! dark:border-control! tracking-normal!">
{role.label}
</code>
</div>
diff --git a/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRuleSheet.tsx b/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRuleSheet.tsx
index f903b2dca0d..80b0dd8236f 100644
--- a/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRuleSheet.tsx
+++ b/apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRuleSheet.tsx
@@ -223,7 +223,7 @@ export function JitDbAccessRuleSheet({
<SheetContent
showClose={false}
size="default"
- className="flex h-full w-full max-w-full flex-col gap-0 sm:!w-[560px] sm:max-w-[560px]"
+ className="flex h-full w-full max-w-full flex-col gap-0 sm:w-[560px]! sm:max-w-[560px]"
>
<SheetHeader>
<SheetTitle>
diff --git a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx
index cea6d36b428..18a66b3eb45 100644
--- a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx
+++ b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx
@@ -126,7 +126,7 @@ export const CustomDomainActivate = ({ projectRef, customDomain }: CustomDomainA
onConfirm={onActivateCustomDomain}
>
<p className="text-sm">
- Activating <code className="text-code-inline !break-normal">{customDomain.hostname}</code>{' '}
+ Activating <code className="text-code-inline break-normal!">{customDomain.hostname}</code>{' '}
will make it visible to users in place of your project’s Supabase domain. The Supabase
domain will continue to work too.
</p>
diff --git a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx
index 66ddad4ef47..0bee5f78a08 100644
--- a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx
+++ b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx
@@ -78,7 +78,7 @@ export const CustomDomainDelete = ({ projectRef, customDomain }: CustomDomainDel
>
<p className="text-sm">
Are you sure you want to delete the custom domain{' '}
- <code className="text-code-inline !break-normal">{customDomain.hostname}</code> for your
+ <code className="text-code-inline break-normal!">{customDomain.hostname}</code> for your
project? You will need to re-verify this domain if you want to use it again.
</p>
</ConfirmationModal>
diff --git a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsShimmerLoader.tsx b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsShimmerLoader.tsx
index c942e8e48f9..93501e9911c 100644
--- a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsShimmerLoader.tsx
+++ b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsShimmerLoader.tsx
@@ -2,11 +2,11 @@ export const CustomDomainsShimmerLoader = () => {
return (
<div className="grid grid-cols-12 gap-6 px-8 py-8">
<div className="col-span-12 lg:col-span-5">
- <div className="h-6 w-1/3 bg-foreground-lighter rounded shimmering-loader" />
+ <div className="h-6 w-1/3 bg-foreground-lighter rounded-sm shimmering-loader" />
</div>
<div className="col-span-12 lg:col-span-7">
- <div className="h-[38px] w-full bg-foreground-lighter rounded shimmering-loader" />
+ <div className="h-[38px] w-full bg-foreground-lighter rounded-sm shimmering-loader" />
</div>
</div>
)
diff --git a/apps/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.tsx b/apps/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.tsx
index f8c0c4ee941..1dacb8fef7c 100644
--- a/apps/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.tsx
+++ b/apps/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.tsx
@@ -160,7 +160,7 @@ export const DeleteProjectModal = ({
key={option.value}
className={[
'flex cursor-pointer items-center space-x-2 rounded-md py-1',
- 'pl-2 pr-3 text-center text-sm shadow-sm transition-all duration-100',
+ 'pl-2 pr-3 text-center text-sm shadow-xs transition-all duration-100',
`${
active
? ` bg-foreground text-background opacity-100 hover:bg-foreground/75`
@@ -182,7 +182,9 @@ export const DeleteProjectModal = ({
})}
</div>
<div className="text-area-text-sm flex flex-col gap-y-2">
- <label className="text-sm whitespace-pre-line break-words">{textareaLabel}</label>
+ <label className="text-sm whitespace-pre-line wrap-break-word">
+ {textareaLabel}
+ </label>
<Input.TextArea
name="message"
rows={3}
diff --git a/apps/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx b/apps/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx
index 1b2522dfd76..57d6a42ae37 100644
--- a/apps/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx
+++ b/apps/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx
@@ -138,7 +138,7 @@ const RestartServerButton = () => {
<DropdownMenuTrigger asChild>
<Button
type="default"
- className="shrink-0 rounded-l-none px-[4px] py-[5px] -ml-[1px]"
+ className="shrink-0 rounded-l-none px-[4px] py-[5px] -ml-px"
icon={<ChevronDown />}
disabled={!canRestartProject}
/>
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/Edge.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/Edge.tsx
index 164f0cdd810..2e078341cd7 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/Edge.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/Edge.tsx
@@ -55,7 +55,7 @@ export const SmoothstepEdge = ({
<Tooltip>
<TooltipTrigger asChild>
<div
- className="bg-surface-100 px-1.5 py-0.5 rounded absolute nodrag nopan"
+ className="bg-surface-100 px-1.5 py-0.5 rounded-sm absolute nodrag nopan"
style={{
transform: `translate(-50%, -50%) translate(${labelX}px,${labelY}px)`,
pointerEvents: 'all',
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx
index 830e597ad49..b9fe1d40101 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx
@@ -169,7 +169,7 @@ const InstanceConfigurationUI = ({ diagramOnly = false }: InstanceConfigurationU
target: primary.identifier,
type: 'smoothstep',
animated: true,
- className: '!cursor-default',
+ className: 'cursor-default!',
},
]
: []),
@@ -180,7 +180,7 @@ const InstanceConfigurationUI = ({ diagramOnly = false }: InstanceConfigurationU
target: database.identifier,
type: 'smoothstep',
animated: true,
- className: '!cursor-default',
+ className: 'cursor-default!',
data: {
status: database.status,
identifier: database.identifier,
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
index ff815bf908f..e13af4d1997 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx
@@ -48,7 +48,7 @@ export const LoadBalancerNode = ({ data }: NodeProps<Node<LoadBalancerData>>) =>
return (
<>
- <div className="flex flex-col rounded bg-surface-100 border border-default">
+ <div className="flex flex-col rounded-sm bg-surface-100 border border-default">
<div
className="flex items-start justify-between p-3 gap-x-4"
style={{ width: NODE_WIDTH / 2 - 10 }}
@@ -114,7 +114,7 @@ export const PrimaryNode = ({ data }: NodeProps<Node<PrimaryNodeData>>) => {
className={!hasLoadBalancer ? 'opacity-0' : ''}
style={{ background: 'transparent' }}
/>
- <div className="flex flex-col rounded bg-surface-100 border border-default">
+ <div className="flex flex-col rounded-sm bg-surface-100 border border-default">
<div
className="flex items-start justify-between p-3"
style={{ width: NODE_WIDTH / 2 - 10 }}
@@ -141,7 +141,7 @@ export const PrimaryNode = ({ data }: NodeProps<Node<PrimaryNodeData>>) => {
</div>
<img
alt="region icon"
- className="w-8 rounded-sm mt-0.5"
+ className="w-8 rounded-xs mt-0.5"
src={`${BASE_PATH}/img/regions/${region.region}.svg`}
/>
</div>
@@ -165,7 +165,7 @@ export const PrimaryNode = ({ data }: NodeProps<Node<PrimaryNodeData>>) => {
className="border-t px-3 py-2 hover:bg-surface-200 transition flex items-center gap-x-3 text-xs"
>
{metricsLoading ? (
- <div className="h-3 w-44 rounded bg-surface-300 animate-pulse" />
+ <div className="h-3 w-44 rounded-sm bg-surface-300 animate-pulse" />
) : metricsError ? (
<span className="text-foreground-lighter">Metrics unavailable</span>
) : (
@@ -256,7 +256,7 @@ export const ReplicaNode = ({ data }: NodeProps<Node<ReplicaNodeData>>) => {
<>
<Handle type="target" position={Position.Top} style={{ background: 'transparent' }} />
<div
- className="flex justify-between items-start rounded bg-surface-100 border border-default p-3"
+ className="flex justify-between items-start rounded-sm bg-surface-100 border border-default p-3"
style={{ width: NODE_WIDTH / 2 - 10 }}
>
<div className="flex gap-x-3">
@@ -333,7 +333,7 @@ export const ReplicaNode = ({ data }: NodeProps<Node<ReplicaNodeData>>) => {
<div className="w-56">
<SparkBar
labelBottom={INIT_PROGRESS[progress as keyof typeof INIT_PROGRESS]}
- labelBottomClass="text-xs !normal-nums text-foreground-light"
+ labelBottomClass="text-xs normal-nums! text-foreground-light"
type="horizontal"
value={stagePercent * 100}
max={100}
@@ -404,13 +404,13 @@ export const RegionNode = ({ data }: any) => {
return (
<div
- className="relative flex justify-between rounded bg-black/10 border border-default border-white/10 border-2 p-3"
+ className="relative flex justify-between rounded-sm bg-black/10 border border-default border-white/10 border-2 p-3"
style={{ width: regionNodeWidth, height: 162 }}
>
<div className="absolute bottom-2 flex items-center justify-between gap-x-2">
<img
alt="region icon"
- className="w-5 rounded-sm"
+ className="w-5 rounded-xs"
src={`${BASE_PATH}/img/regions/${region.region}.svg`}
/>
<p className="text-sm">{region.name}</p>
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
index 805c51272f5..ae2bd8ac1d2 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
@@ -214,12 +214,12 @@ const MapView = ({
{tooltip !== undefined && zoom === 1.5 && (
<Marker coordinates={[tooltip.x - 47, tooltip.y - 5]}>
<foreignObject width={220} height={66.25}>
- <div className="bg-studio/50 rounded border">
+ <div className="bg-studio/50 rounded-sm border">
<div className="px-3 py-2 flex flex-col">
<div className="flex items-center gap-x-2">
<img
alt="region icon"
- className="w-4 rounded-sm"
+ className="w-4 rounded-xs"
src={`${BASE_PATH}/img/regions/${tooltip.region.region}.svg`}
/>
<p className="text-[10px]">{tooltip.region.country}</p>
@@ -240,7 +240,7 @@ const MapView = ({
</ComposableMap>
{showRegionDetails && selectedRegion && (
- <div className="absolute bottom-4 right-4 flex flex-col bg-studio/50 backdrop-blur-sm border rounded w-[400px]">
+ <div className="absolute bottom-4 right-4 flex flex-col bg-studio/50 backdrop-blur-xs border rounded-sm w-[400px]">
<div className="flex items-center justify-between py-4 px-4 border-b">
<div>
<p className="text-xs text-foreground-light">
@@ -251,7 +251,7 @@ const MapView = ({
</div>
<img
alt="region icon"
- className="w-10 rounded-sm"
+ className="w-10 rounded-xs"
src={`${BASE_PATH}/img/regions/${selectedRegion.region}.svg`}
/>
</div>
@@ -332,7 +332,7 @@ const MapView = ({
</DropdownMenuItem>
<DropdownMenuItemTooltip
- className="gap-x-2 !pointer-events-auto"
+ className="gap-x-2 pointer-events-auto!"
disabled={!canManageReplicas}
onClick={() => onSelectDropReplica(database)}
tooltip={{
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx
index 8be122a01b9..c379df44310 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx
@@ -88,7 +88,7 @@ export const InfrastructureInfo = () => {
description="Read replicas is now managed under Replication in the Database section."
actions={
<Button type="default" asChild>
- <Link href={`/project/${ref}/database/replication`} className="!no-underline">
+ <Link href={`/project/${ref}/database/replication`} className="no-underline!">
Go to Replication
</Link>
</Button>
diff --git a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
index c5103e876f1..851dab9a85c 100644
--- a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
+++ b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
@@ -476,7 +476,7 @@ export const GitHubIntegrationConnectionForm = ({
disabled={isLoadingGitHubRepos}
loading={isLoadingGitHubRepos}
icon={
- <div className="bg-black shadow rounded p-1 w-6 h-6 flex justify-center items-center">
+ <div className="bg-black shadow-sm rounded-sm p-1 w-6 h-6 flex justify-center items-center">
{GITHUB_ICON}
</div>
}
@@ -495,7 +495,7 @@ export const GitHubIntegrationConnectionForm = ({
<PopoverContent_Shadcn_ className="p-0 w-80" side="bottom" align="start">
<Command_Shadcn_>
<CommandInput_Shadcn_ placeholder="Search repositories..." />
- <CommandList_Shadcn_ className="!max-h-[200px]">
+ <CommandList_Shadcn_ className="max-h-[200px]!">
<CommandEmpty_Shadcn_>No repositories found.</CommandEmpty_Shadcn_>
{githubRepos.length > 0 ? (
<CommandGroup_Shadcn_>
@@ -513,7 +513,7 @@ export const GitHubIntegrationConnectionForm = ({
)
}}
>
- <div className="bg-black shadow rounded p-1 w-5 h-5 flex justify-center items-center">
+ <div className="bg-black shadow-sm rounded-sm p-1 w-5 h-5 flex justify-center items-center">
{GITHUB_ICON}
</div>
<span className="truncate" title={repo.name}>
diff --git a/apps/studio/components/interfaces/Settings/Integrations/IntegrationsSettings.tsx b/apps/studio/components/interfaces/Settings/Integrations/IntegrationsSettings.tsx
index 4e25ff414cd..4786db626d2 100644
--- a/apps/studio/components/interfaces/Settings/Integrations/IntegrationsSettings.tsx
+++ b/apps/studio/components/interfaces/Settings/Integrations/IntegrationsSettings.tsx
@@ -14,7 +14,7 @@ import { BASE_PATH } from '@/lib/constants'
export const IntegrationImageHandler = ({ title }: { title: 'vercel' | 'github' | 'aws' }) => {
return (
<img
- className="border rounded-lg shadow w-full sm:w-48 mt-6 border-body"
+ className="border rounded-lg shadow-sm w-full sm:w-48 mt-6 border-body"
src={`${BASE_PATH}/img/integrations/covers/${title}-cover.png`}
alt={`${title} cover`}
/>
diff --git a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx
index d0832cf7708..90a7ed02f35 100644
--- a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx
+++ b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx
@@ -187,7 +187,7 @@ export const VercelSection = ({ isProjectScoped }: { isProjectScoped: boolean })
disabled={isBranch || !canUpdateVercelConnection}
type={'Vercel' as IntegrationName}
onDeleteConnection={onDeleteVercelConnection}
- className={cn(isProjectScoped && '!rounded-b-none !mb-0')}
+ className={cn(isProjectScoped && 'rounded-b-none! mb-0!')}
/>
{isProjectScoped ? (
<div className="relative pl-8 ml-6 border-l border-muted pb-6">
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogSelection.tsx b/apps/studio/components/interfaces/Settings/Logs/LogSelection.tsx
index 61b95ed8292..db9895400c8 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogSelection.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogSelection.tsx
@@ -168,7 +168,7 @@ function LogDetailEmptyState({
'flex w-full max-w-sm flex-col items-center justify-center gap-6 text-center transition-all delay-300 duration-500'
)}
>
- <div className="relative flex h-4 w-32 items-center rounded border border-control px-2">
+ <div className="relative flex h-4 w-32 items-center rounded-sm border border-control px-2">
<div className="h-0.5 w-2/3 rounded-full bg-surface-300"></div>
<div className="absolute right-1 -bottom-4">
<MousePointerClick size="24" strokeWidth={1} />
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx b/apps/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx
index d587badf728..5839e064a1d 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx
@@ -134,14 +134,14 @@ const PropertyRow = ({
<DropdownMenuTrigger className="group w-full" data-testid={dataTestId}>
<div className="rounded-md w-full overflow-hidden">
<div
- className={cn('flex h-[var(--header-height)] w-full', {
+ className={cn('flex h-(--header-height) w-full', {
'flex-col gap-1.5 h-auto': isExpanded,
'items-center group-hover:bg-surface-300 gap-4': !isExpanded,
})}
>
<h3
className={cn('pl-3 text-foreground-lighter text-sm text-left', {
- 'h-[var(--header-height)] flex items-center': isExpanded,
+ 'h-(--header-height) flex items-center': isExpanded,
})}
>
{keyName}
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx b/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx
index a2f88336507..fc23c57806f 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx
@@ -538,9 +538,9 @@ export const LogTable = ({
const isMultiSelected = selectedRows.has(key)
const isSingleSelected = isEqual(row, selectedRow)
return cn(
- 'font-mono tracking-tight !bg-studio hover:!bg-surface-100 cursor-pointer',
+ 'font-mono tracking-tight bg-studio! hover:bg-surface-100! cursor-pointer',
{
- '!bg-surface-200 rdg-row--focused': isSingleSelected || isMultiSelected,
+ 'bg-surface-200! rdg-row--focused': isSingleSelected || isMultiSelected,
}
)
}}
diff --git a/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx b/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
index cf2aff8f8b3..ecb03f8848b 100644
--- a/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx
@@ -337,7 +337,7 @@ export const LogsDatePicker = ({
placeholder="e.g. 2h, 30m, 7d"
value={customValue}
onChange={(e) => setCustomValue(e.target.value)}
- className="mb-2 text-xs h-7 rounded-sm"
+ className="mb-2 text-xs h-7 rounded-xs"
/>
<RadioGroup
onValueChange={handleHelperChange}
@@ -348,7 +348,7 @@ export const LogsDatePicker = ({
<Label
key={helper.text}
className={cn(
- '[&:has([data-state=checked])]:bg-background-overlay-hover [&:has([data-state=checked])]:text-foreground px-4 py-1.5 text-foreground-light flex items-center gap-2 hover:bg-background-overlay-hover hover:text-foreground transition-all rounded-sm text-xs w-full',
+ '[&:has([data-state=checked])]:bg-background-overlay-hover [&:has([data-state=checked])]:text-foreground px-4 py-1.5 text-foreground-light flex items-center gap-2 hover:bg-background-overlay-hover hover:text-foreground transition-all rounded-xs text-xs w-full',
{
'cursor-not-allowed pointer-events-none opacity-50': helper.disabled,
}
diff --git a/apps/studio/components/interfaces/Settings/Logs/Logs.Divider.tsx b/apps/studio/components/interfaces/Settings/Logs/Logs.Divider.tsx
index 8cac46de1e4..8b1bc67d28b 100644
--- a/apps/studio/components/interfaces/Settings/Logs/Logs.Divider.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/Logs.Divider.tsx
@@ -1,6 +1,6 @@
const LogsDivider = () => {
return (
- <div className="h-px w-full bg-panel-border-interior-light [[data-theme*=dark]_&]:bg-panel-border-interior-dark"></div>
+ <div className="h-px w-full bg-panel-border-interior-light in-data-[theme*=dark]:bg-panel-border-interior-dark"></div>
)
}
diff --git a/apps/studio/components/interfaces/Settings/Logs/Logs.SqlSnippetCode.tsx b/apps/studio/components/interfaces/Settings/Logs/Logs.SqlSnippetCode.tsx
index 9656b5680a0..9f8c7e3e289 100644
--- a/apps/studio/components/interfaces/Settings/Logs/Logs.SqlSnippetCode.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/Logs.SqlSnippetCode.tsx
@@ -1,5 +1,5 @@
const SqlSnippetCode: React.FC<React.PropsWithChildren> = ({ children }) => (
- <pre className="text-foreground text-sm break-words py-4 px-3 w-full">{children}</pre>
+ <pre className="text-foreground text-sm wrap-break-word py-4 px-3 w-full">{children}</pre>
)
export default SqlSnippetCode
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogsFilterPopover.tsx b/apps/studio/components/interfaces/Settings/Logs/LogsFilterPopover.tsx
index 4071bab1f02..c9844e7037d 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogsFilterPopover.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogsFilterPopover.tsx
@@ -82,7 +82,7 @@ const LogsFilterPopover = ({
<Label
key={x.key}
htmlFor={`${options.key}.${x.key}`}
- className="flex items-start hover:bg-overlay-hover overflow-hidden p-2 m-1 rounded-sm gap-3 transition-all duration-150 ease-in-out"
+ className="flex items-start hover:bg-overlay-hover overflow-hidden p-2 m-1 rounded-xs gap-3 transition-all duration-150 ease-in-out"
>
<div>
<Checkbox
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx b/apps/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx
index bbe76db1c10..1e7931325a1 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogsFormatters.tsx
@@ -153,10 +153,10 @@ export const SeverityFormatter = ({
case 'ERROR':
return (
<Layout className="gap-1">
- <div className=" p-0.5 rounded !text-red-900">
+ <div className=" p-0.5 rounded-sm text-red-900!">
<AlertCircle size={14} strokeWidth={2} />
</div>
- <span className="!text-red-900 !block titlecase">{text}</span>
+ <span className="text-red-900! block! titlecase">{text}</span>
</Layout>
)
break
@@ -166,10 +166,10 @@ export const SeverityFormatter = ({
case 'DEBUG':
return (
<Layout className="gap-1">
- <div className=" p-0.5 rounded !text-blue-900">
+ <div className=" p-0.5 rounded-sm text-blue-900!">
<AlertCircle size={14} strokeWidth={2} />
</div>
- <span className="!text-blue-900 !block titlecase">{text}</span>
+ <span className="text-blue-900! block! titlecase">{text}</span>
</Layout>
)
break
@@ -177,10 +177,10 @@ export const SeverityFormatter = ({
case 'LOG':
return (
<Layout className="gap-1">
- <div className=" p-0.5 rounded !text-blue-900">
+ <div className=" p-0.5 rounded-sm text-blue-900!">
<Info size={14} strokeWidth={2} />
</div>
- <span className="!text-blue-900 !block titlecase">{text}</span>
+ <span className="text-blue-900! block! titlecase">{text}</span>
</Layout>
)
break
@@ -188,10 +188,10 @@ export const SeverityFormatter = ({
case 'WARNING':
return (
<Layout className="gap-1">
- <div className=" p-0.5 rounded !text-amber-900">
+ <div className=" p-0.5 rounded-sm text-amber-900!">
<AlertCircle size={14} strokeWidth={2} />
</div>
- <span className="!text-amber-900 !block titlecase">{text}</span>
+ <span className="text-amber-900! block! titlecase">{text}</span>
</Layout>
)
break
@@ -200,7 +200,7 @@ export const SeverityFormatter = ({
default:
return (
<Layout>
- <div className="relative rounded px-2 py-1 text-center h-6 flex justify-center items-center bg-surface-100">
+ <div className="relative rounded-sm px-2 py-1 text-center h-6 flex justify-center items-center bg-surface-100">
<label className="block font-mono text-sm text-foreground-lighter">{text}</label>
</div>
</Layout>
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx b/apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
index 807115c5392..7471471e430 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
@@ -81,7 +81,7 @@ const LogsQueryPanel = ({
}, [value.from, value.to, value.text, value.isHelper])
return (
- <div className="flex items-center border-b bg-surface-100 h-[var(--header-height)]">
+ <div className="flex items-center border-b bg-surface-100 h-(--header-height)">
<div className="flex w-full items-center justify-between px-4 md:px-5 py-2 overflow-x-scroll no-scrollbar">
<div className="flex w-full flex-row items-center justify-between gap-x-4">
<div className="flex items-center gap-2">
@@ -212,7 +212,7 @@ const LogsQueryPanel = ({
unnesting joins
<ExternalLink
size="14"
- className="ml-1 inline -translate-y-[2px]"
+ className="ml-1 inline translate-y-[-2px]"
strokeWidth={1.5}
/>
</Link>
@@ -236,10 +236,10 @@ const LogsQueryPanel = ({
>
<Table
head={[
- <Table.th className="text-xs !p-2" key="path">
+ <Table.th className="text-xs p-2!" key="path">
Path
</Table.th>,
- <Table.th key="type" className="text-xs !p-2">
+ <Table.th key="type" className="text-xs p-2!">
Type
</Table.th>,
]}
@@ -272,7 +272,7 @@ const Field = ({
return (
<Table.tr>
<Table.td
- className="font-mono text-xs !p-2 cursor-pointer hover:text-foreground transition flex items-center space-x-2"
+ className="font-mono text-xs p-2! cursor-pointer hover:text-foreground transition flex items-center space-x-2"
onClick={() =>
copyToClipboard(field.path, () => {
setIsCopied(true)
@@ -297,7 +297,7 @@ const Field = ({
</Tooltip>
)}
</Table.td>
- <Table.td className="font-mono text-xs !p-2">{field.type}</Table.td>
+ <Table.td className="font-mono text-xs p-2!">{field.type}</Table.td>
</Table.tr>
)
}
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogsTableEmptyState.tsx b/apps/studio/components/interfaces/Settings/Logs/LogsTableEmptyState.tsx
index 91cc6e9c0b5..6e58cb212a0 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogsTableEmptyState.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogsTableEmptyState.tsx
@@ -2,7 +2,7 @@ import { Search } from 'lucide-react'
const EmptyStateRow = () => {
return (
- <div className="relative flex h-4 w-32 items-center rounded border border-dashed border-stronger px-2" />
+ <div className="relative flex h-4 w-32 items-center rounded-sm border border-dashed border-stronger px-2" />
)
}
diff --git a/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx b/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx
index f169b4b450a..4ab2fad04e6 100644
--- a/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx
@@ -139,7 +139,7 @@ const PreviewFilterPanel = ({
<ButtonTooltip
icon={<X />}
type="text"
- className="p-[1px] h-[20px]"
+ className="p-px h-[20px]"
onClick={() => handleInputSearch('')}
tooltip={{ content: { side: 'bottom', text: 'Clear search' } }}
/>
diff --git a/apps/studio/components/interfaces/Settings/Logs/RecentQueriesItem.tsx b/apps/studio/components/interfaces/Settings/Logs/RecentQueriesItem.tsx
index 5ea89e1510e..5f7e7734253 100644
--- a/apps/studio/components/interfaces/Settings/Logs/RecentQueriesItem.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/RecentQueriesItem.tsx
@@ -17,7 +17,7 @@ const RecentQueriesItem: React.FC<Props> = ({ item }) => {
return (
<Table.tr key={item.sql}>
<Table.td
- className={`expanded-row-content border-l border-r bg-alternative !px-3 !pt-0 !pb-0 transition-all`}
+ className={`expanded-row-content border-l border-r bg-alternative px-3! pt-0! pb-0! transition-all`}
>
<SqlSnippetCode>{item.sql}</SqlSnippetCode>
</Table.td>
diff --git a/apps/studio/components/interfaces/Settings/Logs/SidebarV2/SidebarItem.tsx b/apps/studio/components/interfaces/Settings/Logs/SidebarV2/SidebarItem.tsx
index 3525a272b90..ae97eb64e67 100644
--- a/apps/studio/components/interfaces/Settings/Logs/SidebarV2/SidebarItem.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/SidebarV2/SidebarItem.tsx
@@ -40,7 +40,7 @@ export function LogsSidebarItem({ label, icon, dropdownItems, href, isActive, on
<Button
type="text"
title="Actions"
- className="space-x-0 h-7 px-1.5 opacity-0 group-hover:opacity-100 !bg-transparent data-[state=open]:opacity-100"
+ className="space-x-0 h-7 px-1.5 opacity-0 group-hover:opacity-100 bg-transparent! data-open:opacity-100"
icon={<MoreHorizontal size={14} />}
>
<div className="sr-only">Actions</div>
diff --git a/apps/studio/components/interfaces/Settings/Logs/UpgradePrompt.tsx b/apps/studio/components/interfaces/Settings/Logs/UpgradePrompt.tsx
index 0a72e6c325f..ee45244719e 100644
--- a/apps/studio/components/interfaces/Settings/Logs/UpgradePrompt.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/UpgradePrompt.tsx
@@ -39,7 +39,7 @@ const UpgradePrompt: React.FC<Props> = ({
<Modal.Content>
<div className="space-y-4">
<p className="text-sm">{description}</p>
- <div className="border-control bg-surface-300 rounded border">
+ <div className="border-control bg-surface-300 rounded-sm border">
<div className="flex items-center px-4 pt-2 pb-1">
<p className="text-foreground-light w-[40%] text-sm">Plan</p>
<p className="text-foreground-light w-[60%] text-sm">Retention duration</p>
diff --git a/apps/studio/components/interfaces/Sidebar.tsx b/apps/studio/components/interfaces/Sidebar.tsx
index d5c3c9045cf..3981c6a48d7 100644
--- a/apps/studio/components/interfaces/Sidebar.tsx
+++ b/apps/studio/components/interfaces/Sidebar.tsx
@@ -96,7 +96,7 @@ export const Sidebar = ({ className, ...props }: SidebarProps) => {
<DropdownMenuTrigger asChild>
<Button
type="text"
- className={`w-min px-1.5 mx-0.5 ${sidebarBehaviour === 'open' ? '!px-2' : ''}`}
+ className={`w-min px-1.5 mx-0.5 ${sidebarBehaviour === 'open' ? 'px-2!' : ''}`}
icon={<PanelLeftDashed size={ICON_SIZE} strokeWidth={ICON_STROKE_WIDTH} />}
/>
</DropdownMenuTrigger>
@@ -182,7 +182,7 @@ export function SideBarNavLink({
const buttonProps = {
disabled: route.disabled,
isActive: active,
- className: cn('text-sm', sidebarBehaviour === 'open' ? '!px-2' : ''),
+ className: cn('text-sm', sidebarBehaviour === 'open' ? 'px-2!' : ''),
size: 'default' as const,
onClick: onClick,
}
diff --git a/apps/studio/components/interfaces/SignIn/LastSignInWrapper.tsx b/apps/studio/components/interfaces/SignIn/LastSignInWrapper.tsx
index 8d94b40966d..82ff36381ff 100644
--- a/apps/studio/components/interfaces/SignIn/LastSignInWrapper.tsx
+++ b/apps/studio/components/interfaces/SignIn/LastSignInWrapper.tsx
@@ -17,7 +17,7 @@ export function LastSignInWrapper({
{lastSignIn === type && (
<Badge
variant="success"
- className="absolute -right-4 -top-3 shadow z-10 bg-brand-400/100 text-foreground pointer-events-none"
+ className="absolute -right-4 -top-3 shadow-sm z-10 bg-brand-400 text-foreground pointer-events-none"
>
Last used
</Badge>
diff --git a/apps/studio/components/interfaces/SignIn/ResetPasswordForm.tsx b/apps/studio/components/interfaces/SignIn/ResetPasswordForm.tsx
index 711eda7d489..1e3de4a083e 100644
--- a/apps/studio/components/interfaces/SignIn/ResetPasswordForm.tsx
+++ b/apps/studio/components/interfaces/SignIn/ResetPasswordForm.tsx
@@ -142,7 +142,7 @@ export const ResetPasswordForm = () => {
<div
className={cn(
- showConditions ? 'max-h-[500px]' : 'max-h-[0px]',
+ showConditions ? 'max-h-[500px]' : 'max-h-0',
'transition-all duration-400 overflow-y-hidden'
)}
>
diff --git a/apps/studio/components/interfaces/SignIn/SignUpForm.tsx b/apps/studio/components/interfaces/SignIn/SignUpForm.tsx
index 08696cde354..e6233d8732b 100644
--- a/apps/studio/components/interfaces/SignIn/SignUpForm.tsx
+++ b/apps/studio/components/interfaces/SignIn/SignUpForm.tsx
@@ -198,7 +198,7 @@ export const SignUpForm = () => {
<div
className={`${
- showConditions ? 'max-h-[500px]' : 'max-h-[0px]'
+ showConditions ? 'max-h-[500px]' : 'max-h-0'
} transition-all duration-400 overflow-y-hidden`}
>
<PasswordConditionsHelper password={password} />
diff --git a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CreateTable/CreateTableInstructionsDialog.tsx b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CreateTable/CreateTableInstructionsDialog.tsx
index 6312fa4224a..875ca6dc730 100644
--- a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CreateTable/CreateTableInstructionsDialog.tsx
+++ b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CreateTable/CreateTableInstructionsDialog.tsx
@@ -41,11 +41,7 @@ export const CreateTableInstructionsDialog = () => {
{enableCreationOfTablesFromDashboard && (
<DropdownMenu>
<DropdownMenuTrigger asChild>
- <Button
- type="primary"
- className="w-7 rounded-l-none -ml-[1px]"
- icon={<ChevronDown />}
- />
+ <Button type="primary" className="w-7 rounded-l-none -ml-px" icon={<ChevronDown />} />
</DropdownMenuTrigger>
<DropdownMenuContent className="w-48" align="end">
<DropdownMenuItem onClick={() => setShowModal(true)}>Via Pyiceberg</DropdownMenuItem>
diff --git a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CreateTable/CreateTableSheet.tsx b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CreateTable/CreateTableSheet.tsx
index 107d78a51c5..51d2b1493a8 100644
--- a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CreateTable/CreateTableSheet.tsx
+++ b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CreateTable/CreateTableSheet.tsx
@@ -235,12 +235,12 @@ export const CreateTableSheet = ({ open, onOpenChange }: CreateTableSheetProps)
</Button>
</div>
{columns.length === 0 ? (
- <div className="flex items-center justify-center rounded border border-strong border-dashed py-4 text-foreground-lighter text-sm">
+ <div className="flex items-center justify-center rounded-sm border border-strong border-dashed py-4 text-foreground-lighter text-sm">
Add a column to your table
</div>
) : (
<>
- <div className="grid grid-cols-[1fr,1fr,32px]">
+ <div className="grid grid-cols-[1fr_1fr_32px]">
<p className="text-xs text-foreground-lighter">Name</p>
<p className="text-xs text-foreground-lighter">Type</p>
</div>
@@ -251,7 +251,7 @@ export const CreateTableSheet = ({ open, onOpenChange }: CreateTableSheetProps)
return (
<Fragment key={`column-${idx}`}>
- <div className="grid grid-cols-[1fr,1fr,32px] gap-x-1">
+ <div className="grid grid-cols-[1fr_1fr_32px] gap-x-1">
<FormField
control={form.control}
name={`columns.${idx}.name`}
diff --git a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/InitializeForeignSchemaDialog.tsx b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/InitializeForeignSchemaDialog.tsx
index 49ac32788ae..ab519ef630c 100644
--- a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/InitializeForeignSchemaDialog.tsx
+++ b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/InitializeForeignSchemaDialog.tsx
@@ -115,7 +115,7 @@ export const InitializeForeignSchemaDialog = ({ namespace }: { namespace: string
)}
/>
</DialogSection>
- <DialogFooter className="!justify-between">
+ <DialogFooter className="justify-between!">
<DocsButton href={`${DOCS_URL}/guides/storage/analytics/query-with-postgres`} />
<div className="flex items-center gap-x-2">
<Button type="default" disabled={isCreating} onClick={() => setIsOpen(false)}>
diff --git a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/InsertDataDialog.tsx b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/InsertDataDialog.tsx
index 295c7e92372..a5ab4dc97df 100644
--- a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/InsertDataDialog.tsx
+++ b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/InsertDataDialog.tsx
@@ -62,7 +62,7 @@ values (
<DialogSectionSeparator />
- <DialogSection className="!p-0">
+ <DialogSection className="p-0!">
<CodeBlock
hideLineNumbers
wrapperClassName={cn('[&_pre]:px-4 [&_pre]:py-3 [&>pre]:rounded-none [&>pre]:border-0')}
diff --git a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/TableRowComponent.tsx b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/TableRowComponent.tsx
index 199e9a34435..47d7be8adfd 100644
--- a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/TableRowComponent.tsx
+++ b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/TableRowComponent.tsx
@@ -418,7 +418,7 @@ export const TableRowComponent = ({ table, schema, namespace }: TableRowComponen
{connectedForeignTables?.map((x) => (
<TableRow key={x.id}>
<TableCell className="pl-6">
- <div className="flex items-center gap-x-2 rounded">
+ <div className="flex items-center gap-x-2 rounded-sm">
<div className="w-4 h-5 rounded-bl-lg border-l-2 border-b-2 border-control -translate-y-2" />
<div
className={cn(
@@ -466,7 +466,7 @@ export const TableRowComponent = ({ table, schema, namespace }: TableRowComponen
<TableCell className="pl-6">
<Tooltip>
<TooltipTrigger>
- <div className="flex items-center gap-x-2 rounded">
+ <div className="flex items-center gap-x-2 rounded-sm">
<div className="w-4 h-4 rounded-bl-lg border-l-2 border-b-2 border-control -translate-y-1.5" />
<div
className={cn(
diff --git a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/UpdateForeignSchemaDialog.tsx b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/UpdateForeignSchemaDialog.tsx
index 3c9e44f0d65..524a90d143c 100644
--- a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/UpdateForeignSchemaDialog.tsx
+++ b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/UpdateForeignSchemaDialog.tsx
@@ -155,7 +155,7 @@ export const UpdateForeignSchemaDialog = ({
</p>
)}
</DialogSection>
- <DialogFooter className="!justify-between">
+ <DialogFooter className="justify-between!">
<DocsButton href={`${DOCS_URL}/guides/storage/analytics/query-with-postgres`} />
<div className="flex items-center gap-x-2">
<Button type="default" disabled={isUpdating} onClick={() => setIsOpen(false)}>
diff --git a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/index.tsx b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/index.tsx
index 3d4ffbc6f9f..c32b6590eb5 100644
--- a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/index.tsx
+++ b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/index.tsx
@@ -229,7 +229,7 @@ export const AnalyticBucketDetails = () => {
<Admonition
type="note"
layout="horizontal"
- className="[&>div]:pl-[2.5rem] [&>div]:-translate-y-[3px]"
+ className="[&>div]:pl-10 [&>div]:translate-y-[-3px]"
childProps={{ title: { className: 'block capitalize-sentence' } }}
showIcon={isPipelineStopped}
title={
diff --git a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/CreateAnalyticsBucketForm.tsx b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/CreateAnalyticsBucketForm.tsx
index c78abfdfee3..8cc03aa25c2 100644
--- a/apps/studio/components/interfaces/Storage/AnalyticsBuckets/CreateAnalyticsBucketForm.tsx
+++ b/apps/studio/components/interfaces/Storage/AnalyticsBuckets/CreateAnalyticsBucketForm.tsx
@@ -193,7 +193,7 @@ export const CreateAnalyticsBucketForm = ({
return (
<>
- <Section className="flex flex-col !p-0 grow">
+ <Section className="flex flex-col p-0! grow">
<Form {...form}>
<form id={formId} onSubmit={form.handleSubmit(onSubmit)}>
<FormField
@@ -229,7 +229,7 @@ export const CreateAnalyticsBucketForm = ({
className={cn('border-x-0 rounded-none', type === 'dialog' && 'border-b-0')}
title="Wrappers extension must be updated for Iceberg Wrapper support"
>
- <p className="prose max-w-full text-sm !leading-normal">
+ <p className="prose max-w-full text-sm leading-normal!">
Update the <code className="text-code-inline">wrappers</code> extension by
upgrading your project from your{' '}
<InlineLink href={`/project/${ref}/settings/infrastructure`}>
@@ -247,7 +247,7 @@ export const CreateAnalyticsBucketForm = ({
type="default"
className={cn('border-x-0 rounded-none', type === 'dialog' && 'border-b-0')}
>
- <p className="!leading-normal">
+ <p className="leading-normal!">
Supabase will install the{' '}
{wrappersExtensionState !== 'installed' ? 'Wrappers extension and ' : ''}
Iceberg Wrapper integration on your behalf.{' '}
diff --git a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx
index b2108b269da..3df84560307 100644
--- a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx
+++ b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx
@@ -260,11 +260,11 @@ export const EditBucketModal = ({ visible, bucket, onClose }: EditBucketModalPro
{isMakingBucketPrivate && (
<>
- <p className="mb-2 !leading-normal">
+ <p className="mb-2 leading-normal!">
All objects in your bucket will only accessible via signed URLs, or
downloaded with the right authorization headers.
</p>
- <p className="!leading-normal">
+ <p className="leading-normal!">
Assets cached in the CDN may still be publicly accessible. You can
consider{' '}
<InlineLink
diff --git a/apps/studio/components/interfaces/Storage/FilesBuckets/index.tsx b/apps/studio/components/interfaces/Storage/FilesBuckets/index.tsx
index c693990f4f5..4d26f70a852 100644
--- a/apps/studio/components/interfaces/Storage/FilesBuckets/index.tsx
+++ b/apps/studio/components/interfaces/Storage/FilesBuckets/index.tsx
@@ -90,7 +90,7 @@ export const FilesBuckets = () => {
<>
{hasNoApiKeys ? (
<Admonition type="warning" title="Project has no active API keys enabled">
- <p className="!leading-normal text-sm">
+ <p className="leading-normal! text-sm">
The Dashboard relies on having active API keys on the project to function. If
you'd like to use Storage through the Dashboard, create a set of API keys{' '}
<InlineLink href={`/project/${ref}/settings/api-keys/new`}>here</InlineLink>.
diff --git a/apps/studio/components/interfaces/Storage/PublicBucketWarning.tsx b/apps/studio/components/interfaces/Storage/PublicBucketWarning.tsx
index 81e3f880bb7..6a96266217e 100644
--- a/apps/studio/components/interfaces/Storage/PublicBucketWarning.tsx
+++ b/apps/studio/components/interfaces/Storage/PublicBucketWarning.tsx
@@ -211,7 +211,7 @@ function PublicBucketWarningView(props: PublicBucketWarningViewProps): ReactNode
hideLineNumbers
language="sql"
value={generatePolicyRemovalSql(policyName)}
- wrapperClassName="[&_pre]:px-4 [&_pre]:py-3 [&>pre]:rounded-none [&>pre]:border-0 [&_pre>*]:!whitespace-pre-wrap"
+ wrapperClassName="[&_pre]:px-4 [&_pre]:py-3 [&>pre]:rounded-none [&>pre]:border-0 [&_pre>*]:whitespace-pre-wrap!"
className="[&_code]:text-foreground"
/>
</div>
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/ConfirmDeleteModal.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/ConfirmDeleteModal.tsx
index 4a37d81ec40..48f79f84ce5 100644
--- a/apps/studio/components/interfaces/Storage/StorageExplorer/ConfirmDeleteModal.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageExplorer/ConfirmDeleteModal.tsx
@@ -49,7 +49,7 @@ export const ConfirmDeleteModal = () => {
<ConfirmationModal
size="medium"
visible={visible}
- title={<span className="break-words">{title}</span>}
+ title={<span className="wrap-break-word">{title}</span>}
loading={deleting}
onCancel={() => setSelectedItemsToDelete([])}
onConfirm={onDeleteSelectedFiles}
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerColumn.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerColumn.tsx
index 7ca4a6b56b2..9ab62605603 100644
--- a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerColumn.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerColumn.tsx
@@ -200,7 +200,7 @@ export const FileExplorerColumn = ({
{view === STORAGE_VIEWS.COLUMNS && (
<div
className={cn(
- 'sticky top-0 z-10 mb-0 flex items-center bg-table-header-light px-2.5 [[data-theme*=dark]_&]:bg-table-header-dark',
+ 'sticky top-0 z-10 mb-0 flex items-center bg-table-header-light px-2.5 in-data-[theme*=dark]:bg-table-header-dark',
haveSelectedItems ? 'h-10 py-3 opacity-100' : 'h-0 py-0 opacity-0',
'transition-all duration-200'
)}
@@ -335,7 +335,7 @@ export const FileExplorerColumn = ({
{/* List interface footer */}
{view === STORAGE_VIEWS.LIST && (
- <div className="shrink-0 rounded-b-md z-10 flex min-w-min items-center bg-panel-footer-light px-2.5 py-2 [[data-theme*=dark]_&]:bg-panel-footer-dark w-full">
+ <div className="shrink-0 rounded-b-md z-10 flex min-w-min items-center bg-panel-footer-light px-2.5 py-2 in-data-[theme*=dark]:bg-panel-footer-dark w-full">
<p className="text-sm">
{formatBytes(columnItemsSize)} for {columnItems.length} items
</p>
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx
index 2b457f1751b..9b6cb895edf 100644
--- a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerHeaderSelection.tsx
@@ -19,7 +19,7 @@ export const FileExplorerHeaderSelection = () => {
} = useStorageExplorerStateSnapshot()
return (
- <div className="z-10 flex h-[40px] items-center rounded-t-md bg-brand-400 px-2 py-1 shadow [[data-theme*=dark]_&]:bg-brand-500">
+ <div className="z-10 flex h-[40px] items-center rounded-t-md bg-brand-400 px-2 py-1 shadow-sm in-data-[theme*=dark]:bg-brand-500">
<Button
icon={<X size={16} strokeWidth={2} />}
type="text"
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRow.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRow.tsx
index bd85582a144..7e521de0cb5 100644
--- a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRow.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRow.tsx
@@ -293,7 +293,7 @@ export const FileExplorerRow = ({
<div
className={cn(
'storage-row group flex h-full items-center px-2.5',
- 'hover:bg-panel-footer-light [[data-theme*=dark]_&]:hover:bg-panel-footer-dark',
+ 'hover:bg-panel-footer-light in-data-[theme*=dark]:hover:bg-panel-footer-dark',
`${isOpened ? 'bg-selection' : ''}`,
`${isSelected ? 'bg-selection' : ''}`,
`${isPreviewed ? 'bg-selection hover:bg-selection' : ''}`,
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRowEditing.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRowEditing.tsx
index 4073670b643..3eb8c024913 100644
--- a/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRowEditing.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRowEditing.tsx
@@ -90,7 +90,7 @@ export const FileExplorerRowEditing = ({
return (
<div
style={style}
- className="storage-row flex items-center justify-between rounded bg-gray-500"
+ className="storage-row flex items-center justify-between rounded-sm bg-gray-500"
>
<div className="flex h-full grow items-center px-2.5">
<div>
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx
index 533a185786a..c8a3d53dbd1 100644
--- a/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx
@@ -157,7 +157,7 @@ export const PreviewPane = () => {
<div className="w-full space-y-6">
{/* Preview Information */}
<div className="space-y-1">
- <h5 className="break-words text-base text-foreground">{file.name}</h5>
+ <h5 className="wrap-break-word text-base text-foreground">{file.name}</h5>
{file.isCorrupted && (
<div className="flex items-center space-x-2">
<AlertCircle size={14} strokeWidth={2} className="text-foreground-light" />
diff --git a/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx b/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx
index ed58cf72ffb..7a3f7fdd7c0 100644
--- a/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx
@@ -324,7 +324,7 @@ export const S3Connection = () => {
))
) : (
<TableRow>
- <TableCell colSpan={4} className="!rounded-b-md overflow-hidden">
+ <TableCell colSpan={4} className="rounded-b-md! overflow-hidden">
<p className="text-sm text-foreground">No access keys created</p>
<p className="text-sm text-foreground-light">
There are no access keys associated with your project yet
diff --git a/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.ValidateSizeLimit.tsx b/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.ValidateSizeLimit.tsx
index d3eb9bf3d32..364f08fd4f6 100644
--- a/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.ValidateSizeLimit.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.ValidateSizeLimit.tsx
@@ -125,7 +125,7 @@ export const ValidateSizeLimit = ({
type="button"
className={cn(
'mt-2 ml-auto text-foreground-lighter',
- '!w-fit text-xs',
+ 'w-fit! text-xs',
isValidating ? 'cursor-wait' : 'hover:text-foreground'
)}
onClick={() => setShowModal(true)}
diff --git a/apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorBucketDialog.tsx b/apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorBucketDialog.tsx
index d79239cc3e8..e24851aabe1 100644
--- a/apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorBucketDialog.tsx
+++ b/apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorBucketDialog.tsx
@@ -175,7 +175,7 @@ export const CreateVectorBucketDialog = ({
<Form {...form}>
<form id={formId} onSubmit={form.handleSubmit(onSubmit)}>
- <DialogSection className="flex flex-col !p-0">
+ <DialogSection className="flex flex-col p-0!">
<FormField
key="name"
name="name"
diff --git a/apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorTableSheet.tsx b/apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorTableSheet.tsx
index 602b48f70ba..40a6b72fef3 100644
--- a/apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorTableSheet.tsx
+++ b/apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorTableSheet.tsx
@@ -379,7 +379,7 @@ export const CreateVectorTableSheet = ({ bucketName }: CreateVectorTableSheetPro
</div>
))}
</div>
- <div className="flex items-center justify-center rounded border border-strong border-dashed py-3">
+ <div className="flex items-center justify-center rounded-sm border border-strong border-dashed py-3">
<Button type="default" size="tiny" onClick={() => append({ value: '' })}>
Add metadata key
</Button>
diff --git a/apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/InitializeForeignSchemaDialog.tsx b/apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/InitializeForeignSchemaDialog.tsx
index 300fd7e294f..3340056aced 100644
--- a/apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/InitializeForeignSchemaDialog.tsx
+++ b/apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/InitializeForeignSchemaDialog.tsx
@@ -165,7 +165,7 @@ export const InitializeForeignSchemaDialog = () => {
)}
/>
</DialogSection>
- <DialogFooter className="!justify-between">
+ <DialogFooter className="justify-between!">
<DocsButton href={`${DOCS_URL}/guides/storage/vector/querying-vectors`} />
<div className="flex items-center gap-x-2">
<Button type="default" disabled={isCreating} onClick={() => setIsOpen(false)}>
diff --git a/apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/VectorBucketTableExamplesSheet.tsx b/apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/VectorBucketTableExamplesSheet.tsx
index 8f705325442..83c801298e0 100644
--- a/apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/VectorBucketTableExamplesSheet.tsx
+++ b/apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/VectorBucketTableExamplesSheet.tsx
@@ -67,7 +67,7 @@ export const VectorBucketTableExamplesSheet = ({ index }: VectorBucketTableExamp
<SheetHeader>
<SheetTitle>
Insert vectors into{' '}
- <code className="text-code-inline !text-sm">{index.indexName}</code>
+ <code className="text-code-inline text-sm!">{index.indexName}</code>
</SheetTitle>
</SheetHeader>
diff --git a/apps/studio/components/interfaces/Support/AIAssistantOption.tsx b/apps/studio/components/interfaces/Support/AIAssistantOption.tsx
index 95ad9f7727e..ca547a25988 100644
--- a/apps/studio/components/interfaces/Support/AIAssistantOption.tsx
+++ b/apps/studio/components/interfaces/Support/AIAssistantOption.tsx
@@ -49,7 +49,7 @@ export const AIAssistantOption = ({ projectRef, organizationSlug }: AIAssistantO
className="w-full overflow-hidden border rounded-md relative bg-200"
>
<div className="flex items-center p-6">
- <div className="flex flex-col gap-3 z-[2] shrink-0 w-full">
+ <div className="flex flex-col gap-3 z-2 shrink-0 w-full">
<div>
<h5 className="text-sm font-medium text-foreground">Try Supabase Assistant</h5>
<p className="text-sm text-foreground-lighter">
@@ -65,7 +65,7 @@ export const AIAssistantOption = ({ projectRef, organizationSlug }: AIAssistantO
</div>
</div>
{/* Decorative background */}
- <div className="absolute z-[1] scale-75 -right-40 md:-right-24 -top-6 md:top-0">
+ <div className="absolute z-1 scale-75 -right-40 md:-right-24 -top-6 md:top-0">
<div className="relative grow flex flex-col gap-3 w-[400px]">
<div className="flex items-start gap-3 pl-12">
<div className="w-8 h-8 rounded-full bg-background-surface-300 flex items-center justify-center">
@@ -86,7 +86,7 @@ export const AIAssistantOption = ({ projectRef, organizationSlug }: AIAssistantO
</div>
</div>
</div>
- <div className="absolute -inset-2 bg-gradient-to-l from-transparent via-background-200 via-[90%] to-background-200 to-[100%] z-[1]" />
+ <div className="absolute -inset-2 bg-linear-to-l from-transparent via-background-200 via-90% to-background-200 to-100% z-1" />
</div>
</div>
</motion.aside>
diff --git a/apps/studio/components/interfaces/Support/AttachmentUpload.tsx b/apps/studio/components/interfaces/Support/AttachmentUpload.tsx
index 6116398e63d..50d8f04e000 100644
--- a/apps/studio/components/interfaces/Support/AttachmentUpload.tsx
+++ b/apps/studio/components/interfaces/Support/AttachmentUpload.tsx
@@ -188,7 +188,7 @@ export function AttachmentUploadDisplay({
return (
<div
key={url}
- className="border relative h-14 w-14 rounded flex items-center justify-center"
+ className="border relative h-14 w-14 rounded-sm flex items-center justify-center"
>
<Tooltip>
<TooltipTrigger className="cursor-default" onClick={(e) => e.preventDefault()}>
@@ -220,7 +220,7 @@ export function AttachmentUploadDisplay({
<div
key={url}
style={{ backgroundImage: `url("${url}")` }}
- className="relative h-14 w-14 rounded bg-cover bg-center bg-no-repeat"
+ className="relative h-14 w-14 rounded-sm bg-cover bg-center bg-no-repeat"
>
<button
type="button"
@@ -242,7 +242,7 @@ export function AttachmentUploadDisplay({
type="button"
className={cn(
'border border-stronger opacity-50 transition hover:opacity-100',
- 'group flex h-14 w-14 cursor-pointer items-center justify-center rounded'
+ 'group flex h-14 w-14 cursor-pointer items-center justify-center rounded-sm'
)}
onClick={addFile}
>
diff --git a/apps/studio/components/interfaces/Support/ClientLibraryInfo.tsx b/apps/studio/components/interfaces/Support/ClientLibraryInfo.tsx
index 848430af9a6..ed35afe26b4 100644
--- a/apps/studio/components/interfaces/Support/ClientLibraryInfo.tsx
+++ b/apps/studio/components/interfaces/Support/ClientLibraryInfo.tsx
@@ -87,7 +87,7 @@ const LibrarySuggestions = ({ library }: LibrarySuggestionsProps) => {
return (
<div
key={lib.name}
- className="w-[230px] min-w-[230px] min-h-[128px] rounded border border-control bg-surface-100 space-y-3 px-4 py-3"
+ className="w-[230px] min-w-[230px] min-h-[128px] rounded-sm border border-control bg-surface-100 space-y-3 px-4 py-3"
>
<div className="space-y-1">
<p className="text-sm">{lib.name}</p>
@@ -107,7 +107,7 @@ const LibrarySuggestions = ({ library }: LibrarySuggestionsProps) => {
})}
<div
className={cn(
- 'px-4 py-3 rounded border border-control bg-surface-100',
+ 'px-4 py-3 rounded-sm border border-control bg-surface-100',
'w-[230px] min-w-[230px] min-h-[128px] flex flex-col justify-between space-y-3'
)}
>
diff --git a/apps/studio/components/interfaces/Support/DashboardLogsToggle.tsx b/apps/studio/components/interfaces/Support/DashboardLogsToggle.tsx
index 74805fae9e0..5144716dbc5 100644
--- a/apps/studio/components/interfaces/Support/DashboardLogsToggle.tsx
+++ b/apps/studio/components/interfaces/Support/DashboardLogsToggle.tsx
@@ -49,7 +49,7 @@ export function DashboardLogsToggle({ form, sanitizedLog }: DashboardLogsToggleP
<CollapsibleTrigger_Shadcn_ className="group flex items-center gap-x-1 text-sm text-foreground-lighter hover:text-foreground transition">
<ChevronRight
size={14}
- className="transition-transform group-data-[state=open]:rotate-90"
+ className="transition-transform group-data-open:rotate-90"
/>
<span>Preview log</span>
</CollapsibleTrigger_Shadcn_>
diff --git a/apps/studio/components/interfaces/Support/DocsLink.tsx b/apps/studio/components/interfaces/Support/DocsLink.tsx
index b58690ff7fb..0a5c3d99ecf 100644
--- a/apps/studio/components/interfaces/Support/DocsLink.tsx
+++ b/apps/studio/components/interfaces/Support/DocsLink.tsx
@@ -7,7 +7,7 @@ import { TextHighlighterBase as TextHighlighter } from 'ui-patterns/CommandMenu'
import { formatSectionUrl, generateLink, getPageIcon } from './SupportForm.utils'
const cardBaseClasses =
- 'bg-200 rounded-lg hover:bg-surface-200 p-3 transition-colors hover:border-overlay hover:shadow-sm flex items-center justify-between'
+ 'bg-200 rounded-lg hover:bg-surface-200 p-3 transition-colors hover:border-overlay hover:shadow-xs flex items-center justify-between'
interface DocsLinkGroup {
page: Page
diff --git a/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx b/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
index d5107fff2b2..9ad1a14a827 100644
--- a/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
+++ b/apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
@@ -38,7 +38,7 @@ function LinkSupportTicketPageContent() {
return (
<div
className={cn(
- 'min-w-full w-full space-y-12 rounded border bg-panel-body-light shadow-md border-default'
+ 'min-w-full w-full space-y-12 rounded-sm border bg-panel-body-light shadow-md border-default'
)}
>
{isSuccess ? (
diff --git a/apps/studio/components/interfaces/Support/ProjectAndPlanInfo.tsx b/apps/studio/components/interfaces/Support/ProjectAndPlanInfo.tsx
index 3f815e5fd90..cd1799e1bd6 100644
--- a/apps/studio/components/interfaces/Support/ProjectAndPlanInfo.tsx
+++ b/apps/studio/components/interfaces/Support/ProjectAndPlanInfo.tsx
@@ -149,7 +149,7 @@ function ProjectRefHighlighted({ projectRef }: ProjectRefHighlightedProps) {
>
<p className="text-sm transition text-foreground-lighter">
Project ID:{' '}
- <code className="text-code-inline !text-foreground-light">{projectRef}</code>
+ <code className="text-code-inline text-foreground-light!">{projectRef}</code>
</p>
<CopyButton
iconOnly
diff --git a/apps/studio/components/interfaces/Support/Success.tsx b/apps/studio/components/interfaces/Support/Success.tsx
index 2367a6087a5..b00e83e320b 100644
--- a/apps/studio/components/interfaces/Support/Success.tsx
+++ b/apps/studio/components/interfaces/Support/Success.tsx
@@ -51,7 +51,7 @@ export const Success = ({
</div>
{categoriesToShowAdditionalResources.includes(sentCategory) && (
<>
- <div className="!my-10 w-full">
+ <div className="my-10! w-full">
<Separator />
</div>
<div className="flex flex-col items-center px-12 space-y-2 text-center">
@@ -72,7 +72,7 @@ export const Success = ({
</Button>
</>
)}
- <div className="!mt-10 w-full">
+ <div className="mt-10! w-full">
<Separator />
</div>
<div className="w-full pb-4 px-4 flex items-center justify-end">
diff --git a/apps/studio/components/interfaces/Support/SupportAccessToggle.tsx b/apps/studio/components/interfaces/Support/SupportAccessToggle.tsx
index 4f74f0a06cc..535aeb70d3e 100644
--- a/apps/studio/components/interfaces/Support/SupportAccessToggle.tsx
+++ b/apps/studio/components/interfaces/Support/SupportAccessToggle.tsx
@@ -53,12 +53,12 @@ export function SupportAccessToggle({ form }: SupportAccessToggleProps) {
<Collapsible_Shadcn_ className="mt-2">
<CollapsibleTrigger_Shadcn_
className={
- 'group flex items-center gap-x-1 group-data-[state=open]:text-foreground hover:text-foreground transition'
+ 'group flex items-center gap-x-1 group-data-open:text-foreground hover:text-foreground transition'
}
>
<ChevronRight
size={14}
- className="transition-all group-data-[state=open]:rotate-90 text-foreground-muted -ml-1"
+ className="transition-all group-data-open:rotate-90 text-foreground-muted -ml-1"
/>
<span className="text-sm">More information</span>
</CollapsibleTrigger_Shadcn_>
diff --git a/apps/studio/components/interfaces/Support/SupportForm.utils.tsx b/apps/studio/components/interfaces/Support/SupportForm.utils.tsx
index 60a88b4d714..9db7dd67cc2 100644
--- a/apps/studio/components/interfaces/Support/SupportForm.utils.tsx
+++ b/apps/studio/components/interfaces/Support/SupportForm.utils.tsx
@@ -56,9 +56,9 @@ export function getPageIcon(page: Page) {
case PageType.Markdown:
case PageType.Reference:
case PageType.Integration:
- return <Book strokeWidth={1.5} className="!mr-0 !w-4 !h-4" />
+ return <Book strokeWidth={1.5} className="mr-0! w-4! h-4!" />
case PageType.GithubDiscussion:
- return <Github strokeWidth={1.5} className="!mr-0 !w-4 !h-4" />
+ return <Github strokeWidth={1.5} className="mr-0! w-4! h-4!" />
default:
throw new Error(`Unknown page type '${page.type}'`)
}
@@ -69,9 +69,9 @@ export function getPageSectionIcon(page: Page) {
case PageType.Markdown:
case PageType.Reference:
case PageType.Integration:
- return <Hash strokeWidth={1.5} className="!mr-0 !w-4 !h-4" />
+ return <Hash strokeWidth={1.5} className="mr-0! w-4! h-4!" />
case PageType.GithubDiscussion:
- return <MessageSquare strokeWidth={1.5} className="!mr-0 !w-4 !h-4" />
+ return <MessageSquare strokeWidth={1.5} className="mr-0! w-4! h-4!" />
default:
throw new Error(`Unknown page type '${page.type}'`)
}
diff --git a/apps/studio/components/interfaces/Support/SupportFormPage.tsx b/apps/studio/components/interfaces/Support/SupportFormPage.tsx
index 335ca479327..8c66fe3de72 100644
--- a/apps/studio/components/interfaces/Support/SupportFormPage.tsx
+++ b/apps/studio/components/interfaces/Support/SupportFormPage.tsx
@@ -200,7 +200,7 @@ function SupportFormDirectEmailInfo({ projectRef }: SupportFormDirectEmailInfoPr
title="Having trouble submitting the form?"
description={
<>
- <p className="!mb-2.5">
+ <p className="mb-2.5!">
Please email us directly. Include your project ID and as much information as possible.
</p>
<p className="flex items-center gap-x-1.5 flex-wrap">
@@ -210,7 +210,7 @@ function SupportFormDirectEmailInfo({ projectRef }: SupportFormDirectEmailInfoPr
href={`mailto:[email protected]?subject=${encodeURIComponent('Support Request')}${hasProjectRef ? `${encodeURIComponent(' for Project ID: ')}${encodeURIComponent(projectRef)}` : ''}&body=${encodeURIComponent('Here is a detailed description of the problem I am experiencing and any other information that might be helpful...')}`}
className="hover:text-foreground transition-colors duration-100"
>
- <code className="text-code-inline !text-foreground-light underline decoration-foreground-lighter/50 hover:decoration-foreground-lighter/80 transition-colors duration-100">
+ <code className="text-code-inline text-foreground-light! underline decoration-foreground-lighter/50 hover:decoration-foreground-lighter/80 transition-colors duration-100">
</code>
</a>
@@ -226,7 +226,7 @@ function SupportFormDirectEmailInfo({ projectRef }: SupportFormDirectEmailInfoPr
<p className="flex items-center gap-x-1.5 flex-wrap">
Project ID:{' '}
<span className="inline-flex items-center gap-x-1">
- <code className="text-code-inline !text-foreground-light">{projectRef}</code>
+ <code className="text-code-inline text-foreground-light!">{projectRef}</code>
<CopyButton
iconOnly
type="text"
@@ -262,7 +262,7 @@ function SupportFormBody({
return (
<div
className={cn(
- 'min-w-full w-full space-y-12 rounded border bg-panel-body-light shadow-md',
+ 'min-w-full w-full space-y-12 rounded-sm border bg-panel-body-light shadow-md',
`${isSuccess ? 'pt-8' : 'py-8'}`,
'border-default'
)}
diff --git a/apps/studio/components/interfaces/TableGridEditor/DeleteConfirmationDialogs.tsx b/apps/studio/components/interfaces/TableGridEditor/DeleteConfirmationDialogs.tsx
index e22399a4537..adf297e1690 100644
--- a/apps/studio/components/interfaces/TableGridEditor/DeleteConfirmationDialogs.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/DeleteConfirmationDialogs.tsx
@@ -264,7 +264,7 @@ const DeleteConfirmationDialogs = ({
size="small"
visible={snap.confirmationDialog?.type === 'table'}
title={
- <span className="break-words">{`Confirm deletion of table "${selectedTable?.name}"`}</span>
+ <span className="wrap-break-word">{`Confirm deletion of table "${selectedTable?.name}"`}</span>
}
confirmLabel="Delete"
confirmLabelLoading="Deleting"
@@ -325,7 +325,7 @@ const DeleteConfirmationDialogs = ({
size="small"
visible={snap.confirmationDialog?.type === 'row'}
title={
- <p className="break-words">
+ <p className="wrap-break-word">
<span>Confirm to delete the selected row</span>
<span>{numRows > 1 && 's'}</span>
</p>
diff --git a/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx b/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
index 5681e0700f0..18e8d915ec0 100644
--- a/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
@@ -218,7 +218,7 @@ export const GridHeaderActions = ({ table, isRefetching }: GridHeaderActionsProp
{isReadOnly && (
<Tooltip>
<TooltipTrigger asChild>
- <div className="border border-strong rounded bg-overlay-hover px-3 py-1 text-xs">
+ <div className="border border-strong rounded-sm bg-overlay-hover px-3 py-1 text-xs">
Viewing as read-only
</div>
</TooltipTrigger>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx
index 748144d3c8f..45ab3f84d1d 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx
@@ -246,9 +246,9 @@ export const ColumnEditor = ({
<SheetSection className="overflow-auto grow p-0">
<FormSection
- header={<FormSectionLabel className="lg:!col-span-4">General</FormSectionLabel>}
+ header={<FormSectionLabel className="lg:col-span-4!">General</FormSectionLabel>}
>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<FormItemLayout
isReactForm={false}
id="name"
@@ -291,7 +291,7 @@ export const ColumnEditor = ({
<FormSection
header={
<FormSectionLabel
- className="lg:!col-span-4"
+ className="lg:col-span-4!"
description={
<div className="space-y-2">
<Button asChild type="default" icon={<Plus />}>
@@ -319,7 +319,7 @@ export const ColumnEditor = ({
</FormSectionLabel>
}
>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<ColumnType
showRecommendation
value={columnFields?.format ?? ''}
@@ -387,9 +387,9 @@ export const ColumnEditor = ({
<SidePanel.Separator />
<FormSection
- header={<FormSectionLabel className="lg:!col-span-4">Foreign Keys</FormSectionLabel>}
+ header={<FormSectionLabel className="lg:col-span-4!">Foreign Keys</FormSectionLabel>}
>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<ColumnForeignKey
tableId={selectedTable.id}
column={columnFields}
@@ -408,9 +408,9 @@ export const ColumnEditor = ({
</FormSection>
<SidePanel.Separator />
<FormSection
- header={<FormSectionLabel className="lg:!col-span-4">Constraints</FormSectionLabel>}
+ header={<FormSectionLabel className="lg:col-span-4!">Constraints</FormSectionLabel>}
>
- <FormSectionContent loading={false} className="lg:!col-span-8">
+ <FormSectionContent loading={false} className="lg:col-span-8!">
<FormItemLayout
isReactForm={false}
layout="flex"
@@ -494,7 +494,7 @@ export const ColumnEditor = ({
</FormSection>
</SheetSection>
- <SheetFooter className="!justify-between [&>div]:p-0 [&>div]:border-t-0">
+ <SheetFooter className="justify-between! [&>div]:p-0 [&>div]:border-t-0">
<ActionBar
backButtonLabel="Cancel"
applyButtonLabel="Save"
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
index 11e2bdd3c54..44a7be54788 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
@@ -200,7 +200,7 @@ const ColumnType = ({
placeholder="Search types..."
// [Joshen] Addresses style issues when this component is being used in the old Form component
// Specifically in WrapperDynamicColumns - can be cleaned up once we're no longer using that
- className="!bg-transparent focus:!shadow-none focus:!ring-0 text-xs"
+ className="bg-transparent! focus:shadow-none! focus:ring-0! text-xs"
/>
<CommandEmpty_Shadcn_>Type not found.</CommandEmpty_Shadcn_>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/HeaderTitle.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/HeaderTitle.tsx
index 5bd0f76fd4c..fbb2e7575ff 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/HeaderTitle.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/HeaderTitle.tsx
@@ -10,14 +10,14 @@ export const HeaderTitle = ({ table, column }: Props) => {
return (
<>
<span>Add new column to</span>
- <code className="text-code-inline !text-sm ml-1">{table.name}</code>
+ <code className="text-code-inline text-sm! ml-1">{table.name}</code>
</>
)
}
return (
<>
- Update column <code className="text-code-inline !text-sm">{column.name}</code> from{' '}
- <code className="text-code-inline !text-sm">{column.table}</code>
+ Update column <code className="text-code-inline text-sm!">{column.name}</code> from{' '}
+ <code className="text-code-inline text-sm!">{column.table}</code>
</>
)
}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx
index 36fad741b3c..6a82f0286f7 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx
@@ -104,7 +104,7 @@ const InputWithSuggestions = ({
<DropdownMenuTrigger asChild>
<ButtonTooltip
type="default"
- className="!px-1 mr-0.5"
+ className="px-1! mr-0.5"
tooltip={{
content: { text: suggestionsTooltip || 'Suggestions', side: 'bottom' },
}}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/OperationQueueSidePanel.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/OperationQueueSidePanel.tsx
index 83b53b04fcc..ae6f95e4510 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/OperationQueueSidePanel.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/OperationQueueSidePanel/OperationQueueSidePanel.tsx
@@ -51,7 +51,7 @@ export const OperationQueueSidePanel = () => {
<OperationList operations={operations} />
</SheetSection>
- <SheetFooter className="!justify-between">
+ <SheetFooter className="justify-between!">
<Button
type="default"
onClick={snap.closeSidePanel}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/ForeignRowSelector.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/ForeignRowSelector.tsx
index 3b2ecab94e5..8548e67cb79 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/ForeignRowSelector.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/ForeignRowSelector.tsx
@@ -163,7 +163,7 @@ export const ForeignRowSelector = ({
<div className="flex items-center justify-between">
<p>
Select a record to reference from{' '}
- <code className="text-code-inline !text-sm">
+ <code className="text-code-inline text-sm!">
{schemaName}.{tableName}
</code>
</p>
@@ -180,7 +180,7 @@ export const ForeignRowSelector = ({
}
onCancel={closePanel}
>
- <SidePanel.Content className="h-full !px-0">
+ <SidePanel.Content className="h-full px-0!">
<div className="h-full">
{isLoading && (
<div className="flex h-full py-6 flex-col items-center justify-center space-y-2">
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/HeaderTitle.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/HeaderTitle.tsx
index c92b0b56c5d..d54b4a72ee6 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/HeaderTitle.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/HeaderTitle.tsx
@@ -8,7 +8,7 @@ export const HeaderTitle = ({ isNewRecord, tableName }: HeaderTitleProps) => {
return (
<span>
{header}
- {tableName && <code className="text-code-inline !text-sm">{tableName}</code>}
+ {tableName && <code className="text-code-inline text-sm!">{tableName}</code>}
</span>
)
}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx
index 6c29f0f68e6..924da75f4c8 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx
@@ -51,7 +51,7 @@ const DrilldownPane = ({ pane, jsonData, activeKey, onSelectKey = noop }: Drilld
`}
onClick={() => onSelectKey(key, pane)}
>
- <p className="font-mono text-xs !text-blue-900">{key}</p>
+ <p className="font-mono text-xs text-blue-900!">{key}</p>
<div
className={`${
key === activeKey ? 'opacity-100' : 'opacity-50'
@@ -63,12 +63,12 @@ const DrilldownPane = ({ pane, jsonData, activeKey, onSelectKey = noop }: Drilld
))}
{keysWithoutChildren.map((key: string) => (
<div key={key} className="flex space-x-2 py-2 px-5">
- <p className="font-mono text-xs !text-sky-800 dark:!text-blue-900">{key}:</p>
+ <p className="font-mono text-xs text-sky-800! dark:text-blue-900!">{key}:</p>
<p
className={`break-all font-mono text-xs ${
typeof jsonData[key] !== 'string'
- ? '!text-purple-900 dark:!text-green-900'
- : '!text-lime-800 dark:!text-yellow-900'
+ ? 'text-purple-900! dark:text-green-900!'
+ : 'text-lime-800! dark:text-yellow-900!'
}`}
>
{isNull(jsonData[key])
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.utils.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.utils.tsx
index c0d0a52d722..73302415894 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.utils.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.utils.tsx
@@ -272,7 +272,7 @@ export function flagInvalidFileImport(file: File): boolean {
<div className="space-y-1">
<p>The dashboard currently only supports importing of CSVs below 100MB.</p>
<p>For bulk data loading, we recommend doing so directly through the database.</p>
- <Button asChild type="default" icon={<ExternalLink />} className="!mt-2">
+ <Button asChild type="default" icon={<ExternalLink />} className="mt-2!">
<Link
href={`${DOCS_URL}/guides/database/tables#bulk-data-loading`}
target="_blank"
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx
index 5f9513e226a..fa70279a7ab 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx
@@ -176,7 +176,7 @@ export const SpreadsheetImportPreview = ({
{errorData !== undefined ? (
<button
type="button"
- className="flex items-center space-x-2 cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
+ className="flex items-center space-x-2 cursor-pointer focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary"
onClick={() => onSelectExpandError(key)}
aria-expanded={isExpanded}
aria-controls={`${key}-panel`}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetPreviewGrid.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetPreviewGrid.tsx
index 38442b8e99f..6f243d9a815 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetPreviewGrid.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetPreviewGrid.tsx
@@ -58,7 +58,7 @@ const SpreadsheetPreviewGrid = ({
}
})}
rows={previewRows}
- className="!border-l !border-r"
+ className="border-l! border-r!"
style={{ height: height || `${34 + 34 * (previewRows.length || 1)}px` }}
/>
)
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
index 9a6707a8482..7d7b55ac065 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
@@ -269,7 +269,7 @@ export const Column = ({
size="small"
value={column.defaultValue ?? ''}
disabled={column.format.includes('int') && column.isIdentity}
- className={`rounded bg-surface-100 lg:gap-0 ${
+ className={`rounded-sm bg-surface-100 lg:gap-0 ${
column.format.includes('int') && column.isIdentity ? 'opacity-50' : ''
}`}
suggestions={suggestions}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx
index 2b678b0d7e0..ea1302544f9 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx
@@ -343,7 +343,7 @@ export const ColumnManagement = ({
</div>
{!hasImportContent && (
- <div className="flex items-center justify-center rounded border border-strong border-dashed py-3">
+ <div className="flex items-center justify-center rounded-sm border border-strong border-dashed py-3">
<Button type="default" onClick={() => onAddColumn()}>
Add column
</Button>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeyRow.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeyRow.tsx
index e7594876b61..ac21c95669f 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeyRow.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeyRow.tsx
@@ -71,7 +71,7 @@ export const ForeignKeyRow = ({
preProcessor={(code: any) =>
code.replace(/svg/, 'svg class="m-auto text-color-inherit"')
}
- loader={<span className="block w-4 h-4 bg-[#133929] rounded-sm" />}
+ loader={<span className="block w-4 h-4 bg-[#133929] rounded-xs" />}
cacheRequests={true}
/>
}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeysManagement.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeysManagement.tsx
index 3ed742cf2d2..5907d9d540f 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeysManagement.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeysManagement.tsx
@@ -113,7 +113,7 @@ export const ForeignKeysManagement = ({
)
})}
</div>
- <div className="flex items-center justify-center rounded border border-strong border-dashed py-3">
+ <div className="flex items-center justify-center rounded-sm border border-strong border-dashed py-3">
<Button type="default" onClick={() => setOpen(true)}>
Add foreign key relation
</Button>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/HeaderTitle.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/HeaderTitle.tsx
index 1c22fb3cdce..951205750c5 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/HeaderTitle.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/HeaderTitle.tsx
@@ -8,20 +8,20 @@ export const HeaderTitle = ({ schema, table, isDuplicating }: HeaderTitleProps)
if (!table) {
return (
<span>
- Create a new table under <code className="text-code-inline !text-sm">{schema}</code>
+ Create a new table under <code className="text-code-inline text-sm!">{schema}</code>
</span>
)
}
if (isDuplicating) {
return (
<span>
- Duplicate table <code className="text-code-inline !text-sm">{table?.name}</code>
+ Duplicate table <code className="text-code-inline text-sm!">{table?.name}</code>
</span>
)
}
return (
<span>
- Update table <code className="text-code-inline !text-sm">{table?.name}</code>
+ Update table <code className="text-code-inline text-sm!">{table?.name}</code>
</span>
)
}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/RLSDisableModal.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/RLSDisableModal.tsx
index a9303731eab..c5c4680fad3 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/RLSDisableModal.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/RLSDisableModal.tsx
@@ -13,7 +13,7 @@ export function RLSDisableModalContent() {
<div className="grid gap-1">
<Alert
variant="warning"
- className="!px-4 !py-3"
+ className="px-4! py-3!"
title="This table will be publicly readable and writable"
withIcon
>
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
index 98314d6d64f..d8aa4ec444b 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
@@ -400,7 +400,7 @@ export const TableEditor = ({
{tableFields.isRLSEnabled ? (
<Admonition
type="default"
- className="!mt-3"
+ className="mt-3!"
title="Policies are required to query data"
description={
<>
@@ -420,7 +420,7 @@ export const TableEditor = ({
) : (
<Admonition
type="warning"
- className="!mt-3"
+ className="mt-3!"
title="You are allowing anonymous access to your table"
description={
<>
diff --git a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/BlockField.tsx b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/BlockField.tsx
index 96d13f73a4e..40be785affe 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/BlockField.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/BlockField.tsx
@@ -46,7 +46,7 @@ export const BlockField = ({
<TruncatedTextWithPopover
text={stringValue}
maxLength={maxLength}
- className="px-2 py-1 text-xs font-mono border border-border rounded bg-surface-100"
+ className="px-2 py-1 text-xs font-mono border border-border rounded-sm bg-surface-100"
/>
) : displayValue !== 'N/A' ? (
<TruncatedTextWithPopover
@@ -76,7 +76,7 @@ export const BlockField = ({
filterFields={filterFields}
value={stringValue}
table={table}
- className="flex justify-between items-center py-1 px-2 rounded hover:bg-accent/50 cursor-pointer w-full hover:bg-surface-400"
+ className="flex justify-between items-center py-1 px-2 rounded-sm hover:bg-accent/50 cursor-pointer w-full hover:bg-surface-400"
>
{fieldContent}
</DataTableSheetRowAction>
diff --git a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/CollapsibleSection.tsx b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/CollapsibleSection.tsx
index b4d9b63d5d9..cba902138df 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/CollapsibleSection.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/CollapsibleSection.tsx
@@ -50,7 +50,7 @@ export const CollapsibleSection = ({
</div>
</Button>
</CollapsibleTrigger>
- <CollapsibleContent className="transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down pt-1">
+ <CollapsibleContent className="transition-all data-closed:animate-collapsible-up data-open:animate-collapsible-down pt-1">
{fields.map((field) => (
<BlockField
key={field.id}
diff --git a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/FieldWithSeeMore.tsx b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/FieldWithSeeMore.tsx
index 2d11ed1a8c4..c8da51d9c90 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/FieldWithSeeMore.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/FieldWithSeeMore.tsx
@@ -71,7 +71,7 @@ export const FieldWithSeeMore = ({
if (isApiKeyField && primaryValue && primaryValue !== 'N/A') {
return (
- <span className="border border-border rounded px-2 py-1 bg-surface-100 text-xs font-mono text-foreground">
+ <span className="border border-border rounded-sm px-2 py-1 bg-surface-100 text-xs font-mono text-foreground">
{primaryValue}
</span>
)
@@ -94,7 +94,7 @@ export const FieldWithSeeMore = ({
const expandButton = hasAdditionalData ? (
<CollapsibleTrigger asChild>
- <button className="w-3 h-3 flex items-center justify-center selection:font-mono text-foreground-lighter text-xs hover:text-foreground-light bg-foreground-muted/75 rounded [&[data-state=open]>svg]:rotate-180 hover:bg-foreground-lighter">
+ <button className="w-3 h-3 flex items-center justify-center selection:font-mono text-foreground-lighter text-xs hover:text-foreground-light bg-foreground-muted/75 rounded-sm [&[data-state=open]>svg]:rotate-180 hover:bg-foreground-lighter">
<X size={10} className="text-background-surface-400 rotate-45" strokeWidth={3} />
</button>
</CollapsibleTrigger>
@@ -105,7 +105,7 @@ export const FieldWithSeeMore = ({
{hasAdditionalData ? (
<Collapsible open={isOpen} onOpenChange={setIsOpen}>
<FieldRow label={primaryField.label} value={renderValue()} expandButton={expandButton} />
- <CollapsibleContent className="transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down">
+ <CollapsibleContent className="transition-all data-closed:animate-collapsible-up data-open:animate-collapsible-down">
<div className="mt-1">
{additionalFields.map((field) => (
<BlockField
diff --git a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/TimelineStep.tsx b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/TimelineStep.tsx
index b8ac24a8f05..b179152d448 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/TimelineStep.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/TimelineStep.tsx
@@ -15,7 +15,7 @@ export const StyledIcon = ({
icon: IconComponent
title: string
}) => (
- <div className="flex items-center gap-2 bg-surface-300 rounded p-0.5 border justify-center border-foreground-muted">
+ <div className="flex items-center gap-2 bg-surface-300 rounded-sm p-0.5 border justify-center border-foreground-muted">
<Icon className="w-4 h-4 text-foreground-lighter" strokeWidth={1} />
</div>
)
diff --git a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/TruncatedTextWithPopover.tsx b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/TruncatedTextWithPopover.tsx
index 23b01778d5c..0b93858b239 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/TruncatedTextWithPopover.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlow/components/shared/TruncatedTextWithPopover.tsx
@@ -29,7 +29,7 @@ export const TruncatedTextWithPopover = ({
<PopoverTrigger_Shadcn_ asChild>
<span className={`cursor-help ${className}`}>{children || truncatedText}</span>
</PopoverTrigger_Shadcn_>
- <PopoverContent_Shadcn_ className="max-w-md p-3 break-words" side="top">
+ <PopoverContent_Shadcn_ className="max-w-md p-3 wrap-break-word" side="top">
<div className="text-sm font-mono whitespace-pre-wrap">{text}</div>
</PopoverContent_Shadcn_>
</Popover_Shadcn_>
diff --git a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlowPanel.tsx b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlowPanel.tsx
index 4722533383e..52a2bea3882 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/ServiceFlowPanel.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/ServiceFlowPanel.tsx
@@ -221,7 +221,7 @@ export function ServiceFlowPanel({
)}
<CodeBlock
language="json"
- className="max-h-[800px] overflow-auto border-none rounded-none [&_pre]:!leading-tight [&_code]:!leading-tight"
+ className="max-h-[800px] overflow-auto border-none rounded-none [&_pre]:leading-tight! [&_code]:leading-tight!"
>
{JSON.stringify(formattedJsonData, null, 2)}
</CodeBlock>
diff --git a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.tsx b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.tsx
index cb1311195a2..ebcce0e9a5f 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.tsx
@@ -400,7 +400,7 @@ export const UnifiedLogs = () => {
</p>
</TooltipContent>
</Tooltip>
- <div className="order-first w-full min-w-0 sm:order-none sm:w-auto sm:flex-1 [&_[cmdk-input-wrapper]]:!px-3 [&_button]:!px-3 [&_button>span]:!h-[26px] [&_button>span]:!py-0 [&_input]:!h-[26px] [&_input]:!py-0">
+ <div className="order-first w-full min-w-0 sm:order-0 sm:w-auto sm:flex-1 **:[[cmdk-input-wrapper]]:px-3! [&_button]:px-3! [&_button>span]:h-[26px]! [&_button>span]:py-0! [&_input]:h-[26px]! [&_input]:py-0!">
<DataTableFilterCommand
placeholder="Search logs..."
searchParamsParser={SEARCH_PARAMS_PARSER}
@@ -441,7 +441,7 @@ export const UnifiedLogs = () => {
isFetchingButNotPaginating && 'opacity-60 transition-opacity duration-150'
)}
>
- <div className="h-full [&>div]:h-full [&_thead_tr]:!bg-[linear-gradient(to_bottom,hsl(var(--background-default)),hsl(var(--background-surface-75)))] [&_thead_th]:![border-top:none] [&_thead_th]:![border-bottom:none] [&_thead_th]:![box-shadow:inset_0_-1px_0_hsl(var(--border-default))] [&_thead_tr]:!border-b-0 [&_tbody_tr]:!border-b-0 [&_thead_tr:hover]:!bg-[linear-gradient(to_bottom,hsl(var(--background-default)),hsl(var(--background-surface-75)))] [&_thead_th]:!text-foreground-lighter">
+ <div className="h-full [&>div]:h-full [&_thead_tr]:bg-[linear-gradient(to_bottom,hsl(var(--background-default)),hsl(var(--background-surface-75)))]! [&_thead_th]:[border-top:none]! [&_thead_th]:[border-bottom:none]! [&_thead_th]:[box-shadow:inset_0_-1px_0_hsl(var(--border-default))]! [&_thead_tr]:border-b-0! [&_tbody_tr]:border-b-0! [&_thead_tr:hover]:bg-[linear-gradient(to_bottom,hsl(var(--background-default)),hsl(var(--background-surface-75)))]! [&_thead_th]:text-foreground-lighter!">
<DataTableInfinite
columns={UNIFIED_LOGS_COLUMNS}
totalRows={totalDBRowCount}
diff --git a/apps/studio/components/interfaces/UnifiedLogs/components/LogsListPanel.tsx b/apps/studio/components/interfaces/UnifiedLogs/components/LogsListPanel.tsx
index c6ff0657c39..1bdb77d7905 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/components/LogsListPanel.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/components/LogsListPanel.tsx
@@ -17,7 +17,7 @@ export const LogsListPanel = ({ selectedRow }: { selectedRow?: Row<any> }) => {
defaultSize="1"
maxSize="50"
minSize={open ? '16' : '12'}
- className={cn(!open ? '!h-12 max-h-12' : 'h-min-16 h-max-32')}
+ className={cn(!open ? 'h-12! max-h-12' : 'h-min-16 h-max-32')}
>
<div className="h-full flex flex-col overflow-hidden">
<div className="min-h-12 flex justify-between items-center px-5">
diff --git a/apps/studio/components/layouts/AppLayout/AppLayout.tsx b/apps/studio/components/layouts/AppLayout/AppLayout.tsx
index 4e36604889d..de443acb97f 100644
--- a/apps/studio/components/layouts/AppLayout/AppLayout.tsx
+++ b/apps/studio/components/layouts/AppLayout/AppLayout.tsx
@@ -1,5 +1,5 @@
import { PropsWithChildren } from 'react'
export const AppLayout = ({ children }: PropsWithChildren<{}>) => {
- return <div className="h-full min-h-[0px] basis-0 flex-1">{children}</div>
+ return <div className="h-full min-h-0 basis-0 flex-1">{children}</div>
}
diff --git a/apps/studio/components/layouts/AppLayout/BranchBadge.tsx b/apps/studio/components/layouts/AppLayout/BranchBadge.tsx
index 855b704b9ae..ef8b60ebc7d 100644
--- a/apps/studio/components/layouts/AppLayout/BranchBadge.tsx
+++ b/apps/studio/components/layouts/AppLayout/BranchBadge.tsx
@@ -10,7 +10,7 @@ interface BranchBadgeProps {
export function BranchBadge({ branch, isBranchingEnabled }: BranchBadgeProps) {
if (!isBranchingEnabled) {
return (
- <Badge variant="warning" className="mt-[1px]">
+ <Badge variant="warning" className="mt-px">
Production
</Badge>
)
@@ -18,7 +18,7 @@ export function BranchBadge({ branch, isBranchingEnabled }: BranchBadgeProps) {
if (branch?.is_default) {
return (
- <Badge variant="warning" className="mt-[1px]">
+ <Badge variant="warning" className="mt-px">
Production
</Badge>
)
@@ -26,14 +26,14 @@ export function BranchBadge({ branch, isBranchingEnabled }: BranchBadgeProps) {
if (branch?.persistent) {
return (
- <Badge variant="success" className="mt-[1px]">
+ <Badge variant="success" className="mt-px">
Persistent
</Badge>
)
}
return (
- <Badge variant="success" className="mt-[1px]">
+ <Badge variant="success" className="mt-px">
Preview
</Badge>
)
diff --git a/apps/studio/components/layouts/AppLayout/BranchDropdownCommandContent.tsx b/apps/studio/components/layouts/AppLayout/BranchDropdownCommandContent.tsx
index 9466500915c..216164c180f 100644
--- a/apps/studio/components/layouts/AppLayout/BranchDropdownCommandContent.tsx
+++ b/apps/studio/components/layouts/AppLayout/BranchDropdownCommandContent.tsx
@@ -98,7 +98,7 @@ export function BranchDropdownCommandContent({
{isBranchingEnabled && (
<CommandInput_Shadcn_ placeholder="Find branch..." wrapperClassName="shrink-0 border-b" />
)}
- <CommandList_Shadcn_ className="flex flex-col flex-1 p-1 min-h-0 overflow-y-auto !max-h-none">
+ <CommandList_Shadcn_ className="flex flex-col flex-1 p-1 min-h-0 overflow-y-auto max-h-none!">
{isBranchingEnabled && <CommandEmpty_Shadcn_>No branches found</CommandEmpty_Shadcn_>}
<CommandGroup_Shadcn_ className="min-h-0">
{branchList.map((branch) => (
diff --git a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/BranchingPostgresVersionNotice.tsx b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/BranchingPostgresVersionNotice.tsx
index bd9e8f1f255..6f8c5ae3d14 100644
--- a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/BranchingPostgresVersionNotice.tsx
+++ b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/BranchingPostgresVersionNotice.tsx
@@ -10,7 +10,7 @@ export const BranchingPostgresVersionNotice = () => {
const snap = useAppStateSnapshot()
return (
- <Alert_Shadcn_ className="rounded-none px-7 py-6 [&>svg]:top-6 [&>svg]:left-6 !border-t-0 !border-l-0 !border-r-0">
+ <Alert_Shadcn_ className="rounded-none px-7 py-6 [&>svg]:top-6 [&>svg]:left-6 border-t-0! border-l-0! border-r-0!">
<AlertCircleIcon />
<AlertTitle_Shadcn_ className="text-base">
Your project needs to be on Postgres 15 to enable branching
diff --git a/apps/studio/components/layouts/AppLayout/OrganizationDropdownCommandContent.tsx b/apps/studio/components/layouts/AppLayout/OrganizationDropdownCommandContent.tsx
index 51e65ed1a49..78a395fa35e 100644
--- a/apps/studio/components/layouts/AppLayout/OrganizationDropdownCommandContent.tsx
+++ b/apps/studio/components/layouts/AppLayout/OrganizationDropdownCommandContent.tsx
@@ -89,7 +89,7 @@ export function OrganizationDropdownCommandContent({
wrapperClassName="shrink-0"
className="text-base sm:text-sm"
/>
- <CommandList_Shadcn_ className="flex flex-col flex-1 min-h-0 overflow-y-auto p-1 !max-h-none">
+ <CommandList_Shadcn_ className="flex flex-col flex-1 min-h-0 overflow-y-auto p-1 max-h-none!">
<CommandEmpty_Shadcn_>No organizations found</CommandEmpty_Shadcn_>
<CommandGroup_Shadcn_ className="min-h-0">{orgList}</CommandGroup_Shadcn_>
</CommandList_Shadcn_>
diff --git a/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx b/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx
index aac67d9e5ff..180f2d46fb6 100644
--- a/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx
+++ b/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx
@@ -271,7 +271,7 @@ const EdgeFunctionDetailsLayout = ({
<PageHeaderMeta>
<PageHeaderSummary>
<PageHeaderTitle>{functionSlug ? name : 'Edge Functions'}</PageHeaderTitle>
- <PageHeaderDescription className="flex flex-row flex-wrap items-center gap-x-4 gap-y-1 !text-sm">
+ <PageHeaderDescription className="flex flex-row flex-wrap items-center gap-x-4 gap-y-1 text-sm!">
<div className="flex items-center gap-x-2">
<span className="flex items-center gap-2">{functionUrl}</span>
<CopyButton iconOnly type="text" text={functionUrl} />
@@ -350,7 +350,7 @@ const EdgeFunctionDetailsLayout = ({
value={`supabase functions download ${functionSlug}`}
/>
</div>
- <Separator className="!bg-border-overlay" />
+ <Separator className="bg-border-overlay!" />
</>
)}
<div className="py-2 px-1">
diff --git a/apps/studio/components/layouts/Integrations/IntegrationsProductMenu.tsx b/apps/studio/components/layouts/Integrations/IntegrationsProductMenu.tsx
index 151c3414636..e6865a86efc 100644
--- a/apps/studio/components/layouts/Integrations/IntegrationsProductMenu.tsx
+++ b/apps/studio/components/layouts/Integrations/IntegrationsProductMenu.tsx
@@ -74,7 +74,7 @@ export function IntegrationsProductMenu() {
key: `integrations/${integration.id}`,
url: `/project/${resolvedProjectRef}/integrations/${integration.id}/overview`,
icon: (
- <div className="relative w-6 h-6 bg-white border rounded flex items-center justify-center">
+ <div className="relative w-6 h-6 bg-white border rounded-sm flex items-center justify-center">
{integration.icon({ className: 'p-1' })}
</div>
),
diff --git a/apps/studio/components/layouts/IntegrationsLayout/IntegrationWindowLayout.tsx b/apps/studio/components/layouts/IntegrationsLayout/IntegrationWindowLayout.tsx
index b28f328c073..c7e8d4bc69e 100644
--- a/apps/studio/components/layouts/IntegrationsLayout/IntegrationWindowLayout.tsx
+++ b/apps/studio/components/layouts/IntegrationsLayout/IntegrationWindowLayout.tsx
@@ -69,7 +69,7 @@ const Header = ({ title, integrationIcon }: HeaderProps) => {
<ScaffoldContainer className={cn('py-3', INTEGRATION_LAYOUT_MAX_WIDTH)}>
<div className="flex items-center gap-6 w-full">
<div className="flex gap-2 items-center">
- <div className="bg-white shadow border rounded p-1 w-8 h-8 flex justify-center items-center">
+ <div className="bg-white shadow-sm border rounded-sm p-1 w-8 h-8 flex justify-center items-center">
<img src={`${BASE_PATH}/img/supabase-logo.svg`} alt="Supabase" className="w-4" />
</div>
<X className="text-border-stronger" strokeWidth={2} size={16} />
diff --git a/apps/studio/components/layouts/IntegrationsLayout/Integrations.Commands.tsx b/apps/studio/components/layouts/IntegrationsLayout/Integrations.Commands.tsx
index 0cecc765c33..452476f67c4 100644
--- a/apps/studio/components/layouts/IntegrationsLayout/Integrations.Commands.tsx
+++ b/apps/studio/components/layouts/IntegrationsLayout/Integrations.Commands.tsx
@@ -55,7 +55,7 @@ export function useIntegrationsGotoCommands(options?: CommandOptions) {
name: getName(x),
route: `/project/${ref}/integrations/${x.id}/overview`,
icon: () => (
- <div className="w-6 h-6 relative bg-white border rounded-md flex items-center justify-center [&>img]:!p-1 [&>svg]:!p-1">
+ <div className="w-6 h-6 relative bg-white border rounded-md flex items-center justify-center [&>img]:p-1! [&>svg]:p-1!">
{x.icon()}
</div>
),
diff --git a/apps/studio/components/layouts/IntegrationsLayout/VercelIntegrationWindowLayout.tsx b/apps/studio/components/layouts/IntegrationsLayout/VercelIntegrationWindowLayout.tsx
index 124f0719848..96df39b67b1 100644
--- a/apps/studio/components/layouts/IntegrationsLayout/VercelIntegrationWindowLayout.tsx
+++ b/apps/studio/components/layouts/IntegrationsLayout/VercelIntegrationWindowLayout.tsx
@@ -7,7 +7,7 @@ import { BASE_PATH } from '@/lib/constants'
import { useIntegrationInstallationSnapshot } from '@/state/integration-installation'
const VERCEL_ICON = (
- <div className="bg-black shadow rounded p-1 w-8 h-8 flex justify-center items-center text-white">
+ <div className="bg-black shadow-sm rounded-sm p-1 w-8 h-8 flex justify-center items-center text-white">
<InlineSVG src={`${BASE_PATH}/img/icons/vercel-icon.svg`} title="Vercel Icon" className="w-4" />
</div>
)
diff --git a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx
index d654daba7b8..fd1fd70b62a 100644
--- a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx
+++ b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx
@@ -63,7 +63,7 @@ export function SidebarCollapsible({
}) {
return (
<Collapsible_Shadcn_ defaultOpen={defaultOpen}>
- <CollapsibleTrigger_Shadcn_ className="flex items-center gap-x-2 px-4 [&[data-state=open]>svg]:!rotate-90 pb-2">
+ <CollapsibleTrigger_Shadcn_ className="flex items-center gap-x-2 px-4 [&[data-state=open]>svg]:rotate-90! pb-2">
<ChevronRight
size={16}
className={'text-foreground-light transition-transform duration-200'}
@@ -279,7 +279,7 @@ export function LogsSidebarMenuV2() {
<div
className={cn(
- 'flex gap-x-2 items-center sticky top-0 bg-background-200 z-[1] px-4',
+ 'flex gap-x-2 items-center sticky top-0 bg-background-200 z-1 px-4',
!templatesEnabled ? 'pt-4' : 'py-4'
)}
>
diff --git a/apps/studio/components/layouts/Navigation/FloatingMobileToolbar/FloatingMobileToolbar.tsx b/apps/studio/components/layouts/Navigation/FloatingMobileToolbar/FloatingMobileToolbar.tsx
index 27219872f75..f0e90e2fc64 100644
--- a/apps/studio/components/layouts/Navigation/FloatingMobileToolbar/FloatingMobileToolbar.tsx
+++ b/apps/studio/components/layouts/Navigation/FloatingMobileToolbar/FloatingMobileToolbar.tsx
@@ -103,8 +103,8 @@ export const FloatingMobileToolbar = ({ hideMobileMenu }: { hideMobileMenu?: boo
title="Menu dropdown button"
type={sheet.isMenuOpen ? 'secondary' : 'default'}
className={cn(
- 'flex lg:hidden mr-1 rounded-md min-w-[30px] w-[30px] h-[30px] data-[state=open]:bg-overlay-hover/30',
- !sheet.isMenuOpen && '!bg-surface-300'
+ 'flex lg:hidden mr-1 rounded-md min-w-[30px] w-[30px] h-[30px] data-open:bg-overlay-hover/30',
+ !sheet.isMenuOpen && 'bg-surface-300!'
)}
icon={<Menu />}
onClick={sheet.handleMenuClick}
@@ -118,9 +118,9 @@ export const FloatingMobileToolbar = ({ hideMobileMenu }: { hideMobileMenu?: boo
type="text"
className={cn(
'flex flex-row items-center justify-center rounded-full',
- 'bg-overlay/50 backdrop-blur-md my-auto !p-1 gap-2',
+ 'bg-overlay/50 backdrop-blur-md my-auto p-1! gap-2',
'border border-strong shadow-[0px_3px_6px_-2px_rgba(0,0,0,0.07),0px_10px_30px_0px_rgba(0,0,0,0.10)]',
- '!w-10 !h-10 !min-w-10 !min-h-10',
+ 'w-10! h-10! min-w-10! min-h-10!',
'rounded-full',
!sheet.isSheetOpen && 'hidden'
)}
diff --git a/apps/studio/components/layouts/Navigation/LayoutHeader/BreadcrumbsView.tsx b/apps/studio/components/layouts/Navigation/LayoutHeader/BreadcrumbsView.tsx
index 93415c06e13..2f162448f5f 100644
--- a/apps/studio/components/layouts/Navigation/LayoutHeader/BreadcrumbsView.tsx
+++ b/apps/studio/components/layouts/Navigation/LayoutHeader/BreadcrumbsView.tsx
@@ -30,7 +30,7 @@ export const BreadcrumbsView = ({ defaultValue: breadcrumbs }: BreadcrumbsViewPr
<a
onClick={breadcrumb.onClick || (() => {})}
- className={`text-gray-1100 block px-2 py-1 text-xs leading-5 focus:bg-gray-100 focus:text-gray-900 focus:outline-none ${
+ className={`text-gray-1100 block px-2 py-1 text-xs leading-5 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden ${
breadcrumb.onClick ? 'cursor-pointer hover:text-white' : ''
}`}
>
diff --git a/apps/studio/components/layouts/Navigation/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx b/apps/studio/components/layouts/Navigation/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx
index a6b6b4f32c8..3c6d8909e10 100644
--- a/apps/studio/components/layouts/Navigation/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx
+++ b/apps/studio/components/layouts/Navigation/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx
@@ -251,7 +251,7 @@ export const FeedbackWidget = ({ onClose, onSwitchToIssueOptions }: FeedbackWidg
const blobUrl = URL.createObjectURL(blob)
window.open(blobUrl, '_blank')
}}
- className="cursor-pointer rounded h-[26px] w-[26px] border border-control relative bg-cover bg-center bg-no-repeat"
+ className="cursor-pointer rounded-sm h-[26px] w-[26px] border border-control relative bg-cover bg-center bg-no-repeat"
>
<button
className={[
diff --git a/apps/studio/components/layouts/Navigation/LayoutHeader/LayoutHeader.tsx b/apps/studio/components/layouts/Navigation/LayoutHeader/LayoutHeader.tsx
index e72c31eb559..a332384c80f 100644
--- a/apps/studio/components/layouts/Navigation/LayoutHeader/LayoutHeader.tsx
+++ b/apps/studio/components/layouts/Navigation/LayoutHeader/LayoutHeader.tsx
@@ -104,7 +104,7 @@ export const LayoutHeader = ({
<div className="flex items-center justify-center border-r flex-0 md:hidden h-full aspect-square">
<Link
href={backToDashboardURL}
- className="flex items-center justify-center border-none !bg-transparent rounded-md min-w-[30px] w-[30px] h-[30px] text-foreground-lighter hover:text-foreground transition-colors"
+ className="flex items-center justify-center border-none bg-transparent! rounded-md min-w-[30px] w-[30px] h-[30px] text-foreground-lighter hover:text-foreground transition-colors"
>
<ChevronLeft strokeWidth={1.5} size={16} />
</Link>
diff --git a/apps/studio/components/layouts/Navigation/LayoutHeader/LocalVersionPopover.tsx b/apps/studio/components/layouts/Navigation/LayoutHeader/LocalVersionPopover.tsx
index 8d2c243f958..868986497ad 100644
--- a/apps/studio/components/layouts/Navigation/LayoutHeader/LocalVersionPopover.tsx
+++ b/apps/studio/components/layouts/Navigation/LayoutHeader/LocalVersionPopover.tsx
@@ -76,22 +76,22 @@ export const LocalVersionPopover = () => {
</TabsTrigger_Shadcn_>
</TabsList_Shadcn_>
<TabsContent_Shadcn_ className="mt-2 text-xs" value="macos">
- <SimpleCodeBlock parentClassName="bg-selection rounded !px-2">
+ <SimpleCodeBlock parentClassName="bg-selection rounded-sm px-2!">
brew upgrade supabase
</SimpleCodeBlock>
</TabsContent_Shadcn_>
<TabsContent_Shadcn_ className="mt-2 text-xs" value="windows">
- <SimpleCodeBlock parentClassName="bg-selection rounded !px-2">
+ <SimpleCodeBlock parentClassName="bg-selection rounded-sm px-2!">
scoop update supabase
</SimpleCodeBlock>
</TabsContent_Shadcn_>
<TabsContent_Shadcn_ className="mt-2 text-xs" value="linux">
- <SimpleCodeBlock parentClassName="bg-selection rounded !px-2">
+ <SimpleCodeBlock parentClassName="bg-selection rounded-sm px-2!">
brew upgrade supabase
</SimpleCodeBlock>
</TabsContent_Shadcn_>
<TabsContent_Shadcn_ className="mt-2 text-xs" value="npm">
- <SimpleCodeBlock parentClassName="bg-selection rounded !px-2">
+ <SimpleCodeBlock parentClassName="bg-selection rounded-sm px-2!">
npm update supabase --save-dev
</SimpleCodeBlock>
</TabsContent_Shadcn_>
@@ -148,8 +148,8 @@ export const LocalVersionPopover = () => {
title="Beta Releases"
description="Beta releases are also available between stable releases through the Beta version of the CLI, which might be helpful if you are waiting for a specific fix."
>
- <p className="!mt-2">If you'd like to try, we recommend doing so via npm:</p>
- <div className="flex items-center bg-surface-200 py-1 px-2 rounded mt-2 mb-1">
+ <p className="mt-2!">If you'd like to try, we recommend doing so via npm:</p>
+ <div className="flex items-center bg-surface-200 py-1 px-2 rounded-sm mt-2 mb-1">
<SimpleCodeBlock parentClassName="bg-surface-200">
npm i supabase@beta --save-dev
</SimpleCodeBlock>
@@ -161,7 +161,7 @@ export const LocalVersionPopover = () => {
}
<DocsButton
href={`${DOCS_URL}/guides/local-development/cli/getting-started?queryGroups=platform&platform=linux#using-beta-version`}
- className="!no-underline mt-2"
+ className="no-underline! mt-2"
/>
</Admonition>
</DialogSection>
diff --git a/apps/studio/components/layouts/Navigation/NavigationBar/CommandOption.tsx b/apps/studio/components/layouts/Navigation/NavigationBar/CommandOption.tsx
index 8cde14b7b68..a00c1be254b 100644
--- a/apps/studio/components/layouts/Navigation/NavigationBar/CommandOption.tsx
+++ b/apps/studio/components/layouts/Navigation/NavigationBar/CommandOption.tsx
@@ -16,7 +16,7 @@ export const CommandOption = ({ icon, label, shortcut, onClick }: CommandOptionP
return (
<div
- className="px-2 py-1 transition hover:bg-surface-100 flex items-center justify-between rounded cursor-pointer"
+ className="px-2 py-1 transition hover:bg-surface-100 flex items-center justify-between rounded-sm cursor-pointer"
onClick={onClick}
>
<div className="flex items-center gap-x-2">
diff --git a/apps/studio/components/layouts/Navigation/NavigationBar/MobileNavigationBar.tsx b/apps/studio/components/layouts/Navigation/NavigationBar/MobileNavigationBar.tsx
index e2ee1c30af3..17f1204307b 100644
--- a/apps/studio/components/layouts/Navigation/NavigationBar/MobileNavigationBar.tsx
+++ b/apps/studio/components/layouts/Navigation/NavigationBar/MobileNavigationBar.tsx
@@ -52,7 +52,7 @@ const MobileNavigationBar = ({
<div className="flex items-center justify-center ml-1 flex-0 md:hidden h-full aspect-square">
<Link
href={backToDashboardURL}
- className="flex items-center justify-center !bg-transparent rounded-md min-w-[30px] w-[30px] h-[30px] border text-foreground-lighter hover:text-foreground transition-colors"
+ className="flex items-center justify-center bg-transparent! rounded-md min-w-[30px] w-[30px] h-[30px] border text-foreground-lighter hover:text-foreground transition-colors"
>
<ChevronLeft strokeWidth={1.5} size={16} />
</Link>
@@ -77,7 +77,7 @@ const MobileNavigationBar = ({
<Button
title="Menu dropdown button"
type="default"
- className="flex lg:hidden border-default bg-surface-100/75 text-foreground-light rounded-md min-w-[30px] w-[30px] h-[30px] data-[state=open]:bg-overlay-hover/30"
+ className="flex lg:hidden border-default bg-surface-100/75 text-foreground-light rounded-md min-w-[30px] w-[30px] h-[30px] data-open:bg-overlay-hover/30"
icon={<Menu />}
onClick={() => openMenu()}
/>
diff --git a/apps/studio/components/layouts/Navigation/NavigationBar/MobileViewNav.tsx b/apps/studio/components/layouts/Navigation/NavigationBar/MobileViewNav.tsx
index a0af1ff9171..4fb23a2c5ba 100644
--- a/apps/studio/components/layouts/Navigation/NavigationBar/MobileViewNav.tsx
+++ b/apps/studio/components/layouts/Navigation/NavigationBar/MobileViewNav.tsx
@@ -22,7 +22,7 @@ const MobileViewNav = ({ title }: PropsWithChildren<Props>) => {
<button
title="Menu dropdown button"
className={cn(
- 'group/view-toggle flex justify-center flex-col border-none space-x-0 items-start gap-1 !bg-transparent rounded-md min-w-[30px] w-[30px] h-[30px]'
+ 'group/view-toggle flex justify-center flex-col border-none space-x-0 items-start gap-1 bg-transparent! rounded-md min-w-[30px] w-[30px] h-[30px]'
)}
onClick={() => setMobileMenuOpen(!mobileMenuOpen)}
>
diff --git a/apps/studio/components/layouts/Navigation/NavigationBar/NavigationIconButton.tsx b/apps/studio/components/layouts/Navigation/NavigationBar/NavigationIconButton.tsx
index 976c3609913..cbfa07acc8c 100644
--- a/apps/studio/components/layouts/Navigation/NavigationBar/NavigationIconButton.tsx
+++ b/apps/studio/components/layouts/Navigation/NavigationBar/NavigationIconButton.tsx
@@ -28,7 +28,7 @@ export const NavigationIconButton = forwardRef<
className={cn(
'absolute left-10 md:left-7 md:group-data-[state=expanded]:left-10',
'opacity-100 md:opacity-0 md:group-data-[state=expanded]:opacity-100',
- 'w-[10rem] text-sm flex flex-col items-center',
+ 'w-40 text-sm flex flex-col items-center',
'transition-all'
)}
>
diff --git a/apps/studio/components/layouts/Navigation/NavigationBar/NavigationIconLink.tsx b/apps/studio/components/layouts/Navigation/NavigationBar/NavigationIconLink.tsx
index 40fe102459c..ae04550c09e 100644
--- a/apps/studio/components/layouts/Navigation/NavigationBar/NavigationIconLink.tsx
+++ b/apps/studio/components/layouts/Navigation/NavigationBar/NavigationIconLink.tsx
@@ -28,9 +28,9 @@ const NavigationIconLink = forwardRef<HTMLAnchorElement, NavigationIconButtonPro
const allowNavPanelToExpand = process.env.NEXT_PUBLIC_NODE_ENV !== 'test' && storedAllowNavPanel
const iconClasses = [
- 'absolute left-0 top-0 flex rounded h-10 w-10 items-center justify-center text-foreground-lighter', // Layout
+ 'absolute left-0 top-0 flex rounded-sm h-10 w-10 items-center justify-center text-foreground-lighter', // Layout
'group-hover/item:text-foreground-light',
- isActive ? '!text-foreground [&_svg]:stroke-[1.5]' : '[&_svg]:stroke-[1]',
+ isActive ? 'text-foreground! [&_svg]:stroke-[1.5]' : '[&_svg]:stroke-1',
'transition-all',
]
@@ -38,12 +38,12 @@ const NavigationIconLink = forwardRef<HTMLAnchorElement, NavigationIconButtonPro
'relative',
'h-10 w-full md:w-10 md:group-data-[state=expanded]:w-full',
'transition-all duration-200',
- 'flex items-center rounded',
+ 'flex items-center rounded-sm',
'group-data-[state=collapsed]:justify-center',
'group-data-[state=expanded]:-space-x-2',
'hover:bg-surface-200',
'group/item',
- `${isActive && '!bg-selection shadow-sm'}`,
+ `${isActive && 'bg-selection! shadow-xs'}`,
]
const LinkComponent = forwardRef<HTMLAnchorElement, ComponentPropsWithoutRef<typeof Link>>(
diff --git a/apps/studio/components/layouts/Navigation/NavigationBar/OrgSelector.tsx b/apps/studio/components/layouts/Navigation/NavigationBar/OrgSelector.tsx
index 55e207b0406..d36060ef005 100644
--- a/apps/studio/components/layouts/Navigation/NavigationBar/OrgSelector.tsx
+++ b/apps/studio/components/layouts/Navigation/NavigationBar/OrgSelector.tsx
@@ -59,10 +59,10 @@ export function OrgSelector() {
const triggerButton = (
<SidebarMenuButton
size="lg"
- className="data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground gap-2 h-auto text-left group px-1.5 py-1 touch-manipulation"
+ className="data-open:bg-sidebar-accent data-open:text-sidebar-accent-foreground gap-2 h-auto text-left group px-1.5 py-1 touch-manipulation"
onClick={isMobile ? () => setOpen(true) : undefined}
>
- <span className="flex w-8 aspect-square shrink-0 items-center justify-center rounded border bg-surface-100 text-xs font-medium text-foreground-lighter">
+ <span className="flex w-8 aspect-square shrink-0 items-center justify-center rounded-sm border bg-surface-100 text-xs font-medium text-foreground-lighter">
{selectedOrgInitial}
</span>
<div className="flex min-w-0 flex-1 flex-col text-left -mb-0.5">
@@ -78,7 +78,7 @@ export function OrgSelector() {
</div>
<ChevronsUpDown
strokeWidth={1}
- className="ml-auto text-foreground-light md:hidden md:group-hover:block !w-4 !h-4"
+ className="ml-auto text-foreground-light md:hidden md:group-hover:block w-4! h-4!"
/>
</SidebarMenuButton>
)
diff --git a/apps/studio/components/layouts/Navigation/NavigationBar/ProjectBranchSelectorTrigger.tsx b/apps/studio/components/layouts/Navigation/NavigationBar/ProjectBranchSelectorTrigger.tsx
index e6fcb2e727e..add89f8045b 100644
--- a/apps/studio/components/layouts/Navigation/NavigationBar/ProjectBranchSelectorTrigger.tsx
+++ b/apps/studio/components/layouts/Navigation/NavigationBar/ProjectBranchSelectorTrigger.tsx
@@ -29,11 +29,11 @@ export const ProjectBranchSelectorTrigger = forwardRef<
return (
<SidebarMenuButton
size="lg"
- className="group py-1 gap-1.5 w-full flex h-auto text-left data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground touch-manipulation"
+ className="group py-1 gap-1.5 w-full flex h-auto text-left data-open:bg-sidebar-accent data-open:text-sidebar-accent-foreground touch-manipulation"
onClick={onClick}
ref={ref}
>
- <div className="relative flex h-8 aspect-square shrink-0 items-center bg-background-muted group-hover:border-stronger justify-center rounded border border-strong text-xs">
+ <div className="relative flex h-8 aspect-square shrink-0 items-center bg-background-muted group-hover:border-stronger justify-center rounded-sm border border-strong text-xs">
{selectedOrgInitial}
</div>
<div className="text-left grow min-w-0">
@@ -53,7 +53,7 @@ export const ProjectBranchSelectorTrigger = forwardRef<
<ChevronsUpDown
strokeWidth={1.5}
- className="ml-auto text-foreground-lighter !w-4 !h-4 md:hidden md:group-hover:flex"
+ className="ml-auto text-foreground-lighter w-4! h-4! md:hidden md:group-hover:flex"
/>
</SidebarMenuButton>
)
diff --git a/apps/studio/components/layouts/Navigation/ProductMenuBar.tsx b/apps/studio/components/layouts/Navigation/ProductMenuBar.tsx
index 0648bd60d31..668052b3978 100644
--- a/apps/studio/components/layouts/Navigation/ProductMenuBar.tsx
+++ b/apps/studio/components/layouts/Navigation/ProductMenuBar.tsx
@@ -18,7 +18,7 @@ const ProductMenuBar = ({ title, children, className }: PropsWithChildren<Produc
'hide-scrollbar bg-dash-sidebar border-default'
)}
>
- <div className="border-default flex min-h-[var(--header-height)] items-center border-b px-6">
+ <div className="border-default flex min-h-(--header-height) items-center border-b px-6">
<h4 className="text-lg">{title}</h4>
</div>
<div className={cn('grow overflow-y-auto', className)}>{children}</div>
diff --git a/apps/studio/components/layouts/PageLayout/PageLayout.tsx b/apps/studio/components/layouts/PageLayout/PageLayout.tsx
index 37950297778..90b247f8241 100644
--- a/apps/studio/components/layouts/PageLayout/PageLayout.tsx
+++ b/apps/studio/components/layouts/PageLayout/PageLayout.tsx
@@ -81,7 +81,7 @@ export const PageLayout = ({
className={cn(
'w-full mx-auto',
size === 'full' &&
- (isCompact ? 'max-w-none !px-6 border-b pt-4' : 'max-w-none pt-6 !px-10 border-b'),
+ (isCompact ? 'max-w-none px-6! border-b pt-4' : 'max-w-none pt-6 px-10! border-b'),
size !== 'full' && (isCompact ? 'pt-4' : 'pt-12'),
navigationItems.length === 0 && size === 'full' && (isCompact ? 'pb-4' : 'pb-8')
)}
diff --git a/apps/studio/components/layouts/ProjectIntegrationsLayout.tsx b/apps/studio/components/layouts/ProjectIntegrationsLayout.tsx
index fffae6d0743..e6bb6ac5e51 100644
--- a/apps/studio/components/layouts/ProjectIntegrationsLayout.tsx
+++ b/apps/studio/components/layouts/ProjectIntegrationsLayout.tsx
@@ -125,7 +125,7 @@ const InstalledIntegrationsMenu = ({ page }: { page: string }) => {
key: `integrations/${integration.id}`,
url: `/project/${ref}/integrations/${integration.id}/overview`,
icon: (
- <div className="relative w-6 h-6 bg-white border rounded flex items-center justify-center">
+ <div className="relative w-6 h-6 bg-white border rounded-sm flex items-center justify-center">
{integration.icon({ className: 'p-1' })}
</div>
),
diff --git a/apps/studio/components/layouts/ProjectLayout/ConnectingState.tsx b/apps/studio/components/layouts/ProjectLayout/ConnectingState.tsx
index aef2e7190e5..1c46d1a8ee7 100644
--- a/apps/studio/components/layouts/ProjectLayout/ConnectingState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/ConnectingState.tsx
@@ -59,7 +59,7 @@ const ConnectingState = ({ project }: ConnectingStateProps) => {
</Badge>
</div>
</div>
- <div className="flex h-[500px] items-center justify-center rounded border border-overlay bg-surface-100 p-8">
+ <div className="flex h-[500px] items-center justify-center rounded-sm border border-overlay bg-surface-100 p-8">
<div className="w-[440px] space-y-4">
<div className="mx-auto flex max-w-[300px] items-center justify-center">
<div>
@@ -92,7 +92,7 @@ const ConnectingState = ({ project }: ConnectingStateProps) => {
<Button asChild type="default" icon={<ExternalLink strokeWidth={1.5} />}>
<Link
href={`${DOCS_URL}/guides/troubleshooting?products=platform#unable-to-connect-to-your-supabase-project`}
- className="translate-y-[1px]"
+ className="translate-y-px"
>
Troubleshooting
</Link>
diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/MobileMenuContent.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/MobileMenuContent.tsx
index 93234599c8d..721afa525ec 100644
--- a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/MobileMenuContent.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/MobileMenuContent.tsx
@@ -138,12 +138,12 @@ export function MobileMenuContent({
{viewLevel === 'section' && sectionLabel && (
<div
className={cn(
- 'shrink-0 flex items-center gap-2 border-b border-default px-3 min-h-[var(--header-height)]'
+ 'shrink-0 flex items-center gap-2 border-b border-default px-3 min-h-(--header-height)'
)}
>
<Button
type="text"
- className="!p-1 justify-start"
+ className="p-1! justify-start"
icon={<ChevronLeft size={20} />}
onClick={handleBackToTop}
aria-label="Back to menu"
diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuContent.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuContent.tsx
index 3175c676193..68790048b39 100644
--- a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuContent.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuContent.tsx
@@ -117,12 +117,12 @@ export function OrgMenuContent({ onCloseSheet }: OrgMenuContentProps) {
<div className="flex flex-col h-full">
<div
className={cn(
- 'shrink-0 flex items-center gap-2 border-b border-default px-3 min-h-[var(--header-height)]'
+ 'shrink-0 flex items-center gap-2 border-b border-default px-3 min-h-(--header-height)'
)}
>
<Button
type="text"
- className="!p-1 justify-start"
+ className="p-1! justify-start"
icon={<ChevronLeft size={20} />}
onClick={handleBackToTop}
aria-label="Back to menu"
diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
index a76f8ffc403..0c70576cc2d 100644
--- a/apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
@@ -54,7 +54,7 @@ export const LayoutSidebar = ({
maxSize={maxSize}
className={cn(
'border-l bg fixed z-40 right-0 top-0 bottom-0',
- 'h-[100dvh]',
+ 'h-dvh',
'md:absolute md:h-auto md:w-1/2',
'lg:w-2/5',
'xl:relative xl:border-l-0'
diff --git a/apps/studio/components/layouts/ProjectLayout/OrganizationSettingsLayout.tsx b/apps/studio/components/layouts/ProjectLayout/OrganizationSettingsLayout.tsx
index 6d3bd21c6d3..e12a7fc7a79 100644
--- a/apps/studio/components/layouts/ProjectLayout/OrganizationSettingsLayout.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/OrganizationSettingsLayout.tsx
@@ -227,7 +227,7 @@ export function OrganizationSettingsLayout({ children }: PropsWithChildren) {
title="Organization Settings"
sections={sections}
header={
- <div className="border-default flex min-h-[var(--header-height)] items-center border-b px-6">
+ <div className="border-default flex min-h-(--header-height) items-center border-b px-6">
<h4 className="text-lg">Settings</h4>
</div>
}
diff --git a/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx b/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx
index cf092a48f85..195f1034283 100644
--- a/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx
@@ -124,7 +124,7 @@ export const PauseDisabledState = () => {
className="rounded-none border-0 px-6 [&>div>div>div]:flex [&>div>div>div]:flex-col [&>div>div>div]:gap-y-3"
title="Project can no longer be restored through the dashboard"
>
- <p className="!leading-normal">
+ <p className="leading-normal!">
This project has been paused for over{' '}
<span className="text-foreground">
{pauseStatus?.max_days_till_restore_disabled ?? 90} days
@@ -145,7 +145,7 @@ export const PauseDisabledState = () => {
)}
<div>
- <p className="!leading-normal !mb-1">Recovery options:</p>
+ <p className="leading-normal! mb-1!">Recovery options:</p>
<ul className="flex flex-col gap-y-0.5">
<li className="flex items-center gap-x-2">
<ExternalLink size={14} />
diff --git a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
index ace6fffec13..9dac1bcbd53 100644
--- a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
@@ -54,7 +54,7 @@ export const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {
const isRestoreDisabled = isPauseStatusSuccess && !pauseStatus.can_restore
return (
- <Card className="w-full max-w-[40rem] mx-auto">
+ <Card className="w-full max-w-160 mx-auto">
<CardContent>
<PauseCircle size={48} strokeWidth={1} className="text-foreground-lighter shrink-0 mb-4" />
<div className="flex-1">
diff --git a/apps/studio/components/layouts/ProjectLayout/PausingState.tsx b/apps/studio/components/layouts/ProjectLayout/PausingState.tsx
index 1752ea40bfb..feab06f3038 100644
--- a/apps/studio/components/layouts/ProjectLayout/PausingState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/PausingState.tsx
@@ -90,7 +90,7 @@ export const PausingState = ({ project }: PausingStateProps) => {
</div>
</div>
<div className="mx-auto mt-8 mb-16 w-full max-w-7xl">
- <div className="flex h-[500px] items-center justify-center rounded border border-overlay bg-surface-100 p-8">
+ <div className="flex h-[500px] items-center justify-center rounded-sm border border-overlay bg-surface-100 p-8">
<div className="grid w-[380px] gap-4">
<div className="relative mx-auto max-w-[300px]">
<div className="absolute flex h-full w-full items-center justify-center">
diff --git a/apps/studio/components/layouts/ProjectLayout/RestoringState.tsx b/apps/studio/components/layouts/ProjectLayout/RestoringState.tsx
index a55cc3ab26c..776f3b63f72 100644
--- a/apps/studio/components/layouts/ProjectLayout/RestoringState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/RestoringState.tsx
@@ -160,7 +160,7 @@ export const RestoringState = () => {
</SupportLink>
</Button>
}
- className="!mt-5"
+ className="mt-5!"
/>
)}
</div>
diff --git a/apps/studio/components/layouts/ProjectLayout/UpgradingState/index.tsx b/apps/studio/components/layouts/ProjectLayout/UpgradingState/index.tsx
index 89d753b7269..1278f54cdbc 100644
--- a/apps/studio/components/layouts/ProjectLayout/UpgradingState/index.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/UpgradingState/index.tsx
@@ -76,7 +76,7 @@ export const UpgradingState = () => {
<h1 className="text-3xl">{project?.name}</h1>
</div>
<div className="w-full mx-auto mt-8 mb-16 max-w-7xl">
- <div className="flex h-[500px] items-center justify-center rounded border border-muted bg-surface-100 p-8">
+ <div className="flex h-[500px] items-center justify-center rounded-sm border border-muted bg-surface-100 p-8">
{isCompleted ? (
<div className="grid gap-4">
<div className="relative mx-auto max-w-[300px]">
@@ -156,7 +156,7 @@ export const UpgradingState = () => {
)}
<div
- className="!mt-4 !mb-2 py-3 px-4 transition-all overflow-hidden border rounded relative"
+ className="mt-4! mb-2! py-3 px-4 transition-all overflow-hidden border rounded-sm relative"
style={{ maxHeight: isExpanded ? '500px' : '110px' }}
>
{isExpanded ? (
diff --git a/apps/studio/components/layouts/SQLEditorLayout/PrivateSqlSnippetEmpty.tsx b/apps/studio/components/layouts/SQLEditorLayout/PrivateSqlSnippetEmpty.tsx
index 09d1d0906b6..dd577c5705d 100644
--- a/apps/studio/components/layouts/SQLEditorLayout/PrivateSqlSnippetEmpty.tsx
+++ b/apps/studio/components/layouts/SQLEditorLayout/PrivateSqlSnippetEmpty.tsx
@@ -11,8 +11,8 @@ export const EmptyPrivateQueriesPanel = () => (
<div className="top-0 left-6 flex flex-col opacity-50 cursor-not-allowed bg-dash-sidebar h-content -mb-7 pointer-events-none scale-75">
<div className="relative h-content">
<div className="absolute inset-0 pointer-events-none z-10">
- <div className="absolute inset-0 bg-gradient-to-t from-transparent from-80% to-100% to-background-surface-100 dark:to-background-surface-75" />
- <div className="absolute inset-0 bg-gradient-to-r from-transparent from-50% to-100% to-background-surface-100 dark:to-background-surface-75" />
+ <div className="absolute inset-0 bg-linear-to-t from-transparent from-80% to-100% to-background-surface-100 dark:to-background-surface-75" />
+ <div className="absolute inset-0 bg-linear-to-r from-transparent from-50% to-100% to-background-surface-100 dark:to-background-surface-75" />
</div>
<div className="absolute left-[128px] bottom-[21px] text-foreground-muted z-10 pointer-events-none">
<Pointer size={16} className="text-foreground-light" strokeWidth={1.5} />
diff --git a/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/CommunitySnippetsSection.tsx b/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/CommunitySnippetsSection.tsx
index 5444b69c5db..593cad2d6f1 100644
--- a/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/CommunitySnippetsSection.tsx
+++ b/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/CommunitySnippetsSection.tsx
@@ -39,7 +39,7 @@ export function CommunitySnippetsSection() {
}}
>
<InnerSideMenuCollapsibleTrigger title="Community" />
- <InnerSideMenuCollapsibleContent className="group-data-[state=open]:pt-2">
+ <InnerSideMenuCollapsibleContent className="group-data-open:pt-2">
{OPTIONS.map((pageId) => {
const active = isPageActive(pageId)
return (
diff --git a/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.tsx b/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.tsx
index 39d0910630f..062802a2695 100644
--- a/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.tsx
+++ b/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.tsx
@@ -474,7 +474,7 @@ export const SQLEditorNav = ({ sort = 'inserted_at' }: SQLEditorNavProps) => {
<InnerSideMenuCollapsibleTrigger
title={`Shared ${numProjectSnippets > 0 ? ` (${numProjectSnippets})` : ''}`}
/>
- <InnerSideMenuCollapsibleContent className="group-data-[state=open]:pt-2">
+ <InnerSideMenuCollapsibleContent className="group-data-open:pt-2">
{isLoadingSharedSqlSnippets ? (
<SQLEditorLoadingSnippets />
) : sharedSnippets.length === 0 ? (
@@ -550,7 +550,7 @@ export const SQLEditorNav = ({ sort = 'inserted_at' }: SQLEditorNavProps) => {
<InnerSideMenuCollapsibleTrigger
title={`Favorites ${numFavoriteSnippets > 0 ? ` (${numFavoriteSnippets})` : ''}`}
/>
- <InnerSideMenuCollapsibleContent className="group-data-[state=open]:pt-2">
+ <InnerSideMenuCollapsibleContent className="group-data-open:pt-2">
{isLoadingFavoriteSqlSnippets ? (
<SQLEditorLoadingSnippets />
) : favoriteSnippets.length === 0 ? (
@@ -560,7 +560,7 @@ export const SQLEditorNav = ({ sort = 'inserted_at' }: SQLEditorNavProps) => {
description={
<>
Save a query to favorites for easy accessibility by clicking the{' '}
- <Heart size={12} className="inline-block relative align-center -top-[1px]" />{' '}
+ <Heart size={12} className="inline-block relative align-center -top-px" />{' '}
icon.
</>
}
@@ -632,7 +632,7 @@ export const SQLEditorNav = ({ sort = 'inserted_at' }: SQLEditorNavProps) => {
title={`PRIVATE
${numPrivateSnippets > 0 ? ` (${numPrivateSnippets})` : ''}`}
/>
- <InnerSideMenuCollapsibleContent className="group-data-[state=open]:pt-2">
+ <InnerSideMenuCollapsibleContent className="group-data-open:pt-2">
{isLoading ? (
<EditorMenuListSkeleton />
) : folders.length === 0 && privateSnippets.length === 0 ? (
diff --git a/apps/studio/components/layouts/SQLEditorLayout/SqlEditor.Commands.tsx b/apps/studio/components/layouts/SQLEditorLayout/SqlEditor.Commands.tsx
index 86e2d94e1de..6352ac1de11 100644
--- a/apps/studio/components/layouts/SQLEditorLayout/SqlEditor.Commands.tsx
+++ b/apps/studio/components/layouts/SQLEditorLayout/SqlEditor.Commands.tsx
@@ -200,8 +200,8 @@ function SnippetSelector({
<div className="w-full grow min-h-0 grid gap-4 md:grid-cols-2">
<CommandList_Shadcn_
className={cn(
- '!h-full min-h-0 max-h-[unset] py-2 overflow-hidden',
- '[&>[cmdk-list-sizer]]:h-full [&>[cmdk-list-sizer]]:flex [&>[cmdk-list-sizer]]:flex-col'
+ 'h-full! min-h-0 max-h-[unset] py-2 overflow-hidden',
+ '*:[[cmdk-list-sizer]]:h-full *:[[cmdk-list-sizer]]:flex *:[[cmdk-list-sizer]]:flex-col'
)}
>
{!!snippets && snippets.length > 0 && (
diff --git a/apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx b/apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx
index 6ced4961bb4..699b144679e 100644
--- a/apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx
+++ b/apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx
@@ -234,7 +234,7 @@ export const EntityListItem = ({
<DropdownMenu>
<DropdownMenuTrigger
asChild
- className="text-foreground-lighter transition-all text-transparent group-hover:text-foreground data-[state=open]:text-foreground"
+ className="text-foreground-lighter transition-all text-transparent group-hover:text-foreground data-open:text-foreground"
>
<Button
type="text"
diff --git a/apps/studio/components/layouts/TableEditorLayout/TableMenuEmptyState.tsx b/apps/studio/components/layouts/TableEditorLayout/TableMenuEmptyState.tsx
index 793e6fac68d..916b8a207bf 100644
--- a/apps/studio/components/layouts/TableEditorLayout/TableMenuEmptyState.tsx
+++ b/apps/studio/components/layouts/TableEditorLayout/TableMenuEmptyState.tsx
@@ -14,8 +14,8 @@ export const TableMenuEmptyState = () => {
<div className="top-0 left-6 flex flex-col opacity-50 cursor-not-allowed bg-dash-sidebar h-content -mb-7 pointer-events-none scale-75">
<div className="relative h-content">
<div className="absolute inset-0 pointer-events-none z-10">
- <div className="absolute inset-0 bg-gradient-to-t from-transparent from-80% to-100% to-background-surface-100 dark:to-background-surface-75" />
- <div className="absolute inset-0 bg-gradient-to-r from-transparent from-50% to-100% to-background-surface-100 dark:to-background-surface-75" />
+ <div className="absolute inset-0 bg-linear-to-t from-transparent from-80% to-100% to-background-surface-100 dark:to-background-surface-75" />
+ <div className="absolute inset-0 bg-linear-to-r from-transparent from-50% to-100% to-background-surface-100 dark:to-background-surface-75" />
</div>
<div className="absolute left-[150px] bottom-[21px] text-foreground-muted z-10 pointer-events-none">
<Pointer size={16} className="text-foreground-light" strokeWidth={1.5} />
diff --git a/apps/studio/components/layouts/Tabs/ActionCard.tsx b/apps/studio/components/layouts/Tabs/ActionCard.tsx
index acd8c81a930..e313cb6b615 100644
--- a/apps/studio/components/layouts/Tabs/ActionCard.tsx
+++ b/apps/studio/components/layouts/Tabs/ActionCard.tsx
@@ -16,7 +16,7 @@ export const ActionCard = (card: {
>
<div className={`relative flex items-start gap-3`}>
{card.isBeta && (
- <Badge className="absolute -right-5 -top-5 bg-surface-300/100 text-xs text-foreground">
+ <Badge className="absolute -right-5 -top-5 bg-surface-300 text-xs text-foreground">
Coming soon
</Badge>
)}
diff --git a/apps/studio/components/layouts/Tabs/CollapseButton.tsx b/apps/studio/components/layouts/Tabs/CollapseButton.tsx
index 2a7198fd400..231a397b28d 100644
--- a/apps/studio/components/layouts/Tabs/CollapseButton.tsx
+++ b/apps/studio/components/layouts/Tabs/CollapseButton.tsx
@@ -21,7 +21,7 @@ export function CollapseButton({ hideTabs }: { hideTabs: boolean }) {
<TooltipTrigger asChild>
<button
className={cn(
- 'hidden md:flex items-center justify-center w-10 h-[var(--header-height)] hover:bg-surface-100 shrink-0',
+ 'hidden md:flex items-center justify-center w-10 h-(--header-height) hover:bg-surface-100 shrink-0',
!hideTabs && 'border-b border-b-default'
)}
onClick={handleToggle}
diff --git a/apps/studio/components/layouts/Tabs/MigrateToPostgres.tsx b/apps/studio/components/layouts/Tabs/MigrateToPostgres.tsx
index e2629ecc6bf..2497ffdcf6a 100644
--- a/apps/studio/components/layouts/Tabs/MigrateToPostgres.tsx
+++ b/apps/studio/components/layouts/Tabs/MigrateToPostgres.tsx
@@ -22,7 +22,7 @@ export const MigrateToPostgres = () => (
},
}}
>
- <div className="absolute inset-0 bg-gradient-to-r from-background-surface-200 via-background-surface-200 to-transparent"></div>
+ <div className="absolute inset-0 bg-linear-to-r from-background-surface-200 via-background-surface-200 to-transparent"></div>
<div className="relative z-10 px-5 py-4 h-full flex gap-5 items-center justify-between">
<div className="flex flex-col gap-3">
<div className="flex gap-4">
diff --git a/apps/studio/components/layouts/Tabs/RecentItems.tsx b/apps/studio/components/layouts/Tabs/RecentItems.tsx
index 08db7584b5c..165dd480436 100644
--- a/apps/studio/components/layouts/Tabs/RecentItems.tsx
+++ b/apps/studio/components/layouts/Tabs/RecentItems.tsx
@@ -70,7 +70,7 @@ export function RecentItems() {
}
className="flex items-center gap-4 rounded-lg bg-surface-100 py-2 transition-colors hover:bg-surface-200"
>
- <div className="flex h-6 w-6 items-center justify-center rounded bg-surface-100 border">
+ <div className="flex h-6 w-6 items-center justify-center rounded-sm bg-surface-100 border">
<EntityTypeIcon type={item.type} />
</div>
<div className="flex flex-1 gap-5 items-center">
diff --git a/apps/studio/components/layouts/Tabs/SortableTab.tsx b/apps/studio/components/layouts/Tabs/SortableTab.tsx
index ae06a2d8108..d2914ce8d9c 100644
--- a/apps/studio/components/layouts/Tabs/SortableTab.tsx
+++ b/apps/studio/components/layouts/Tabs/SortableTab.tsx
@@ -60,7 +60,7 @@ export const SortableTab = ({
layoutId={tab.id}
transition={{ duration: 0.045 }}
animate={{ opacity: isDragging ? 0 : 1 }}
- className={cn('flex items-center h-[var(--header-height)] first-of-type:border-l')}
+ className={cn('flex items-center h-(--header-height) first-of-type:border-l')}
>
<TabsTrigger_Shadcn_
value={tab.id}
@@ -107,7 +107,7 @@ export const SortableTab = ({
e.preventDefault()
e.stopPropagation()
}}
- className="p-0.5 ml-1 opacity-0 group-hover:opacity-100 hover:bg-200 rounded-sm cursor-pointer"
+ className="p-0.5 ml-1 opacity-0 group-hover:opacity-100 hover:bg-200 rounded-xs cursor-pointer"
onMouseDown={(e) => {
e.preventDefault()
e.stopPropagation()
diff --git a/apps/studio/components/layouts/Tabs/TabPreview.tsx b/apps/studio/components/layouts/Tabs/TabPreview.tsx
index 210d3bd17d2..f2fa1073a0c 100644
--- a/apps/studio/components/layouts/Tabs/TabPreview.tsx
+++ b/apps/studio/components/layouts/Tabs/TabPreview.tsx
@@ -15,7 +15,7 @@ export const TabPreview = ({ tab }: { tab: string }) => {
layoutId={tab}
transition={{ duration: 0.045 }}
animate={{ opacity: 0.7 }}
- className="flex relative items-center gap-2 px-3 text-xs bg-dash-sidebar dark:bg-surface-100 shadow-lg rounded-sm h-10"
+ className="flex relative items-center gap-2 px-3 text-xs bg-dash-sidebar dark:bg-surface-100 shadow-lg rounded-xs h-10"
>
<EntityTypeIcon type={tabData.type} />
<span>{tabData.label || 'Untitled'}</span>
diff --git a/apps/studio/components/layouts/Tabs/Tabs.tsx b/apps/studio/components/layouts/Tabs/Tabs.tsx
index 1ec2fb65e59..302183ba0dd 100644
--- a/apps/studio/components/layouts/Tabs/Tabs.tsx
+++ b/apps/studio/components/layouts/Tabs/Tabs.tsx
@@ -146,7 +146,7 @@ export const EditorTabs = () => {
<TabsList_Shadcn_
ref={tabsListRef}
className={cn(
- 'rounded-b-none gap-0 min-h-[var(--header-height)] flex items-center w-full z-[1]',
+ 'rounded-b-none gap-0 min-h-(--header-height) flex items-center w-full z-1',
'bg-surface-200 dark:bg-alternative border-none text-clip overflow-x-auto'
)}
>
@@ -191,7 +191,7 @@ export const EditorTabs = () => {
'flex items-center gap-2 px-3 text-xs',
'bg-dash-sidebar/50 dark:bg-surface-100/50',
'data-[state=active]:bg-dash-sidebar dark:data-[state=active]:bg-surface-100',
- 'relative group h-full border-t-2 !border-b-0',
+ 'relative group h-full border-t-2 border-b-0!',
'hover:bg-surface-300 dark:hover:bg-surface-100'
)}
>
@@ -205,7 +205,7 @@ export const EditorTabs = () => {
e.preventDefault()
e.stopPropagation()
}}
- className="ml-1 opacity-0 group-hover:opacity-100 hover:bg-200 rounded-sm cursor-pointer"
+ className="ml-1 opacity-0 group-hover:opacity-100 hover:bg-200 rounded-xs cursor-pointer"
onMouseDown={(e) => {
e.preventDefault()
e.stopPropagation()
@@ -218,14 +218,14 @@ export const EditorTabs = () => {
>
<X size={12} className="text-foreground-light" />
</span>{' '}
- <div className="absolute w-full -bottom-[1px] left-0 right-0 h-px bg-dash-sidebar dark:bg-surface-100 opacity-0 group-data-[state=active]:opacity-100" />
+ <div className="absolute w-full -bottom-px left-0 right-0 h-px bg-dash-sidebar dark:bg-surface-100 opacity-0 group-data-[state=active]:opacity-100" />
</TabsTrigger_Shadcn_>
)}
<AnimatePresence initial={false}>
{!hasNewTab && (
<motion.button
- className="flex items-center justify-center w-10 min-h-[var(--header-height)] hover:bg-surface-100 shrink-0 border-b"
+ className="flex items-center justify-center w-10 min-h-(--header-height) hover:bg-surface-100 shrink-0 border-b"
onClick={() =>
router.push(
`/project/${router.query.ref}/${editor === 'table' ? 'editor' : 'sql'}/new?skip=true`
diff --git a/apps/studio/components/layouts/editors/EditorBaseLayout.tsx b/apps/studio/components/layouts/editors/EditorBaseLayout.tsx
index 3ff1003b34c..bf1722d1c78 100644
--- a/apps/studio/components/layouts/editors/EditorBaseLayout.tsx
+++ b/apps/studio/components/layouts/editors/EditorBaseLayout.tsx
@@ -68,7 +68,7 @@ export const EditorBaseLayout = ({
<div className="flex flex-col h-full">
<div
className={cn(
- 'h-10 md:min-h-[var(--header-height)] flex items-center',
+ 'h-10 md:min-h-(--header-height) flex items-center',
!hideTabs ? 'bg-surface-200 dark:bg-alternative' : 'bg-surface-100'
)}
>
diff --git a/apps/studio/components/to-be-cleaned/ListIcons.tsx b/apps/studio/components/to-be-cleaned/ListIcons.tsx
index 73ea312f10f..a51daa5f062 100644
--- a/apps/studio/components/to-be-cleaned/ListIcons.tsx
+++ b/apps/studio/components/to-be-cleaned/ListIcons.tsx
@@ -1,7 +1,7 @@
import { Database } from 'lucide-react'
export const vercelIcon = (
- <div className="flex items-center justify-center rounded bg-black p-1">
+ <div className="flex items-center justify-center rounded-sm bg-black p-1">
<svg
className="m-auto fill-current text-white"
width="12px"
@@ -14,7 +14,7 @@ export const vercelIcon = (
)
export const databaseIcon = (
- <div className="flex items-center justify-center rounded bg-green-500 p-1 [[data-theme*=dark]_&]:text-typography-body-dark ">
+ <div className="flex items-center justify-center rounded-sm bg-green-500 p-1 in-data-[theme*=dark]:text-typography-body-dark ">
<Database size={12} strokeWidth={2} />
</div>
)
diff --git a/apps/studio/components/to-be-cleaned/ProductEmptyState.tsx b/apps/studio/components/to-be-cleaned/ProductEmptyState.tsx
index afc2ec19eec..95a54961a3e 100644
--- a/apps/studio/components/to-be-cleaned/ProductEmptyState.tsx
+++ b/apps/studio/components/to-be-cleaned/ProductEmptyState.tsx
@@ -35,7 +35,7 @@ const ProductEmptyState = ({
return (
<div className="flex h-full w-full items-center justify-center">
- <div className="flex space-x-4 rounded border bg-surface-100 p-6 shadow-md">
+ <div className="flex space-x-4 rounded-sm border bg-surface-100 p-6 shadow-md">
{/* A graphic can probably be placed here as a sibling to the div below*/}
<div className="flex flex-col">
<div className={`${size === 'medium' ? 'w-80' : 'w-[400px]'} space-y-4`}>
diff --git a/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx b/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
index 096871376f6..c0a62d13b3d 100644
--- a/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
@@ -392,7 +392,7 @@ export const AIAssistant = ({ className }: AIAssistantProps) => {
},
]}
>
- <div className={cn('flex flex-col h-full w-full md:h-full max-h-[100dvh]', className)}>
+ <div className={cn('flex flex-col h-full w-full md:h-full max-h-dvh', className)}>
<AIAssistantHeader
isChatLoading={isChatLoading}
onNewChat={snap.newChat}
@@ -489,7 +489,7 @@ export const AIAssistant = ({ className }: AIAssistantProps) => {
exit={{ opacity: 0 }}
className="pointer-events-none z-10 -mt-24"
>
- <div className="h-24 w-full bg-gradient-to-t from-background to-transparent relative">
+ <div className="h-24 w-full bg-linear-to-t from-background to-transparent relative">
<motion.div
className="absolute left-1/2 z-20 bottom-8 pointer-events-auto"
variants={{
@@ -552,7 +552,7 @@ export const AIAssistant = ({ className }: AIAssistantProps) => {
<AssistantChatForm
textAreaRef={inputRef}
className={cn(
- 'z-20 [&>form>textarea]:text-base [&>form>textarea]:md:text-sm [&>form>textarea]:border-1 [&>form>textarea]:rounded-md [&>form>textarea]:!outline-none [&>form>textarea]:!ring-offset-0 [&>form>textarea]:!ring-0'
+ 'z-20 [&>form>textarea]:text-base [&>form>textarea]:md:text-sm [&>form>textarea]:border [&>form>textarea]:rounded-md [&>form>textarea]:outline-hidden! [&>form>textarea]:ring-offset-0! [&>form>textarea]:ring-0!'
)}
loading={isChatLoading}
isEditing={!!editingMessageId}
diff --git a/apps/studio/components/ui/AIAssistantPanel/AIAssistantHeader.tsx b/apps/studio/components/ui/AIAssistantPanel/AIAssistantHeader.tsx
index 4fafb195950..396db15e33b 100644
--- a/apps/studio/components/ui/AIAssistantPanel/AIAssistantHeader.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/AIAssistantHeader.tsx
@@ -39,7 +39,7 @@ export const AIAssistantHeader = ({
const [isOptInModalOpen, setIsOptInModalOpen] = useState(false)
return (
<div className="z-30 sticky top-0">
- <div className="border-b border-b-muted flex items-center bg gap-x-4 pl-4 pr-3 min-h-[var(--header-height)]">
+ <div className="border-b border-b-muted flex items-center bg gap-x-4 pl-4 pr-3 min-h-(--header-height)">
<div className="text-sm flex-1 flex items-center">
<AiIconAnimation size={20} allowHoverEffect={false} />
<span className="text-border-stronger dark:text-border-strong ml-3">
diff --git a/apps/studio/components/ui/AIAssistantPanel/AIOnboarding.tsx b/apps/studio/components/ui/AIAssistantPanel/AIOnboarding.tsx
index 4ed1c3a03e6..b601887c069 100644
--- a/apps/studio/components/ui/AIAssistantPanel/AIOnboarding.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/AIOnboarding.tsx
@@ -29,7 +29,7 @@ export const AIOnboarding = ({
? suggestions.prompts.map((suggestion) => ({
title: suggestion.label,
prompt: suggestion.description,
- icon: <FileText strokeWidth={1.25} size={14} className="!w-4 !h-4" />,
+ icon: <FileText strokeWidth={1.25} size={14} className="w-4! h-4!" />,
}))
: sqlSnippets && sqlSnippets.length > 0
? codeSnippetPrompts
diff --git a/apps/studio/components/ui/AIAssistantPanel/AIOptInModal.tsx b/apps/studio/components/ui/AIAssistantPanel/AIOptInModal.tsx
index b881e8c4522..b87a647d691 100644
--- a/apps/studio/components/ui/AIAssistantPanel/AIOptInModal.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/AIOptInModal.tsx
@@ -61,7 +61,7 @@ export const AIOptInModal = ({ visible, onCancel }: AIOptInModalProps) => {
<DialogFooter
padding="small"
- className={cn(!canUpdateOrganization && '!justify-between')}
+ className={cn(!canUpdateOrganization && 'justify-between!')}
>
{!canUpdateOrganization && (
<p className="text-sm text-foreground-lighter">
diff --git a/apps/studio/components/ui/AIAssistantPanel/ConfirmFooter.tsx b/apps/studio/components/ui/AIAssistantPanel/ConfirmFooter.tsx
index da4468fb078..1dd8afe5536 100644
--- a/apps/studio/components/ui/AIAssistantPanel/ConfirmFooter.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/ConfirmFooter.tsx
@@ -23,7 +23,7 @@ export const ConfirmFooter = ({
className={cn(
'flex items-center justify-between py-2 pr-2 pl-4 text-xs text-foreground',
'relative border border-t-0 overflow-hidden rounded-b-lg bg-border shadow-inset gap-3',
- 'bg-gradient-to-r from-background-surface-75 to-background-surface-200'
+ 'bg-linear-to-r from-background-surface-75 to-background-surface-200'
)}
>
<div className="flex-1 relative z-10">{message}</div>
diff --git a/apps/studio/components/ui/AIAssistantPanel/Message.Actions.tsx b/apps/studio/components/ui/AIAssistantPanel/Message.Actions.tsx
index 850c962c71e..2cc955e0b9b 100644
--- a/apps/studio/components/ui/AIAssistantPanel/Message.Actions.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/Message.Actions.tsx
@@ -37,7 +37,7 @@ function MessageActionsEdit({ onClick, tooltip }: { onClick: () => void; tooltip
type="text"
icon={<Pencil size={14} strokeWidth={1.5} />}
onClick={onClick}
- className="text-foreground-light hover:text-foreground p-1 rounded"
+ className="text-foreground-light hover:text-foreground p-1 rounded-sm"
aria-label={tooltip}
tooltip={{
content: {
@@ -57,7 +57,7 @@ function MessageActionsDelete({ onClick }: { onClick: () => void }) {
icon={<Trash2 size={14} strokeWidth={1.5} />}
tooltip={{ content: { side: 'bottom', text: 'Delete message' } }}
onClick={onClick}
- className="text-foreground-light hover:text-foreground p-1 rounded"
+ className="text-foreground-light hover:text-foreground p-1 rounded-sm"
title="Delete message"
aria-label="Delete message"
/>
@@ -90,7 +90,10 @@ function MessageActionsThumbsUp({
/>
}
onClick={onClick}
- className={cn('p-1 rounded transition-colors', disabled && 'opacity-50 pointer-events-none')}
+ className={cn(
+ 'p-1 rounded-sm transition-colors',
+ disabled && 'opacity-50 pointer-events-none'
+ )}
title="Good response"
aria-label="Good response"
/>
@@ -155,7 +158,7 @@ function MessageActionsThumbsDown({
disabled={disabled}
onClick={() => !disabled && setOpen(true)}
className={cn(
- 'p-1 rounded transition-colors',
+ 'p-1 rounded-sm transition-colors',
disabled && 'opacity-50 pointer-events-none'
)}
title="Bad response"
diff --git a/apps/studio/components/ui/AIAssistantPanel/Message.Display.tsx b/apps/studio/components/ui/AIAssistantPanel/Message.Display.tsx
index 9d63ed44f24..eb8451215ed 100644
--- a/apps/studio/components/ui/AIAssistantPanel/Message.Display.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/Message.Display.tsx
@@ -76,7 +76,7 @@ function MessageDisplayTextMessage({
id={id}
isLoading={isLoading}
readOnly={readOnly}
- className="prose prose-sm max-w-none break-words prose-h2:font-medium"
+ className="prose prose-sm max-w-none wrap-break-word prose-h2:font-medium"
>
{children}
</MessageMarkdown>
diff --git a/apps/studio/components/ui/AIAssistantPanel/Message.Parts.tsx b/apps/studio/components/ui/AIAssistantPanel/Message.Parts.tsx
index 67a0013fa42..7c41bfdfb66 100644
--- a/apps/studio/components/ui/AIAssistantPanel/Message.Parts.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/Message.Parts.tsx
@@ -23,7 +23,7 @@ function MessagePartText({ textPart }: { textPart: TextUIPart }) {
isLoading={isLoading}
readOnly={readOnly}
className={cn(
- 'max-w-none space-y-4 prose prose-sm prose-li:mt-1 [&>div]:my-4 prose-h1:text-xl prose-h1:mt-6 prose-h2:text-lg prose-h2:font-medium prose-h3:no-underline prose-h3:text-base prose-h3:mb-4 prose-strong:font-medium prose-strong:text-foreground prose-ol:space-y-3 prose-ul:space-y-3 prose-li:my-0 break-words [&>p:not(:last-child)]:!mb-2 [&>*>p:first-child]:!mt-0 [&>*>p:last-child]:!mb-0 [&>*>*>p:first-child]:!mt-0 [&>*>*>p:last-child]:!mb-0 [&>ol>li]:!pl-4',
+ 'max-w-none space-y-4 prose prose-sm prose-li:mt-1 [&>div]:my-4 prose-h1:text-xl prose-h1:mt-6 prose-h2:text-lg prose-h2:font-medium prose-h3:no-underline prose-h3:text-base prose-h3:mb-4 prose-strong:font-medium prose-strong:text-foreground prose-ol:space-y-3 prose-ul:space-y-3 prose-li:my-0 wrap-break-word [&>p:not(:last-child)]:mb-2! [&>*>p:first-child]:mt-0! [&>*>p:last-child]:mb-0! [&>*>*>p:first-child]:mt-0! [&>*>*>p:last-child]:mb-0! [&>ol>li]:pl-4!',
isUserMessage && 'text-foreground [&>p]:font-medium',
state === 'editing' && 'animate-pulse'
)}
diff --git a/apps/studio/components/ui/AIAssistantPanel/MessageMarkdown.tsx b/apps/studio/components/ui/AIAssistantPanel/MessageMarkdown.tsx
index c39416c85da..90be7095a2e 100644
--- a/apps/studio/components/ui/AIAssistantPanel/MessageMarkdown.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/MessageMarkdown.tsx
@@ -84,7 +84,7 @@ export const Hyperlink = memo(({ href, children }: { href?: string; children?: R
<DialogTrigger asChild>
<span
className={cn(
- '!m-0 text-foreground cursor-pointer transition',
+ 'm-0! text-foreground cursor-pointer transition',
'underline underline-offset-2 decoration-foreground-muted hover:decoration-foreground-lighter'
)}
>
@@ -285,7 +285,7 @@ export const MarkdownPre = ({
value={cleanContent}
language={language as CodeBlockLang}
className={cn(
- 'my-4 max-h-96 max-w-none block border rounded !bg-transparent !py-3 !px-3.5 prose dark:prose-dark text-foreground',
+ 'my-4 max-h-96 max-w-none block border rounded-sm bg-transparent! py-3! px-3.5! prose dark:prose-dark text-foreground',
'[&>code]:m-0 [&>code>span]:flex [&>code>span]:flex-wrap [&>code]:block [&>code>span]:text-foreground'
)}
/>
diff --git a/apps/studio/components/ui/AIAssistantPanel/SnippetRow.tsx b/apps/studio/components/ui/AIAssistantPanel/SnippetRow.tsx
index 149124b350d..01760a76544 100644
--- a/apps/studio/components/ui/AIAssistantPanel/SnippetRow.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/SnippetRow.tsx
@@ -46,13 +46,13 @@ export const SnippetRow: React.FC<SnippetRowProps> = ({
<Button
size="tiny"
type="text"
- className="!h-4 !w-4 rounded-full p-0"
+ className="h-4! w-4! rounded-full p-0"
onClick={(e) => {
e.stopPropagation()
onRemoveSnippet(idx)
}}
aria-label={`Remove snippet ${idx + 1}`}
- icon={<X strokeWidth={1.5} className="!h-3 !w-3" />}
+ icon={<X strokeWidth={1.5} className="h-3! w-3!" />}
/>
)}
</div>
@@ -60,7 +60,7 @@ export const SnippetRow: React.FC<SnippetRowProps> = ({
<HoverCardContent_Shadcn_ className="w-96 max-h-64 overflow-auto p-0">
<CodeBlock
hideLineNumbers
- className="text-xs font-mono whitespace-pre-wrap break-words p-2 border-0"
+ className="text-xs font-mono whitespace-pre-wrap wrap-break-word p-2 border-0"
language="sql"
>
{getSnippetContent(snippet)}
diff --git a/apps/studio/components/ui/AIAssistantPanel/elements/Tool.tsx b/apps/studio/components/ui/AIAssistantPanel/elements/Tool.tsx
index 382ea6b1131..f5779512031 100644
--- a/apps/studio/components/ui/AIAssistantPanel/elements/Tool.tsx
+++ b/apps/studio/components/ui/AIAssistantPanel/elements/Tool.tsx
@@ -21,7 +21,7 @@ export function Tool({ className, label, icon, children }: ToolProps) {
'tool-item text-foreground-lighter flex items-center gap-2 py-2',
'[&:not(.tool-item+.tool-item)]:mt-4 [&:not(:has(+.tool-item))]:mb-4',
'[&:has(+.tool-item)]:border-b [&:has(+.tool-item)]:border-b-muted',
- 'first:!mt-0 last:mb-0',
+ 'first:mt-0! last:mb-0',
className
)}
>
diff --git a/apps/studio/components/ui/ActionCard.tsx b/apps/studio/components/ui/ActionCard.tsx
index 078ab2ab5f6..ff332610bd8 100644
--- a/apps/studio/components/ui/ActionCard.tsx
+++ b/apps/studio/components/ui/ActionCard.tsx
@@ -20,7 +20,7 @@ export const ActionCard = (card: {
>
<div className={`relative flex items-start gap-3`}>
{card.isBeta && (
- <Badge className="absolute -right-5 -top-5 bg-surface-300/100 text-xs text-foreground">
+ <Badge className="absolute -right-5 -top-5 bg-surface-300 text-xs text-foreground">
Coming soon
</Badge>
)}
diff --git a/apps/studio/components/ui/AlphaNotice.tsx b/apps/studio/components/ui/AlphaNotice.tsx
index 2831a098569..e6405e62dbb 100644
--- a/apps/studio/components/ui/AlphaNotice.tsx
+++ b/apps/studio/components/ui/AlphaNotice.tsx
@@ -44,7 +44,7 @@ export const AlphaNotice = ({
alt="Supabase Grafana"
className="w-full h-full object-cover object-right dark:hidden"
/>
- <div className="absolute inset-0 bg-gradient-to-r from-background-alternative to-transparent" />
+ <div className="absolute inset-0 bg-linear-to-r from-background-alternative to-transparent" />
</div>
{/* Content */}
diff --git a/apps/studio/components/ui/BannerStack/BannerCard.tsx b/apps/studio/components/ui/BannerStack/BannerCard.tsx
index 100c828591f..b3c7b1ba402 100644
--- a/apps/studio/components/ui/BannerStack/BannerCard.tsx
+++ b/apps/studio/components/ui/BannerStack/BannerCard.tsx
@@ -23,7 +23,7 @@ export const BannerCard = ({ onDismiss, children, className }: BannerCardProps)
alt="Background pattern"
className="w-full h-full object-cover object-right dark:hidden"
/>
- <div className="absolute inset-0 bg-gradient-to-r from-background-alternative to-transparent" />
+ <div className="absolute inset-0 bg-linear-to-r from-background-alternative to-transparent" />
</div>
<CardContent className="relative z-10 p-6">
diff --git a/apps/studio/components/ui/BannerStack/Banners/BannerFreeMicroUpgrade.tsx b/apps/studio/components/ui/BannerStack/Banners/BannerFreeMicroUpgrade.tsx
index cda80b0c32a..9fa4b801ea7 100644
--- a/apps/studio/components/ui/BannerStack/Banners/BannerFreeMicroUpgrade.tsx
+++ b/apps/studio/components/ui/BannerStack/Banners/BannerFreeMicroUpgrade.tsx
@@ -30,13 +30,13 @@ export const BannerFreeMicroUpgrade = () => {
<div className="flex flex-col gap-y-4">
<div className="flex flex-col gap-y-2 items-start">
<div className="animate-badge-pulse">
- <div className="relative inline-flex overflow-hidden rounded">
+ <div className="relative inline-flex overflow-hidden rounded-sm">
<ComputeBadge
infraComputeSize="nano"
icon={<ChevronsUpAnimated />}
className="text-brand-600 border-brand-500 bg-brand/10 gap-1"
/>
- <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-gradient-to-br from-transparent via-brand/20 to-transparent blur-md" />
+ <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-linear-to-br from-transparent via-brand/20 to-transparent blur-md" />
</div>
</div>
</div>
diff --git a/apps/studio/components/ui/CardButton.tsx b/apps/studio/components/ui/CardButton.tsx
index d156dc3e121..1cc185c6ddc 100644
--- a/apps/studio/components/ui/CardButton.tsx
+++ b/apps/studio/components/ui/CardButton.tsx
@@ -145,7 +145,7 @@ const CardButton = ({
<div className="w-full">{children && children}</div>
</div>
)}
- {footer && <div className="w-full !mt-auto">{footer}</div>}
+ {footer && <div className="w-full mt-auto!">{footer}</div>}
</div>
{isLink && (
<div
diff --git a/apps/studio/components/ui/Charts/AreaChart.tsx b/apps/studio/components/ui/Charts/AreaChart.tsx
index 060afa7290b..f8e5c343b9b 100644
--- a/apps/studio/components/ui/Charts/AreaChart.tsx
+++ b/apps/studio/components/ui/Charts/AreaChart.tsx
@@ -127,7 +127,7 @@ const AreaChart = ({
<Tooltip
content={(_props) =>
syncId && syncTooltip && hoveredIndex !== null ? (
- <div className="bg-black/90 text-white p-2 rounded text-xs">
+ <div className="bg-black/90 text-white p-2 rounded-sm text-xs">
<div className="font-medium">
{dayjs(data[hoveredIndex]?.[xAxisKey]).format(customDateFormat)}
</div>
diff --git a/apps/studio/components/ui/Charts/BarChart.tsx b/apps/studio/components/ui/Charts/BarChart.tsx
index 82e7464d927..4b49f61fc9d 100644
--- a/apps/studio/components/ui/Charts/BarChart.tsx
+++ b/apps/studio/components/ui/Charts/BarChart.tsx
@@ -173,7 +173,7 @@ function BarChart<D extends Datum = Datum>({
<Tooltip
content={(_props) =>
syncId && isHovered && isCurrentChart && hoveredIndex !== null ? (
- <div className="bg-black/90 text-white p-2 rounded text-xs">
+ <div className="bg-black/90 text-white p-2 rounded-sm text-xs">
<div className="font-medium">
{dayjs(data[hoveredIndex]?.[xAxisKey]).format(customDateFormat)}
</div>
diff --git a/apps/studio/components/ui/Charts/ComposedChart.utils.tsx b/apps/studio/components/ui/Charts/ComposedChart.utils.tsx
index d9059d4725d..f7f635d722b 100644
--- a/apps/studio/components/ui/Charts/ComposedChart.utils.tsx
+++ b/apps/studio/components/ui/Charts/ComposedChart.utils.tsx
@@ -251,7 +251,7 @@ export const CustomTooltip = ({
return (
<div
className={cn(
- 'grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg px-2.5 py-1.5 text-xs shadow-xl transition-opacity opacity-100',
+ 'grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-default px-2.5 py-1.5 text-xs shadow-xl transition-opacity opacity-100',
!isActiveHoveredChart && 'opacity-0'
)}
>
diff --git a/apps/studio/components/ui/Charts/StackedBarChart.tsx b/apps/studio/components/ui/Charts/StackedBarChart.tsx
index 4d362d9b25d..bd6bc28ba56 100644
--- a/apps/studio/components/ui/Charts/StackedBarChart.tsx
+++ b/apps/studio/components/ui/Charts/StackedBarChart.tsx
@@ -202,7 +202,7 @@ const StackedBarChart: React.FC<Props> = ({
borderColor: '#444444',
fontSize: '12px',
}}
- wrapperClassName="bg-gray-600 rounded min-w-md"
+ wrapperClassName="bg-gray-600 rounded-sm min-w-md"
active={!!syncId && syncTooltip && hoveredIndex !== null}
/>
</BarChart>
diff --git a/apps/studio/components/ui/CodeEditor/CodeEditor.tsx b/apps/studio/components/ui/CodeEditor/CodeEditor.tsx
index 6f401ac87c2..e8e711a47e9 100644
--- a/apps/studio/components/ui/CodeEditor/CodeEditor.tsx
+++ b/apps/studio/components/ui/CodeEditor/CodeEditor.tsx
@@ -247,7 +247,7 @@ export const CodeEditor = ({
<div
className={cn(
'monaco-placeholder absolute top-[3px] left-[57px] text-sm pointer-events-none font-mono',
- '[&>div>p]:text-foreground-lighter [&>div>p]:!m-0 tracking-tighter',
+ '[&>div>p]:text-foreground-lighter [&>div>p]:m-0! tracking-tighter',
showPlaceholder ? 'block' : 'hidden'
)}
>
diff --git a/apps/studio/components/ui/ComputeBadgeWrapper.tsx b/apps/studio/components/ui/ComputeBadgeWrapper.tsx
index 1fc12e68081..12160acc6ef 100644
--- a/apps/studio/components/ui/ComputeBadgeWrapper.tsx
+++ b/apps/studio/components/ui/ComputeBadgeWrapper.tsx
@@ -110,7 +110,7 @@ export const ComputeBadgeWrapper = ({
<div
className={cn(
'flex',
- showUpgradeGlow && 'relative inline-flex overflow-hidden rounded'
+ showUpgradeGlow && 'relative inline-flex overflow-hidden rounded-sm'
)}
>
<ComputeBadge
@@ -122,7 +122,7 @@ export const ComputeBadgeWrapper = ({
)}
/>
{showUpgradeGlow && (
- <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-gradient-to-br from-transparent via-brand/20 to-transparent blur-md" />
+ <span className="animate-badge-shimmer pointer-events-none absolute inset-0 bg-linear-to-br from-transparent via-brand/20 to-transparent blur-md" />
)}
</div>
</div>
diff --git a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx
index 69813a1604e..b072976d32a 100644
--- a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx
@@ -40,7 +40,7 @@ export function DataTableFilterCheckbox<TData>({
// Show empty state when no original options are available (not due to search filtering)
if (!options?.length)
return (
- <div className="flex items-center justify-center px-2 py-4 text-center border border-border rounded">
+ <div className="flex items-center justify-center px-2 py-4 text-center border border-border rounded-sm">
<p className="text-xs text-foreground-light">No options available</p>
</div>
)
@@ -51,13 +51,13 @@ export function DataTableFilterCheckbox<TData>({
<InputWithAddons
placeholder="Search"
leading={<Search size={14} className="text-foreground-lighter" />}
- containerClassName="h-8 rounded"
+ containerClassName="h-8 rounded-sm"
value={inputValue}
onChange={(e) => setInputValue(e.target.value)}
/>
) : null}
{/* FIXME: due to the added max-h and overflow-y-auto, the hover state and border is laying on top of the scroll bar */}
- <div className="max-h-[200px] overflow-y-auto rounded border border-border empty:border-none">
+ <div className="max-h-[200px] overflow-y-auto rounded-sm border border-border empty:border-none">
{filterOptions.length === 0 && inputValue !== '' ? (
<div className="flex items-center justify-center px-2 py-4 text-center">
<div className="space-y-0.5">
@@ -114,8 +114,8 @@ export function DataTableFilterCheckbox<TData>({
type="button"
onClick={() => column?.setFilterValue([option.value])}
className={cn(
- 'absolute inset-y-0 right-0 hidden font-normal text-muted-foreground backdrop-blur-sm hover:text-foreground group-hover:block',
- 'rounded-md ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2'
+ 'absolute inset-y-0 right-0 hidden font-normal text-muted-foreground backdrop-blur-xs hover:text-foreground group-hover:block',
+ 'rounded-md ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2'
)}
>
<span className="px-2">only</span>
diff --git a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxAsync.tsx b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxAsync.tsx
index f2ca79ac1ed..8543e394f89 100644
--- a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxAsync.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxAsync.tsx
@@ -50,7 +50,7 @@ export function DataTableFilterCheckboxAsync<TData>({
if (!options?.length)
return (
- <div className="flex items-center justify-center px-2 py-4 text-center border border-border rounded">
+ <div className="flex items-center justify-center px-2 py-4 text-center border border-border rounded-sm">
<p className="text-xs text-foreground-light">No options available</p>
</div>
)
@@ -60,13 +60,13 @@ export function DataTableFilterCheckboxAsync<TData>({
<InputWithAddons
placeholder="Search"
leading={<Search size={14} className="text-foreground-lighter" />}
- containerClassName="h-8 rounded"
+ containerClassName="h-8 rounded-sm"
value={inputValue}
trailing={isFetchingFacetCount ? <Loader2 size={12} className="animate-spin" /> : undefined}
onChange={(e) => setInputValue(e.target.value)}
/>
- <div className="max-h-[200px] overflow-y-auto rounded border border-border empty:border-none">
+ <div className="max-h-[200px] overflow-y-auto rounded-sm border border-border empty:border-none">
{filterOptions.length === 0 ? (
<div className="flex items-center justify-center px-2 py-3 text-center">
<div className="space-y-0.5">
@@ -120,8 +120,8 @@ export function DataTableFilterCheckboxAsync<TData>({
type="button"
onClick={() => column?.setFilterValue([option.value])}
className={cn(
- 'absolute inset-y-0 right-0 hidden font-normal text-muted-foreground backdrop-blur-sm hover:text-foreground group-hover:block',
- 'rounded-md ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2'
+ 'absolute inset-y-0 right-0 hidden font-normal text-muted-foreground backdrop-blur-xs hover:text-foreground group-hover:block',
+ 'rounded-md ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2'
)}
>
<span className="px-2">only</span>
diff --git a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxLoader.tsx b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxLoader.tsx
index 3c74d3ce878..4de1bf857ca 100644
--- a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxLoader.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxLoader.tsx
@@ -2,11 +2,11 @@ import { Skeleton } from 'ui'
export const DataTableFilterCheckboxLoader = () => {
return (
- <div className="grid divide-y rounded border border-border">
+ <div className="grid divide-y rounded-sm border border-border">
{Array.from({ length: 3 }).map((_, index) => (
<div key={index} className="flex items-center justify-between gap-2 px-2 py-2.5">
- <Skeleton className="h-4 w-4 rounded-sm" />
- <Skeleton className="h-4 w-full rounded-sm" />
+ <Skeleton className="h-4 w-4 rounded-xs" />
+ <Skeleton className="h-4 w-full rounded-xs" />
</div>
))}
</div>
diff --git a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCommand.tsx b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCommand.tsx
index b97e90ecc0c..dfd029010c0 100644
--- a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCommand.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCommand.tsx
@@ -115,7 +115,7 @@ export function DataTableFilterCommand({
<button
type="button"
className={cn(
- 'group flex w-full items-center rounded-lg border border-input bg-background px-3 text-muted-foreground ring-offset-background focus-within:outline-none focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 hover:bg-accent/50 hover:text-accent-foreground',
+ 'group flex w-full items-center rounded-lg border border-input bg-background px-3 text-muted-foreground ring-offset-background focus-within:outline-hidden focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 hover:bg-accent/50 hover:text-accent-foreground',
open ? 'hidden' : 'visible'
)}
onClick={() => setOpen(true)}
@@ -127,7 +127,7 @@ export function DataTableFilterCommand({
)}
<span
className={cn(
- 'h-9 w-full max-w-sm truncate py-3 text-left text-xs outline-none disabled:cursor-not-allowed disabled:opacity-50',
+ 'h-9 w-full max-w-sm truncate py-3 text-left text-xs outline-hidden disabled:cursor-not-allowed disabled:opacity-50',
'flex items-center md:max-w-xl lg:max-w-4xl xl:max-w-5xl',
trimmedInputValue ? 'text-foreground' : 'text-foreground-light'
)}
@@ -190,7 +190,7 @@ export function DataTableFilterCommand({
className="text-xs text-foreground"
/>
<div className="relative">
- <div className="absolute top-2 z-50 w-full overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-md outline-none animate-in">
+ <div className="absolute top-2 z-50 w-full overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-md outline-hidden animate-in">
{/* default height is 300px but in case of more, we'd like to tease the user */}
<CommandList className="max-h-[310px] bg-surface-100">
<CommandEmpty>No results found.</CommandEmpty>
@@ -302,7 +302,7 @@ export function DataTableFilterCommand({
className="group"
>
{item.search}
- <span className="ml-auto truncate text-muted-foreground/80 group-aria-[selected=true]:block">
+ <span className="ml-auto truncate text-muted-foreground/80 group-aria-selected:block">
{formatDistanceToNow(item.timestamp, {
addSuffix: true,
})}
@@ -319,7 +319,7 @@ export function DataTableFilterCommand({
// TODO: extract into function
setLastSearches(lastSearches.filter((i) => i.search !== item.search))
}}
- className="ml-1 hidden rounded-md p-0.5 hover:bg-background group-aria-[selected=true]:block"
+ className="ml-1 hidden rounded-md p-0.5 hover:bg-background group-aria-selected:block"
>
<X className="h-4 w-4" />
</button>
@@ -373,7 +373,7 @@ export function DataTableFilterCommand({
function CommandItemSuggestions<TData>({ field }: { field: DataTableFilterField<TData> }) {
const { table, getFacetedMinMaxValues, getFacetedUniqueValues } = useDataTable()
const value = field.value as string
- const className = 'ml-2 hidden truncate text-foreground-lighter group-aria-[selected=true]:block'
+ const className = 'ml-2 hidden truncate text-foreground-lighter group-aria-selected:block'
switch (field.type) {
case 'checkbox': {
diff --git a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterControls.tsx b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterControls.tsx
index 8726f14a1b2..601369a89ad 100644
--- a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterControls.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterControls.tsx
@@ -39,7 +39,7 @@ export function DataTableFilterControls({
const value = field.value as string
return (
<AccordionItem key={value} value={value} className="border-none">
- <AccordionTrigger className="w-full px-2 py-0 hover:no-underline data-[state=closed]:text-muted-foreground data-[state=open]:text-foreground focus-within:data-[state=closed]:text-foreground hover:data-[state=closed]:text-foreground">
+ <AccordionTrigger className="w-full px-2 py-0 hover:no-underline data-[state=closed]:text-muted-foreground data-open:text-foreground focus-within:data-closed:text-foreground hover:data-closed:text-foreground">
<div className="flex w-full items-center justify-between gap-2 truncate py-2 pr-2">
<div className="flex items-center gap-2 truncate">
<p className="text-sm">{field.label}</p>
diff --git a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterInput.tsx b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterInput.tsx
index 435c4256f4c..e312cc4b634 100644
--- a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterInput.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterInput.tsx
@@ -41,7 +41,7 @@ export function DataTableFilterInput<TData>({ value: _value }: DataTableInputFil
<InputWithAddons
placeholder="Search"
leading={<Search className="h-4 w-4" />}
- containerClassName="h-9 rounded"
+ containerClassName="h-9 rounded-sm"
name={value}
id={value}
value={input || ''}
diff --git a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterResetButton.tsx b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterResetButton.tsx
index 40c3f5e8156..db3857902ef 100644
--- a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterResetButton.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterResetButton.tsx
@@ -17,7 +17,7 @@ export function DataTableFilterResetButton<TData>({ value: _value }: DataTableFi
<Button
type="outline"
icon={<X />}
- className="h-5 rounded-full px-1.5 py-1 font-mono text-[10px] [&>span]:-translate-y-[0.6px] space-x-1"
+ className="h-5 rounded-full px-1.5 py-1 font-mono text-[10px] [&>span]:translate-y-[-0.6px] space-x-1"
onClick={(e) => {
e.stopPropagation()
column?.setFilterValue(undefined)
diff --git a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterSlider.tsx b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterSlider.tsx
index 43858468e66..549de16cd63 100644
--- a/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterSlider.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterSlider.tsx
@@ -60,7 +60,7 @@ export function DataTableFilterSlider<TData>({
<InputWithAddons
placeholder="from"
trailing="ms"
- containerClassName="mb-2 h-9 rounded"
+ containerClassName="mb-2 h-9 rounded-sm"
type="number"
name={`min-${value}`}
id={`min-${value}`}
@@ -77,7 +77,7 @@ export function DataTableFilterSlider<TData>({
<InputWithAddons
placeholder="to"
trailing="ms"
- containerClassName="mb-2 h-9 rounded"
+ containerClassName="mb-2 h-9 rounded-sm"
type="number"
name={`max-${value}`}
id={`max-${value}`}
diff --git a/apps/studio/components/ui/DataTable/DataTableInfinite.tsx b/apps/studio/components/ui/DataTable/DataTableInfinite.tsx
index c50847f93ab..fc71b076984 100644
--- a/apps/studio/components/ui/DataTable/DataTableInfinite.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableInfinite.tsx
@@ -146,7 +146,7 @@ export function DataTableInfinite<TData, TValue, TMeta>({
{/* Only show load more section if we have rows OR if we're not in initial loading state */}
{(rows.length > 0 || (!isLoading && !rows.length)) && (
<TableRow className="hover:bg-transparent data-[state=selected]:bg-transparent">
- <TableCell colSpan={columns.length} className="text-center !py-2">
+ <TableCell colSpan={columns.length} className="text-center py-2!">
{hasNextPage || isFetching ? (
<div className="flex flex-col items-center gap-2">
<Button
diff --git a/apps/studio/components/ui/DataTable/DataTableSheetRowAction.tsx b/apps/studio/components/ui/DataTable/DataTableSheetRowAction.tsx
index 210ce495fc3..69c9d0283a2 100644
--- a/apps/studio/components/ui/DataTable/DataTableSheetRowAction.tsx
+++ b/apps/studio/components/ui/DataTable/DataTableSheetRowAction.tsx
@@ -152,7 +152,7 @@ export function DataTableSheetRowAction<TData, TFields extends DataTableFilterFi
<DropdownMenu>
<DropdownMenuTrigger
className={cn(
- 'rounded-md ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
+ 'rounded-md ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
'relative',
className
)}
diff --git a/apps/studio/components/ui/DataTable/LiveRow.tsx b/apps/studio/components/ui/DataTable/LiveRow.tsx
index 3ee25ff6823..1b1305dd7ac 100644
--- a/apps/studio/components/ui/DataTable/LiveRow.tsx
+++ b/apps/studio/components/ui/DataTable/LiveRow.tsx
@@ -3,7 +3,7 @@ import { TableCell, TableRow } from 'ui'
export function LiveRow({ colSpan }: { colSpan: number }) {
return (
<TableRow>
- <TableCell className="relative w-[--header-level-size] min-w-[--header-level-size] max-w-[--header-level-size] border-b border-r border-t border-info">
+ <TableCell className="relative w-(--header-level-size) min-w-(--header-level-size) max-w-(--header-level-size) border-b border-r border-t border-info">
<div className="flex items-center justify-center">
<span className="absolute inline-flex h-2.5 w-2.5 animate-ping rounded-full bg-brand opacity-75"></span>
<span className="relative inline-flex h-2.5 w-2.5 rounded-full bg-brand"></span>
diff --git a/apps/studio/components/ui/DataTable/Table.tsx b/apps/studio/components/ui/DataTable/Table.tsx
index ab2ab23c958..1d407c9fd05 100644
--- a/apps/studio/components/ui/DataTable/Table.tsx
+++ b/apps/studio/components/ui/DataTable/Table.tsx
@@ -31,7 +31,7 @@ export const TableHeader = forwardRef<
HTMLTableSectionElement,
ComponentPropsWithRef<typeof ShadcnTableHeader>
>(({ className, ...props }, ref) => (
- <ShadcnTableHeader ref={ref} className={cn('sticky top-0 z-[1]', className)} {...props} />
+ <ShadcnTableHeader ref={ref} className={cn('sticky top-0 z-1', className)} {...props} />
))
TableHeader.displayName = 'TableHeader'
@@ -76,9 +76,9 @@ export const TableHead = forwardRef<
<ShadcnTableHead
ref={ref}
className={cn(
- '!text-xs !font-normal text-foreground-lighter font-mono',
+ 'text-xs! font-normal! text-foreground-lighter font-mono',
'relative select-none truncate [&>.cursor-col-resize]:last:opacity-0',
- 'text-muted-foreground h-8 px-2 text-left align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
+ 'text-muted-foreground h-8 px-2 text-left align-middle [&:has([role=checkbox])]:pr-0 *:[[role=checkbox]]:translate-y-[2px]',
className
)}
{...props}
@@ -92,7 +92,7 @@ export const TableCell = forwardRef<
>(({ className, ...props }, ref) => (
<ShadcnTableCell
ref={ref}
- className={cn('text-xs !py-1 p-2 [&>[role=checkbox]]:translate-y-[2px] truncate', className)}
+ className={cn('text-xs py-1! p-2 *:[[role=checkbox]]:translate-y-[2px] truncate', className)}
{...props}
/>
))
diff --git a/apps/studio/components/ui/DataTable/primitives/InputWithAddons.tsx b/apps/studio/components/ui/DataTable/primitives/InputWithAddons.tsx
index c43f5b4a5d7..fa538f085c4 100644
--- a/apps/studio/components/ui/DataTable/primitives/InputWithAddons.tsx
+++ b/apps/studio/components/ui/DataTable/primitives/InputWithAddons.tsx
@@ -12,8 +12,8 @@ export const InputWithAddons = forwardRef<HTMLInputElement, InputWithAddonsProps
return (
<div
className={cn(
- 'group border-input ring-offset-background flex h-10 w-full rounded border bg-transparent text-sm overflow-hidden',
- 'focus-within:ring-ring focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2',
+ 'group border-input ring-offset-background flex h-10 w-full rounded-sm border bg-transparent text-sm overflow-hidden',
+ 'focus-within:ring-ring focus-within:outline-hidden focus-within:ring-2 focus-within:ring-offset-2',
containerClassName
)}
>
@@ -22,7 +22,7 @@ export const InputWithAddons = forwardRef<HTMLInputElement, InputWithAddonsProps
) : null}
<input
className={cn(
- 'bg-transparent w-full px-0 py-2 focus:outline-none border-0 placeholder:text-foreground-lighter ',
+ 'bg-transparent w-full px-0 py-2 focus:outline-hidden border-0 placeholder:text-foreground-lighter ',
'disabled:cursor-not-allowed disabled:opacity-50 text-[0.75rem]',
className
)}
diff --git a/apps/studio/components/ui/DataTable/primitives/Kbd.tsx b/apps/studio/components/ui/DataTable/primitives/Kbd.tsx
index afbd52e7421..e8f1940ce26 100644
--- a/apps/studio/components/ui/DataTable/primitives/Kbd.tsx
+++ b/apps/studio/components/ui/DataTable/primitives/Kbd.tsx
@@ -3,7 +3,7 @@ import { ComponentPropsWithoutRef, forwardRef } from 'react'
import { cn } from 'ui'
export const kdbClassName = cn(
- 'select-none rounded border px-1.5 py-px font-mono text-[0.7rem] font-normal font-mono shadow-sm disabled:opacity-50',
+ 'select-none rounded-sm border px-1.5 py-px font-mono text-[0.7rem] font-normal font-mono shadow-xs disabled:opacity-50',
'bg-background text-foreground'
)
diff --git a/apps/studio/components/ui/DataTable/primitives/Slider.tsx b/apps/studio/components/ui/DataTable/primitives/Slider.tsx
index 0c85558cf8c..a5ab8302b15 100644
--- a/apps/studio/components/ui/DataTable/primitives/Slider.tsx
+++ b/apps/studio/components/ui/DataTable/primitives/Slider.tsx
@@ -22,7 +22,7 @@ export const Slider = forwardRef<
</SliderPrimitive.Track>
{initialValue.map((_, index) => (
<Fragment key={index}>
- <SliderPrimitive.Thumb className="block h-4 w-4 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" />
+ <SliderPrimitive.Thumb className="block h-4 w-4 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" />
</Fragment>
))}
</SliderPrimitive.Root>
diff --git a/apps/studio/components/ui/DatePicker/TimeSplitInput.tsx b/apps/studio/components/ui/DatePicker/TimeSplitInput.tsx
index 372ad23a3ff..6851e41d356 100644
--- a/apps/studio/components/ui/DatePicker/TimeSplitInput.tsx
+++ b/apps/studio/components/ui/DatePicker/TimeSplitInput.tsx
@@ -10,7 +10,7 @@ import {
} from '@/components/interfaces/Settings/Logs/Logs.utils'
const inputStyle = cn(
- 'w-6 p-0 text-center text-xs text-foreground outline-none cursor-text',
+ 'w-6 p-0 text-center text-xs text-foreground outline-hidden cursor-text',
'ring-0 focus:ring-0 ring-none border-none bg-transparent'
)
@@ -230,7 +230,7 @@ export const TimeSplitInput = ({
<div
className={`
flex h-7 items-center justify-center
- gap-0 rounded border border-strong bg-surface-100 text-xs text-foreground-light
+ gap-0 rounded-sm border border-strong bg-surface-100 text-xs text-foreground-light
${focus && ' border-stronger outline outline-2 outline-border'}
hover:border-stronger transition-colors
`}
diff --git a/apps/studio/components/ui/DevToolbar/ResourceWarningsTab.tsx b/apps/studio/components/ui/DevToolbar/ResourceWarningsTab.tsx
index 87ca4951cf1..328112f4798 100644
--- a/apps/studio/components/ui/DevToolbar/ResourceWarningsTab.tsx
+++ b/apps/studio/components/ui/DevToolbar/ResourceWarningsTab.tsx
@@ -217,7 +217,7 @@ const SeverityButton = ({ active, variant, onClick, children }: SeverityButtonPr
<button
onClick={onClick}
className={cn(
- 'px-1.5 py-0.5 rounded text-xs font-mono transition border',
+ 'px-1.5 py-0.5 rounded-sm text-xs font-mono transition border',
active
? variant === 'off'
? 'bg-surface-300 text-foreground border-strong'
diff --git a/apps/studio/components/ui/DotGrid.tsx b/apps/studio/components/ui/DotGrid.tsx
index 1e1f0267257..d0446ff1450 100644
--- a/apps/studio/components/ui/DotGrid.tsx
+++ b/apps/studio/components/ui/DotGrid.tsx
@@ -56,7 +56,7 @@ export const DotGrid = ({ rows, columns, count }: DotGridProps) => {
<motion.div
key={index}
variants={item}
- className={`w-[1px] h-[1px] rounded-full bg-foreground`}
+ className={`w-px h-px rounded-full bg-foreground`}
/>
)
})}
diff --git a/apps/studio/components/ui/DropdownMenuItemTooltip.tsx b/apps/studio/components/ui/DropdownMenuItemTooltip.tsx
index 9cb8cba939f..28cfc1d28a3 100644
--- a/apps/studio/components/ui/DropdownMenuItemTooltip.tsx
+++ b/apps/studio/components/ui/DropdownMenuItemTooltip.tsx
@@ -17,7 +17,7 @@ export const DropdownMenuItemTooltip = forwardRef<
<DropdownMenuItem
ref={ref}
{...props}
- className={cn(props.className, '!pointer-events-auto')}
+ className={cn(props.className, 'pointer-events-auto!')}
onClick={(e) => {
if (!props.disabled && props.onClick) props.onClick(e)
}}
diff --git a/apps/studio/components/ui/EdgeFunctionBlock/EdgeFunctionBlock.tsx b/apps/studio/components/ui/EdgeFunctionBlock/EdgeFunctionBlock.tsx
index 5a81dd998e3..f50b9c9ad0e 100644
--- a/apps/studio/components/ui/EdgeFunctionBlock/EdgeFunctionBlock.tsx
+++ b/apps/studio/components/ui/EdgeFunctionBlock/EdgeFunctionBlock.tsx
@@ -144,7 +144,7 @@ export const EdgeFunctionBlock = ({
value={code}
language={'typescript' as CodeBlockLang}
className={cn(
- 'max-w-none block !bg-transparent !py-3 !px-3.5 prose dark:prose-dark border-0 text-foreground !rounded-none w-full',
+ 'max-w-none block bg-transparent! py-3! px-3.5! prose dark:prose-dark border-0 text-foreground rounded-none! w-full',
'[&>code]:m-0 [&>code>span]:text-foreground'
)}
/>
diff --git a/apps/studio/components/ui/EditorPanel/EditorPanel.tsx b/apps/studio/components/ui/EditorPanel/EditorPanel.tsx
index 5d6017f336c..9dcd3ba6dcc 100644
--- a/apps/studio/components/ui/EditorPanel/EditorPanel.tsx
+++ b/apps/studio/components/ui/EditorPanel/EditorPanel.tsx
@@ -272,7 +272,7 @@ export const EditorPanel = () => {
return (
<div className="flex h-full flex-col bg-background">
- <div className="border-b border-b-muted flex items-center justify-between gap-x-4 pl-4 pr-3 h-[var(--header-height)]">
+ <div className="border-b border-b-muted flex items-center justify-between gap-x-4 pl-4 pr-3 h-(--header-height)">
{isEditingTitle ? (
<input
ref={titleInputRef}
@@ -283,7 +283,7 @@ export const EditorPanel = () => {
if (e.key === 'Enter') commitRename()
if (e.key === 'Escape') setIsEditingTitle(false)
}}
- className="text-xs bg-transparent border-b border-foreground-lighter outline-none w-48 py-0.5"
+ className="text-xs bg-transparent border-b border-foreground-lighter outline-hidden w-48 py-0.5"
autoFocus
/>
) : (
diff --git a/apps/studio/components/ui/EmptyListState.tsx b/apps/studio/components/ui/EmptyListState.tsx
index 5374a3da1eb..eed7306b7bf 100644
--- a/apps/studio/components/ui/EmptyListState.tsx
+++ b/apps/studio/components/ui/EmptyListState.tsx
@@ -2,8 +2,8 @@ export const EmptyListState = ({ title, description }: { title: string; descript
return (
<div className="flex flex-col items-center justify-center gap-6 text-center">
<div className="flex flex-col gap-1">
- <div className="relative flex h-4 w-32 items-center justify-center rounded border border-dashed px-2" />
- <div className="relative flex h-4 w-32 items-center justify-center rounded border border-dashed px-2" />
+ <div className="relative flex h-4 w-32 items-center justify-center rounded-sm border border-dashed px-2" />
+ <div className="relative flex h-4 w-32 items-center justify-center rounded-sm border border-dashed px-2" />
</div>
<div className="flex flex-col gap-1 px-5">
<h3 className="text-foreground text-sm">{title}</h3>
diff --git a/apps/studio/components/ui/FeaturePreviewSidebarPanel.tsx b/apps/studio/components/ui/FeaturePreviewSidebarPanel.tsx
index b736f8092df..9f3fe145df6 100644
--- a/apps/studio/components/ui/FeaturePreviewSidebarPanel.tsx
+++ b/apps/studio/components/ui/FeaturePreviewSidebarPanel.tsx
@@ -22,7 +22,7 @@ export function FeaturePreviewSidebarPanel({
'rounded-lg border p-4 space-y-3',
'bg-muted/10 border-border/50',
// Force left alignment and override any centering
- 'text-left [&_*]:text-left [&_div]:items-start',
+ 'text-left **:text-left [&_div]:items-start',
className
)}
>
diff --git a/apps/studio/components/ui/Forms/FormHeader.tsx b/apps/studio/components/ui/Forms/FormHeader.tsx
index 29da82179db..a77d8e3ac9f 100644
--- a/apps/studio/components/ui/Forms/FormHeader.tsx
+++ b/apps/studio/components/ui/Forms/FormHeader.tsx
@@ -19,7 +19,7 @@ export const FormHeader = ({
return (
<div
className={cn(
- `w-full mb-6 flex flex-col sm:flex-row md:items-center justify-between gap-4 md:h-[var(--header-height)] ${className}`
+ `w-full mb-6 flex flex-col sm:flex-row md:items-center justify-between gap-4 md:h-(--header-height) ${className}`
)}
>
<div className="space-y-1">
diff --git a/apps/studio/components/ui/Forms/FormPanel.tsx b/apps/studio/components/ui/Forms/FormPanel.tsx
index 8d292bfc413..96e9bcc898f 100644
--- a/apps/studio/components/ui/Forms/FormPanel.tsx
+++ b/apps/studio/components/ui/Forms/FormPanel.tsx
@@ -26,7 +26,7 @@ export const FormPanelContainer = forwardRef<HTMLDivElement, HTMLAttributes<HTML
ref={ref}
{...props}
className={cn(
- 'bg-surface-100 border overflow-hidden rounded-md shadow max-w-full',
+ 'bg-surface-100 border overflow-hidden rounded-md shadow-sm max-w-full',
props.className
)}
>
diff --git a/apps/studio/components/ui/Forms/FormSection.tsx b/apps/studio/components/ui/Forms/FormSection.tsx
index 045b7b5ef0b..97b48fcfbe0 100644
--- a/apps/studio/components/ui/Forms/FormSection.tsx
+++ b/apps/studio/components/ui/Forms/FormSection.tsx
@@ -56,9 +56,9 @@ export const FormSectionLabel = ({
const Shimmer = () => (
<div className="flex w-full flex-col gap-2">
- <div className="shimmering-loader h-2 w-1/3 rounded"></div>
+ <div className="shimmering-loader h-2 w-1/3 rounded-sm"></div>
<div className="flex flex-col justify-between space-y-2">
- <div className="shimmering-loader h-[34px] w-2/3 rounded" />
+ <div className="shimmering-loader h-[34px] w-2/3 rounded-sm" />
</div>
</div>
)
@@ -80,7 +80,7 @@ export const FormSectionContent = ({
<div
className={`
relative col-span-12 flex flex-col gap-6 @lg:col-span-7
- ${fullWidth && '!col-span-12'}
+ ${fullWidth && 'col-span-12!'}
${className}
`}
>
diff --git a/apps/studio/components/ui/FunctionSelector.tsx b/apps/studio/components/ui/FunctionSelector.tsx
index e9ad159ea98..ebfc735f4cb 100644
--- a/apps/studio/components/ui/FunctionSelector.tsx
+++ b/apps/studio/components/ui/FunctionSelector.tsx
@@ -87,7 +87,7 @@ const FunctionSelector = ({
)}
{showError && isError && (
- <Alert_Shadcn_ variant="warning" className="!px-3 !py-3">
+ <Alert_Shadcn_ variant="warning" className="px-3! py-3!">
<AlertTitle_Shadcn_ className="text-xs text-amber-900">
Failed to load functions
</AlertTitle_Shadcn_>
diff --git a/apps/studio/components/ui/GrafanaPromoBanner.tsx b/apps/studio/components/ui/GrafanaPromoBanner.tsx
index 993cd5f4021..9615d24d3f0 100644
--- a/apps/studio/components/ui/GrafanaPromoBanner.tsx
+++ b/apps/studio/components/ui/GrafanaPromoBanner.tsx
@@ -20,7 +20,7 @@ const GrafanaPromoBanner = () => (
alt="Supabase Grafana"
className="w-full h-full object-cover object-right dark:hidden"
/>
- <div className="absolute inset-0 bg-gradient-to-r from-background-alternative to-transparent" />
+ <div className="absolute inset-0 bg-linear-to-r from-background-alternative to-transparent" />
</div>
<svg
width="78"
diff --git a/apps/studio/components/ui/HelpPanel/HelpPanel.tsx b/apps/studio/components/ui/HelpPanel/HelpPanel.tsx
index e206e13a4ba..b38bedef22a 100644
--- a/apps/studio/components/ui/HelpPanel/HelpPanel.tsx
+++ b/apps/studio/components/ui/HelpPanel/HelpPanel.tsx
@@ -31,7 +31,7 @@ export const HelpPanel = ({
return (
<div className="space-y-4">
- <div className="flex text-xs items-center justify-between pl-4 pr-3 h-[var(--header-height)] border-b">
+ <div className="flex text-xs items-center justify-between pl-4 pr-3 h-(--header-height) border-b">
<span>Help & Support</span>
<ButtonTooltip
type="text"
@@ -65,7 +65,7 @@ export const HelpPanel = ({
</div>
<div className="px-4">
<div
- className="relative space-y-2 overflow-hidden rounded px-4 py-4 pb-12 shadow-md"
+ className="relative space-y-2 overflow-hidden rounded-sm px-4 py-4 pb-12 shadow-md"
style={{ background: '#404EED' }}
>
<a
diff --git a/apps/studio/components/ui/Logs/ChartIntervalDropdown.tsx b/apps/studio/components/ui/Logs/ChartIntervalDropdown.tsx
index 71bc5f1e000..97be9defa6e 100644
--- a/apps/studio/components/ui/Logs/ChartIntervalDropdown.tsx
+++ b/apps/studio/components/ui/Logs/ChartIntervalDropdown.tsx
@@ -58,7 +58,7 @@ export const ChartIntervalDropdown = ({
return (
<Tooltip key={i.key}>
<TooltipTrigger asChild>
- <DropdownMenuRadioItem disabled value={i.key} className="!pointer-events-auto">
+ <DropdownMenuRadioItem disabled value={i.key} className="pointer-events-auto!">
{i.label}
</DropdownMenuRadioItem>
</TooltipTrigger>
diff --git a/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx b/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx
index b0fbb5d5965..5e6cf2c0caa 100644
--- a/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx
+++ b/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx
@@ -28,7 +28,7 @@ const LogsExplorerHeader = ({ subtitle }: LogsExplorerHeaderProps) => {
<div className="flex flex-col md:flex-row md:items-center gap-4 md:gap-8 transition-all pb-6 justify-between">
<div className="flex flex-col md:flex-row md:items-center gap-3">
<div className="flex flex-row items-center gap-3">
- <div className="flex h-6 w-6 items-center justify-center rounded border border-brand-600 bg-brand-300 text-brand">
+ <div className="flex h-6 w-6 items-center justify-center rounded-sm border border-brand-600 bg-brand-300 text-brand">
<List size={14} strokeWidth={3} />
</div>
@@ -81,7 +81,7 @@ const LogsExplorerHeader = ({ subtitle }: LogsExplorerHeaderProps) => {
unnesting joins
<ExternalLink
size={14}
- className="ml-1 inline -translate-y-[2px]"
+ className="ml-1 inline translate-y-[-2px]"
strokeWidth={1.5}
/>
</Link>
@@ -105,10 +105,10 @@ const LogsExplorerHeader = ({ subtitle }: LogsExplorerHeaderProps) => {
>
<Table
head={[
- <Table.th className="text-xs !p-2" key="path">
+ <Table.th className="text-xs p-2!" key="path">
Path
</Table.th>,
- <Table.th key="type" className="text-xs !p-2">
+ <Table.th key="type" className="text-xs p-2!">
Type
</Table.th>,
]}
@@ -142,7 +142,7 @@ const Field = ({
return (
<Table.tr>
<Table.td
- className="font-mono text-xs !p-2 cursor-pointer hover:text-foreground transition flex items-center space-x-2"
+ className="font-mono text-xs p-2! cursor-pointer hover:text-foreground transition flex items-center space-x-2"
onClick={() =>
copyToClipboard(field.path, () => {
setIsCopied(true)
@@ -171,7 +171,7 @@ const Field = ({
</Tooltip>
)}
</Table.td>
- <Table.td className="font-mono text-xs !p-2">{field.type}</Table.td>
+ <Table.td className="font-mono text-xs p-2!">{field.type}</Table.td>
</Table.tr>
)
}
diff --git a/apps/studio/components/ui/OrganizationProjectSelector.tsx b/apps/studio/components/ui/OrganizationProjectSelector.tsx
index 094cac353ca..cadf884ad58 100644
--- a/apps/studio/components/ui/OrganizationProjectSelector.tsx
+++ b/apps/studio/components/ui/OrganizationProjectSelector.tsx
@@ -238,7 +238,7 @@ export const OrganizationProjectSelector = ({
<CommandList_Shadcn_
className={
embedded
- ? 'flex-1 min-h-0 overflow-y-auto overflow-x-hidden !max-h-none'
+ ? 'flex-1 min-h-0 overflow-y-auto overflow-x-hidden max-h-none!'
: 'max-h-none md:max-h-[300px] overflow-y-auto overflow-x-hidden'
}
>
diff --git a/apps/studio/components/ui/Panel.tsx b/apps/studio/components/ui/Panel.tsx
index 8bb3a4db6f2..039b90bdc00 100644
--- a/apps/studio/components/ui/Panel.tsx
+++ b/apps/studio/components/ui/Panel.tsx
@@ -23,7 +23,7 @@ function Panel(props: PropsWithChildren<PanelProps>) {
<div
className={cn(
'bg-surface-100',
- 'rounded-md border shadow-sm',
+ 'rounded-md border shadow-xs',
props.noHideOverflow ? '' : 'overflow-hidden',
props.noMargin ? '' : 'mb-4 md:mb-8',
props.className
@@ -95,12 +95,12 @@ const PanelNotice = forwardRef<
{...props}
className={cn(
'relative px-card py-5 bg-studio flex flex-col lg:flex-row lg:justify-between gap-6 overflow-hidden lg:items-center',
- layout === 'vertical' && '!flex-col !items-start gap-y-2',
+ layout === 'vertical' && 'flex-col! items-start! gap-y-2',
className
)}
>
<div
- className="absolute inset-0 -mt-[5px]"
+ className="absolute inset-0 mt-[-5px]"
style={{
backgroundImage: `
linear-gradient(to right, hsl(var(--background-200)/1) 0%, hsl(var(--background-200)/1) 30%, hsl(var(--background-200)/0) 100%),
diff --git a/apps/studio/components/ui/PasswordStrengthBar.tsx b/apps/studio/components/ui/PasswordStrengthBar.tsx
index 74a207b35e9..3d5600adf1f 100644
--- a/apps/studio/components/ui/PasswordStrengthBar.tsx
+++ b/apps/studio/components/ui/PasswordStrengthBar.tsx
@@ -24,7 +24,7 @@ export const PasswordStrengthBar = ({
aria-valuenow={PASSWORD_STRENGTH_PERCENTAGE[passwordStrengthScore]}
aria-valuetext={`${PASSWORD_STRENGTH_PERCENTAGE[passwordStrengthScore]}%`}
role="progressbar"
- className="mb-2 overflow-hidden transition-all border rounded bg-200 w-full"
+ className="mb-2 overflow-hidden transition-all border rounded-sm bg-200 w-full"
>
<div
style={{
diff --git a/apps/studio/components/ui/ProductMenu/ProductMenuItem.tsx b/apps/studio/components/ui/ProductMenu/ProductMenuItem.tsx
index f4c5ea28185..eb751c6891e 100644
--- a/apps/studio/components/ui/ProductMenu/ProductMenuItem.tsx
+++ b/apps/studio/components/ui/ProductMenu/ProductMenuItem.tsx
@@ -49,7 +49,7 @@ export const ProductMenuItem = ({
if (url) {
if (isExternal) {
return (
- <Button asChild block className="!justify-start" type="text" size="small" icon={icon}>
+ <Button asChild block className="justify-start!" type="text" size="small" icon={icon}>
<Link href={url} target="_blank" rel="noreferrer">
{name}
</Link>
diff --git a/apps/studio/components/ui/ProjectSettings/DisplayApiSettings.tsx b/apps/studio/components/ui/ProjectSettings/DisplayApiSettings.tsx
index a5fa6984e8c..353c449308e 100644
--- a/apps/studio/components/ui/ProjectSettings/DisplayApiSettings.tsx
+++ b/apps/studio/components/ui/ProjectSettings/DisplayApiSettings.tsx
@@ -128,7 +128,7 @@ export const DisplayApiSettings = ({
key={x.api_key}
className={
i >= 1 &&
- 'border-t border-panel-border-interior-light [[data-theme*=dark]_&]:border-panel-border-interior-dark'
+ 'border-t border-panel-border-interior-light in-data-[theme*=dark]:border-panel-border-interior-dark'
}
>
<FormLayout
@@ -142,7 +142,7 @@ export const DisplayApiSettings = ({
))}
{x.tags === 'service_role' && (
<>
- <code className="text-code-inline !bg-destructive !text-white !border-destructive">
+ <code className="text-code-inline bg-destructive! text-white! border-destructive!">
secret
</code>
</>
diff --git a/apps/studio/components/ui/ProjectSettings/DisplayConfigSettings.tsx b/apps/studio/components/ui/ProjectSettings/DisplayConfigSettings.tsx
index f6b4e1f09ed..24fcf4cb503 100644
--- a/apps/studio/components/ui/ProjectSettings/DisplayConfigSettings.tsx
+++ b/apps/studio/components/ui/ProjectSettings/DisplayConfigSettings.tsx
@@ -66,7 +66,7 @@ export const DisplayConfigSettings = () => {
layout="horizontal"
/>
</Panel.Content>
- <Panel.Content className="border-t border-panel-border-interior-light [[data-theme*=dark]_&]:border-panel-border-interior-dark">
+ <Panel.Content className="border-t border-panel-border-interior-light in-data-[theme*=dark]:border-panel-border-interior-dark">
<Input
label="JWT Secret"
readOnly
diff --git a/apps/studio/components/ui/QueryBlock/QueryBlock.tsx b/apps/studio/components/ui/QueryBlock/QueryBlock.tsx
index df6159a24a3..2b4283a7522 100644
--- a/apps/studio/components/ui/QueryBlock/QueryBlock.tsx
+++ b/apps/studio/components/ui/QueryBlock/QueryBlock.tsx
@@ -237,7 +237,7 @@ export const QueryBlock = ({
{showSql && (
<div
className={cn(
- 'shrink-0 grow-1 w-full h-full overflow-y-auto overscroll-contain max-h-[min(300px, 100%)]',
+ 'shrink-0 grow w-full h-full overflow-y-auto overscroll-contain max-h-[min(300px, 100%)]',
{
'border-b': results !== undefined,
}
@@ -249,7 +249,7 @@ export const QueryBlock = ({
value={sql}
language="sql"
className={cn(
- 'max-w-none block !bg-transparent !py-3 !px-3.5 prose dark:prose-dark border-0 text-foreground !rounded-none w-full',
+ 'max-w-none block bg-transparent! py-3! px-3.5! prose dark:prose-dark border-0 text-foreground rounded-none! w-full',
'[&>code]:m-0 [&>code>span]:text-foreground'
)}
/>
diff --git a/apps/studio/components/ui/Resource/ResourceItem.tsx b/apps/studio/components/ui/Resource/ResourceItem.tsx
index d4f612a66d7..73bddce051d 100644
--- a/apps/studio/components/ui/Resource/ResourceItem.tsx
+++ b/apps/studio/components/ui/Resource/ResourceItem.tsx
@@ -30,7 +30,7 @@ export const ResourceItem = forwardRef<HTMLDivElement, ResourceItemProps>(
ref={ref}
className={cn(
'flex items-center justify-between text-sm gap-4',
- '!border-b-0',
+ 'border-b-0!',
onClick && 'cursor-pointer transition-colors duration-150 hover:bg-surface-200',
className
)}
diff --git a/apps/studio/components/ui/SchemaComboBox.tsx b/apps/studio/components/ui/SchemaComboBox.tsx
index c7115d67d27..caac063e000 100644
--- a/apps/studio/components/ui/SchemaComboBox.tsx
+++ b/apps/studio/components/ui/SchemaComboBox.tsx
@@ -79,11 +79,11 @@ export const SchemaComboBox = ({
)}
{showError && isSchemasError && (
- <Alert_Shadcn_ variant="warning" className="!px-3 !py-3">
+ <Alert_Shadcn_ variant="warning" className="px-3! py-3!">
<AlertTitle_Shadcn_ className="text-xs text-amber-900">
Failed to load schemas
</AlertTitle_Shadcn_>
- <AlertDescription_Shadcn_ className="text-xs mb-2 break-words">
+ <AlertDescription_Shadcn_ className="text-xs mb-2 wrap-break-word">
Error: {(schemasError as any)?.message}
</AlertDescription_Shadcn_>
<Button type="default" size="tiny" onClick={() => refetchSchemas()}>
diff --git a/apps/studio/components/ui/SchemaSelector.tsx b/apps/studio/components/ui/SchemaSelector.tsx
index 4c9462def50..958810a2578 100644
--- a/apps/studio/components/ui/SchemaSelector.tsx
+++ b/apps/studio/components/ui/SchemaSelector.tsx
@@ -91,11 +91,11 @@ export const SchemaSelector = ({
)}
{showError && isSchemasError && (
- <Alert_Shadcn_ variant="warning" className="!px-3 !py-3">
+ <Alert_Shadcn_ variant="warning" className="px-3! py-3!">
<AlertTitle_Shadcn_ className="text-xs text-amber-900">
Failed to load schemas
</AlertTitle_Shadcn_>
- <AlertDescription_Shadcn_ className="text-xs mb-2 break-words">
+ <AlertDescription_Shadcn_ className="text-xs mb-2 wrap-break-word">
Error: {(schemasError as any)?.message}
</AlertDescription_Shadcn_>
<Button type="default" size="tiny" onClick={() => refetchSchemas()}>
@@ -112,7 +112,7 @@ export const SchemaSelector = ({
disabled={disabled}
type="default"
data-testid="schema-selector"
- className={`w-full [&>span]:w-full !pr-1 space-x-1`}
+ className={`w-full [&>span]:w-full pr-1! space-x-1`}
iconRight={
<ChevronsUpDown className="text-foreground-muted" strokeWidth={2} size={14} />
}
diff --git a/apps/studio/components/ui/ScrollGradient.tsx b/apps/studio/components/ui/ScrollGradient.tsx
index 1a6c708201a..575abf0d410 100644
--- a/apps/studio/components/ui/ScrollGradient.tsx
+++ b/apps/studio/components/ui/ScrollGradient.tsx
@@ -36,7 +36,7 @@ export const ScrollGradient = ({ scrollRef, className = '', offset = 0 }: Scroll
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
transition={{ duration: 0.2 }}
- className={`absolute -top-24 left-0 right-0 h-24 bg-gradient-to-b from-transparent to-background-200 pointer-events-none ${className}`}
+ className={`absolute -top-24 left-0 right-0 h-24 bg-linear-to-b from-transparent to-background-200 pointer-events-none ${className}`}
/>
)}
</AnimatePresence>
diff --git a/apps/studio/components/ui/Shimmers.tsx b/apps/studio/components/ui/Shimmers.tsx
index 1aa9f0d8baf..5f958a6ad75 100644
--- a/apps/studio/components/ui/Shimmers.tsx
+++ b/apps/studio/components/ui/Shimmers.tsx
@@ -2,8 +2,8 @@ export const HorizontalShimmerWithIcon = () => (
<div className="flex w-full flex-row items-center justify-between gap-2">
<div className="flex flex-row items-center gap-3">
<div className="shimmering-loader h-6 w-6 rounded-full"></div>
- <div className="shimmering-loader h-2 w-32 rounded"></div>
+ <div className="shimmering-loader h-2 w-32 rounded-sm"></div>
</div>
- <div className="shimmering-loader h-6 w-20 rounded"></div>
+ <div className="shimmering-loader h-6 w-20 rounded-sm"></div>
</div>
)
diff --git a/apps/studio/components/ui/SparkBar.tsx b/apps/studio/components/ui/SparkBar.tsx
index af57cc554eb..dafbdbf8327 100644
--- a/apps/studio/components/ui/SparkBar.tsx
+++ b/apps/studio/components/ui/SparkBar.tsx
@@ -47,12 +47,12 @@ export const SparkBar = ({
</div>
)}
<div
- className={`relative rounded h-1 overflow-hidden w-full border p-0 ${
+ className={`relative rounded-sm h-1 overflow-hidden w-full border p-0 ${
bgClass ? bgClass : 'bg-surface-400'
} ${borderClass ? borderClass : 'border-none'}`}
>
<div
- className={`absolute rounded inset-x-0 bottom-0 h-1 ${barClass} transition-all`}
+ className={`absolute rounded-sm inset-x-0 bottom-0 h-1 ${barClass} transition-all`}
style={{ width: widthCss }}
></div>
</div>
@@ -65,7 +65,7 @@ export const SparkBar = ({
return (
<div
- className={`relative rounded w-5 overflow-hidden border p-1 ${
+ className={`relative rounded-sm w-5 overflow-hidden border p-1 ${
bgClass ? bgClass : 'bg-gray-400'
} ${borderClass ? borderClass : 'border-none'}`}
style={{ height: totalHeight }}
diff --git a/apps/studio/components/ui/SqlWarningAdmonition.tsx b/apps/studio/components/ui/SqlWarningAdmonition.tsx
index b7c9ed8a7ef..039c03c817f 100644
--- a/apps/studio/components/ui/SqlWarningAdmonition.tsx
+++ b/apps/studio/components/ui/SqlWarningAdmonition.tsx
@@ -33,7 +33,7 @@ export const SqlWarningAdmonition = ({
className={`mb-0 rounded-none border-0 shrink-0 bg-background-100 ${className}`}
>
{!!message && (
- <p className="text-xs !mb-1">
+ <p className="text-xs mb-1!">
{`${
warningType === 'hasWriteOperation'
? 'This query contains write operations.'
diff --git a/apps/studio/components/ui/TwoOptionToggle.tsx b/apps/studio/components/ui/TwoOptionToggle.tsx
index 1a3e331373c..247f5ea9d9e 100644
--- a/apps/studio/components/ui/TwoOptionToggle.tsx
+++ b/apps/studio/components/ui/TwoOptionToggle.tsx
@@ -20,7 +20,7 @@ const TwoOptionToggle = ({
) => `absolute top-0 z-1 text-xs inline-flex h-full items-center justify-center font-medium
${
isActive ? 'hover:text-foreground-light hover:text-foreground' : 'hover:text-foreground'
- } hover:text-foreground focus:z-10 focus:outline-none focus:border-blue-300 focus:ring-blue
+ } hover:text-foreground focus:z-10 focus:outline-hidden focus:border-blue-300 focus:ring-blue
transition ease-in-out duration-150`
return (
@@ -32,7 +32,7 @@ const TwoOptionToggle = ({
style={{ width, translate: activeOption === options[1] ? '0px' : `${width - 2}px` }}
aria-hidden="true"
className={cn(
- 'z-0 inline-block rounded h-full bg-overlay-hover shadow transform',
+ 'z-0 inline-block rounded-sm h-full bg-overlay-hover shadow-sm transform',
'transition-all ease-in-out border border-strong'
)}
></span>
diff --git a/apps/studio/data/reports/database-charts.ts b/apps/studio/data/reports/database-charts.ts
index 007b768f404..ddd1eea05e4 100644
--- a/apps/studio/data/reports/database-charts.ts
+++ b/apps/studio/data/reports/database-charts.ts
@@ -454,7 +454,7 @@ export const getReportAttributesV2: (
strokeDasharray: '4 2',
label: 'Spend cap enabled',
value: diskConfig?.attributes?.size_gb! * 1024 * 1024 * 1024,
- className: '[&_line]:!stroke-yellow-800 [&_line]:!opacity-100',
+ className: '[&_line]:stroke-yellow-800! [&_line]:opacity-100!',
opacity: 1,
}
: {
@@ -462,7 +462,7 @@ export const getReportAttributesV2: (
provider: 'reference-line',
isReferenceLine: true,
label: '90% - Disk resize threshold',
- className: '[&_line]:!stroke-yellow-800',
+ className: '[&_line]:stroke-yellow-800!',
value: diskConfig?.attributes?.size_gb! * 1024 * 1024 * 1024 * 0.9,
}),
],
diff --git a/apps/studio/data/table-rows/table-row-delete-mutation.tsx b/apps/studio/data/table-rows/table-row-delete-mutation.tsx
index 19b1d8db1e4..f0e9aa7879c 100644
--- a/apps/studio/data/table-rows/table-row-delete-mutation.tsx
+++ b/apps/studio/data/table-rows/table-row-delete-mutation.tsx
@@ -103,7 +103,7 @@ export const useTableRowDeleteMutation = ({
toast(initialMessage, {
description: <Markdown content={resolutionCTA} className="[&>p]:m-0" />,
action: (
- <div className="w-full flex gap-x-2 !mx-0 mt-3">
+ <div className="w-full flex gap-x-2 mx-0! mt-3">
{/* [Joshen] Ideally we also are able to add this CTA but we can't guarantee this info without an on-demand fetch */}
{/* <Button asChild key="cta-1" type="default">
<Link href={`/project/${projectRef}/editor`}>
diff --git a/apps/studio/package.json b/apps/studio/package.json
index 31144c6bd89..331f96e4cb1 100644
--- a/apps/studio/package.json
+++ b/apps/studio/package.json
@@ -151,7 +151,6 @@
"@radix-ui/react-use-escape-keydown": "^1.1.1",
"@smithy/property-provider": "^4.0.4",
"@supabase/postgres-meta": "^0.64.4",
- "@tailwindcss/container-queries": "^0.1.1",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.6.0",
"@testing-library/react": "^16.0.0",
diff --git a/apps/studio/pages/404.tsx b/apps/studio/pages/404.tsx
index d7a5b2298b3..4e3294aac23 100644
--- a/apps/studio/pages/404.tsx
+++ b/apps/studio/pages/404.tsx
@@ -40,8 +40,8 @@ const Error404: NextPage = ({}) => {
</nav>
</div>
<div
- className={`absolute select-none opacity-[5%] filter transition duration-200 ${
- show404 ? 'blur-sm' : 'blur-none'
+ className={`absolute select-none opacity-5 filter transition duration-200 ${
+ show404 ? 'blur-xs' : 'blur-none'
}`}
>
<h1 style={{ fontSize: '28rem' }}>404</h1>
diff --git a/apps/studio/pages/_app.tsx b/apps/studio/pages/_app.tsx
index f0757db7e08..c9cd956a011 100644
--- a/apps/studio/pages/_app.tsx
+++ b/apps/studio/pages/_app.tsx
@@ -12,7 +12,6 @@ import '@/styles/reactflow.css'
import '@/styles/storage.css'
import '@/styles/stripe.css'
import '@/styles/ui.css'
-import 'config/typography.css'
import 'ui-patterns/ShimmeringLoader/index.css'
import 'ui/build/css/themes/dark.css'
import 'ui/build/css/themes/light.css'
diff --git a/apps/studio/pages/account/security.tsx b/apps/studio/pages/account/security.tsx
index 002b751e2b3..5db12525323 100644
--- a/apps/studio/pages/account/security.tsx
+++ b/apps/studio/pages/account/security.tsx
@@ -30,9 +30,9 @@ const collapsibleClasses = [
'data-open:bg-surface-200',
'border-default',
'hover:border-strong data-open:border-strong',
- 'data-open:pb-px col-span-12 rounded',
+ 'data-open:pb-px col-span-12 rounded-sm',
'-space-y-px overflow-hidden',
- 'border shadow',
+ 'border shadow-sm',
'transition',
'hover:z-50',
]
@@ -63,7 +63,7 @@ const Security: NextPageWithLayout = () => {
<CollapsibleTrigger_Shadcn_ asChild>
<button
type="button"
- className="group flex w-full items-center justify-between rounded py-3 px-4 md:px-6 text-foreground"
+ className="group flex w-full items-center justify-between rounded-sm py-3 px-4 md:px-6 text-foreground"
>
<div className="flex flex-row gap-4 items-center py-1">
<Smartphone strokeWidth={1.5} />
diff --git a/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx b/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
index f24bbb298e1..6565696c7eb 100644
--- a/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
+++ b/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
@@ -308,7 +308,7 @@ const CreateProject = () => {
<div className="flex gap-2">
<img
alt="region icon"
- className="w-5 rounded-sm"
+ className="w-5 rounded-xs"
src={`${BASE_PATH}/img/regions/${Object.values(AWS_REGIONS)[i].code}.svg`}
/>
<span>{label}</span>
diff --git a/apps/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx b/apps/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx
index 73f30bcf58c..aa6de0620fe 100644
--- a/apps/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx
+++ b/apps/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx
@@ -117,7 +117,7 @@ const VercelIntegration: NextPageWithLayout = () => {
return (
<>
<ScaffoldContainer className="flex flex-col gap-6 grow py-8">
- <ScaffoldColumn className="!max-w-[900px] mx-auto w-full">
+ <ScaffoldColumn className="max-w-[900px]! mx-auto w-full">
<header>
<h2>Create your first Project Connection</h2>
<Markdown
diff --git a/apps/studio/pages/join.tsx b/apps/studio/pages/join.tsx
index a723ff3e8f8..cb63ecd6f5f 100644
--- a/apps/studio/pages/join.tsx
+++ b/apps/studio/pages/join.tsx
@@ -25,7 +25,7 @@ const JoinOrganizationPage: NextPageWithLayout = () => {
<>
<Link href="/projects" className="flex items-center justify-center gap-4">
{mounted && (
- <img src={imgUrl} alt="Supabase" className="block h-[24px] cursor-pointer rounded" />
+ <img src={imgUrl} alt="Supabase" className="block h-[24px] cursor-pointer rounded-sm" />
)}
</Link>
<OrganizationInvite />
diff --git a/apps/studio/pages/project/[ref]/advisors/performance.tsx b/apps/studio/pages/project/[ref]/advisors/performance.tsx
index c93c826d64f..8a05fe88874 100644
--- a/apps/studio/pages/project/[ref]/advisors/performance.tsx
+++ b/apps/studio/pages/project/[ref]/advisors/performance.tsx
@@ -63,7 +63,7 @@ const ProjectLints: NextPageWithLayout = () => {
return (
<div className="h-full flex flex-col">
<FormHeader
- className="py-4 px-6 !mb-0"
+ className="py-4 px-6 mb-0!"
title="Performance Advisor"
docsUrl={`${DOCS_URL}/guides/database/database-linter`}
/>
diff --git a/apps/studio/pages/project/[ref]/advisors/security.tsx b/apps/studio/pages/project/[ref]/advisors/security.tsx
index 3d9b9f60871..2902b3a22ca 100644
--- a/apps/studio/pages/project/[ref]/advisors/security.tsx
+++ b/apps/studio/pages/project/[ref]/advisors/security.tsx
@@ -66,7 +66,7 @@ const ProjectLints: NextPageWithLayout = () => {
return (
<div className="h-full flex flex-col">
<FormHeader
- className="py-4 px-6 !-mb-px"
+ className="py-4 px-6 -mb-px!"
title="Security Advisor"
docsUrl={`${DOCS_URL}/guides/database/database-linter`}
/>
diff --git a/apps/studio/pages/project/[ref]/branches/merge-requests.tsx b/apps/studio/pages/project/[ref]/branches/merge-requests.tsx
index fddabccfbb7..509fc9f9276 100644
--- a/apps/studio/pages/project/[ref]/branches/merge-requests.tsx
+++ b/apps/studio/pages/project/[ref]/branches/merge-requests.tsx
@@ -188,7 +188,7 @@ const MergeRequestsPage: NextPageWithLayout = () => {
{!isError && (
<div className="space-y-4">
{isBranch && !isCurrentBranchReadyForReview && currentBranch && (
- <div className="rounded border rounded-lg bg-background px-6 py-4">
+ <div className="rounded-sm border rounded-lg bg-background px-6 py-4">
<div className="flex items-center justify-between">
<div className="flex items-center gap-2 text-sm text-foreground-light">
<GitMerge strokeWidth={1.5} size={16} className="text-brand" />
diff --git a/apps/studio/pages/project/[ref]/database/column-privileges.tsx b/apps/studio/pages/project/[ref]/database/column-privileges.tsx
index 211a7d42d4b..9edeb4bcbf8 100644
--- a/apps/studio/pages/project/[ref]/database/column-privileges.tsx
+++ b/apps/studio/pages/project/[ref]/database/column-privileges.tsx
@@ -255,7 +255,7 @@ const PrivilegesPage: NextPageWithLayout = () => {
<Button
type="outline"
aria-label="Dismiss"
- className="absolute top-2 right-2 p-1 !pl-1"
+ className="absolute top-2 right-2 p-1 pl-1!"
onClick={() => {
setDiffWarningDismissed(true)
}}
@@ -285,7 +285,7 @@ const PrivilegesPage: NextPageWithLayout = () => {
<Button
type="outline"
aria-label="Dismiss"
- className="absolute top-2 right-2 p-1 !pl-1"
+ className="absolute top-2 right-2 p-1 pl-1!"
onClick={() => {
setSelectStarWarningDismissed(true)
}}
diff --git a/apps/studio/pages/project/[ref]/database/replication/index.tsx b/apps/studio/pages/project/[ref]/database/replication/index.tsx
index 5d1ef8fd879..b2142cd0912 100644
--- a/apps/studio/pages/project/[ref]/database/replication/index.tsx
+++ b/apps/studio/pages/project/[ref]/database/replication/index.tsx
@@ -37,7 +37,7 @@ const DatabaseReplicationPage: NextPageWithLayout = () => {
<ReplicationDiagram />
<ScaffoldContainer>
- <ScaffoldSection isFullWidth className="!pt-6">
+ <ScaffoldSection isFullWidth className="pt-6!">
<Destinations />
</ScaffoldSection>
</ScaffoldContainer>
diff --git a/apps/studio/pages/project/[ref]/database/replication/replica/[replicaId].tsx b/apps/studio/pages/project/[ref]/database/replication/replica/[replicaId].tsx
index 5ecc268e23d..222558d469a 100644
--- a/apps/studio/pages/project/[ref]/database/replication/replica/[replicaId].tsx
+++ b/apps/studio/pages/project/[ref]/database/replication/replica/[replicaId].tsx
@@ -111,7 +111,7 @@ const DatabaseReadReplicaPage: NextPageWithLayout = () => {
isLoadingDatabases ? (
<ShimmeringLoader className="py-[11px]" />
) : (
- <div className="flex items-center gap-x-2 !mt-0">
+ <div className="flex items-center gap-x-2 mt-0!">
<ScaffoldDescription>ID: {identifier}</ScaffoldDescription>
<CopyButton iconOnly type="default" text={identifier ?? ''} />
</div>
diff --git a/apps/studio/pages/project/[ref]/logs/explorer/templates.tsx b/apps/studio/pages/project/[ref]/logs/explorer/templates.tsx
index 7b98f0b3601..89d121dcbf7 100644
--- a/apps/studio/pages/project/[ref]/logs/explorer/templates.tsx
+++ b/apps/studio/pages/project/[ref]/logs/explorer/templates.tsx
@@ -58,7 +58,7 @@ const Template = ({ projectRef, template }: { projectRef?: string; template: Log
icon={
<div
className={cn(
- 'duration-400 flex h-6 w-6 items-center justify-center rounded transition-colors',
+ 'duration-400 flex h-6 w-6 items-center justify-center rounded-sm transition-colors',
'border bg-background-200',
'group-hover:bg-brand-300 group-hover:text-brand-600 group-hover:border-brand-500',
'dark:border-background-selection dark:bg-background-200 dark:text-foreground',
@@ -81,7 +81,7 @@ const Template = ({ projectRef, template }: { projectRef?: string; template: Log
className="rounded-lg bg-alternative"
size="content"
overlay={
- <pre className="whitespace-pre-line break-words rounded-lg bg-alternative p-4 text-sm">
+ <pre className="whitespace-pre-line wrap-break-word rounded-lg bg-alternative p-4 text-sm">
{template.searchString}
</pre>
}
diff --git a/apps/studio/pages/project/[ref]/storage/files/buckets/[bucketId].tsx b/apps/studio/pages/project/[ref]/storage/files/buckets/[bucketId].tsx
index 66c4126c725..0c437756d23 100644
--- a/apps/studio/pages/project/[ref]/storage/files/buckets/[bucketId].tsx
+++ b/apps/studio/pages/project/[ref]/storage/files/buckets/[bucketId].tsx
@@ -71,7 +71,7 @@ const BucketPage: NextPageWithLayout = () => {
<PageLayout
size="full"
isCompact
- className="[&>div:first-child]:!border-b-0" // Override the border-b from ScaffoldContainer
+ className="[&>div:first-child]:border-b-0!" // Override the border-b from ScaffoldContainer
title={
<div className="flex items-center gap-2 min-w-0 flex-1">
<span className="truncate">{bucketId}</span>
diff --git a/apps/studio/pages/sign-in-partner.tsx b/apps/studio/pages/sign-in-partner.tsx
index 91cae51e575..13d907eb00f 100644
--- a/apps/studio/pages/sign-in-partner.tsx
+++ b/apps/studio/pages/sign-in-partner.tsx
@@ -13,9 +13,9 @@ SignInPartnerPage.getLayout = (page) => (
<ForgotPasswordLayout
showHeadings={false}
className={cn(
- 'mx-auto max-w-7xl px-8 sm:px-12 lg:px-16 !gap-y-0',
- '[&>div:first-child]:absolute [&>div:first-child]:!px-0',
- '[&>div:last-child]:grow [&>div:last-child>main]:!px-0'
+ 'mx-auto max-w-7xl px-8 sm:px-12 lg:px-16 gap-y-0!',
+ '[&>div:first-child]:absolute [&>div:first-child]:px-0!',
+ '[&>div:last-child]:grow [&>div:last-child>main]:px-0!'
)}
>
{page}
diff --git a/apps/studio/styles/code.css b/apps/studio/styles/code.css
index d5f40c2b169..fa6f220e679 100644
--- a/apps/studio/styles/code.css
+++ b/apps/studio/styles/code.css
@@ -1,3 +1,5 @@
+@reference "./main.css";
+
.Code {
width: 100%;
@@ -96,7 +98,7 @@
bottom 200ms ease-in-out;
button {
- @apply rounded text-xs;
+ @apply rounded-sm text-xs;
background: rgb(1, 22, 39);
border: 1px solid rgb(214, 222, 235);
color: rgb(214, 222, 235);
diff --git a/apps/studio/styles/editor.css b/apps/studio/styles/editor.css
index 3b8df53f55a..e0afe99728a 100644
--- a/apps/studio/styles/editor.css
+++ b/apps/studio/styles/editor.css
@@ -1,3 +1,5 @@
+@reference "./main.css";
+
.table-editor-columns .sbui-formlayout--responsive {
gap: 0rem !important;
}
diff --git a/apps/studio/styles/focus.css b/apps/studio/styles/focus.css
index ceae2d560f5..b3105ba6122 100644
--- a/apps/studio/styles/focus.css
+++ b/apps/studio/styles/focus.css
@@ -1,3 +1,5 @@
+@reference "./main.css";
+
/* Focus styles for keyboard navigation on interactive table rows */
.inset-focus {
@apply ease-out duration-100 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-brand-600 focus-visible:rounded-md transition-all;
diff --git a/apps/studio/styles/grid.css b/apps/studio/styles/grid.css
index b4592b6a3c5..eab6aca40e1 100644
--- a/apps/studio/styles/grid.css
+++ b/apps/studio/styles/grid.css
@@ -1,3 +1,5 @@
+@reference "./main.css";
+
.sb-grid {
@apply flex h-full flex-col;
}
@@ -13,6 +15,7 @@
@apply text-grid;
@apply border-secondary border-r border-b;
@apply text-foreground;
+ padding-inline: 0.5rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -137,14 +140,8 @@
.rdg-header-row .rdg-cell p {
@apply text-typography-body-light [[data-theme*=dark]_&]:text-typography-body-dark;
}
-.rdg-header-row .rdg-cell .react-contextmenu-wrapper {
- @apply flex h-full items-center px-2 transition duration-100 ease-in-out;
-}
-.rdg-header-row .rdg-cell .react-contextmenu-wrapper:hover {
- @apply bg-surface-200;
-}
.rdg-header-row .rdg-checkbox {
- @apply bg-surface-200 border-default rounded-sm border;
+ @apply bg-surface-200 border-default rounded-xs border;
}
.rdg-header-row .rdg-checkbox-input:checked + .rdg-checkbox {
@apply border-default border-4 bg-green-900;
@@ -233,10 +230,10 @@
}
[type='checkbox'] {
- @apply cursor-pointer rounded border border-solid;
+ @apply cursor-pointer rounded-sm border border-solid;
@apply text-foreground border-strong transition-all;
- @apply hover:border-foreground focus:ring-0 focus:outline-none;
+ @apply hover:border-foreground focus:ring-0 focus:outline-hidden;
@apply bg-control;
@@ -257,7 +254,7 @@
@apply absolute top-0 inline-flex h-full items-center justify-center;
@apply text-xs font-medium;
@apply text-border-muted;
- @apply active:bg-alternative hover:text-white focus:z-10 focus:outline-none;
+ @apply active:bg-alternative hover:text-white focus:z-10 focus:outline-hidden;
@apply transition duration-150 ease-in-out;
@apply cursor-pointer;
z-index: 1;
@@ -276,7 +273,7 @@
}
.rdg__segmented-control__label {
- @apply bg-overlay-hover border-control z-0 inline-block h-full transform rounded border shadow transition duration-200 ease-in-out;
+ @apply bg-overlay-hover border-control z-0 inline-block h-full transform rounded-sm border shadow-sm transition duration-200 ease-in-out;
}
.rdg__segmented-control__label--left {
diff --git a/apps/studio/styles/main.css b/apps/studio/styles/main.css
index d5d31c865a4..1f67a7fb451 100644
--- a/apps/studio/styles/main.css
+++ b/apps/studio/styles/main.css
@@ -1,9 +1,13 @@
+@import 'tailwindcss';
+
@import './../../../packages/ui/build/css/source/global.css';
@import './../../../packages/ui/build/css/themes/dark.css';
@import './../../../packages/ui/build/css/themes/light.css';
@import './../../../packages/ui/build/css/themes/classic-dark.css';
-@tailwind components;
+@import 'config/typography.css';
+
+@config '../tailwind.config.ts';
:root {
--chart-1: var(--brand-default);
@@ -45,6 +49,16 @@
--sidebar-ring: 217.2 91.2% 59.8%;
}
+@layer base {
+ *,
+ ::after,
+ ::before,
+ ::backdrop,
+ ::file-selector-button {
+ border-color: hsl(var(--border-default, currentColor));
+ }
+}
+
html,
body,
#__next,
@@ -89,7 +103,7 @@ input.form-control,
@apply box-border;
/* @apply w-full ; */
@apply rounded-md;
- @apply shadow-sm;
+ @apply shadow-xs;
@apply transition-all;
@apply text-foreground;
@apply border;
@@ -101,7 +115,7 @@ input.form-control,
@apply bg-studio;
@apply border-strong border;
- @apply outline-none;
+ @apply outline-hidden;
@apply focus:ring-2 focus:ring-current;
}
@@ -154,12 +168,7 @@ input::placeholder {
}
.billing-input-fixed {
- @apply w-full appearance-none rounded border bg-gray-700 py-2 px-3 leading-tight text-gray-300 shadow;
-}
-
-a {
- color: inherit;
- text-decoration: none;
+ @apply w-full appearance-none rounded-sm border bg-gray-700 py-2 px-3 leading-tight text-gray-300 shadow-sm;
}
.input-mono {
@@ -262,7 +271,7 @@ div[data-radix-portal]:not(.portal--toast) {
/* to do: remove this CSS and do the same thing in a reusable tooltip component */
[data-radix-popper-content-wrapper] {
- @apply !z-50;
+ @apply z-50!;
}
.settings-container {
@@ -270,7 +279,7 @@ div[data-radix-portal]:not(.portal--toast) {
}
.react-grid-item.react-grid-placeholder {
- @apply !bg-brand-500;
+ @apply bg-brand-500!;
}
.react-grid-item > .react-resizable-handle::after {
@@ -280,7 +289,7 @@ div[data-radix-portal]:not(.portal--toast) {
bottom: 3px !important;
width: 6px !important;
height: 6px !important;
- @apply !border-strong dark:!border-r-2 dark:!border-b-2 dark:!border-overlay;
+ @apply border-strong! dark:border-r-2! dark:border-b-2! dark:border-overlay!;
}
@keyframes typewriter {
diff --git a/apps/studio/styles/markdown-preview.css b/apps/studio/styles/markdown-preview.css
index 343fdd0d644..d71301c80dd 100644
--- a/apps/studio/styles/markdown-preview.css
+++ b/apps/studio/styles/markdown-preview.css
@@ -1,3 +1,4 @@
+@reference "./main.css";
/* [Joshen] https://github.com/sindresorhus/github-markdown-css */
@media (prefers-color-scheme: dark) {
diff --git a/apps/studio/styles/monaco.css b/apps/studio/styles/monaco.css
index 47a90618bea..81a8adb3c2a 100644
--- a/apps/studio/styles/monaco.css
+++ b/apps/studio/styles/monaco.css
@@ -1,3 +1,5 @@
+@reference "./main.css";
+
.monaco-editor {
@apply relative overflow-visible;
-webkit-text-size-adjust: 100%;
diff --git a/apps/studio/styles/react-data-grid-logs.css b/apps/studio/styles/react-data-grid-logs.css
index 76ce2192d72..e2b4d744175 100644
--- a/apps/studio/styles/react-data-grid-logs.css
+++ b/apps/studio/styles/react-data-grid-logs.css
@@ -1,3 +1,5 @@
+@reference "./main.css";
+
.data-grid--simple-logs {
.rdg {
overflow-x: auto;
@@ -49,6 +51,8 @@
.rdg-cell,
.rdg-cell span {
@apply !text-foreground-light !font-normal;
+ border-left: none;
+ border-right: none;
overflow: visible;
text-overflow: clip;
}
diff --git a/apps/studio/styles/reactflow.css b/apps/studio/styles/reactflow.css
index 3907847eae9..ca7bd8d553f 100644
--- a/apps/studio/styles/reactflow.css
+++ b/apps/studio/styles/reactflow.css
@@ -1,3 +1,5 @@
+@reference "./main.css";
+
.instance-configuration {
.react-flow__pane {
@apply cursor-default;
diff --git a/apps/studio/styles/storage.css b/apps/studio/styles/storage.css
index fbf4feb18de..f60f83a935b 100644
--- a/apps/studio/styles/storage.css
+++ b/apps/studio/styles/storage.css
@@ -1,3 +1,5 @@
+@reference "./main.css";
+
.storage-container {
.sbui-space-col {
@apply grow;
@@ -6,7 +8,7 @@
}
}
.sbui-btn {
- @apply focus:outline-none;
+ @apply focus:outline-hidden;
}
.sbui-btn-default {
@apply border;
diff --git a/apps/studio/styles/ui.css b/apps/studio/styles/ui.css
index 1b118e74e12..8280ecec89e 100644
--- a/apps/studio/styles/ui.css
+++ b/apps/studio/styles/ui.css
@@ -1,3 +1,4 @@
+@reference "./main.css";
/* Brought over from platform to be cleaned if needed */
/* Form panels */
@@ -72,7 +73,7 @@
}
.section-block {
- @apply p-0 rounded bg-surface-100 border border-overlay;
+ @apply p-0 rounded-sm bg-surface-100 border border-overlay;
}
.section-block--header {
@@ -119,12 +120,12 @@
}
.table-container thead th:first-child {
- @apply rounded rounded-r-none rounded-b-none;
+ @apply rounded-sm rounded-r-none rounded-b-none;
@apply border-l;
}
.table-container thead th:last-child {
- @apply pr-6 rounded rounded-l-none rounded-b-none;
+ @apply pr-6 rounded-sm rounded-l-none rounded-b-none;
@apply border-r;
}
@@ -153,11 +154,11 @@
}
.table-container tbody tr:last-child td:first-child {
- @apply rounded rounded-r-none rounded-t-none;
+ @apply rounded-sm rounded-r-none rounded-t-none;
}
.table-container tbody tr:last-child td:last-child {
- @apply rounded rounded-l-none rounded-t-none;
+ @apply rounded-sm rounded-l-none rounded-t-none;
}
.table-container--borderless thead th {
diff --git a/apps/studio/tailwind.config.ts b/apps/studio/tailwind.config.ts
index b0f9e40fc1d..f437668ed44 100644
--- a/apps/studio/tailwind.config.ts
+++ b/apps/studio/tailwind.config.ts
@@ -1,6 +1,5 @@
/* eslint-disable no-restricted-exports */
-import containerQueries from '@tailwindcss/container-queries'
import tailwindConfig from 'config/tailwind.config'
export default tailwindConfig({
@@ -11,7 +10,6 @@ export default tailwindConfig({
'./../../packages/ui/src/**/*.{tsx,ts,js}',
'./../../packages/ui-patterns/src/**/*.{tsx,ts,js}',
],
- plugins: [containerQueries],
theme: {
extend: {
fontSize: {
diff --git a/apps/ui-library/app/api/registry/tanstack-db/_generators/list.ts b/apps/ui-library/app/api/registry/tanstack-db/_generators/list.ts
index b0714319e7e..3cbe07e26de 100644
--- a/apps/ui-library/app/api/registry/tanstack-db/_generators/list.ts
+++ b/apps/ui-library/app/api/registry/tanstack-db/_generators/list.ts
@@ -117,7 +117,7 @@ ${selectFields}
<div
className={cn(
'flex items-center justify-between rounded-lg p-4',
- 'border border-border/50 bg-card shadow-sm',
+ 'border border-border/50 bg-card shadow-xs',
'transition-all duration-150 hover:shadow-md hover:border-border'
)}
key={${primaryKeyAccess}}
diff --git a/apps/ui-library/app/api/registry/tanstack-db/_generators/sheet.ts b/apps/ui-library/app/api/registry/tanstack-db/_generators/sheet.ts
index baaedcc78ea..0ea23b6835e 100644
--- a/apps/ui-library/app/api/registry/tanstack-db/_generators/sheet.ts
+++ b/apps/ui-library/app/api/registry/tanstack-db/_generators/sheet.ts
@@ -85,7 +85,7 @@ export function generateSheetContent(tableName: string, definition: OpenAPIDefin
type="checkbox"
checked={${stateName}}
onChange={(e) => ${setterName}(e.target.checked)}
- className="h-4 w-4 rounded border"
+ className="h-4 w-4 rounded-sm border"
/>
<Label htmlFor="${singularName}-${name}">${label}</Label>
</div>`
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 b7961dc6190..030beb3a32b 100644
--- a/apps/ui-library/app/example/password-based-auth/layout.tsx
+++ b/apps/ui-library/app/example/password-based-auth/layout.tsx
@@ -36,7 +36,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%' }}
>
- <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.05)_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
+ <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.05)_1px,transparent_1px)] bg-size-[16px_16px] mask-[radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
<div className="w-full max-w-sm">{children}</div>
</div>
</ThemeProvider>
diff --git a/apps/ui-library/app/example/social-auth/layout.tsx b/apps/ui-library/app/example/social-auth/layout.tsx
index bcafa18935d..de42457be6d 100644
--- a/apps/ui-library/app/example/social-auth/layout.tsx
+++ b/apps/ui-library/app/example/social-auth/layout.tsx
@@ -36,7 +36,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%' }}
>
- <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.05)_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
+ <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.05)_1px,transparent_1px)] bg-size-[16px_16px] mask-[radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
<div className="w-full max-w-sm">{children}</div>
</div>
</ThemeProvider>
diff --git a/apps/ui-library/components/block-item-code.tsx b/apps/ui-library/components/block-item-code.tsx
index d6d45d509a6..909655b7b03 100644
--- a/apps/ui-library/components/block-item-code.tsx
+++ b/apps/ui-library/components/block-item-code.tsx
@@ -104,7 +104,7 @@ export function BlockItemCode({ files }: BlockItemCodeProps) {
{selectedFile?.content ? (
<CodeBlock
wrapperClassName="w-full"
- className="h-full max-w-none !w-full flex-1 font-mono text-xs rounded-none border-none"
+ className="h-full max-w-none w-full! flex-1 font-mono text-xs rounded-none border-none"
language="ts"
>
{selectedFile?.content}
diff --git a/apps/ui-library/components/command-menu.tsx b/apps/ui-library/components/command-menu.tsx
index 358be4e7089..9ae3afb9824 100644
--- a/apps/ui-library/components/command-menu.tsx
+++ b/apps/ui-library/components/command-menu.tsx
@@ -64,7 +64,7 @@ export function CommandMenu({ ...props }: DialogProps) {
>
<span className="hidden lg:inline-flex">Search UI Library...</span>
<span className="inline-flex lg:hidden">Search...</span>
- <kbd className="pointer-events-none absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-surface-200 px-1.5 font-mono text-[10px] font-medium opacity-100 sm:flex text-foreground-light">
+ <kbd className="pointer-events-none absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded-sm border bg-surface-200 px-1.5 font-mono text-[10px] font-medium opacity-100 sm:flex text-foreground-light">
<span className="text-sm">⌘</span>K
</kbd>
</Button>
diff --git a/apps/ui-library/components/command.tsx b/apps/ui-library/components/command.tsx
index d5af84c97d1..6ab0cdc06d6 100644
--- a/apps/ui-library/components/command.tsx
+++ b/apps/ui-library/components/command.tsx
@@ -62,7 +62,7 @@ export function Command({ name, highlight, framework = 'react' }: CommandCopyPro
<div className="w-full group relative rounded-lg bg-surface-200 dark:bg-surface-100 px-4 py-2 overflow-hidden">
{highlight && (
<motion.div
- className="absolute inset-0 bg-gradient-to-l from-transparent via-[#bbb] dark:via-white to-transparent opacity-10 z-0"
+ className="absolute inset-0 bg-linear-to-l from-transparent via-[#bbb] dark:via-white to-transparent opacity-10 z-0"
initial={{ x: '100%' }}
animate={{ x: '-100%' }}
transition={{
diff --git a/apps/ui-library/components/component-preview.tsx b/apps/ui-library/components/component-preview.tsx
index 6338a5edc45..41e518ab56f 100644
--- a/apps/ui-library/components/component-preview.tsx
+++ b/apps/ui-library/components/component-preview.tsx
@@ -42,7 +42,7 @@ export function ComponentPreview({
return (
<p className="text-sm text-muted-foreground">
Component{' '}
- <code className="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm">
+ <code className="relative rounded-sm bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm">
{name}
</code>{' '}
not found in registry.
@@ -89,10 +89,10 @@ export function ComponentPreview({
)}
>
{showGrid && (
- <div className="pointer-events-none absolute h-full w-full bg-[linear-gradient(to_right,hsla(var(--foreground-default)/0.02)_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-[size:24px_24px]"></div>
+ <div className="pointer-events-none absolute h-full w-full bg-[linear-gradient(to_right,hsla(var(--foreground-default)/0.02)_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-size-[24px_24px]"></div>
)}
{showDottedGrid && (
- <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.02)_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
+ <div className="z-0 pointer-events-none absolute h-full w-full bg-[radial-gradient(hsla(var(--foreground-default)/0.02)_1px,transparent_1px)] bg-size-[16px_16px] mask-[radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
)}
<div className="z-10 relative">{ComponentPreview}</div>
</div>
@@ -109,12 +109,12 @@ export function ComponentPreview({
px-4 py-4
border border-r
group
- data-[state=closed]:rounded-bl-md data-[state=closed]:rounded-br-md
+ data-closed:rounded-bl-md data-closed:rounded-br-md
`}
>
<ChevronRight
- className="transition-all group-data-[state=open]:rotate-90 text-foreground-lighter"
+ className="transition-all group-data-open:rotate-90 text-foreground-lighter"
size={14}
/>
View code
diff --git a/apps/ui-library/components/mdx-components.tsx b/apps/ui-library/components/mdx-components.tsx
index 372a9d82406..4c2506b2d5f 100644
--- a/apps/ui-library/components/mdx-components.tsx
+++ b/apps/ui-library/components/mdx-components.tsx
@@ -67,10 +67,7 @@ const components = {
/>
),
p: ({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>) => (
- <p
- className={cn('leading-7 [&:not(:first-child)]:mt-6 text-foreground-light', className)}
- {...props}
- />
+ <p className={cn('leading-7 not-first:mt-6 text-foreground-light', className)} {...props} />
),
ul: ({ className, ...props }: React.HTMLAttributes<HTMLUListElement>) => (
<ul className={cn('my-6 ml-6 list-disc text-foreground-light', className)} {...props} />
@@ -102,7 +99,7 @@ const components = {
th: ({ className, ...props }: React.HTMLAttributes<HTMLTableCellElement>) => (
<th
className={cn(
- 'border px-4 py-2 text-left font-normal [&[align=center]]:text-center [&[align=right]]:text-right',
+ 'border px-4 py-2 text-left font-normal [[align=center]]:text-center [[align=right]]:text-right',
className
)}
{...props}
@@ -111,7 +108,7 @@ const components = {
td: ({ className, ...props }: React.HTMLAttributes<HTMLTableCellElement>) => (
<td
className={cn(
- 'border text-foreground-light px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right',
+ 'border text-foreground-light px-4 py-2 text-left [[align=center]]:text-center [[align=right]]:text-right',
className
)}
{...props}
@@ -152,7 +149,7 @@ const components = {
code: ({ className, ...props }: React.HTMLAttributes<HTMLElement>) => (
<code
className={cn(
- 'relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm',
+ 'relative rounded-sm bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm',
className
)}
{...props}
@@ -165,7 +162,7 @@ const components = {
Card: ({ className, ...props }: React.HTMLAttributes<HTMLElement>) => (
<div
className={cn(
- 'flex w-full flex-col items-center rounded-xl border bg-surface-100 text-card-background py-6 px-4 shadow transition-colors hover:bg-muted/50 sm:p-10',
+ 'flex w-full flex-col items-center rounded-xl border bg-surface-100 text-card-background py-6 px-4 shadow-sm transition-colors hover:bg-muted/50 sm:p-10',
className
)}
{...props}
@@ -174,7 +171,7 @@ const components = {
LinkedCard: ({ className, ...props }: React.ComponentProps<typeof Link>) => (
<Link
className={cn(
- 'flex w-full flex-col items-center justify-center rounded-xl border bg-surface-100 text-card-background py-6 px-4 shadow transition-colors hover:bg-muted/50 sm:p-10 h-52',
+ 'flex w-full flex-col items-center justify-center rounded-xl border bg-surface-100 text-card-background py-6 px-4 shadow-sm transition-colors hover:bg-muted/50 sm:p-10 h-52',
className
)}
{...props}
diff --git a/apps/ui-library/components/theme-switcher-dropdown.tsx b/apps/ui-library/components/theme-switcher-dropdown.tsx
index 314312960b4..9aa0292f43b 100644
--- a/apps/ui-library/components/theme-switcher-dropdown.tsx
+++ b/apps/ui-library/components/theme-switcher-dropdown.tsx
@@ -49,7 +49,7 @@ const ThemeSwitcherDropdown = () => {
)
}
- const iconClasses = 'text-foreground-light group-data-[state=open]:text-foreground'
+ const iconClasses = 'text-foreground-light group-data-open:text-foreground'
return (
<>
diff --git a/apps/ui-library/content/docs/getting-started/quickstart.mdx b/apps/ui-library/content/docs/getting-started/quickstart.mdx
index e33c066d63f..fb50f1c7b51 100644
--- a/apps/ui-library/content/docs/getting-started/quickstart.mdx
+++ b/apps/ui-library/content/docs/getting-started/quickstart.mdx
@@ -9,7 +9,7 @@ Start by installing [shadcn/ui](https://ui.shadcn.com/) in your project. Use the
If you're already using a recent version of shadcn/ui in your existing project, you can skip this step—this library should work with your current setup. However, if you encounter issues, try deleting your existing `components.json` file and follow one of the guides to reset your setup.
-<div className="grid grid-cols-2 gap-4 mt-8 sm:gap-6">
+<div className="grid gap-4 mt-8 sm:gap-6">
<Card>
<svg
role="img"
diff --git a/apps/ui-library/registry/default/blocks/dropzone/components/dropzone.tsx b/apps/ui-library/registry/default/blocks/dropzone/components/dropzone.tsx
index 16efedf8658..66aee3e22d1 100644
--- a/apps/ui-library/registry/default/blocks/dropzone/components/dropzone.tsx
+++ b/apps/ui-library/registry/default/blocks/dropzone/components/dropzone.tsx
@@ -107,11 +107,11 @@ const DropzoneContent = ({ className }: { className?: string }) => {
className="flex items-center gap-x-4 border-b py-2 first:mt-4 last:mb-4 "
>
{file.type.startsWith('image/') ? (
- <div className="h-10 w-10 rounded border overflow-hidden shrink-0 bg-muted flex items-center justify-center">
+ <div className="h-10 w-10 rounded-sm border overflow-hidden shrink-0 bg-muted flex items-center justify-center">
<img src={file.preview} alt={file.name} className="object-cover" />
</div>
) : (
- <div className="h-10 w-10 rounded border bg-muted flex items-center justify-center">
+ <div className="h-10 w-10 rounded-sm border bg-muted flex items-center justify-center">
<File size={18} />
</div>
)}
diff --git a/apps/ui-library/registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx b/apps/ui-library/registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx
index 48b88918e58..20f99fb170e 100644
--- a/apps/ui-library/registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx
+++ b/apps/ui-library/registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx
@@ -38,7 +38,7 @@ const AvatarStack = ({
className={cn(
avatarStackVariants({ orientation }),
className,
- orientation === 'horizontal' ? '-space-x-0' : '-space-y-0'
+ orientation === 'horizontal' ? 'space-x-0' : 'space-y-0'
)}
{...props}
>
diff --git a/apps/ui-library/registry/default/blocks/realtime-cursor/components/cursor.tsx b/apps/ui-library/registry/default/blocks/realtime-cursor/components/cursor.tsx
index cb9d4f074e0..821cab8dc1f 100644
--- a/apps/ui-library/registry/default/blocks/realtime-cursor/components/cursor.tsx
+++ b/apps/ui-library/registry/default/blocks/realtime-cursor/components/cursor.tsx
@@ -18,7 +18,7 @@ export const Cursor = ({
<MousePointer2 color={color} fill={color} size={30} />
<div
- className="mt-1 px-2 py-1 rounded text-xs font-bold text-white text-center"
+ className="mt-1 px-2 py-1 rounded-sm text-xs font-bold text-white text-center"
style={{ backgroundColor: color }}
>
{name}
diff --git a/apps/ui-library/registry/default/components/ui/button.tsx b/apps/ui-library/registry/default/components/ui/button.tsx
index 5a75ef22c7e..d8b071ac752 100644
--- a/apps/ui-library/registry/default/components/ui/button.tsx
+++ b/apps/ui-library/registry/default/components/ui/button.tsx
@@ -5,15 +5,15 @@ import * as React from 'react'
import { cn } from '@/lib/utils'
const buttonVariants = cva(
- 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',
+ 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',
{
variants: {
variant: {
- default: 'bg-primary text-primary-foreground shadow hover:bg-primary/90',
- destructive: 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',
+ default: 'bg-primary text-primary-foreground shadow-sm hover:bg-primary/90',
+ destructive: 'bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90',
outline:
- 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground',
- secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',
+ 'border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground',
+ secondary: 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',
ghost: 'hover:bg-accent hover:text-accent-foreground',
link: 'text-primary underline-offset-4 hover:underline',
},
diff --git a/apps/ui-library/registry/default/components/ui/card.tsx b/apps/ui-library/registry/default/components/ui/card.tsx
index bcf3d6f26ce..e13948bbd9e 100644
--- a/apps/ui-library/registry/default/components/ui/card.tsx
+++ b/apps/ui-library/registry/default/components/ui/card.tsx
@@ -6,7 +6,7 @@ const Card = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElemen
({ className, ...props }, ref) => (
<div
ref={ref}
- className={cn('rounded-xl border bg-card text-card-foreground shadow', className)}
+ className={cn('rounded-xl border bg-card text-card-foreground shadow-sm', className)}
{...props}
/>
)
diff --git a/apps/ui-library/registry/default/components/ui/checkbox.tsx b/apps/ui-library/registry/default/components/ui/checkbox.tsx
index a47fbe7b09e..24b8e1949f7 100644
--- a/apps/ui-library/registry/default/components/ui/checkbox.tsx
+++ b/apps/ui-library/registry/default/components/ui/checkbox.tsx
@@ -13,7 +13,7 @@ const Checkbox = React.forwardRef<
<CheckboxPrimitive.Root
ref={ref}
className={cn(
- 'peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground',
+ 'peer h-4 w-4 shrink-0 rounded-xs border border-primary shadow-sm focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-checked:bg-primary data-checked:text-primary-foreground',
className
)}
{...props}
diff --git a/apps/ui-library/registry/default/components/ui/command.tsx b/apps/ui-library/registry/default/components/ui/command.tsx
index 10d12df2594..3559caec26c 100644
--- a/apps/ui-library/registry/default/components/ui/command.tsx
+++ b/apps/ui-library/registry/default/components/ui/command.tsx
@@ -49,7 +49,7 @@ function CommandDialog({
className={cn('overflow-hidden p-0', className)}
showCloseButton={showCloseButton}
>
- <Command className="[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">
+ <Command className="**:[[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 **:[[cmdk-input]]:h-12 **:[[cmdk-item]]:px-2 **:[[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">
{children}
</Command>
</DialogContent>
@@ -104,7 +104,7 @@ function CommandGroup({
<CommandPrimitive.Group
data-slot="command-group"
className={cn(
- 'text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium',
+ 'text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium',
className
)}
{...props}
@@ -130,7 +130,7 @@ function CommandItem({ className, ...props }: React.ComponentProps<typeof Comman
<CommandPrimitive.Item
data-slot="command-item"
className={cn(
- "data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-xs px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
diff --git a/apps/ui-library/registry/default/components/ui/dialog.tsx b/apps/ui-library/registry/default/components/ui/dialog.tsx
index 1ab621f5969..963489352f2 100644
--- a/apps/ui-library/registry/default/components/ui/dialog.tsx
+++ b/apps/ui-library/registry/default/components/ui/dialog.tsx
@@ -30,7 +30,7 @@ function DialogOverlay({
<DialogPrimitive.Overlay
data-slot="dialog-overlay"
className={cn(
- 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',
+ 'data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 z-50 bg-black/50',
className
)}
{...props}
@@ -52,7 +52,7 @@ function DialogContent({
<DialogPrimitive.Content
data-slot="dialog-content"
className={cn(
- 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',
+ 'bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',
className
)}
{...props}
@@ -61,7 +61,7 @@ function DialogContent({
{showCloseButton && (
<DialogPrimitive.Close
data-slot="dialog-close"
- className="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
+ className="ring-offset-background focus:ring-ring data-open:bg-accent data-open:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
>
<XIcon />
<span className="sr-only">Close</span>
diff --git a/apps/ui-library/registry/default/components/ui/drawer.tsx b/apps/ui-library/registry/default/components/ui/drawer.tsx
index fe38ae70f35..3f8d1f7b8b3 100644
--- a/apps/ui-library/registry/default/components/ui/drawer.tsx
+++ b/apps/ui-library/registry/default/components/ui/drawer.tsx
@@ -29,7 +29,7 @@ function DrawerOverlay({
<DrawerPrimitive.Overlay
data-slot="drawer-overlay"
className={cn(
- 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',
+ 'data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 z-50 bg-black/50',
className
)}
{...props}
diff --git a/apps/ui-library/registry/default/components/ui/hover-card.tsx b/apps/ui-library/registry/default/components/ui/hover-card.tsx
index f8932380ccb..ddf806d44fb 100644
--- a/apps/ui-library/registry/default/components/ui/hover-card.tsx
+++ b/apps/ui-library/registry/default/components/ui/hover-card.tsx
@@ -18,7 +18,7 @@ const HoverCardContent = React.forwardRef<
align={align}
sideOffset={sideOffset}
className={cn(
- 'z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ 'z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
className
)}
{...props}
diff --git a/apps/ui-library/registry/default/components/ui/input.tsx b/apps/ui-library/registry/default/components/ui/input.tsx
index b1406898526..ed99a582131 100644
--- a/apps/ui-library/registry/default/components/ui/input.tsx
+++ b/apps/ui-library/registry/default/components/ui/input.tsx
@@ -8,7 +8,7 @@ const Input = React.forwardRef<HTMLInputElement, React.ComponentProps<'input'>>(
<input
type={type}
className={cn(
- 'flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
+ 'flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
className
)}
ref={ref}
diff --git a/apps/ui-library/registry/default/components/ui/popover.tsx b/apps/ui-library/registry/default/components/ui/popover.tsx
index 96490253cf1..ff0bdcbda52 100644
--- a/apps/ui-library/registry/default/components/ui/popover.tsx
+++ b/apps/ui-library/registry/default/components/ui/popover.tsx
@@ -26,7 +26,7 @@ function PopoverContent({
align={align}
sideOffset={sideOffset}
className={cn(
- 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden',
+ 'bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-radix-popover rounded-md border p-4 shadow-md outline-hidden',
className
)}
{...props}
diff --git a/apps/ui-library/registry/default/components/ui/select.tsx b/apps/ui-library/registry/default/components/ui/select.tsx
index 39855e62263..63382cd2c04 100644
--- a/apps/ui-library/registry/default/components/ui/select.tsx
+++ b/apps/ui-library/registry/default/components/ui/select.tsx
@@ -68,7 +68,7 @@ const SelectContent = React.forwardRef<
<SelectPrimitive.Content
ref={ref}
className={cn(
- 'relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ 'relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
position === 'popper' &&
'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',
className
@@ -81,7 +81,7 @@ const SelectContent = React.forwardRef<
className={cn(
'p-1',
position === 'popper' &&
- 'h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)'
+ 'h-radix-select-trigger-height w-full min-w-(--radix-select-trigger-width)'
)}
>
{children}
@@ -111,7 +111,7 @@ const SelectItem = React.forwardRef<
<SelectPrimitive.Item
ref={ref}
className={cn(
- 'relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
+ 'relative flex w-full cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
{...props}
diff --git a/apps/ui-library/registry/default/components/ui/switch.tsx b/apps/ui-library/registry/default/components/ui/switch.tsx
index 1a0a5af8b61..db399520224 100644
--- a/apps/ui-library/registry/default/components/ui/switch.tsx
+++ b/apps/ui-library/registry/default/components/ui/switch.tsx
@@ -7,7 +7,7 @@ import * as React from 'react'
import { cn } from '@/lib/utils'
const switchVariants = cva(
- 'peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input',
+ 'peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-checked:bg-primary data-unchecked:bg-input',
{
variants: {
size: {
@@ -22,12 +22,12 @@ const switchVariants = cva(
)
const switchThumbVariants = cva(
- 'pointer-events-none block rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0',
+ 'pointer-events-none block rounded-full bg-background shadow-lg ring-0 transition-transform data-checked:translate-x-5 data-unchecked:translate-x-0',
{
variants: {
size: {
- default: 'h-5 w-5 data-[state=checked]:translate-x-5',
- sm: 'h-4 w-4 data-[state=checked]:translate-x-3',
+ default: 'h-5 w-5 data-checked:translate-x-5',
+ sm: 'h-4 w-4 data-checked:translate-x-3',
},
},
defaultVariants: {
diff --git a/apps/ui-library/registry/default/components/ui/textarea.tsx b/apps/ui-library/registry/default/components/ui/textarea.tsx
index 2fe59d95881..bd17d87588c 100644
--- a/apps/ui-library/registry/default/components/ui/textarea.tsx
+++ b/apps/ui-library/registry/default/components/ui/textarea.tsx
@@ -7,7 +7,7 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, React.ComponentProps<'tex
return (
<textarea
className={cn(
- 'flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
+ 'flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
className
)}
ref={ref}
diff --git a/apps/ui-library/registry/default/components/ui/tooltip.tsx b/apps/ui-library/registry/default/components/ui/tooltip.tsx
index b4038e9d6aa..effcdb77b63 100644
--- a/apps/ui-library/registry/default/components/ui/tooltip.tsx
+++ b/apps/ui-library/registry/default/components/ui/tooltip.tsx
@@ -20,7 +20,7 @@ const TooltipContent = React.forwardRef<
ref={ref}
sideOffset={sideOffset}
className={cn(
- 'z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]',
+ 'z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-radix-tooltip',
className
)}
{...props}
diff --git a/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/results-table.tsx b/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/results-table.tsx
index 82b1549e942..108f28375b6 100644
--- a/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/results-table.tsx
+++ b/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/results-table.tsx
@@ -43,7 +43,7 @@ export function ResultsTable({ data, onRowClick }: ResultsTableProps) {
>
{headers.map((header) => (
<TableCell
- className="first:pl-6 lg:first:pl-8 last:pr-6 lg:last:pr-8 text-xs text-muted-foreground group-hover:text-foreground min-w-[8rem]"
+ className="first:pl-6 lg:first:pl-8 last:pr-6 lg:last:pr-8 text-xs text-muted-foreground group-hover:text-foreground min-w-32"
key={`${rowIndex}-${header}`}
>
<div className="text-xs font-mono w-fit max-w-96 truncate">
diff --git a/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/logs.tsx b/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/logs.tsx
index 2e8e449f60b..c2816748f6d 100644
--- a/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/logs.tsx
+++ b/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/logs.tsx
@@ -230,7 +230,7 @@ export function LogsManager({ projectRef }: { projectRef: string }) {
return (
<TableCell
key={key}
- className="first:pl-6 lg:first:pl-8 last:pr-6 lg:last:pr-8 text-xs text-muted-foreground group-hover:text-foreground min-w-[8rem]"
+ className="first:pl-6 lg:first:pl-8 last:pr-6 lg:last:pr-8 text-xs text-muted-foreground group-hover:text-foreground min-w-32"
>
<HoverCard>
<HoverCardTrigger asChild>
@@ -239,7 +239,7 @@ export function LogsManager({ projectRef }: { projectRef: string }) {
</div>
</HoverCardTrigger>
<HoverCardContent className="w-96 max-h-96 overflow-auto p-3">
- <pre className="text-xs font-mono whitespace-pre-wrap break-words">
+ <pre className="text-xs font-mono whitespace-pre-wrap wrap-break-word">
{formattedValue}
</pre>
</HoverCardContent>
diff --git a/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx b/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx
index 2c71e44f429..c813292d7f9 100644
--- a/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx
+++ b/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx
@@ -87,11 +87,11 @@ export function SuggestionsManager({ projectRef }: { projectRef: string }) {
components={{
code({ inline, children, ...props }: any) {
return inline ? (
- <code className="bg-muted px-1 rounded" {...props}>
+ <code className="bg-muted px-1 rounded-sm" {...props}>
{children}
</code>
) : (
- <pre className="bg-muted p-2 rounded overflow-x-auto" {...props}>
+ <pre className="bg-muted p-2 rounded-sm overflow-x-auto" {...props}>
<code>{children}</code>
</pre>
)
diff --git a/apps/ui-library/styles/globals.css b/apps/ui-library/styles/globals.css
index 6f47ae5da96..54735e85e71 100644
--- a/apps/ui-library/styles/globals.css
+++ b/apps/ui-library/styles/globals.css
@@ -1,11 +1,11 @@
+@import 'tailwindcss';
+
@import './../../../packages/ui/build/css/source/global.css';
@import './../../../packages/ui/build/css/themes/dark.css';
@import './../../../packages/ui/build/css/themes/classic-dark.css';
@import './../../../packages/ui/build/css/themes/light.css';
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@config '../tailwind.config.js';
@layer base {
:root {
diff --git a/apps/ui-library/styles/mdx.css b/apps/ui-library/styles/mdx.css
index 66ebc271c5c..8b06fb2d87f 100644
--- a/apps/ui-library/styles/mdx.css
+++ b/apps/ui-library/styles/mdx.css
@@ -1,3 +1,5 @@
+@reference './globals.css';
+
.dark [data-theme='light'] {
display: none;
}
diff --git a/apps/ui-library/tailwind.config.js b/apps/ui-library/tailwind.config.js
index 9b80c0ac1c4..7511b9982c8 100644
--- a/apps/ui-library/tailwind.config.js
+++ b/apps/ui-library/tailwind.config.js
@@ -6,8 +6,7 @@ module.exports = config({
'./app/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./registry/**/*.{js,ts,jsx,tsx}',
- // purge styles from grid library
- //
+ './content/**/*.mdx',
'./../../packages/ui/src/**/*.{tsx,ts,js}',
'./../../packages/ui-patterns/src/**/*.{tsx,ts,js}',
],
diff --git a/apps/www/_blog/2021-03-25-angels-of-supabase.mdx b/apps/www/_blog/2021-03-25-angels-of-supabase.mdx
index ca79ea17795..24daaea61c1 100644
--- a/apps/www/_blog/2021-03-25-angels-of-supabase.mdx
+++ b/apps/www/_blog/2021-03-25-angels-of-supabase.mdx
@@ -29,7 +29,7 @@ So here is our unconventional fundraising announcement, written with a few of th
## Mike Krieger (Instagram)
<img
- className="rounded border border-default"
+ className="rounded-sm border border-default"
src="/images/blog/angels/mike-krieger-supabase.png"
alt="Mike Krieger Supabase"
/>
@@ -71,7 +71,7 @@ fun side project or exploration and ended up learning something I applied to mor
## Cassidy Williams (Netlify)
<img
- className="rounded border border-default"
+ className="rounded-sm border border-default"
src="/images/blog/angels/cassidy-williams-supabase.png"
alt="Cassidy Williams Supabase"
/>
@@ -115,7 +115,7 @@ Get a calendar you'll actually use and stick to your to-do lists!
## Thorsten Schaeff (Stripe)
<img
- className="rounded border border-default"
+ className="rounded-sm border border-default"
src="/images/blog/angels/thor-supabase.png"
alt="Thorsten Schaeff Supabase"
/>
@@ -160,7 +160,7 @@ and I'm certain that it will pay off!
## Brian Douglas (GitHub)
<img
- className="rounded border border-default"
+ className="rounded-sm border border-default"
src="/images/blog/angels/brian-douglas-supabase.png"
alt="Brian Douglas Supabase"
/>
@@ -201,7 +201,7 @@ learned, so do that. It is also easier to get hired when you already have conten
## Justin Gage (Retool)
<img
- className="rounded border border-default"
+ className="rounded-sm border border-default"
src="/images/blog/angels/justin-gauge-supabase.png"
alt="Justin Gage Supabase"
/>
@@ -234,7 +234,7 @@ Eh, I can’t really give advice, I haven’t figured anything out myself yet!
## Iheanyi Ekechukwu (PlanetScale)
<img
- className="rounded border border-default"
+ className="rounded-sm border border-default"
src="/images/blog/angels/iheanyi-ekechukwu-supabase.png"
alt="Iheanyi Ekechukwu Supabase"
/>
@@ -278,7 +278,7 @@ Never settle, never get comfortable, learn as much as you can consistently.
## Zach Waterfield (On Deck)
<img
- className="overflow-hidden rounded border border-default"
+ className="overflow-hidden rounded-sm border border-default"
src="/images/blog/angels/zach-waterfield-supabase.png"
alt="Zach Waterfield Supabase"
/>
@@ -313,7 +313,7 @@ university peers, OnDeck, Twitter, etc. Focus on building your network, and good
## Shawn Wang (Temporal)
<img
- className="m-0 overflow-hidden rounded border object-cover p-0 border-default "
+ className="m-0 overflow-hidden rounded-sm border object-cover p-0 border-default "
src="/images/blog/angels/swyx-supabase.png"
alt="Shawn Wang Supabase"
/>
diff --git a/apps/www/_blog/2022-08-09-slack-consolidate-slackbot-to-consolidate-messages.mdx b/apps/www/_blog/2022-08-09-slack-consolidate-slackbot-to-consolidate-messages.mdx
index 42fca0b38b1..3ace1f81134 100644
--- a/apps/www/_blog/2022-08-09-slack-consolidate-slackbot-to-consolidate-messages.mdx
+++ b/apps/www/_blog/2022-08-09-slack-consolidate-slackbot-to-consolidate-messages.mdx
@@ -159,7 +159,7 @@ After right-clicking a message in Slack, you can see the option to select the li
Slack links have the following format:
-<span className="break-words">
+<span className="wrap-break-word">
https://<span className="text-foreground">ORGANIZATION</span>.slack.com/archives/
<span className="text-foreground">channel_id</span>/p
<span className="text-foreground">message_id</span>
diff --git a/apps/www/_blog/2022-08-24-building-a-realtime-trello-board-with-supabase-and-angular.mdx b/apps/www/_blog/2022-08-24-building-a-realtime-trello-board-with-supabase-and-angular.mdx
index e4f2944ee14..fe0c4ee9e35 100644
--- a/apps/www/_blog/2022-08-24-building-a-realtime-trello-board-with-supabase-and-angular.mdx
+++ b/apps/www/_blog/2022-08-24-building-a-realtime-trello-board-with-supabase-and-angular.mdx
@@ -548,7 +548,7 @@ Nonetheless, it's just some CSS and connecting our fields and buttons to the rig
</div>
<div class="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
- <div class="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
+ <div class="bg-white py-8 px-4 shadow-sm sm:rounded-lg sm:px-10">
<div class="space-y-6" *ngIf="!linkSuccess; else check_mails">
<div class="space-y-6">
<label for="email" class="block text-sm font-medium text-gray-700"> Email address </label>
@@ -558,7 +558,7 @@ Nonetheless, it's just some CSS and connecting our fields and buttons to the rig
[(ngModel)]="email"
autocomplete="email"
placeholder="[email protected]"
- class="block w-full rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-emerald-500 focus:outline-none focus:ring-emerald-500 sm:text-sm"
+ class="block w-full rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-xs focus:border-emerald-500 focus:outline-hidden focus:ring-emerald-500 sm:text-sm"
/>
</div>
</div>
@@ -566,7 +566,7 @@ Nonetheless, it's just some CSS and connecting our fields and buttons to the rig
<div>
<button
(click)="signIn()"
- class="flex w-full justify-center rounded-md border border-transparent bg-emerald-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-emerald-700 focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-offset-2"
+ class="flex w-full justify-center rounded-md border border-transparent bg-emerald-600 py-2 px-4 text-sm font-medium text-white shadow-xs hover:bg-emerald-700 focus:outline-hidden focus:ring-2 focus:ring-emerald-500 focus:ring-offset-2"
>
Send magic link
</button>
@@ -820,14 +820,14 @@ Besides that we simply iterate all boards, add the router link to a board based
<li
*ngFor="let board of boards"
[routerLink]="board.boards.id"
- class="relative h-52 rounded bg-emerald-200 py-4 px-4 text-lg font-semibold hover:cursor-pointer hover:bg-emerald-300"
+ class="relative h-52 rounded-sm bg-emerald-200 py-4 px-4 text-lg font-semibold hover:cursor-pointer hover:bg-emerald-300"
>
{{ board.boards.title }}
</li>
<li
(click)="startBoard()"
- class="relative h-52 rounded bg-emerald-500 py-4 px-4 text-lg font-semibold hover:cursor-pointer"
+ class="relative h-52 rounded-sm bg-emerald-500 py-4 px-4 text-lg font-semibold hover:cursor-pointer"
>
+ New board
</li>
@@ -1178,7 +1178,7 @@ Nonetheless we can continue below the previous code in our **src/app/components/
<!-- ITERATE ALL LISTS -->
<div
*ngFor="let list of lists"
- class="min-h-52 relative h-auto rounded bg-emerald-200 py-4 px-4 text-sm font-semibold"
+ class="min-h-52 relative h-auto rounded-sm bg-emerald-200 py-4 px-4 text-sm font-semibold"
>
<div class="flex gap-2 pb-4">
<p
@@ -1191,7 +1191,7 @@ Nonetheless we can continue below the previous code in our **src/app/components/
<input
[(ngModel)]="list.title"
*ngIf="editTitle[list.id]"
- class="block w-full rounded-md border border-gray-300 px-3 py-2 shadow-sm focus:border-emerald-500 focus:outline-none focus:ring-emerald-500 sm:text-sm"
+ class="block w-full rounded-md border border-gray-300 px-3 py-2 shadow-xs focus:border-emerald-500 focus:outline-hidden focus:ring-emerald-500 sm:text-sm"
/>
<button class="font-medium" *ngIf="editTitle[list.id]" (click)="updateListTitle(list)">
Save
@@ -1209,7 +1209,7 @@ Nonetheless we can continue below the previous code in our **src/app/components/
<input
[(ngModel)]="card.title"
*ngIf="editCard[card.id]"
- class="block rounded-md border border-gray-300 px-3 py-2 shadow-sm focus:border-emerald-500 focus:outline-none focus:ring-emerald-500 sm:text-sm"
+ class="block rounded-md border border-gray-300 px-3 py-2 shadow-xs focus:border-emerald-500 focus:outline-hidden focus:ring-emerald-500 sm:text-sm"
/>
<div class="align-items-center flex justify-between">
<button class="font-medium" *ngIf="editCard[card.id]" (click)="updateCard(card)">
@@ -1236,7 +1236,7 @@ Nonetheless we can continue below the previous code in our **src/app/components/
<div
(click)="addList()"
- class="relative h-16 rounded bg-emerald-500 py-4 px-4 text-lg font-semibold hover:cursor-pointer"
+ class="relative h-16 rounded-sm bg-emerald-500 py-4 px-4 text-lg font-semibold hover:cursor-pointer"
>
+ New list
</div>
@@ -1261,11 +1261,11 @@ Add the following in the `<main>` tag of our **src/app/components/inside/board/b
<input
[(ngModel)]="addUserEmail"
placeholder="[email protected]"
- class="block rounded-md border border-gray-300 px-3 py-2 shadow-sm focus:border-emerald-500 focus:outline-none focus:ring-emerald-500 sm:text-sm"
+ class="block rounded-md border border-gray-300 px-3 py-2 shadow-xs focus:border-emerald-500 focus:outline-hidden focus:ring-emerald-500 sm:text-sm"
/>
<button
(click)="addUser()"
- class="inline-flex items-center rounded border border-transparent bg-emerald-600 px-2.5 py-1.5 text-xs font-medium text-white shadow-sm hover:bg-emerald-700 focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-offset-2"
+ class="inline-flex items-center rounded-sm border border-transparent bg-emerald-600 px-2.5 py-1.5 text-xs font-medium text-white shadow-xs hover:bg-emerald-700 focus:outline-hidden focus:ring-2 focus:ring-emerald-500 focus:ring-offset-2"
>
Invite
</button>
diff --git a/apps/www/_blog/2023-04-07-designing-with-ai-midjourney.mdx b/apps/www/_blog/2023-04-07-designing-with-ai-midjourney.mdx
index a292b8f4407..ac7efe44e59 100644
--- a/apps/www/_blog/2023-04-07-designing-with-ai-midjourney.mdx
+++ b/apps/www/_blog/2023-04-07-designing-with-ai-midjourney.mdx
@@ -172,7 +172,7 @@ With our public view in place, we can now easily retrieve the relevant ticket de
The ticket image itself is just a layering of some background images, your GitHub profile picture, and some text elements, et voila you’ve got yourself a unique ticket image!
-<div class="grid grid-cols-2 gap-x-5 md:gap-x-8 [&>figure]:!m-0">
+<div class="grid grid-cols-2 gap-x-5 md:gap-x-8 [&>figure]:m-0!">
<figure>
![Main background image](/images/blog/launch-week-7/designing-with-ai-midjourney/ticket-backdrop.png)
<figcaption>
diff --git a/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx b/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx
index 0198ef480b7..cdb01c93379 100644
--- a/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx
+++ b/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx
@@ -109,7 +109,7 @@ User Workers are separate JS contexts (V8 isolates) that can run a given Edge Fu
<Img
alt="diagram reference"
- className="!m-0"
+ className="m-0!"
src={{
light: '/images/blog/launch-week-7/day-2-edge-runtime/edge-runtime-light-mode.svg',
dark: '/images/blog/launch-week-7/day-2-edge-runtime/edge-runtime-dark-mode.svg',
diff --git a/apps/www/_blog/2023-04-13-supabase-auth-sso-pkce.mdx b/apps/www/_blog/2023-04-13-supabase-auth-sso-pkce.mdx
index f88ef35899a..d7e5be758b1 100644
--- a/apps/www/_blog/2023-04-13-supabase-auth-sso-pkce.mdx
+++ b/apps/www/_blog/2023-04-13-supabase-auth-sso-pkce.mdx
@@ -91,7 +91,7 @@ When we [launched](https://news.ycombinator.com/item?id=24072051) Supabase Auth,
<Img
alt="diagram reference"
- className="!m-0"
+ className="m-0!"
src={{
light:
'/images/blog/launch-week-7/day-4-supabase-auth-sso-pkce/supabase-auth-implicit-grant-flow--light.svg',
@@ -124,7 +124,7 @@ The PKCE flow introduces a _code verifier_ (a randomly generated secret) and a _
<Img
alt="diagram reference"
- className="!m-0"
+ className="m-0!"
src={{
light:
'/images/blog/launch-week-7/day-4-supabase-auth-sso-pkce/supabase-auth-pkce-flow--light.svg',
diff --git a/apps/www/_blog/2023-05-25-chatgpt-plugins-support-postgres.mdx b/apps/www/_blog/2023-05-25-chatgpt-plugins-support-postgres.mdx
index 6fcf0768ba2..59bc9d381b3 100644
--- a/apps/www/_blog/2023-05-25-chatgpt-plugins-support-postgres.mdx
+++ b/apps/www/_blog/2023-05-25-chatgpt-plugins-support-postgres.mdx
@@ -133,7 +133,7 @@ This will require several steps:
<Img
alt="diagram reference"
- className="!m-0"
+ className="m-0!"
src={{
light:
'/images/blog/2023-05-25-chatgpt-plugins-support-postgres/chatgpt-plugin-scheme--light.png',
diff --git a/apps/www/_blog/2023-12-08-how-design-works-at-supabase.mdx b/apps/www/_blog/2023-12-08-how-design-works-at-supabase.mdx
index 92b89fc3623..8af515c02ef 100644
--- a/apps/www/_blog/2023-12-08-how-design-works-at-supabase.mdx
+++ b/apps/www/_blog/2023-12-08-how-design-works-at-supabase.mdx
@@ -175,8 +175,8 @@ Several team members now fit the “Design Engineer” description and it has en
Just today we saw this tweet:
-<a href="https://x.com/soleio/status/1732082949670023373?s=20" target="_black" className="!m-0">
- <figure className="max-w-md mx-auto !my-0">
+<a href="https://x.com/soleio/status/1732082949670023373?s=20" target="_black" className="m-0!">
+ <figure className="max-w-md mx-auto my-0!">
![something](/images/blog/lwx-how-design-works-at-supabase/soleio-tweet.png)
</figure>
</a>
diff --git a/apps/www/_blog/2024-10-10-database-build-live-share.mdx b/apps/www/_blog/2024-10-10-database-build-live-share.mdx
index 6787ecf5d1b..0d52ca9008a 100644
--- a/apps/www/_blog/2024-10-10-database-build-live-share.mdx
+++ b/apps/www/_blog/2024-10-10-database-build-live-share.mdx
@@ -18,7 +18,7 @@ We just rolled out an exciting new feature for [database.build](https://database
Live Share allows you to connect to your in-browser PGlite databases from _outside the browser_.
-<video className="rounded-sm m-0" autoPlay loop muted>
+<video className="rounded-xs m-0" autoPlay loop muted>
<source
src="https://xguihxuzqibwxjnimxev.supabase.co/storage/v1/object/public/videos/marketing/blog/database-build-live-share/database-build-live-share.mp4"
type="video/mp4"
@@ -45,7 +45,7 @@ After creating a database on database.build, you can now tap its sidebar menu an
You could, for example, copy-paste this connection string into `psql`. Once connected, you can interact with your in-browser PGlite instance as if it were any regular Postgres database.
-<video className="rounded-sm m-0" autoPlay loop muted>
+<video className="rounded-xs m-0" autoPlay loop muted>
<source
src="https://xguihxuzqibwxjnimxev.supabase.co/storage/v1/object/public/videos/marketing/blog/database-build-live-share/database-build-live-share-psql.mp4"
type="video/mp4"
diff --git a/apps/www/_blog/2024-12-06-database-build-v2.mdx b/apps/www/_blog/2024-12-06-database-build-v2.mdx
index 23a23575865..d73ba423b6d 100644
--- a/apps/www/_blog/2024-12-06-database-build-v2.mdx
+++ b/apps/www/_blog/2024-12-06-database-build-v2.mdx
@@ -247,7 +247,7 @@ While these challenges have pushed us to focus on alternative deployment options
You've always been able to drag and drop CSV files into the chat, but what about SQL files? In this new release, simply dropping a SQL file onto that chat will automatically load its contents into your browser DB.
<video
- className="overflow-hidden rounded-md border wide !mb-8"
+ className="overflow-hidden rounded-md border wide mb-8!"
width="99%"
autoPlay
loop
diff --git a/apps/www/_blog/2025-04-04-mcp-server.mdx b/apps/www/_blog/2025-04-04-mcp-server.mdx
index 756844e6ec0..a356edcd3ce 100644
--- a/apps/www/_blog/2025-04-04-mcp-server.mdx
+++ b/apps/www/_blog/2025-04-04-mcp-server.mdx
@@ -39,7 +39,7 @@ Our MCP server connects your AI tools to Supabase so that they can perform tasks
For example, here is Cursor building a Next.js + Supabase app, fetching a Supabase URL and anonymous key, and saving them to a `.env.local` file for Next.js to consume:
-<video className="rounded-sm m-0" autoPlay loop muted>
+<video className="rounded-xs m-0" autoPlay loop muted>
<source
src="https://xguihxuzqibwxjnimxev.supabase.co/storage/v1/object/public/videos/marketing/blog/mcp-server/supabase-mcp-demo.mp4"
type="video/mp4"
diff --git a/apps/www/_blog/2025-06-25-natural-db.mdx b/apps/www/_blog/2025-06-25-natural-db.mdx
index d05ff58b9a0..84dc9a53504 100644
--- a/apps/www/_blog/2025-06-25-natural-db.mdx
+++ b/apps/www/_blog/2025-06-25-natural-db.mdx
@@ -20,7 +20,7 @@ At a high level, the system's flexibility is created by combining these core bui
See it at work in the video below.
-<video className="rounded-sm m-0" autoPlay playsInline loop muted allowfullscreen>
+<video className="rounded-xs m-0" autoPlay playsInline loop muted allowfullscreen>
<source
src="https://xguihxuzqibwxjnimxev.supabase.co/storage/v1/object/public/videos/marketing/blog/natural-db/natural-db-demo-combined.mp4"
type="video/mp4"
diff --git a/apps/www/app/blog/BlogClient.tsx b/apps/www/app/blog/BlogClient.tsx
index 953b2da92c0..3db954afb3c 100644
--- a/apps/www/app/blog/BlogClient.tsx
+++ b/apps/www/app/blog/BlogClient.tsx
@@ -18,7 +18,7 @@ function BlogListItemSkeleton() {
return (
<div className="flex flex-col lg:grid lg:grid-cols-10 xl:grid-cols-12 w-full py-2 sm:py-4 h-full border-b">
<div className="flex w-full lg:col-span-8 xl:col-span-8">
- <div className="h-6 bg-foreground-muted/20 rounded animate-pulse w-3/4" />
+ <div className="h-6 bg-foreground-muted/20 rounded-sm animate-pulse w-3/4" />
</div>
<div className="lg:col-span-2 xl:col-span-4 flex justify-start items-center lg:grid grid-cols-2 xl:grid-cols-3 gap-2 text-sm mt-2 lg:mt-0">
<div className="hidden lg:flex items-center -space-x-2">
@@ -29,7 +29,7 @@ function BlogListItemSkeleton() {
<div className="h-5 w-16 bg-foreground-muted/20 rounded-full animate-pulse" />
</div>
<div className="flex-1 lg:text-right">
- <div className="h-4 w-24 bg-foreground-muted/20 rounded animate-pulse ml-auto" />
+ <div className="h-4 w-24 bg-foreground-muted/20 rounded-sm animate-pulse ml-auto" />
</div>
</div>
</div>
@@ -41,15 +41,15 @@ function BlogGridItemSkeleton() {
<div className="inline-block min-w-full p-2 sm:p-4 h-full">
<div className="flex flex-col space-y-2">
<div className="flex flex-col space-y-1">
- <div className="relative mb-3 w-full aspect-[2/1] lg:aspect-[5/3] overflow-hidden rounded-lg border border-default bg-foreground-muted/20 animate-pulse" />
+ <div className="relative mb-3 w-full aspect-2/1 lg:aspect-5/3 overflow-hidden rounded-lg border border-default bg-foreground-muted/20 animate-pulse" />
<div className="flex items-center space-x-1.5">
- <div className="h-4 w-24 bg-foreground-muted/20 rounded animate-pulse" />
- <div className="h-4 w-4 bg-foreground-muted/20 rounded animate-pulse" />
- <div className="h-4 w-16 bg-foreground-muted/20 rounded animate-pulse" />
+ <div className="h-4 w-24 bg-foreground-muted/20 rounded-sm animate-pulse" />
+ <div className="h-4 w-4 bg-foreground-muted/20 rounded-sm animate-pulse" />
+ <div className="h-4 w-16 bg-foreground-muted/20 rounded-sm animate-pulse" />
</div>
- <div className="h-6 w-3/4 bg-foreground-muted/20 rounded animate-pulse mt-1" />
- <div className="h-4 w-full bg-foreground-muted/20 rounded animate-pulse mt-1" />
- <div className="h-4 w-2/3 bg-foreground-muted/20 rounded animate-pulse" />
+ <div className="h-6 w-3/4 bg-foreground-muted/20 rounded-sm animate-pulse mt-1" />
+ <div className="h-4 w-full bg-foreground-muted/20 rounded-sm animate-pulse mt-1" />
+ <div className="h-4 w-2/3 bg-foreground-muted/20 rounded-sm animate-pulse" />
</div>
</div>
</div>
diff --git a/apps/www/app/contribute/t/[id]/page-loading.tsx b/apps/www/app/contribute/t/[id]/page-loading.tsx
index e38efddc2f6..d9a5b3c4a85 100644
--- a/apps/www/app/contribute/t/[id]/page-loading.tsx
+++ b/apps/www/app/contribute/t/[id]/page-loading.tsx
@@ -5,20 +5,20 @@ export default function PageLoading() {
<div className="flex items-start justify-between gap-4 mb-6">
<div className="flex-1">
<div className="flex items-center gap-3 mb-4">
- <div className="h-5 w-5 bg-muted rounded animate-pulse"></div>
- <div className="h-4 bg-muted rounded w-20 animate-pulse"></div>
- <div className="h-4 bg-muted rounded w-24 animate-pulse"></div>
+ <div className="h-5 w-5 bg-muted rounded-sm animate-pulse"></div>
+ <div className="h-4 bg-muted rounded-sm w-20 animate-pulse"></div>
+ <div className="h-4 bg-muted rounded-sm w-24 animate-pulse"></div>
</div>
- <div className="h-8 bg-muted rounded w-3/4 mb-2 animate-pulse"></div>
- <div className="h-4 bg-muted rounded w-32 animate-pulse"></div>
+ <div className="h-8 bg-muted rounded-sm w-3/4 mb-2 animate-pulse"></div>
+ <div className="h-4 bg-muted rounded-sm w-32 animate-pulse"></div>
</div>
</div>
<div className="grid gap-4 mb-6">
<div>
- <div className="h-4 bg-muted rounded w-24 mb-2 animate-pulse"></div>
+ <div className="h-4 bg-muted rounded-sm w-24 mb-2 animate-pulse"></div>
<div className="flex flex-wrap gap-2">
- <div className="h-6 bg-muted rounded w-20 animate-pulse"></div>
- <div className="h-6 bg-muted rounded w-24 animate-pulse"></div>
+ <div className="h-6 bg-muted rounded-sm w-20 animate-pulse"></div>
+ <div className="h-6 bg-muted rounded-sm w-24 animate-pulse"></div>
</div>
</div>
</div>
diff --git a/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx b/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx
index a512af65ba0..46582cac411 100644
--- a/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx
+++ b/apps/www/app/state-of-startups/StateOfStartups2026Content.tsx
@@ -207,7 +207,7 @@ export default function StateOfStartups2026Content() {
<section ref={heroRef} className="w-full">
<StateOfStartupsAuroraHeader />
<SurveySectionBreak className="hidden md:block" />
- <div className="grid grid-cols-1 md:grid-cols-3 max-w-[60rem] mx-auto md:border-x border-muted">
+ <div className="grid grid-cols-1 md:grid-cols-3 max-w-240 mx-auto md:border-x border-muted">
{/* Intro text */}
<div className="md:col-span-2 flex flex-col gap-4 px-8 py-10 border-b md:border-b-0 md:border-r border-muted text-foreground text-xl md:text-2xl text-balance">
<p>{pageData.heroSection.subheader}</p>
diff --git a/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx b/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
index 6b10e479dac..57f0168a86d 100644
--- a/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
+++ b/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
@@ -49,7 +49,7 @@ export function StateOfStartupsAuroraHeader() {
/>
{/* Content — constrained to default container */}
- <div className="relative z-10 max-w-[60rem] mx-auto px-8 flex flex-col gap-4 justify-end pb-16 md:pb-18 min-h-[32svh] md:min-h-[50svh]">
+ <div className="relative z-10 max-w-240 mx-auto px-8 flex flex-col gap-4 justify-end pb-16 md:pb-18 min-h-[32svh] md:min-h-[50svh]">
<p className="font-mono uppercase tracking-wide text-sm text-foreground-light">
Supabase Presents
</p>
diff --git a/apps/www/app/state-of-startups/components/StateOfStartupsHeader.tsx b/apps/www/app/state-of-startups/components/StateOfStartupsHeader.tsx
index 7879f163f43..f6f90ef6af9 100644
--- a/apps/www/app/state-of-startups/components/StateOfStartupsHeader.tsx
+++ b/apps/www/app/state-of-startups/components/StateOfStartupsHeader.tsx
@@ -90,7 +90,7 @@ export function StateOfStartupsHeader({ showProgressBars = true }: StateOfStartu
return (
<header className="mt-16 md:mt-32">
- <div className="max-w-[60rem] ml-8 md:mx-auto">
+ <div className="max-w-240 ml-8 md:mx-auto">
<div className="flex flex-col">
<h1 className="sr-only">State of Startups 2026</h1>
<TextBlock
diff --git a/apps/www/app/state-of-startups/components/SurveyChapter.tsx b/apps/www/app/state-of-startups/components/SurveyChapter.tsx
index 9532097bd60..1ce83db77e9 100644
--- a/apps/www/app/state-of-startups/components/SurveyChapter.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChapter.tsx
@@ -51,7 +51,7 @@ export function SurveyChapter({
align={number % 2 === 0 ? 'start' : 'end'}
/>
{/* Text content */}
- <div className="max-w-[60rem] mx-auto grid gap-y-4 sm:gap-y-8 grid-cols-1 md:grid-cols-3 text-balance pb-12">
+ <div className="max-w-240 mx-auto grid gap-y-4 sm:gap-y-8 grid-cols-1 md:grid-cols-3 text-balance pb-12">
<div className="md:col-span-2 flex flex-col gap-4 px-8">
<p
className={`text-sm uppercase font-mono text-balance tracking-wider text-brand-link`}
diff --git a/apps/www/app/state-of-startups/components/SurveyChapterSection.tsx b/apps/www/app/state-of-startups/components/SurveyChapterSection.tsx
index acd6fdbdd18..6d86ac72c20 100644
--- a/apps/www/app/state-of-startups/components/SurveyChapterSection.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChapterSection.tsx
@@ -72,7 +72,7 @@ export function SurveyChapterSection({
return (
<div id={title.toLowerCase().replace(/\s+/g, '-')} className="">
- <div className="max-w-[60rem] mx-auto flex flex-col md:border-x border-muted">
+ <div className="max-w-240 mx-auto flex flex-col md:border-x border-muted">
<header className="grid grid-cols-1 md:grid-cols-3 text-balance">
<h3
className={`pt-8 pb-4 px-8 md:border-r border-muted font-mono uppercase tracking-wider text-sm ${eyebrowColor}`}
diff --git a/apps/www/app/state-of-startups/components/SurveyChart.tsx b/apps/www/app/state-of-startups/components/SurveyChart.tsx
index caff8c2e6c5..390ae8dc8df 100644
--- a/apps/www/app/state-of-startups/components/SurveyChart.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyChart.tsx
@@ -478,12 +478,12 @@ export function SurveyChart({
!dataLoading &&
!dataError &&
chartData.length > 3 && (
- <div className="absolute bottom-0 left-0 right-0 flex items-center justify-center py-4 bg-gradient-to-b from-transparent to-background">
+ <div className="absolute bottom-0 left-0 right-0 flex items-center justify-center py-4 bg-linear-to-b from-transparent to-background">
<Button
type="default"
size="tiny"
onClick={() => setIsExpanded(true)}
- className="shadow-sm"
+ className="shadow-xs"
>
Show more
</Button>
diff --git a/apps/www/app/state-of-startups/components/SurveyPullQuote.tsx b/apps/www/app/state-of-startups/components/SurveyPullQuote.tsx
index de3bea6c1b6..ddb9b10638e 100644
--- a/apps/www/app/state-of-startups/components/SurveyPullQuote.tsx
+++ b/apps/www/app/state-of-startups/components/SurveyPullQuote.tsx
@@ -24,7 +24,7 @@ export function SurveyPullQuote({
maskPosition: 'top left',
}}
/>
- <div className="relative max-w-[60rem] mx-auto md:border-x border-muted flex flex-col gap-4 text-center items-center px-6 py-24 bg-alternative">
+ <div className="relative max-w-240 mx-auto md:border-x border-muted flex flex-col gap-4 text-center items-center px-6 py-24 bg-alternative">
<p className="text-foreground-lighter text-2xl tracking-tight text-balance max-w-prose">
“{quote}”
</p>
diff --git a/apps/www/app/state-of-startups/components/SurveySectionBreak.tsx b/apps/www/app/state-of-startups/components/SurveySectionBreak.tsx
index 12612a9f0d8..80c4d2fb48a 100644
--- a/apps/www/app/state-of-startups/components/SurveySectionBreak.tsx
+++ b/apps/www/app/state-of-startups/components/SurveySectionBreak.tsx
@@ -3,7 +3,7 @@ import { cn } from 'ui'
export function SurveySectionBreak({ className }: { className?: string }) {
return (
<div aria-hidden="true" className={cn('border-y border-muted', className)}>
- <div className="max-w-[60rem] mx-auto md:border-x border-muted">
+ <div className="max-w-240 mx-auto md:border-x border-muted">
<div
className="h-14 md:h-18 lg:h-20 xl:h-24 bg-surface-400 dark:bg-surface-75"
style={{
diff --git a/apps/www/app/state-of-startups/components/TwoOptionToggle.tsx b/apps/www/app/state-of-startups/components/TwoOptionToggle.tsx
index 1a3e331373c..247f5ea9d9e 100644
--- a/apps/www/app/state-of-startups/components/TwoOptionToggle.tsx
+++ b/apps/www/app/state-of-startups/components/TwoOptionToggle.tsx
@@ -20,7 +20,7 @@ const TwoOptionToggle = ({
) => `absolute top-0 z-1 text-xs inline-flex h-full items-center justify-center font-medium
${
isActive ? 'hover:text-foreground-light hover:text-foreground' : 'hover:text-foreground'
- } hover:text-foreground focus:z-10 focus:outline-none focus:border-blue-300 focus:ring-blue
+ } hover:text-foreground focus:z-10 focus:outline-hidden focus:border-blue-300 focus:ring-blue
transition ease-in-out duration-150`
return (
@@ -32,7 +32,7 @@ const TwoOptionToggle = ({
style={{ width, translate: activeOption === options[1] ? '0px' : `${width - 2}px` }}
aria-hidden="true"
className={cn(
- 'z-0 inline-block rounded h-full bg-overlay-hover shadow transform',
+ 'z-0 inline-block rounded-sm h-full bg-overlay-hover shadow-sm transform',
'transition-all ease-in-out border border-strong'
)}
></span>
diff --git a/apps/www/app/state-of-startups/register/RegisterContent.tsx b/apps/www/app/state-of-startups/register/RegisterContent.tsx
index 3b3edffacd3..cd07a920862 100644
--- a/apps/www/app/state-of-startups/register/RegisterContent.tsx
+++ b/apps/www/app/state-of-startups/register/RegisterContent.tsx
@@ -84,7 +84,7 @@ export function RegisterContent() {
<div className="flex-1 hidden md:block" />
{/* Bottom content — two columns, bottom-aligned */}
- <div className="max-w-[65rem] mx-auto w-full px-8 pb-16 md:pb-24 pt-24 md:pt-0 grid grid-cols-1 lg:grid-cols-[auto_1fr] items-end gap-12 lg:gap-20 transition-opacity [transition-duration:1200ms]">
+ <div className="max-w-260 mx-auto w-full px-8 pb-16 md:pb-24 pt-24 md:pt-0 grid grid-cols-1 lg:grid-cols-[auto_1fr] items-end gap-12 lg:gap-20 transition-opacity [transition-duration:1200ms]">
<div className="flex flex-col">
<h1 className="text-6xl md:text-8xl font-light text-foreground leading-[0.92] tracking-tight">
The State <br /> of Startups
@@ -119,7 +119,7 @@ export function RegisterContent() {
{/* About section */}
<SurveySectionBreak />
<section className="w-full">
- <div className="grid grid-cols-1 md:grid-cols-3 max-w-[60rem] mx-auto md:border-x border-muted">
+ <div className="grid grid-cols-1 md:grid-cols-3 max-w-240 mx-auto md:border-x border-muted">
{/* Left: description text */}
<div className="md:col-span-2 flex flex-col gap-4 px-8 py-10 border-b md:border-b-0 md:border-r border-muted text-foreground text-xl md:text-2xl text-balance">
<p>
@@ -135,7 +135,7 @@ export function RegisterContent() {
</section>
<section className="px-4 py-16 md:px-8 md:py-32">
- <div className="max-w-[60rem] mx-auto">
+ <div className="max-w-240 mx-auto">
<PreviousResultsCta />
</div>
</section>
@@ -149,7 +149,7 @@ function ShirtImage() {
const [hasAppeared, setHasAppeared] = useState(false)
return (
- <div className="flex items-center justify-center relative overflow-hidden aspect-[1/1]">
+ <div className="flex items-center justify-center relative overflow-hidden aspect-square">
<motion.div
className="relative w-full h-full"
initial={{ scale: 0.6, opacity: 0 }}
diff --git a/apps/www/app/wrapped/WrappedClient.tsx b/apps/www/app/wrapped/WrappedClient.tsx
index 76ff2b25ec8..7731839fecd 100644
--- a/apps/www/app/wrapped/WrappedClient.tsx
+++ b/apps/www/app/wrapped/WrappedClient.tsx
@@ -22,7 +22,7 @@ export default function WrappedClient() {
<CustomerStories />
<ProductsCta
currentProduct="functions"
- className="max-w-[60rem] mx-auto px-6 w-full !py-24 xl:!gap-24 lg:!py-44"
+ className="max-w-240 mx-auto px-6 w-full py-24! xl:gap-24! lg:py-44!"
/>
</DefaultLayout>
)
diff --git a/apps/www/components/AIDemo/DotGrid.tsx b/apps/www/components/AIDemo/DotGrid.tsx
index 64ef0697bde..bbcc267198f 100644
--- a/apps/www/components/AIDemo/DotGrid.tsx
+++ b/apps/www/components/AIDemo/DotGrid.tsx
@@ -56,12 +56,12 @@ const DotGrid: React.FC<DotGridProps> = ({ rows, columns, count }) => {
<motion.div
key={index}
variants={isHighlighted ? highlightedVariants : item}
- className="w-[2px] h-[2px] dark:w-[1px] dark:h-[1px] rounded-full bg-foreground-lighter"
+ className="w-[2px] h-[2px] dark:w-px dark:h-px rounded-full bg-foreground-lighter"
/>
)
})}
- <div className="absolute bg-gradient-to-b lg:bg-gradient-to-r inset-0 w-full h-full from-background to-transparent to-40%" />
- <div className="absolute bg-gradient-to-t lg:bg-gradient-to-l inset-0 w-full h-full from-background to-transparent to-20%" />
+ <div className="absolute bg-linear-to-b lg:bg-linear-to-r inset-0 w-full h-full from-background to-transparent to-40%" />
+ <div className="absolute bg-linear-to-t lg:bg-linear-to-l inset-0 w-full h-full from-background to-transparent to-20%" />
</motion.div>
</div>
)
diff --git a/apps/www/components/AIDemo/Panel.tsx b/apps/www/components/AIDemo/Panel.tsx
index b1f87ad216b..18bf8c91ce1 100644
--- a/apps/www/components/AIDemo/Panel.tsx
+++ b/apps/www/components/AIDemo/Panel.tsx
@@ -192,7 +192,7 @@ export const AIDemoPanel = ({ incomingMessages = [] }: { incomingMessages?: Demo
animate={{ opacity: 1 }}
className="pointer-events-none z-10 -mt-24"
>
- <div className="h-24 w-full bg-gradient-to-t from-background muted to-transparent" />
+ <div className="h-24 w-full bg-linear-to-t from-background muted to-transparent" />
</motion.div>
)}
</AnimatePresence>
@@ -204,7 +204,7 @@ export const AIDemoPanel = ({ incomingMessages = [] }: { incomingMessages?: Demo
onChange={(e) => setInput(e.target.value)}
placeholder="Ask your data anything..."
className={cn(
- 'w-full bg-background-muted rounded-md [&>textarea]:border-1 [&>textarea]:rounded-md [&>textarea]:!outline-none [&>textarea]:!ring-offset-0 [&>textarea]:!ring-0 focus:outline-none'
+ 'w-full bg-background-muted rounded-md [&>textarea]:border [&>textarea]:rounded-md [&>textarea]:outline-hidden! [&>textarea]:ring-offset-0! [&>textarea]:ring-0! focus:outline-hidden'
)}
/>
</form>
diff --git a/apps/www/components/AIDemo/SqlSnippet.tsx b/apps/www/components/AIDemo/SqlSnippet.tsx
index c25c9b6f852..4302b726462 100644
--- a/apps/www/components/AIDemo/SqlSnippet.tsx
+++ b/apps/www/components/AIDemo/SqlSnippet.tsx
@@ -161,7 +161,7 @@ export const SqlSnippet = ({
}
return (
- <div className="my-3 mt-2 border rounded bg-surface-100 overflow-hidden">
+ <div className="my-3 mt-2 border rounded-sm bg-surface-100 overflow-hidden">
<div className="">
<div className="flex items-center gap-2 px-4 py-1">
<SQL_ICON
diff --git a/apps/www/components/Announcement/Badge.tsx b/apps/www/components/Announcement/Badge.tsx
index b53e2ed4001..0009742b795 100644
--- a/apps/www/components/Announcement/Badge.tsx
+++ b/apps/www/components/Announcement/Badge.tsx
@@ -48,7 +48,7 @@ const AnnouncementBadge = ({
hover:border-foreground-muted/30
shadow-md
overflow-hidden
- focus-visible:outline-none focus-visible:ring-brand-600 focus-visible:ring-2 focus-visible:rounded-full
+ focus-visible:outline-hidden focus-visible:ring-brand-600 focus-visible:ring-2 focus-visible:rounded-full
`,
!badge && 'pl-5'
)}
@@ -76,7 +76,7 @@ const AnnouncementBadge = ({
<ChevronRightIcon className="announcement-icon h-4 ml-2 -translate-x-1 text-foreground transition-transform group-hover/announcement:translate-x-0" />
)}
<div
- className="announcement-overlay absolute inset-0 -z-10 bg-gradient-to-br
+ className="announcement-overlay absolute inset-0 -z-10 bg-linear-to-br
opacity-70
group-hover/announcement:opacity-100
transition-opacity
diff --git a/apps/www/components/Blog/BlogGridItem.tsx b/apps/www/components/Blog/BlogGridItem.tsx
index cda53ea0c2d..63357185e94 100644
--- a/apps/www/components/Blog/BlogGridItem.tsx
+++ b/apps/www/components/Blog/BlogGridItem.tsx
@@ -39,7 +39,7 @@ const BlogGridItem = ({ post }: Props) => {
>
<div className="flex flex-col space-y-2">
<div className="flex flex-col space-y-1">
- <div className="border-default relative mb-3 w-full aspect-[1.91/1] overflow-hidden rounded-lg border shadow-sm">
+ <div className="border-default relative mb-3 w-full aspect-[1.91/1] overflow-hidden rounded-lg border shadow-xs">
<Image
fill
sizes={BLOG_GRID_IMAGE_SIZES}
@@ -61,7 +61,7 @@ const BlogGridItem = ({ post }: Props) => {
</div>
)}
<h3 className="text-foreground max-w-sm text-xl">{post.title}</h3>
- <p className="text-foreground-light max-w-sm text-base !mb-0">{post.description}</p>
+ <p className="text-foreground-light max-w-sm text-base mb-0!">{post.description}</p>
</div>
</div>
</Link>
diff --git a/apps/www/components/Blog/BlogPostRenderer.tsx b/apps/www/components/Blog/BlogPostRenderer.tsx
index 65d1c69725f..44daa64711f 100644
--- a/apps/www/components/Blog/BlogPostRenderer.tsx
+++ b/apps/www/components/Blog/BlogPostRenderer.tsx
@@ -95,7 +95,7 @@ const BlogPostRenderer = ({
return (
<Link href={`${post.path}`} as={`${post.path}`}>
<div className={className ?? ''}>
- <div className="hover:bg-control cursor-pointer rounded border p-6 transition">
+ <div className="hover:bg-control cursor-pointer rounded-sm border p-6 transition">
<div className="space-y-4">
<div>
<p className="text-foreground-lighter text-sm">{label}</p>
diff --git a/apps/www/components/Blog/DraftModeBanner.tsx b/apps/www/components/Blog/DraftModeBanner.tsx
index c73d513eedc..84380680f3f 100644
--- a/apps/www/components/Blog/DraftModeBanner.tsx
+++ b/apps/www/components/Blog/DraftModeBanner.tsx
@@ -12,7 +12,7 @@ function DraftModeBanner({ onDismiss }: DraftModeBannerProps) {
<div className="max-w-2xl mx-auto py-2 px-4">
<div className="flex items-center justify-between flex-wrap">
<div className="w-0 flex-1 flex items-center">
- <span className="flex p-2 rounded">
+ <span className="flex p-2 rounded-sm">
<AlertTriangle className="h-5 w-5" aria-hidden="true" />
</span>
<p className="ml-2 truncate">
diff --git a/apps/www/components/Blog/FeaturedThumb.tsx b/apps/www/components/Blog/FeaturedThumb.tsx
index 72244182e97..4e72a00f1db 100644
--- a/apps/www/components/Blog/FeaturedThumb.tsx
+++ b/apps/www/components/Blog/FeaturedThumb.tsx
@@ -35,7 +35,7 @@ function renderFeaturedThumb(blog: PostTypes, author: any[]) {
href={`${blog.path}`}
className="grid gap-4 lg:grid-cols-7 lg:gap-8 xl:gap-12 hover:bg-surface-200 dark:hover:bg-surface-75 p-2 sm:p-4 rounded-xl"
>
- <div className="relative w-full aspect-[2/1] lg:col-span-3 lg:aspect-[3/2] overflow-auto rounded-lg border">
+ <div className="relative w-full aspect-2/1 lg:col-span-3 lg:aspect-3/2 overflow-auto rounded-lg border">
<Image
src={imageUrl}
fill
@@ -53,7 +53,7 @@ function renderFeaturedThumb(blog: PostTypes, author: any[]) {
</div>
<div>
- <h2 className="h2 lg:!text-2xl xl:!text-3xl !mb-2">{blog.title}</h2>
+ <h2 className="h2 lg:text-2xl! xl:text-3xl! mb-2!">{blog.title}</h2>
<p className="p xl:text-lg">{blog.description}</p>
</div>
diff --git a/apps/www/components/BuiltWithSupabase/ExamplesMobile.tsx b/apps/www/components/BuiltWithSupabase/ExamplesMobile.tsx
index c508b8d7bed..39219d6dd1c 100644
--- a/apps/www/components/BuiltWithSupabase/ExamplesMobile.tsx
+++ b/apps/www/components/BuiltWithSupabase/ExamplesMobile.tsx
@@ -27,7 +27,7 @@ const ExamplesMobile: FC<Props> = ({ examples, className }: any) => {
watchOverflow
threshold={2}
updateOnWindowResize
- className="!px-6 w-full overflow-visible"
+ className="px-6! w-full overflow-visible"
breakpoints={{
320: {
slidesPerView: 1.1,
diff --git a/apps/www/components/BuiltWithSupabase/index.tsx b/apps/www/components/BuiltWithSupabase/index.tsx
index 5a33f65e324..3a729e5cdd1 100644
--- a/apps/www/components/BuiltWithSupabase/index.tsx
+++ b/apps/www/components/BuiltWithSupabase/index.tsx
@@ -10,7 +10,7 @@ import ExamplesMobile from './ExamplesMobile'
const BuiltWithSupabase = () => {
return (
<>
- <SectionContainer id="examples" className="xl:pt-32 !pb-0">
+ <SectionContainer id="examples" className="xl:pt-32 pb-0!">
<div className="text-center flex flex-col items-center">
<h3 className="h2">Start building in seconds</h3>
<p className="p max-w-[300px] md:max-w-none">
@@ -23,7 +23,7 @@ const BuiltWithSupabase = () => {
<Button
asChild
type="default"
- icon={<IconGitHubSolid size="tiny" className="!w-full !h-full" />}
+ icon={<IconGitHubSolid size="tiny" className="w-full! h-full!" />}
size="small"
>
<Link href="https://github.com/supabase/supabase/tree/master/examples">
@@ -33,7 +33,7 @@ const BuiltWithSupabase = () => {
</div>
</div>
</SectionContainer>
- <SectionContainer className="relative w-full !px-0 lg:!px-16 xl:!px-20 !pb-0 mb-16 md:mb-12 lg:mb-12 !pt-6 max-w-[1400px]">
+ <SectionContainer className="relative w-full px-0! lg:px-16! xl:px-20! pb-0! mb-16 md:mb-12 lg:mb-12 pt-6! max-w-[1400px]">
<ExamplesMobile examples={Examples.slice(0, 6)} className="lg:hidden" />
<div className="hidden lg:grid grid-cols-12 gap-5 mt-4">
{Examples.slice(0, 6).map((example, i) => {
diff --git a/apps/www/components/Button.tsx b/apps/www/components/Button.tsx
index 6e080901969..978c6adf368 100644
--- a/apps/www/components/Button.tsx
+++ b/apps/www/components/Button.tsx
@@ -11,7 +11,7 @@ const Button = (props: Props) => {
const colorClass =
type === 'primary'
- ? 'px-3 py-2 shadow-sm border border-transparent text-white bg-brand-400 hover:bg-brand-300 focus:ring-2 focus:ring-offset-2 focus:ring-brand-300'
+ ? 'px-3 py-2 shadow-xs border border-transparent text-white bg-brand-400 hover:bg-brand-300 focus:ring-2 focus:ring-offset-2 focus:ring-brand-300'
: 'text-brand-400 bg-none'
const textClass = type === 'primary' ? 'font-medium left-3 group-hover:left-0' : 'font-normal'
@@ -30,7 +30,7 @@ const Button = (props: Props) => {
type="button"
className={`
group inline-flex items-center rounded-md text-sm
- leading-4 transition focus:outline-none ${colorClass} ${className}
+ leading-4 transition focus:outline-hidden ${colorClass} ${className}
`}
style={buttonStyles}
>
diff --git a/apps/www/components/Changelog/ChangelogTimelineList.tsx b/apps/www/components/Changelog/ChangelogTimelineList.tsx
index fc41faefdbb..a75c04c3e4f 100644
--- a/apps/www/components/Changelog/ChangelogTimelineList.tsx
+++ b/apps/www/components/Changelog/ChangelogTimelineList.tsx
@@ -38,8 +38,8 @@ export function LabelBadges({
href={changelogTagFilterUrl(label.name)}
className={
tiny
- ? 'inline-flex shrink-0 no-underline focus-visible:ring-brand-default rounded focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none'
- : 'inline-flex shrink-0 no-underline focus-visible:ring-brand-default rounded-md focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none'
+ ? 'inline-flex shrink-0 no-underline focus-visible:ring-brand-default rounded-sm focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden'
+ : 'inline-flex shrink-0 no-underline focus-visible:ring-brand-default rounded-md focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden'
}
onClick={onBadgeClick}
>
@@ -123,9 +123,9 @@ export function ChangelogTimelineList(props: Props) {
}
>
<div className="relative hidden lg:col-span-2 lg:block">
- <div className="-ml-[42px] text-foreground lg:sticky lg:top-[calc(65px+1rem)] lg:pt-4">
+ <div className="ml-[-42px] text-foreground lg:sticky lg:top-[calc(65px+1rem)] lg:pt-4">
<div className="text-foreground-light mb-1 flex items-center gap-2">
- <div className="bg-border border-muted flex h-5 w-5 shrink-0 items-center justify-center rounded border drop-shadow-sm">
+ <div className="bg-border border-muted flex h-5 w-5 shrink-0 items-center justify-center rounded-sm border drop-shadow-xs">
<GitCommit size={14} strokeWidth={1.5} />
</div>
<Link
diff --git a/apps/www/components/CodeTabs/CodeTabs.components.tsx b/apps/www/components/CodeTabs/CodeTabs.components.tsx
index b15f0d9ba74..3e0dc5ba46e 100644
--- a/apps/www/components/CodeTabs/CodeTabs.components.tsx
+++ b/apps/www/components/CodeTabs/CodeTabs.components.tsx
@@ -8,7 +8,7 @@ export function NamedCodeBlock({ name, children }: PropsWithChildren<{ name: str
<h6
className={cn(
'w-fit flex items-center text-center',
- 'shadow-sm rounded border border-stronger bg-selection',
+ 'shadow-xs rounded-sm border border-stronger bg-selection',
'px-2.5 py-1',
'text-xs text-foreground'
)}
diff --git a/apps/www/components/Contribute/Conversation.tsx b/apps/www/components/Contribute/Conversation.tsx
index cb035272fe8..ad633e8ad9b 100644
--- a/apps/www/components/Contribute/Conversation.tsx
+++ b/apps/www/components/Contribute/Conversation.tsx
@@ -26,7 +26,7 @@ export async function Conversation({ thread }: { thread: ThreadRow }) {
<div className="flex flex-col gap-10">
{/* Title, Question, and First Reply Section */}
{question && question.content && (
- <div className="bg-surface-200 p-[var(--card-padding-x)] rounded-lg flex flex-col gap-6">
+ <div className="bg-surface-200 p-(--card-padding-x) rounded-lg flex flex-col gap-6">
{/* Platform, Date, Author, Title */}
<header className="flex flex-col gap-3">
{/* Platform, Date, Author - logo spans both rows; platform/date and author link out */}
@@ -87,7 +87,7 @@ export async function Conversation({ thread }: { thread: ThreadRow }) {
</header>
{/* Question */}
- <div className="border border-border rounded-lg p-6 bg-surface-100 min-w-0 shadow-sm">
+ <div className="border border-border rounded-lg p-6 bg-surface-100 min-w-0 shadow-xs">
<div className="text-foreground min-w-0">
<ReactMarkdown components={markdownComponents} remarkPlugins={[remarkGfm]}>
{question.content}
diff --git a/apps/www/components/Contribute/SimilarSolvedThreads.tsx b/apps/www/components/Contribute/SimilarSolvedThreads.tsx
index d6854d81d7e..322bad79ad0 100644
--- a/apps/www/components/Contribute/SimilarSolvedThreads.tsx
+++ b/apps/www/components/Contribute/SimilarSolvedThreads.tsx
@@ -167,7 +167,7 @@ export const SimilarSolvedThreads = ({ threads, parentThreadId }: SimilarSolvedT
<button
type="button"
onClick={() => setIsExpanded((prev) => !prev)}
- className="flex w-full items-center gap-1.5 px-[var(--card-padding-x)] py-4 text-left text-xs font-mono uppercase text-card-foreground"
+ className="flex w-full items-center gap-1.5 px-(--card-padding-x) py-4 text-left text-xs font-mono uppercase text-card-foreground"
>
Related threads
<span className="text-foreground-muted tabular-nums font-normal">({threads.length})</span>
@@ -203,7 +203,7 @@ export const SimilarSolvedThreads = ({ threads, parentThreadId }: SimilarSolvedT
type="button"
onClick={() => handleThumbClick('positive')}
disabled={isSubmitting}
- className="p-1 rounded hover:bg-surface-200 transition-colors disabled:opacity-50"
+ className="p-1 rounded-sm hover:bg-surface-200 transition-colors disabled:opacity-50"
aria-label="Relevant"
>
<ThumbsUp className="h-4 w-4 text-foreground-muted" />
@@ -217,7 +217,7 @@ export const SimilarSolvedThreads = ({ threads, parentThreadId }: SimilarSolvedT
type="button"
onClick={() => handleThumbClick('negative')}
disabled={isSubmitting}
- className="p-1 rounded hover:bg-surface-200 transition-colors disabled:opacity-50"
+ className="p-1 rounded-sm hover:bg-surface-200 transition-colors disabled:opacity-50"
aria-label="Irrelevant"
>
<ThumbsDown className="h-4 w-4 text-foreground-muted" />
@@ -245,7 +245,7 @@ export const SimilarSolvedThreads = ({ threads, parentThreadId }: SimilarSolvedT
<div className="flex items-center gap-1">
<label
className={cn(
- 'p-2 rounded cursor-pointer transition-colors',
+ 'p-2 rounded-sm cursor-pointer transition-colors',
dialogReaction === 'positive'
? 'bg-surface-300 text-foreground'
: 'hover:bg-surface-200 text-foreground-lighter'
@@ -264,7 +264,7 @@ export const SimilarSolvedThreads = ({ threads, parentThreadId }: SimilarSolvedT
</label>
<label
className={cn(
- 'p-2 rounded cursor-pointer transition-colors',
+ 'p-2 rounded-sm cursor-pointer transition-colors',
dialogReaction === 'negative'
? 'bg-surface-300 text-foreground'
: 'hover:bg-surface-200 text-foreground-lighter'
diff --git a/apps/www/components/Contribute/UnansweredThreadsTable.tsx b/apps/www/components/Contribute/UnansweredThreadsTable.tsx
index 71ce44a9e3e..df3ad6c5038 100644
--- a/apps/www/components/Contribute/UnansweredThreadsTable.tsx
+++ b/apps/www/components/Contribute/UnansweredThreadsTable.tsx
@@ -35,7 +35,7 @@ interface TabConfig {
}
function CountSkeleton() {
- return <span className="inline-block min-w-[24px] h-5 bg-surface-300 animate-pulse rounded" />
+ return <span className="inline-block min-w-[24px] h-5 bg-surface-300 animate-pulse rounded-sm" />
}
function ThreadsTable({
@@ -393,7 +393,7 @@ function ThreadRow({
}
return (
- <TableRow className="relative group [&.hovering-badge>td]:hover:!bg-transparent">
+ <TableRow className="relative group [&.hovering-badge>td]:hover:bg-transparent!">
{/* Thread title and product areas */}
<TableCell className="w-auto max-w-[600px]">
<div className="flex items-center gap-3 overflow-hidden">
@@ -617,7 +617,7 @@ function highlightText(text: string, searchTerm: string | null): ReactNode {
}
// Add the highlighted match
parts.push(
- <mark key={index} className="bg-brand-200 dark:bg-brand-500 dark:!text-foreground px-0.5">
+ <mark key={index} className="bg-brand-200 dark:bg-brand-500 dark:text-foreground! px-0.5">
{text.slice(index, index + searchTerm.length)}
</mark>
)
diff --git a/apps/www/components/Contribute/markdownComponents.tsx b/apps/www/components/Contribute/markdownComponents.tsx
index 64e8c8859a1..59dfa69cfa2 100644
--- a/apps/www/components/Contribute/markdownComponents.tsx
+++ b/apps/www/components/Contribute/markdownComponents.tsx
@@ -7,7 +7,7 @@ export const markdownComponents: Components = {
) : (
<code
{...props}
- className="bg-surface-200 text-foreground px-1.5 py-0.5 rounded text-sm font-mono"
+ className="bg-surface-200 text-foreground px-1.5 py-0.5 rounded-sm text-sm font-mono"
/>
),
pre: ({ node, ...props }) => (
diff --git a/apps/www/components/CustomerStories/CustomersSliderMobile.tsx b/apps/www/components/CustomerStories/CustomersSliderMobile.tsx
index 5a809b48bdb..3131fd6b311 100644
--- a/apps/www/components/CustomerStories/CustomersSliderMobile.tsx
+++ b/apps/www/components/CustomerStories/CustomersSliderMobile.tsx
@@ -24,19 +24,19 @@ const CustomersSliderMobile: React.FC<Props> = ({ columns, className }) => (
threshold={2}
updateOnWindowResize
allowTouchMove
- className="!px-6 w-full h-full overflow-visible"
+ className="px-6! w-full h-full overflow-visible"
>
{columns.map((column: CompositionColType, i: number) => (
<SwiperSlide
className={cn(
- 'flex w-full !h-full',
- column.type === 'expanded' ? 'w-full max-w-[450px]' : '!w-[250px]'
+ 'flex w-full h-full!',
+ column.type === 'expanded' ? 'w-full max-w-[450px]' : 'w-[250px]!'
)}
key={`${column.cards[0].organization}-mobile-customer-${i}`}
>
<CompositionCol
className={cn(
- 'flex flex-col w-full !h-full gap-3',
+ 'flex flex-col w-full h-full! gap-3',
column.type === 'expanded' ? 'w-full' : 'w-[250px]'
)}
column={column}
diff --git a/apps/www/components/CustomerStories/CutomsersSliderDesktop.tsx b/apps/www/components/CustomerStories/CutomsersSliderDesktop.tsx
index 0150ed81c59..c84d2c7ff03 100644
--- a/apps/www/components/CustomerStories/CutomsersSliderDesktop.tsx
+++ b/apps/www/components/CustomerStories/CutomsersSliderDesktop.tsx
@@ -39,7 +39,7 @@ const CutomsersSliderDesktop: React.FC<Props> = ({ columns, className }) => (
<CompositionCol
key={`customers-col-${idx1}-${idx2}`}
className={cn(
- 'flex flex-col !h-full',
+ 'flex flex-col h-full!',
compositionGap,
column.type === 'expanded' ? 'w-[450px]' : 'w-[250px]'
)}
diff --git a/apps/www/components/CustomerStories/index.tsx b/apps/www/components/CustomerStories/index.tsx
index 1d2037b9ea4..e34a7bba60d 100644
--- a/apps/www/components/CustomerStories/index.tsx
+++ b/apps/www/components/CustomerStories/index.tsx
@@ -19,7 +19,7 @@ const CutomsersSliderDesktop = dynamic(() => import('./CutomsersSliderDesktop'))
const CustomerStories = () => (
<div id="customers" className="overflow-hidden pb-16 md:pb-24">
- <SectionContainer className="!pb-8 w-full flex gap-4 justify-between flex-col xl:flex-row xl:items-end">
+ <SectionContainer className="pb-8! w-full flex gap-4 justify-between flex-col xl:flex-row xl:items-end">
<SectionHeader
title="Trusted by the world’s"
title_alt=" most innovative companies."
diff --git a/apps/www/components/Enterprise/CTAForm.tsx b/apps/www/components/Enterprise/CTAForm.tsx
index c4bc02edc18..228f5dae5c8 100644
--- a/apps/www/components/Enterprise/CTAForm.tsx
+++ b/apps/www/components/Enterprise/CTAForm.tsx
@@ -12,7 +12,7 @@ const UseCases: FC<Props> = (props) => {
<SectionContainer className="text grid gap-8 lg:gap-12 md:grid-cols-2">
<div className="lg:pb-8 md:h-full w-full flex flex-col justify-between gap-2">
<div className="flex flex-col gap-2 md:max-w-md">
- <h1 className="h1 !m-0">Request a demo</h1>
+ <h1 className="h1 m-0!">Request a demo</h1>
<p className="md:text-lg text-foreground-lighter">
We can take your requirements and show you how Supabase can help you achieve your goals.
</p>
diff --git a/apps/www/components/Enterprise/EnterpriseLogos.tsx b/apps/www/components/Enterprise/EnterpriseLogos.tsx
index 7c67c29002a..a1510ed21a2 100644
--- a/apps/www/components/Enterprise/EnterpriseLogos.tsx
+++ b/apps/www/components/Enterprise/EnterpriseLogos.tsx
@@ -49,10 +49,10 @@ const EnterpriseLogos: React.FC<Props> = ({ className }) => {
alt={logo.alt}
className="
w-auto block
- h-10 !min-h-10
- md:h-12 md:!min-h-12
- lg:h-11 lg:!min-h-11
- 2xl:h-12 2xl:!min-h-12
+ h-10 min-h-10!
+ md:h-12 md:min-h-12!
+ lg:h-11 lg:min-h-11!
+ 2xl:h-12 2xl:min-h-12!
"
draggable={false}
/>
diff --git a/apps/www/components/Enterprise/Performance.tsx b/apps/www/components/Enterprise/Performance.tsx
index ec1bd9819c1..ea20b007d3e 100644
--- a/apps/www/components/Enterprise/Performance.tsx
+++ b/apps/www/components/Enterprise/Performance.tsx
@@ -20,8 +20,8 @@ const Performance: FC<Props> = (props) => {
<div className="relative z-10 flex flex-col gap-4 md:gap-8 pb-20">
<div className="flex flex-col gap-2 max-w-xl">
{/* <span className="label">{props.label}</span> */}
- <h2 className="h2 !m-0">{props.heading}</h2>
- <p className="p !text-foreground-lighter">{props.subheading}</p>
+ <h2 className="h2 m-0!">{props.heading}</h2>
+ <p className="p text-foreground-lighter!">{props.subheading}</p>
</div>
<div className="flex flex-wrap gap-4 md:gap-12">
{props.highlights.map((highlight) => (
diff --git a/apps/www/components/Enterprise/Security.tsx b/apps/www/components/Enterprise/Security.tsx
index e3cb68933b8..950ca804c14 100644
--- a/apps/www/components/Enterprise/Security.tsx
+++ b/apps/www/components/Enterprise/Security.tsx
@@ -35,8 +35,8 @@ const EnterpriseSecurity: FC<SecuritySectionProps> = (props) => {
>
<div className="flex flex-col gap-2 max-w-xl">
<span className="label">{props.label}</span>
- <h2 className="h2 !m-0">{props.heading}</h2>
- <p className="p !text-foreground-lighter">{props.subheading}</p>
+ <h2 className="h2 m-0!">{props.heading}</h2>
+ <p className="p text-foreground-lighter!">{props.subheading}</p>
<TextLink hasChevron label={props.cta.label} url={props.cta.url} className="mt-2" />
</div>
<ul className="grid grid-cols-2 sm:grid-cols-2 gap-4 md:gap-x-20 h-fit xl:grid-cols-2 mt-4 xl:mt-8">
diff --git a/apps/www/components/Enterprise/UseCases.tsx b/apps/www/components/Enterprise/UseCases.tsx
index 057aa4430c8..59ee9d27d32 100644
--- a/apps/www/components/Enterprise/UseCases.tsx
+++ b/apps/www/components/Enterprise/UseCases.tsx
@@ -35,14 +35,14 @@ type Highlight = {
const UseCases: FC<Props> = (props) => (
<section id={props.id}>
- <SectionContainer className="flex flex-col gap-4 md:gap-8 !pb-0">
+ <SectionContainer className="flex flex-col gap-4 md:gap-8 pb-0!">
<div className="flex flex-col gap-2">
<span className="label">{props.label}</span>
<h2 className="h2">{props.heading}</h2>
</div>
</SectionContainer>
<div className="overflow-hidden">
- <SectionContainer className="!py-4">
+ <SectionContainer className="py-4!">
<ul className="hidden xl:flex flex-col gap-4 md:flex-row items-stretch w-full h-auto min-h-[300px]">
{props.stories?.map((story) => (
<li key={story.heading} className="w-full">
@@ -60,7 +60,7 @@ const UseCases: FC<Props> = (props) => (
watchOverflow
threshold={2}
updateOnWindowResize
- className="h-[300px] w-full !overflow-visible"
+ className="h-[300px] w-full overflow-visible!"
breakpoints={{
320: {
slidesPerView: 1.2,
@@ -82,7 +82,7 @@ const UseCases: FC<Props> = (props) => (
</div>
</SectionContainer>
</div>
- <SectionContainer className="!pt-0">
+ <SectionContainer className="pt-0!">
<ul className="grid grid-cols-2 gap-4 sm:gap-10 gap-y-10 lg:grid-cols-4 md:gap-12 lg:gap-x-8 mt-8">
{props.highlights?.map((highlight) => (
<HighlightCard highlight={highlight} key={highlight.heading} />
@@ -110,7 +110,7 @@ const StoryCard: FC<StoryCardProps> = ({ story }) => (
alt={story.heading ?? ''}
width={150}
height={30}
- className="max-h-[23px] max-w-[150px] w-auto object-contain object-left-bottom filter invert dark:invert-0 opacity-60"
+ className="max-h-[23px] max-w-[150px] w-auto object-contain object-bottom-left filter invert dark:invert-0 opacity-60"
/>
)}
<h3 className="text-foreground">{story.heading}</h3>
diff --git a/apps/www/components/EnterpriseFormQuotes.tsx b/apps/www/components/EnterpriseFormQuotes.tsx
index 96d201bd417..2b9f7bd8e36 100644
--- a/apps/www/components/EnterpriseFormQuotes.tsx
+++ b/apps/www/components/EnterpriseFormQuotes.tsx
@@ -11,7 +11,7 @@ interface TabProps {
const Tab = ({ isActive, label, onClick }: TabProps) => (
<button
onClick={onClick}
- className={`text-left text-lg flex flex-col group gap-1 transition-opacity flex-[1] ${
+ className={`text-left text-lg flex flex-col group gap-1 transition-opacity flex-1 ${
isActive ? 'opacity-100' : 'opacity-50'
}`}
aria-selected={isActive}
@@ -100,7 +100,7 @@ const EnterpriseFormQuotes = ({
</motion.div>
</AnimatePresence>
{/* progress bar */}
- <div className="relative w-full h-[1px] bg-border-strong opacity-80 group-hover:opacity-100 rounded-full overflow-hidden">
+ <div className="relative w-full h-px bg-border-strong opacity-80 group-hover:opacity-100 rounded-full overflow-hidden">
<motion.div
className={cn(
'absolute motion-reduce:hidden inset-0 w-full right-full bg-brand h-full transition-all',
diff --git a/apps/www/components/EventCallout.tsx b/apps/www/components/EventCallout.tsx
index c9195e4b832..8e989f78cf1 100644
--- a/apps/www/components/EventCallout.tsx
+++ b/apps/www/components/EventCallout.tsx
@@ -55,7 +55,7 @@ const EventCallout = ({ className, size = 'tiny', ...props }: PropsWithChildren<
outerClassName="w-full"
innerClassName="relative p-4 lg:p-8 h-full flex flex-col md:flex-row gap-4 md:gap-8"
>
- <div className="relative h-52 lg:h-44 xl:h-52 aspect-[2/1] md:!aspect-[3/2] rounded-lg border">
+ <div className="relative h-52 lg:h-44 xl:h-52 aspect-2/1 md:aspect-3/2! rounded-lg border">
{/* <Image
src=""
fill
diff --git a/apps/www/components/Events/EventGridItem.tsx b/apps/www/components/Events/EventGridItem.tsx
index 0d137a6c6e2..39ef6959de9 100644
--- a/apps/www/components/Events/EventGridItem.tsx
+++ b/apps/www/components/Events/EventGridItem.tsx
@@ -32,7 +32,7 @@ const EventGridItem = ({ event }: Props) => {
>
<div className="flex flex-col space-y-2">
<div className="flex flex-col space-y-1">
- <div className="border-default relative mb-3 w-full aspect-[2/1] lg:aspect-[5/3] overflow-hidden rounded-lg border shadow-sm">
+ <div className="border-default relative mb-3 w-full aspect-2/1 lg:aspect-5/3 overflow-hidden rounded-lg border shadow-xs">
{!event.thumb ? (
<div className="bg-background-alternative w-full h-full" />
) : (
@@ -65,7 +65,7 @@ const EventGridItem = ({ event }: Props) => {
</div>
)}
<h3 className="text-foreground max-w-sm text-xl">{event.title}</h3>
- <p className="text-foreground-light max-w-sm text-base !mb-0">{event.description}</p>
+ <p className="text-foreground-light max-w-sm text-base mb-0!">{event.description}</p>
</div>
</div>
</Link>
diff --git a/apps/www/components/Events/EventsFilters.tsx b/apps/www/components/Events/EventsFilters.tsx
index 542df72ebde..80fa2559924 100644
--- a/apps/www/components/Events/EventsFilters.tsx
+++ b/apps/www/components/Events/EventsFilters.tsx
@@ -270,7 +270,7 @@ function EventFilters({ allEvents, setEvents, categories, onDemandEvents }: Prop
setSearchTerm('')
setShowSearchInput(false)
}}
- className="text-foreground-light hover:text-foreground bg-control/100 hover:bg-selection"
+ className="text-foreground-light hover:text-foreground bg-control hover:bg-selection"
>
<CloseIcon size="14" />
</Button>
diff --git a/apps/www/components/Events/new/EventBanner.tsx b/apps/www/components/Events/new/EventBanner.tsx
index 6fe96955f07..bf075e14370 100644
--- a/apps/www/components/Events/new/EventBanner.tsx
+++ b/apps/www/components/Events/new/EventBanner.tsx
@@ -153,10 +153,10 @@ const EventBannerSkeleton = () => {
{/* Left: title + host + description */}
<div className="flex flex-col gap-6 flex-1">
<div className="flex flex-col gap-1.5">
- <div className="h-8 bg-surface-200 rounded animate-pulse w-3/4" />
- <div className="h-5 bg-surface-200 rounded animate-pulse w-1/2 mt-1" />
+ <div className="h-8 bg-surface-200 rounded-sm animate-pulse w-3/4" />
+ <div className="h-5 bg-surface-200 rounded-sm animate-pulse w-1/2 mt-1" />
</div>
- <div className="h-16 bg-surface-200 rounded animate-pulse w-full" />
+ <div className="h-16 bg-surface-200 rounded-sm animate-pulse w-full" />
</div>
{/* Right: widgets top, button bottom */}
@@ -166,23 +166,23 @@ const EventBannerSkeleton = () => {
<div className="flex items-center gap-4">
<div className="bg-surface-200 w-10 h-10 rounded-md animate-pulse" />
<div className="flex flex-col gap-2">
- <div className="h-4 w-32 bg-surface-200 rounded animate-pulse" />
- <div className="h-3 w-20 bg-surface-200 rounded animate-pulse" />
+ <div className="h-4 w-32 bg-surface-200 rounded-sm animate-pulse" />
+ <div className="h-3 w-20 bg-surface-200 rounded-sm animate-pulse" />
</div>
</div>
{/* Location Widget Skeleton */}
<div className="flex items-center gap-4">
<div className="bg-surface-200 w-10 h-10 rounded-md animate-pulse" />
<div className="flex flex-col gap-2">
- <div className="h-4 w-20 bg-surface-200 rounded animate-pulse" />
- <div className="h-3 w-24 bg-surface-200 rounded animate-pulse" />
+ <div className="h-4 w-20 bg-surface-200 rounded-sm animate-pulse" />
+ <div className="h-3 w-24 bg-surface-200 rounded-sm animate-pulse" />
</div>
</div>
</div>
{/* Button Skeleton */}
<div className="flex justify-end">
- <div className="h-9 w-24 bg-surface-200 rounded animate-pulse" />
+ <div className="h-9 w-24 bg-surface-200 rounded-sm animate-pulse" />
</div>
</div>
</article>
diff --git a/apps/www/components/Events/new/EventClientRenderer.tsx b/apps/www/components/Events/new/EventClientRenderer.tsx
index 0642406f108..9cf74c5bbb7 100644
--- a/apps/www/components/Events/new/EventClientRenderer.tsx
+++ b/apps/www/components/Events/new/EventClientRenderer.tsx
@@ -24,7 +24,7 @@ export function EventClientRenderer({ notionEvents }: { notionEvents: SupabaseEv
<EventsProvider notionEvents={notionEvents}>
<DefaultLayout className="flex flex-col">
<EventsContainer className="border-x border-b py-8">
- <h1 className="h3 !p-0 !m-0">
+ <h1 className="h3 p-0! m-0!">
<span className="sr-only">Supabase</span> Events
</h1>
<p className="text-foreground-light">Join us at the following upcoming events</p>
diff --git a/apps/www/components/Events/new/EventGallery.tsx b/apps/www/components/Events/new/EventGallery.tsx
index 90cb40ff64f..c03063ed3e7 100644
--- a/apps/www/components/Events/new/EventGallery.tsx
+++ b/apps/www/components/Events/new/EventGallery.tsx
@@ -5,7 +5,7 @@ import { EventTimeline } from './EventTimeline'
export function EventGallery() {
return (
- <section className={cn('grid md:grid-cols-[minmax(320px,35%),16px,1fr] gap-12')}>
+ <section className={cn('grid md:grid-cols-[minmax(320px,35%)_16px_1fr] gap-12')}>
<div className="sticky top-16 md:top-24 py-4 bg-background self-start z-10">
<EventGalleryFilters />
</div>
diff --git a/apps/www/components/Events/new/EventList.tsx b/apps/www/components/Events/new/EventList.tsx
index 87e61190c41..2af52ac17a9 100644
--- a/apps/www/components/Events/new/EventList.tsx
+++ b/apps/www/components/Events/new/EventList.tsx
@@ -56,8 +56,8 @@ export function EventList() {
<div key={`group-${date}`} className="flex flex-col gap-y-2 relative">
<div
className={cn(
- 'absolute top-2 -left-[calc(48px+11px)] rounded-full size-1.5',
- index === 0 ? 'bg-brand size-2 -left-[calc(48px+12px)]' : 'bg-foreground-muted'
+ 'absolute top-2 left-[-59px] rounded-full size-1.5',
+ index === 0 ? 'bg-brand size-2 left-[-60px]' : 'bg-foreground-muted'
)}
/>
@@ -108,7 +108,7 @@ export function EventList() {
</div>
<div className="flex gap-2 items-center text-sm text-foreground-light">
- <div className="size-5 rounded-full border bg-gradient-to-br from-background-surface-100 to-background-surface-200 relative">
+ <div className="size-5 rounded-full border bg-linear-to-br from-background-surface-100 to-background-surface-200 relative">
{event.hosts[0]?.avatar_url && (
<img
src={event.hosts[0].avatar_url}
@@ -159,9 +159,9 @@ const EventListSkeleton = () => {
<div className="flex flex-col gap-y-8">
{[1, 2, 3].map((groupIdx) => (
<div key={`skeleton-group-${groupIdx}`} className="flex flex-col gap-y-2 relative">
- <div className="absolute top-2 -left-[calc(48px+11px)] rounded-full size-1.5 bg-foreground-muted" />
+ <div className="absolute top-2 left-[-59px] rounded-full size-1.5 bg-foreground-muted" />
- <div className="h-6 bg-surface-200 rounded animate-pulse w-64" />
+ <div className="h-6 bg-surface-200 rounded-sm animate-pulse w-64" />
<div className="flex flex-col gap-y-4">
{[1, 2, 3, 4].map((eventIdx) => (
@@ -170,11 +170,11 @@ const EventListSkeleton = () => {
className="bg-surface-100 border rounded-md p-3 flex justify-between items-start"
>
<div className="flex flex-col gap-2 flex-1">
- <div className="h-6 bg-surface-200 rounded animate-pulse w-3/4" />
+ <div className="h-6 bg-surface-200 rounded-sm animate-pulse w-3/4" />
<div className="flex gap-2 items-center">
<div className="size-5 rounded-full bg-surface-200 animate-pulse" />
- <div className="h-4 bg-surface-200 rounded animate-pulse w-32" />
+ <div className="h-4 bg-surface-200 rounded-sm animate-pulse w-32" />
</div>
</div>
diff --git a/apps/www/components/ExampleCard.tsx b/apps/www/components/ExampleCard.tsx
index 7b19d77b6bc..909304e7694 100644
--- a/apps/www/components/ExampleCard.tsx
+++ b/apps/www/components/ExampleCard.tsx
@@ -34,7 +34,7 @@ function ExampleCard(props: any) {
<Panel outerClassName="h-full" innerClassName="bg-surface-75 group/panel" hasActiveOnHover>
<div className="flex flex-col justify-between">
{props.tags && (
- <div className="relative w-full aspect-[3/1] bg flex items-center justify-center gap-4 overflow-hidden">
+ <div className="relative w-full aspect-3/1 bg flex items-center justify-center gap-4 overflow-hidden">
{props.tags.map((tag: string) => {
const framework = frameworks.find((f) => f.name === tag)
if (!framework) return null
@@ -112,11 +112,11 @@ function ExampleCard(props: any) {
<Button
size="tiny"
type="text"
- className="group overflow-hidden text-foreground-lighter group-hover/panel:text-foreground !bg-transparent !p-0"
+ className="group overflow-hidden text-foreground-lighter group-hover/panel:text-foreground bg-transparent! p-0!"
iconRight={
<div className="relative w-3.5 h-3.5 flex items-center justify-center">
<ArrowUpRight className="absolute w-3.5 h-3.5 inset-0 transition-transform duration-200 translate-x-0 translate-y-0 group-hover/panel:translate-x-6 group-hover/panel:-translate-y-6" />
- <ArrowUpRight className="absolute w-3.5 h-3.5 inset-0 transition-transform duration-200 -translate-x-6 translate-y-6 group-hover/panel:translate-x-0 group-hover/panel:-translate-y-0" />
+ <ArrowUpRight className="absolute w-3.5 h-3.5 inset-0 transition-transform duration-200 -translate-x-6 translate-y-6 group-hover/panel:translate-x-0 group-hover/panel:translate-y-0" />
</div>
}
>
diff --git a/apps/www/components/Examples/ExamplesCarousel.tsx b/apps/www/components/Examples/ExamplesCarousel.tsx
index b562973160e..29518f7b97f 100644
--- a/apps/www/components/Examples/ExamplesCarousel.tsx
+++ b/apps/www/components/Examples/ExamplesCarousel.tsx
@@ -30,7 +30,7 @@ const ExamplesCarousel = ({
return (
<div id="examples" className="container">
<div className="w-full flex flex-col lg:flex-row justify-between items-start lg:items-end gap-4">
- <h3 className="h2 !mb-0">{title}</h3>
+ <h3 className="h2 mb-0!">{title}</h3>
{cta && (
<Button asChild type="default" size="tiny">
<Link href={cta.href}>{cta.label}</Link>
diff --git a/apps/www/components/FloatingIcons/FloatingIcons.tsx b/apps/www/components/FloatingIcons/FloatingIcons.tsx
index a1b6e79a1b9..c10bbf9454e 100644
--- a/apps/www/components/FloatingIcons/FloatingIcons.tsx
+++ b/apps/www/components/FloatingIcons/FloatingIcons.tsx
@@ -8,7 +8,7 @@ function FloatingIcons() {
return (
<div className="absolute hidden h-full w-full lg:block">
- <div className="container relative mx-auto h-full max-w-screen-2xl">
+ <div className="container relative mx-auto h-full max-w-(--breakpoint-2xl)">
<img
className={`${Styles['icon-react-one']}`}
src={`${basePath}/images/product/auth/react-icon.svg`}
diff --git a/apps/www/components/Footer/index.tsx b/apps/www/components/Footer/index.tsx
index eb736661cb6..825608a5ba1 100644
--- a/apps/www/components/Footer/index.tsx
+++ b/apps/www/components/Footer/index.tsx
@@ -85,8 +85,8 @@ const Footer = (props: Props) => {
<h2 id="footerHeading" className="sr-only">
Footer
</h2>
- <div className="w-full !py-0">
- <SectionContainer className="grid grid-cols-2 md:flex items-center justify-between text-foreground md:justify-center gap-8 md:gap-16 xl:gap-28 !py-6 md:!py-10 text-sm">
+ <div className="w-full py-0!">
+ <SectionContainer className="grid grid-cols-2 md:flex items-center justify-between text-foreground md:justify-center gap-8 md:gap-16 xl:gap-28 py-6! md:py-10! text-sm">
<div className="flex flex-col md:flex-row gap-2 md:items-center">
We protect your data.
<Link href="/security" className="text-brand-link hover:underline">
@@ -108,7 +108,7 @@ const Footer = (props: Props) => {
</li>
</ul>
</SectionContainer>
- <div className="w-full h-px bg-gradient-to-r from-transparent via-border to-transparent" />
+ <div className="w-full h-px bg-linear-to-r from-transparent via-border to-transparent" />
</div>
<SectionContainer className="py-8">
<div className="xl:grid xl:grid-cols-7 xl:gap-4">
@@ -185,7 +185,7 @@ const Footer = (props: Props) => {
value={newsletterEmail}
onChange={(e) => setNewsletterEmail(e.target.value)}
required
- className="flex-1 md:max-w-72 xl:max-w-[80%] !h-6 text-xs px-2"
+ className="flex-1 md:max-w-72 xl:max-w-[80%] h-6! text-xs px-2"
/>
<Button
type="primary"
diff --git a/apps/www/components/Go/GoPageRenderer.tsx b/apps/www/components/Go/GoPageRenderer.tsx
index 1fc19c6fb34..968c7b31aba 100644
--- a/apps/www/components/Go/GoPageRenderer.tsx
+++ b/apps/www/components/Go/GoPageRenderer.tsx
@@ -16,7 +16,7 @@ export default function GoPageRenderer({ page }: { page: GoPage }) {
return (
<>
<nav className="absolute top-0 left-0 right-0 z-10">
- <div className="max-w-[80rem] mx-auto flex items-center h-14 px-8">
+ <div className="max-w-7xl mx-auto flex items-center h-14 px-8">
<Link href="/">
<Image src={supabaseLogoIcon} width={24} height={24} alt="Supabase" priority />
<span className="sr-only">Supabase</span>
@@ -28,7 +28,7 @@ export default function GoPageRenderer({ page }: { page: GoPage }) {
<MarketingPageRenderer page={page} customRenderers={customRenderers} />
</main>
<footer className="border-t border-muted">
- <div className="max-w-[80rem] mx-auto flex flex-col sm:flex-row items-center justify-between gap-2 py-4 sm:h-14 px-8 text-sm text-foreground-lighter">
+ <div className="max-w-7xl mx-auto flex flex-col sm:flex-row items-center justify-between gap-2 py-4 sm:h-14 px-8 text-sm text-foreground-lighter">
<span>&copy; {new Date().getFullYear()} Supabase Inc.</span>
<div className="flex gap-6">
<Link href="/privacy" className="hover:text-foreground transition-colors">
diff --git a/apps/www/components/Hero/Hero.tsx b/apps/www/components/Hero/Hero.tsx
index c1f91bd7207..73be8cf56ce 100644
--- a/apps/www/components/Hero/Hero.tsx
+++ b/apps/www/components/Hero/Hero.tsx
@@ -8,7 +8,7 @@ const Hero = () => {
const sendTelemetryEvent = useSendTelemetryEvent()
return (
- <div className="relative -mt-[65px]">
+ <div className="relative mt-[-65px]">
<SectionContainer className="pt-8 pb-10 md:pt-16 overflow-hidden">
<div className="relative">
<div className="mx-auto">
diff --git a/apps/www/components/Hero/HeroFrameworks.tsx b/apps/www/components/Hero/HeroFrameworks.tsx
index b3d5df073e1..f6b50c7b4b9 100644
--- a/apps/www/components/Hero/HeroFrameworks.tsx
+++ b/apps/www/components/Hero/HeroFrameworks.tsx
@@ -101,7 +101,7 @@ const HeroFrameworks = ({ className }: { className?: string }) => {
return (
<SectionContainer className={cn(className)} id="frameworks">
<div className="relative z-20 w-full max-w-6xl mx-auto h-full flex flex-col xl:flex-row gap-4 items-center justify-between">
- <div className="!leading-tight text-center xl:text-left text-2xl md:text-4xl text-foreground-lighter whitespace-nowrap">
+ <div className="leading-tight! text-center xl:text-left text-2xl md:text-4xl text-foreground-lighter whitespace-nowrap">
Use Supabase with{' '}
<div className="block">
<AnimatePresence mode="wait">
@@ -135,7 +135,7 @@ const HeroFrameworks = ({ className }: { className?: string }) => {
>
<div
className={cn(
- 'm-1 bg-[var(--color-bg-darkest)] h-16 w-16 flex items-center justify-center rounded-md group-hover:border transition-all text-foreground-light border-foreground-light hover:shadow',
+ 'm-1 bg-(--color-bg-darkest) h-16 w-16 flex items-center justify-center rounded-md group-hover:border transition-all text-foreground-light border-foreground-light hover:shadow-sm',
!!activeFramework &&
activeFramework.name !== framework.name &&
'text-foreground-muted',
diff --git a/apps/www/components/ImageGrid.tsx b/apps/www/components/ImageGrid.tsx
index c201def4fbf..2a595d5b184 100644
--- a/apps/www/components/ImageGrid.tsx
+++ b/apps/www/components/ImageGrid.tsx
@@ -86,7 +86,7 @@ const ImageGrid = ({
if (x.link) {
return (
<Link href={link}>
- <div className="scale-100 transform cursor-pointer duration-100 ease-in-out hover:shadow-sm">
+ <div className="scale-100 transform cursor-pointer duration-100 ease-in-out hover:shadow-xs">
{children}
</div>
</Link>
diff --git a/apps/www/components/LaunchWeek/11/HackathonCallout.tsx b/apps/www/components/LaunchWeek/11/HackathonCallout.tsx
index 22707e76aad..b74bff41f7d 100644
--- a/apps/www/components/LaunchWeek/11/HackathonCallout.tsx
+++ b/apps/www/components/LaunchWeek/11/HackathonCallout.tsx
@@ -10,10 +10,10 @@ const HackathonCallout = ({ className }: { className?: string }) => {
className
)}
>
- <div className="!text-foreground [&_*]:text-foreground text-sm flex flex-col sm:flex-row sm:items-center sm:gap-3">
+ <div className="text-foreground! **:text-foreground text-sm flex flex-col sm:flex-row sm:items-center sm:gap-3">
Open Source Hackathon 2024
</div>
- <div className="!m-0 flex items-center">
+ <div className="m-0! flex items-center">
<TextLink
label="Learn more"
url="/blog/supabase-oss-hackathon"
diff --git a/apps/www/components/LaunchWeek/11/LW11Meetups.tsx b/apps/www/components/LaunchWeek/11/LW11Meetups.tsx
index f0e82fda6f7..fe2bf0fb570 100644
--- a/apps/www/components/LaunchWeek/11/LW11Meetups.tsx
+++ b/apps/www/components/LaunchWeek/11/LW11Meetups.tsx
@@ -110,8 +110,8 @@ const LW11Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
title={liveNow ? 'Live now' : undefined}
className={cn(
'h-10 group inline-flex md:hidden items-center flex-wrap text-3xl',
- 'text-foreground-muted hover:!text-foreground !leading-none transition-colors',
- meetup.id === activeMeetup?.id && '!text-foreground',
+ 'text-foreground-muted hover:text-foreground! leading-none! transition-colors',
+ meetup.id === activeMeetup?.id && 'text-foreground!',
liveNow && 'text-foreground-light'
)}
>
@@ -130,8 +130,8 @@ const LW11Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
title={liveNow ? 'Live now' : undefined}
className={cn(
'hidden h-10 group md:inline-flex items-center flex-wrap text-4xl',
- 'text-foreground-muted hover:!text-foreground !leading-none transition-colors',
- meetup.id === activeMeetup?.id && '!text-foreground',
+ 'text-foreground-muted hover:text-foreground! leading-none! transition-colors',
+ meetup.id === activeMeetup?.id && 'text-foreground!',
liveNow && 'text-foreground-light'
)}
>
diff --git a/apps/www/components/LaunchWeek/11/LW11Summary.tsx b/apps/www/components/LaunchWeek/11/LW11Summary.tsx
index 09a16aa4410..1fc7ecd8348 100644
--- a/apps/www/components/LaunchWeek/11/LW11Summary.tsx
+++ b/apps/www/components/LaunchWeek/11/LW11Summary.tsx
@@ -16,7 +16,7 @@ const LW11Summary = () => {
<Image
src="/images/launchweek/ga/ga-black.svg"
alt="GA logo"
- className="dark:hidden w-5 aspect-[104/57] h-auto"
+ className="dark:hidden w-5 aspect-104/57 h-auto"
priority
width={30}
height={30}
@@ -24,7 +24,7 @@ const LW11Summary = () => {
<Image
src="/images/launchweek/ga/ga-white.svg"
alt="GA logo"
- className="hidden dark:block w-5 aspect-[104/57] h-auto"
+ className="hidden dark:block w-5 aspect-104/57 h-auto"
priority
width={30}
height={30}
diff --git a/apps/www/components/LaunchWeek/11/LaunchWeekLogoHeader.tsx b/apps/www/components/LaunchWeek/11/LaunchWeekLogoHeader.tsx
index 24dac3579cd..e5948afffa5 100644
--- a/apps/www/components/LaunchWeek/11/LaunchWeekLogoHeader.tsx
+++ b/apps/www/components/LaunchWeek/11/LaunchWeekLogoHeader.tsx
@@ -1,7 +1,7 @@
export function LaunchWeekLogoHeader() {
return (
<div className="flex flex-col gap-1 md:gap-2 items-center justify-end">
- <div className="opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both] px-2 flex flex-col items-center text-center gap-3">
+ <div className="opacity-0 animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]! px-2 flex flex-col items-center text-center gap-3">
<h1 className="sr-only font-normal uppercase text-[28px] sm:text-[32px]">Launch week 8</h1>
<p className="text-white radial-gradient-text-600 text-lg sm:text-2xl">
<span className="block">August 7th–11th, 2023</span>
diff --git a/apps/www/components/LaunchWeek/11/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/11/LaunchWeekPrizeSection.tsx
index 0ce4ac54058..941e13da141 100644
--- a/apps/www/components/LaunchWeek/11/LaunchWeekPrizeSection.tsx
+++ b/apps/www/components/LaunchWeek/11/LaunchWeekPrizeSection.tsx
@@ -23,7 +23,7 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri
contentClassName="flex flex-col justify-between"
content={
<div className="w-full h-auto lg:min-h-[400px] flex flex-col lg:flex-row items-stretch rounded-lg overflow-hidden">
- <div className="relative w-full pl-4 xl:px-4 lg:w-2/3 border-b lg:border-none border-muted aspect-[3/1] top-0 md:-bottom-8 overflow-hidden">
+ <div className="relative w-full pl-4 xl:px-4 lg:w-2/3 border-b lg:border-none border-muted aspect-3/1 top-0 md:-bottom-8 overflow-hidden">
<Image
src="/images/launchweek/11/airpods-max-alpha.png"
alt="Supabase AirPod Max prize"
diff --git a/apps/www/components/LaunchWeek/11/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/11/Releases/BuildStage.tsx
index 16839e794a0..d1ded98f9fc 100644
--- a/apps/www/components/LaunchWeek/11/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/11/Releases/BuildStage.tsx
@@ -24,7 +24,7 @@ const BuildStage: FC = () => {
return (
<>
- <SectionContainer className="!max-w-none lg:!container lwx-nav-anchor" id="build-stage">
+ <SectionContainer className="max-w-none! lg:container! lwx-nav-anchor" id="build-stage">
<h3 className="text-foreground uppercase font-mono pb-4 md:pb-8 text-sm tracking-[0.1rem]">
Build Stage
</h3>
diff --git a/apps/www/components/LaunchWeek/11/Releases/LW11Header.tsx b/apps/www/components/LaunchWeek/11/Releases/LW11Header.tsx
index 5dd989514aa..d9f3f33d0e8 100644
--- a/apps/www/components/LaunchWeek/11/Releases/LW11Header.tsx
+++ b/apps/www/components/LaunchWeek/11/Releases/LW11Header.tsx
@@ -7,11 +7,11 @@ import Link from 'next/link'
const LW11Header = ({ className }: { className?: string }) => {
return (
<div className={cn('relative w-full overflow-visible pt-10 sm:pt-8', className)}>
- <SectionContainer className="h-full flex flex-col items-start gap-4 !max-w-none lg:!container !pb-4 md:!pb-10">
+ <SectionContainer className="h-full flex flex-col items-start gap-4 max-w-none! lg:container! pb-4! md:pb-10!">
<Image
src="/images/launchweek/ga/ga-black.svg"
alt="GA logo"
- className="dark:hidden w-20 md:w-24 aspect-[104/57] h-auto"
+ className="dark:hidden w-20 md:w-24 aspect-104/57 h-auto"
priority
quality={100}
width={300}
@@ -20,7 +20,7 @@ const LW11Header = ({ className }: { className?: string }) => {
<Image
src="/images/launchweek/ga/ga-white.svg"
alt="GA logo"
- className="hidden dark:block w-20 md:w-24 aspect-[104/57] h-auto"
+ className="hidden dark:block w-20 md:w-24 aspect-104/57 h-auto"
priority
quality={100}
width={300}
diff --git a/apps/www/components/LaunchWeek/11/Releases/LW11StickyNav.tsx b/apps/www/components/LaunchWeek/11/Releases/LW11StickyNav.tsx
index 4b9abe5d2d1..0957d7c0c0d 100644
--- a/apps/www/components/LaunchWeek/11/Releases/LW11StickyNav.tsx
+++ b/apps/www/components/LaunchWeek/11/Releases/LW11StickyNav.tsx
@@ -33,7 +33,7 @@ const LWXStickyNav: FC = () => {
})
links.current?.forEach((link) => {
- link.classList.remove('!text-foreground')
+ link.classList.remove('text-foreground!')
const sanitizedHref = decodeURI(link.getAttribute('href') ?? '')
.split('#')
@@ -42,7 +42,7 @@ const LWXStickyNav: FC = () => {
const isMatch = sanitizedHref === newActiveAnchor
if (isMatch) {
- link.classList.add('!text-foreground')
+ link.classList.add('text-foreground!')
}
})
}
@@ -69,8 +69,8 @@ const LWXStickyNav: FC = () => {
return (
<div className="absolute inset-0 pointer-events-none w-full h-full">
- <nav className="sticky z-30 top-0 bg-alternative/90 backdrop-blur-sm pointer-events-auto w-full border-b border-muted h-[60px] flex items-center">
- <SectionContainer className="!max-w-none !py-0 lg:!container flex items-center justify-between font-mono gap-4 md:gap-8 text-sm">
+ <nav className="sticky z-30 top-0 bg-alternative/90 backdrop-blur-xs pointer-events-auto w-full border-b border-muted h-[60px] flex items-center">
+ <SectionContainer className="max-w-none! py-0! lg:container! flex items-center justify-between font-mono gap-4 md:gap-8 text-sm">
<div className="flex items-center gap-4 md:gap-8">
<ul className="lwx-sticky-nav flex items-center gap-2 md:gap-4 text-foreground-muted">
{days.map((day: WeekDayProps) => (
@@ -112,7 +112,7 @@ const LWXStickyNav: FC = () => {
width={24}
height={24}
aria-hidden
- className="w-auto h-4 shadow"
+ className="w-auto h-4 shadow-sm"
priority
/>
</Link>
diff --git a/apps/www/components/LaunchWeek/11/Releases/MainStage.tsx b/apps/www/components/LaunchWeek/11/Releases/MainStage.tsx
index 721b2dceb42..91e18b2d8e0 100644
--- a/apps/www/components/LaunchWeek/11/Releases/MainStage.tsx
+++ b/apps/www/components/LaunchWeek/11/Releases/MainStage.tsx
@@ -15,10 +15,10 @@ const MainStage = ({ className }: { className?: string }) => {
return (
<SectionContainer
- className={cn('relative !max-w-none !py-0 lg:!container', className)}
+ className={cn('relative max-w-none! py-0! lg:container!', className)}
id="main-stage"
>
- <LW11Day1 day={day1} className="!border-t-0" cardClassName="md:-mx-4" />
+ <LW11Day1 day={day1} className="border-t-0!" cardClassName="md:-mx-4" />
<HackathonCallout />
<div>
{days.map((day) => (
diff --git a/apps/www/components/LaunchWeek/11/Releases/components/AdventCard.tsx b/apps/www/components/LaunchWeek/11/Releases/components/AdventCard.tsx
index da39ad190aa..04abca107f9 100644
--- a/apps/www/components/LaunchWeek/11/Releases/components/AdventCard.tsx
+++ b/apps/www/components/LaunchWeek/11/Releases/components/AdventCard.tsx
@@ -64,7 +64,7 @@ const AdventCard = ({ day, index }: { day: AdventDay; index: number }) => {
</div>
<div
className={cn(
- 'relative group-hover:!bottom-0 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-all flex flex-col gap-1'
+ 'relative group-hover:bottom-0! ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-all flex flex-col gap-1'
)}
style={{
bottom: isTablet ? 0 : -hiddenHeight + 'px',
@@ -73,7 +73,7 @@ const AdventCard = ({ day, index }: { day: AdventDay; index: number }) => {
<h4 className="text-foreground text-lg leading-6">{day.title}</h4>
<div
ref={hiddenRef}
- className="relative z-10 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
+ className="relative z-10 ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
style={{
backfaceVisibility: 'hidden',
transform: 'translateZ(0)',
@@ -87,7 +87,7 @@ const AdventCard = ({ day, index }: { day: AdventDay; index: number }) => {
key={link.url}
href={link.url}
target={link.target ?? '_self'}
- className="px-2 py-1 pointer-events-auto border transition-colors text-foreground-light bg-surface-100 hover:bg-surface-200 rounded text-xs"
+ className="px-2 py-1 pointer-events-auto border transition-colors text-foreground-light bg-surface-100 hover:bg-surface-200 rounded-sm text-xs"
>
{link.label}
</Link>
diff --git a/apps/www/components/LaunchWeek/11/Releases/components/DaySection.tsx b/apps/www/components/LaunchWeek/11/Releases/components/DaySection.tsx
index 6afde060deb..29b4d345940 100644
--- a/apps/www/components/LaunchWeek/11/Releases/components/DaySection.tsx
+++ b/apps/www/components/LaunchWeek/11/Releases/components/DaySection.tsx
@@ -37,7 +37,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
<div
className={cn(
'text-sm inline uppercase font-mono dark:text-foreground-muted tracking-[0.1rem]',
- day.shipped && '!text-foreground'
+ day.shipped && 'text-foreground!'
)}
>
{day.dd}, {day.date}
@@ -60,7 +60,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
href={day.blog!}
className={cn(
`
- bg-default sm:!bg-transparent
+ bg-default sm:bg-transparent!
min-h-[210px] group sm:aspect-[3.67/1] relative overflow-hidden flex-1 flex flex-col justify-between
hover:border-strong transition-colors border border-muted
rounded-xl text-2xl bg-contain shadow-lg`,
@@ -68,7 +68,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
)}
>
<div className="relative text-foreground-light p-4 sm:p-6 md:p-8 z-20 grow flex flex-col items-start justify-between gap-2 w-full lg:w-1/2 text-left">
- <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 !ease-[cubic-bezier(.24,0,.22,.99)] duration-200 group-hover:-translate-x-6 transition-transform">
+ <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 ease-[cubic-bezier(.24,0,.22,.99)]! duration-200 group-hover:-translate-x-6 transition-transform">
<Edit className="w-4 min-w-4 group-hover:opacity-0 transition-opacity" />
<span>Blog post</span>
<ArrowRightIcon className="w-4 opacity-0 group-hover:opacity-100 transition-opacity" />
@@ -77,7 +77,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
{day.description}
</h2>
</div>
- <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-[2/1] sm:aspect-auto sm:absolute sm:inset-0">
+ <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-2/1 sm:aspect-auto sm:absolute sm:inset-0">
{day.steps[0]?.bg_layers &&
day.steps[0]?.bg_layers?.map(
(layer, i) =>
diff --git a/apps/www/components/LaunchWeek/12/HackathonCallout.tsx b/apps/www/components/LaunchWeek/12/HackathonCallout.tsx
index 22707e76aad..b74bff41f7d 100644
--- a/apps/www/components/LaunchWeek/12/HackathonCallout.tsx
+++ b/apps/www/components/LaunchWeek/12/HackathonCallout.tsx
@@ -10,10 +10,10 @@ const HackathonCallout = ({ className }: { className?: string }) => {
className
)}
>
- <div className="!text-foreground [&_*]:text-foreground text-sm flex flex-col sm:flex-row sm:items-center sm:gap-3">
+ <div className="text-foreground! **:text-foreground text-sm flex flex-col sm:flex-row sm:items-center sm:gap-3">
Open Source Hackathon 2024
</div>
- <div className="!m-0 flex items-center">
+ <div className="m-0! flex items-center">
<TextLink
label="Learn more"
url="/blog/supabase-oss-hackathon"
diff --git a/apps/www/components/LaunchWeek/12/LW12Background.tsx b/apps/www/components/LaunchWeek/12/LW12Background.tsx
index b48591986cd..6c39fcc0bc1 100644
--- a/apps/www/components/LaunchWeek/12/LW12Background.tsx
+++ b/apps/www/components/LaunchWeek/12/LW12Background.tsx
@@ -21,7 +21,7 @@ const LW12Background = ({ className }: Props) => {
/>
</div>
))}
- <div className="absolute inset-0 w-full h-full bg-gradient-to-t from-background to-transparent" />
+ <div className="absolute inset-0 w-full h-full bg-linear-to-t from-background to-transparent" />
</div>
)
}
diff --git a/apps/www/components/LaunchWeek/12/LWMeetups.tsx b/apps/www/components/LaunchWeek/12/LWMeetups.tsx
index 028e387ce0b..e39039aa145 100644
--- a/apps/www/components/LaunchWeek/12/LWMeetups.tsx
+++ b/apps/www/components/LaunchWeek/12/LWMeetups.tsx
@@ -105,8 +105,8 @@ const LWMeetups = ({ meetups, className }: { meetups?: Meetup[]; className?: str
title={liveNow ? 'Live now' : undefined}
className={cn(
'h-10 group inline-flex items-center flex-wrap text-3xl md:text-4xl',
- 'text-foreground-muted hover:!text-foreground !leading-none transition-colors',
- meetup.id === activeMeetup?.id && '!text-foreground',
+ 'text-foreground-muted hover:text-foreground! leading-none! transition-colors',
+ meetup.id === activeMeetup?.id && 'text-foreground!',
liveNow && 'text-foreground-light'
)}
>
diff --git a/apps/www/components/LaunchWeek/12/LaunchWeekLogoHeader.tsx b/apps/www/components/LaunchWeek/12/LaunchWeekLogoHeader.tsx
index 8374e5202d7..d1b5ede3228 100644
--- a/apps/www/components/LaunchWeek/12/LaunchWeekLogoHeader.tsx
+++ b/apps/www/components/LaunchWeek/12/LaunchWeekLogoHeader.tsx
@@ -1,7 +1,7 @@
export function LaunchWeekLogoHeader() {
return (
<div className="flex flex-col gap-1 md:gap-2 items-center justify-end">
- <div className="opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both] px-2 flex flex-col items-center text-center gap-3">
+ <div className="opacity-0 animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]! px-2 flex flex-col items-center text-center gap-3">
<h1 className="sr-only font-normal uppercase text-[28px] sm:text-[32px]">Launch week 12</h1>
<p className="text-white radial-gradient-text-600 text-lg sm:text-2xl">
<span className="block">August 7th–11th, 2023</span>
diff --git a/apps/www/components/LaunchWeek/12/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/12/LaunchWeekPrizeSection.tsx
index a60cd3e9727..b8fbd6de443 100644
--- a/apps/www/components/LaunchWeek/12/LaunchWeekPrizeSection.tsx
+++ b/apps/www/components/LaunchWeek/12/LaunchWeekPrizeSection.tsx
@@ -23,7 +23,7 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri
contentClassName="flex flex-col justify-between"
content={
<div className="w-full h-auto lg:min-h-[400px] flex flex-col lg:flex-row items-stretch rounded-lg overflow-hidden">
- <div className="relative w-full pl-4 xl:px-4 lg:w-2/3 border-b lg:border-none border-muted aspect-[3/1] top-0 md:-bottom-8 overflow-hidden">
+ <div className="relative w-full pl-4 xl:px-4 lg:w-2/3 border-b lg:border-none border-muted aspect-3/1 top-0 md:-bottom-8 overflow-hidden">
<Image
src="/images/launchweek/12/lw12-backpack.png"
alt="Supabase AirPod Max prize"
diff --git a/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx
index 2c23d4c49d3..e4799272b0e 100644
--- a/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx
@@ -24,7 +24,7 @@ const BuildStage: FC = () => {
return (
<>
- <SectionContainer className="!max-w-none lg:!container lw-nav-anchor" id="build-stage">
+ <SectionContainer className="max-w-none! lg:container! lw-nav-anchor" id="build-stage">
<h3 className="text-foreground uppercase font-mono pb-4 md:pb-8 text-sm tracking-[0.1rem]">
Build Stage
</h3>
diff --git a/apps/www/components/LaunchWeek/12/Releases/LWHeader.tsx b/apps/www/components/LaunchWeek/12/Releases/LWHeader.tsx
index 00493deae0c..2673ce3606e 100644
--- a/apps/www/components/LaunchWeek/12/Releases/LWHeader.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/LWHeader.tsx
@@ -10,9 +10,9 @@ const LWHeader = ({ className }: { className?: string }) => {
<div className="absolute z-0 inset-0 w-full">
<LW12Background className="absolute z-0 inset-0 w-full flex items-center justify-center opacity-100 transition-opacity h-full" />
</div>
- <div className="absolute inset-0 w-full h-full bg-[linear-gradient(to_top,#060809)_0%,transparent_100%)]" />
+ <div className="absolute inset-0 w-full h-full bg-[linear-gradient(to_top,#060809)_0%,]" />
</div>
- <SectionContainer className="h-full flex flex-col items-start gap-3 !max-w-none lg:!container !pb-4 md:!pb-10">
+ <SectionContainer className="h-full flex flex-col items-start gap-3 max-w-none! lg:container! pb-4! md:pb-10!">
<h1 className="text-3xl font-medium uppercase">
Launch Week <span className="font-mono">12</span>
</h1>
diff --git a/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx b/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx
index 4d4b7f65b54..d70fbb261fc 100644
--- a/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx
@@ -25,7 +25,7 @@ const LWXStickyNav: FC = () => {
})
links.current?.forEach((link) => {
- link.classList.remove('!text-foreground')
+ link.classList.remove('text-foreground!')
const sanitizedHref = decodeURI(link.getAttribute('href') ?? '')
.split('#')
@@ -34,7 +34,7 @@ const LWXStickyNav: FC = () => {
const isMatch = sanitizedHref === newActiveAnchor
if (isMatch) {
- link.classList.add('!text-foreground')
+ link.classList.add('text-foreground!')
}
})
}
@@ -52,8 +52,8 @@ const LWXStickyNav: FC = () => {
return (
<div className="absolute inset-0 pointer-events-none w-full h-full">
- <nav className="sticky z-30 top-0 bg-default/90 backdrop-blur-sm pointer-events-auto w-full border-b dark:border-muted h-[60px] flex items-center">
- <SectionContainer className="!max-w-none !py-0 lg:!container flex items-center justify-between font-mono gap-4 md:gap-8 text-sm">
+ <nav className="sticky z-30 top-0 bg-default/90 backdrop-blur-xs pointer-events-auto w-full border-b dark:border-muted h-[60px] flex items-center">
+ <SectionContainer className="max-w-none! py-0! lg:container! flex items-center justify-between font-mono gap-4 md:gap-8 text-sm">
<div className="w-full flex items-center gap-4 md:gap-8">
<ul className="w-full lw-sticky-nav flex items-center gap-2 md:gap-4 text-foreground-lighter">
{days.map((day: WeekDayProps) => (
diff --git a/apps/www/components/LaunchWeek/12/Releases/MainStage.tsx b/apps/www/components/LaunchWeek/12/Releases/MainStage.tsx
index 9ba536e95d8..a55fd87b6d0 100644
--- a/apps/www/components/LaunchWeek/12/Releases/MainStage.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/MainStage.tsx
@@ -13,7 +13,7 @@ const MainStage = ({ className }: { className?: string }) => {
return (
<SectionContainer
- className={cn('relative !max-w-none !py-0 lg:!container', className)}
+ className={cn('relative max-w-none! py-0! lg:container!', className)}
id="main-stage"
>
<div>
diff --git a/apps/www/components/LaunchWeek/12/Releases/components/BuildCard.tsx b/apps/www/components/LaunchWeek/12/Releases/components/BuildCard.tsx
index e6cb444e9fc..9d872e9a0ef 100644
--- a/apps/www/components/LaunchWeek/12/Releases/components/BuildCard.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/components/BuildCard.tsx
@@ -64,7 +64,7 @@ const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
</div>
<div
className={cn(
- 'relative group-hover:!bottom-0 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-all flex flex-col gap-1'
+ 'relative group-hover:bottom-0! ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-all flex flex-col gap-1'
)}
style={{
bottom: isTablet ? 0 : -hiddenHeight + 'px',
@@ -73,7 +73,7 @@ const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
<h4 className="text-foreground text-lg leading-6">{day.title}</h4>
<div
ref={hiddenRef}
- className="relative z-10 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
+ className="relative z-10 ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
style={{
backfaceVisibility: 'hidden',
transform: 'translateZ(0)',
@@ -87,7 +87,7 @@ const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
key={link.url}
href={link.url}
target={link.target ?? '_self'}
- className="px-2 py-1 pointer-events-auto border transition-colors text-foreground-light bg-surface-100 hover:bg-surface-200 rounded text-xs"
+ className="px-2 py-1 pointer-events-auto border transition-colors text-foreground-light bg-surface-100 hover:bg-surface-200 rounded-sm text-xs"
>
{link.label}
</Link>
diff --git a/apps/www/components/LaunchWeek/12/Releases/components/DaySection.tsx b/apps/www/components/LaunchWeek/12/Releases/components/DaySection.tsx
index 105bd05608f..d3336beea01 100644
--- a/apps/www/components/LaunchWeek/12/Releases/components/DaySection.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/components/DaySection.tsx
@@ -29,7 +29,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
<div
className={cn(
'text-sm inline uppercase font-mono dark:text-foreground-muted tracking-[0.1rem]',
- day.shipped && '!text-foreground'
+ day.shipped && 'text-foreground!'
)}
>
{day.dd}, {day.date}
@@ -52,7 +52,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
href={day.blog!}
className={cn(
`
- bg-default sm:!bg-transparent
+ bg-default sm:bg-transparent!
min-h-[210px] group sm:aspect-[3.67/1] relative overflow-hidden flex-1 flex flex-col justify-between
hover:border-strong transition-colors border border-muted
rounded-xl text-2xl bg-contain shadow-lg`,
@@ -60,7 +60,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
)}
>
<div className="relative text-foreground-light p-4 sm:px-6 md:py-6 md:px-8 z-20 grow flex flex-col items-start justify-between gap-2 w-full lg:w-1/2 text-left">
- <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 !ease-[cubic-bezier(.24,0,.22,.99)] duration-200 group-hover:-translate-x-6 transition-transform">
+ <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 ease-[cubic-bezier(.24,0,.22,.99)]! duration-200 group-hover:-translate-x-6 transition-transform">
<Edit className="w-4 min-w-4 group-hover:opacity-0 transition-opacity" />
<span>Blog post</span>
<ArrowRightIcon className="w-4 opacity-0 group-hover:opacity-100 transition-opacity" />
@@ -69,7 +69,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
{day.description}
</h2>
</div>
- <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-[2/1] sm:aspect-auto sm:absolute sm:inset-0">
+ <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-2/1 sm:aspect-auto sm:absolute sm:inset-0">
{day.steps[0]?.bg_layers &&
day.steps[0]?.bg_layers?.map((layer, i) => (
<>
diff --git a/apps/www/components/LaunchWeek/13/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/13/Releases/BuildStage.tsx
index 845063896ad..c2035a24c11 100644
--- a/apps/www/components/LaunchWeek/13/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/13/Releases/BuildStage.tsx
@@ -24,7 +24,7 @@ const BuildStage: FC = () => {
return (
<>
- <SectionContainer className="!max-w-none lg:!container lw-nav-anchor" id="build-stage">
+ <SectionContainer className="max-w-none! lg:container! lw-nav-anchor" id="build-stage">
<div className="flex flex-col md:flex-row md:gap-2 pb-4 md:pb-8 text-sm tracking-widest font-mono uppercase">
<h3 className="text-foreground ">Build Stage</h3>
<p className="text-foreground-lighter">A collection of surprise releases</p>
diff --git a/apps/www/components/LaunchWeek/13/Releases/LWHeader.tsx b/apps/www/components/LaunchWeek/13/Releases/LWHeader.tsx
index 8f65741fd31..1282ca53464 100644
--- a/apps/www/components/LaunchWeek/13/Releases/LWHeader.tsx
+++ b/apps/www/components/LaunchWeek/13/Releases/LWHeader.tsx
@@ -10,7 +10,7 @@ const LWHeader = ({ className }: { className?: string }) => {
className
)}
>
- <SectionContainer className="h-full flex flex-col items-start justify-end gap-3 !max-w-none lg:!container !pb-4 md:!pb-10 !pointer-events-none">
+ <SectionContainer className="h-full flex flex-col items-start justify-end gap-3 max-w-none! lg:container! pb-4! md:pb-10! pointer-events-none!">
<h1 className="text-3xl uppercase tracking-wide pointer-events-none">
Launch Week <span className="font-mono">13</span>
</h1>
diff --git a/apps/www/components/LaunchWeek/13/Releases/LWStickyNav.tsx b/apps/www/components/LaunchWeek/13/Releases/LWStickyNav.tsx
index 7f6904ee2c6..d8a5633fef2 100644
--- a/apps/www/components/LaunchWeek/13/Releases/LWStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/13/Releases/LWStickyNav.tsx
@@ -42,7 +42,7 @@ const LWXStickyNav: FC = () => {
})
links.current?.forEach((link) => {
- link.classList.remove('!text-foreground')
+ link.classList.remove('text-foreground!')
const sanitizedHref = decodeURI(link.getAttribute('href') ?? '')
.split('#')
@@ -51,7 +51,7 @@ const LWXStickyNav: FC = () => {
const isMatch = sanitizedHref === newActiveAnchor
if (isMatch) {
- link.classList.add('!text-foreground')
+ link.classList.add('text-foreground!')
}
})
}
@@ -70,7 +70,7 @@ const LWXStickyNav: FC = () => {
return (
<div className="absolute inset-0 pointer-events-none w-full h-full">
<nav className="sticky z-30 top-0 bg-default/30 dark:bg-default/90 backdrop-blur-md w-full border-b dark:border-muted h-[60px] flex items-center">
- <SectionContainer className="!max-w-none !py-0 lg:!container flex items-center justify-between font-mono gap-4 md:gap-8 text-sm">
+ <SectionContainer className="max-w-none! py-0! lg:container! flex items-center justify-between font-mono gap-4 md:gap-8 text-sm">
<div className="w-full flex items-center gap-4 md:gap-8">
<DropdownMenu>
<DropdownMenuTrigger asChild>
diff --git a/apps/www/components/LaunchWeek/13/Releases/MainStage.tsx b/apps/www/components/LaunchWeek/13/Releases/MainStage.tsx
index 9ba536e95d8..a55fd87b6d0 100644
--- a/apps/www/components/LaunchWeek/13/Releases/MainStage.tsx
+++ b/apps/www/components/LaunchWeek/13/Releases/MainStage.tsx
@@ -13,7 +13,7 @@ const MainStage = ({ className }: { className?: string }) => {
return (
<SectionContainer
- className={cn('relative !max-w-none !py-0 lg:!container', className)}
+ className={cn('relative max-w-none! py-0! lg:container!', className)}
id="main-stage"
>
<div>
diff --git a/apps/www/components/LaunchWeek/13/Releases/components/BuildCard.tsx b/apps/www/components/LaunchWeek/13/Releases/components/BuildCard.tsx
index 45df1879b97..b62d411201d 100644
--- a/apps/www/components/LaunchWeek/13/Releases/components/BuildCard.tsx
+++ b/apps/www/components/LaunchWeek/13/Releases/components/BuildCard.tsx
@@ -64,7 +64,7 @@ const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
</div>
<div
className={cn(
- 'relative group-hover:!bottom-0 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-all flex flex-col gap-1'
+ 'relative group-hover:bottom-0! ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-all flex flex-col gap-1'
)}
style={{
bottom: isTablet ? 0 : -hiddenHeight + 'px',
@@ -73,7 +73,7 @@ const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
<h4 className="text-foreground text-lg leading-6">{day.title}</h4>
<div
ref={hiddenRef}
- className="relative z-10 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
+ className="relative z-10 ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
style={{
backfaceVisibility: 'hidden',
transform: 'translateZ(0)',
@@ -87,7 +87,7 @@ const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
key={link.url}
href={link.url}
target={link.target ?? '_self'}
- className="px-2 py-1 pointer-events-auto border transition-colors text-foreground-light bg-surface-100 hover:bg-surface-200 rounded text-xs"
+ className="px-2 py-1 pointer-events-auto border transition-colors text-foreground-light bg-surface-100 hover:bg-surface-200 rounded-sm text-xs"
>
{link.label}
</Link>
diff --git a/apps/www/components/LaunchWeek/13/Releases/components/DaySection.tsx b/apps/www/components/LaunchWeek/13/Releases/components/DaySection.tsx
index 9ea5c8c03a3..7c03ee7e7cf 100644
--- a/apps/www/components/LaunchWeek/13/Releases/components/DaySection.tsx
+++ b/apps/www/components/LaunchWeek/13/Releases/components/DaySection.tsx
@@ -29,7 +29,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
<div
className={cn(
'text-sm inline uppercase font-mono dark:text-foreground-muted tracking-[0.1rem]',
- day.shipped && '!text-foreground'
+ day.shipped && 'text-foreground!'
)}
>
{day.dd}, {day.date}
@@ -55,12 +55,12 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
bg-surface-75
min-h-[210px] group sm:aspect-[3.67/1] relative overflow-hidden flex-1 flex flex-col justify-between
hover:border-strong transition-colors border border-muted
- rounded-xl text-2xl bg-contain shadow-sm`,
+ rounded-xl text-2xl bg-contain shadow-xs`,
cssGroup
)}
>
<div className="relative text-foreground-light p-4 sm:px-6 md:py-6 md:px-8 z-20 grow flex flex-col items-start justify-between gap-2 w-full lg:w-1/2 text-left">
- <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 !ease-[cubic-bezier(.24,0,.22,.99)] duration-200 group-hover:-translate-x-6 transition-transform">
+ <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 ease-[cubic-bezier(.24,0,.22,.99)]! duration-200 group-hover:-translate-x-6 transition-transform">
<Edit className="w-4 min-w-4 group-hover:opacity-0 transition-opacity" />
<span>Blog post</span>
<ArrowRightIcon className="w-4 opacity-0 group-hover:opacity-100 transition-opacity" />
@@ -69,8 +69,8 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
{day.description}
</h2>
</div>
- <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-[2/1] sm:aspect-auto sm:absolute sm:inset-0">
- <div className="hidden sm:block absolute inset-0 bg-gradient-to-r from-background-surface-75 from-0% via-background-surface-75 via-20% to-transparent to-75% w-full h-full z-0" />
+ <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-2/1 sm:aspect-auto sm:absolute sm:inset-0">
+ <div className="hidden sm:block absolute inset-0 bg-linear-to-r from-background-surface-75 from-0% via-background-surface-75 via-20% to-transparent to-75% w-full h-full z-0" />
{day.steps[0]?.bg_layers &&
day.steps[0]?.bg_layers?.map((layer, i) => (
<>
diff --git a/apps/www/components/LaunchWeek/14/ActionButton.tsx b/apps/www/components/LaunchWeek/14/ActionButton.tsx
index f5619699d8f..7bda5c0a287 100644
--- a/apps/www/components/LaunchWeek/14/ActionButton.tsx
+++ b/apps/www/components/LaunchWeek/14/ActionButton.tsx
@@ -5,14 +5,14 @@ import { cn } from 'ui'
import { useCommandMenuOpen } from 'ui-patterns'
const actionButtonVariants = cva(
- 'pl-1.5 pr-3 py-1.5 rounded shadow flex justify-center items-center gap-2 outline outline-1 outline-offset-[-1px] cursor-pointer flex-nowrap',
+ 'pl-1.5 pr-3 py-1.5 rounded-sm shadow-sm flex justify-center items-center gap-2 outline outline-1 -outline-offset-1 cursor-pointer flex-nowrap',
{
variants: {
variant: {
primary:
- 'dark:bg-gradient-to-b from-emerald-400/0 via-emerald-400/30 to-emerald-400/0 dark:shadow-[0px_0px_6px_0px_rgba(44,244,148,0.40)] outline-emerald-400/60',
+ 'dark:bg-linear-to-b from-emerald-400/0 via-emerald-400/30 to-emerald-400/0 dark:shadow-[0px_0px_6px_0px_rgba(44,244,148,0.40)] outline-emerald-400/60',
secondary:
- 'dark:bg-gradient-to-b from-neutral-600/0 via-neutral-600/30 to-neutral-600/0 dark:shadow-[0px_0px_6px_0px_rgba(255,255,255,0.10)] outline-white/10',
+ 'dark:bg-linear-to-b from-neutral-600/0 via-neutral-600/30 to-neutral-600/0 dark:shadow-[0px_0px_6px_0px_rgba(255,255,255,0.10)] outline-white/10',
},
},
defaultVariants: {
@@ -22,7 +22,7 @@ const actionButtonVariants = cva(
)
const iconVariants = cva(
- 'w-5 h-5 px-2 rounded-sm outline outline-1 outline-offset-[-1px] inline-flex flex-col justify-center items-center gap-2',
+ 'w-5 h-5 px-2 rounded-xs outline outline-1 -outline-offset-1 inline-flex flex-col justify-center items-center gap-2',
{
variants: {
variant: {
@@ -37,12 +37,12 @@ const iconVariants = cva(
)
const textVariants = cva(
- 'justify-center text-foreground text-xs leading-[20px] font-normal min-w-[108.25px] [@media(pointer:coarse)]:pl-2 text-nowrap',
+ 'justify-center text-foreground text-xs leading-[20px] font-normal min-w-[108.25px] pointer-coarse:pl-2 text-nowrap',
{
variants: {
variant: {
- primary: 'dark:[text-shadow:_0px_0px_10px_rgb(255_255_255_/_1.00)]',
- secondary: 'dark:[text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.44)]',
+ primary: 'dark:[text-shadow:0px_0px_10px_rgb(255_255_255/1.00)]',
+ secondary: 'dark:[text-shadow:0px_0px_4px_rgb(255_255_255/0.44)]',
},
},
defaultVariants: {
@@ -90,8 +90,8 @@ export const ActionButton = ({
aria-label={typeof children === 'string' ? children : undefined}
ref={buttonRef}
>
- <div className={cn(iconVariants({ variant }), '[@media(pointer:coarse)]:hidden')}>
- <div className="text-center justify-center text-neutral-50 text-xs font-normal leading-none dark:[text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)]">
+ <div className={cn(iconVariants({ variant }), 'pointer-coarse:hidden')}>
+ <div className="text-center justify-center text-neutral-50 text-xs font-normal leading-none dark:[text-shadow:0px_0px_4px_rgb(255_255_255/0.25)]">
{icon}
</div>
</div>
diff --git a/apps/www/components/LaunchWeek/14/Header.tsx b/apps/www/components/LaunchWeek/14/Header.tsx
index b6aea34b46c..8a812c3a811 100644
--- a/apps/www/components/LaunchWeek/14/Header.tsx
+++ b/apps/www/components/LaunchWeek/14/Header.tsx
@@ -34,7 +34,7 @@ export const TicketHeaderClaim = () => {
<SingleTick key={i} />
))}
</div>
- <div className="text-start md:text-center justify-center text-neutral-500 text-sm font-normal uppercase [text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)] lg:text-nowrap grow max-w-[220px] md:max-w-none">
+ <div className="text-start md:text-center justify-center text-neutral-500 text-sm font-normal uppercase [text-shadow:0px_0px_4px_rgb(255_255_255/0.25)] lg:text-nowrap grow max-w-[220px] md:max-w-none">
Launch Week is coming. Stay tuned!
</div>
<div className="hidden gap-4 flex-wrap w-full h-2.5 overflow-hidden shrink flex-1 md:flex">
@@ -119,11 +119,11 @@ export const TicketHeaderDate = () => {
return (
<div className="flex-1 order-3 lg:order-3">
- <div className="text-end text-neutral-500 text-sm font-normal uppercase [text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)]">
+ <div className="text-end text-neutral-500 text-sm font-normal uppercase [text-shadow:0px_0px_4px_rgb(255_255_255/0.25)]">
{time}
</div>
- <div className="text-end text-neutral-500 text-xs font-normal uppercase [text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)] text-nowrap">
+ <div className="text-end text-neutral-500 text-xs font-normal uppercase [text-shadow:0px_0px_4px_rgb(255_255_255/0.25)] text-nowrap">
LOCAL TIME
</div>
</div>
diff --git a/apps/www/components/LaunchWeek/14/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/14/Releases/BuildStage.tsx
index c4a255e41f6..e0a37449b2a 100644
--- a/apps/www/components/LaunchWeek/14/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/14/Releases/BuildStage.tsx
@@ -24,7 +24,7 @@ const BuildStage: FC = () => {
return (
<>
- <SectionContainer className="!max-w-none lg:!container lw-nav-anchor" id="build-stage">
+ <SectionContainer className="max-w-none! lg:container! lw-nav-anchor" id="build-stage">
<div className="flex flex-col md:flex-row md:gap-2 pb-4 md:pb-8 text-sm tracking-widest uppercase">
<h3 className="text-foreground ">Build Stage</h3>
<p className="text-foreground-lighter">A collection of surprise releases</p>
diff --git a/apps/www/components/LaunchWeek/14/Releases/LWHeader.tsx b/apps/www/components/LaunchWeek/14/Releases/LWHeader.tsx
index a9db07a985c..191f66385cb 100644
--- a/apps/www/components/LaunchWeek/14/Releases/LWHeader.tsx
+++ b/apps/www/components/LaunchWeek/14/Releases/LWHeader.tsx
@@ -12,10 +12,10 @@ const LWHeader = ({ className }: { className?: string }) => {
)}
>
<div className="absolute z-0 inset-0 w-full h-full">
- <div className="absolute z-0 inset-0 w-full !pointer-events-none"></div>
- <div className="absolute inset-0 w-full h-full bg-gradient-to-t from-background to-transparent !pointer-events-none" />
+ <div className="absolute z-0 inset-0 w-full pointer-events-none!"></div>
+ <div className="absolute inset-0 w-full h-full bg-linear-to-t from-background to-transparent pointer-events-none!" />
</div>
- <SectionContainer className="h-full flex flex-col items-start justify-end gap-3 !max-w-none lg:!container !pb-4 md:!pb-10 !pointer-events-none">
+ <SectionContainer className="h-full flex flex-col items-start justify-end gap-3 max-w-none! lg:container! pb-4! md:pb-10! pointer-events-none!">
<h1 className="text-4xl uppercase tracking-wide pointer-events-none">
<span className="flex gap-1 items-center">
<Image
diff --git a/apps/www/components/LaunchWeek/14/Releases/LWStickyNav.tsx b/apps/www/components/LaunchWeek/14/Releases/LWStickyNav.tsx
index 48964126ce5..bed4b0c0465 100644
--- a/apps/www/components/LaunchWeek/14/Releases/LWStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/14/Releases/LWStickyNav.tsx
@@ -42,7 +42,7 @@ const LWXStickyNav: FC = () => {
})
links.current?.forEach((link) => {
- link.classList.remove('!text-foreground')
+ link.classList.remove('text-foreground!')
const sanitizedHref = decodeURI(link.getAttribute('href') ?? '')
.split('#')
@@ -51,7 +51,7 @@ const LWXStickyNav: FC = () => {
const isMatch = sanitizedHref === newActiveAnchor
if (isMatch) {
- link.classList.add('!text-foreground')
+ link.classList.add('text-foreground!')
}
})
}
@@ -70,7 +70,7 @@ const LWXStickyNav: FC = () => {
return (
<div className="absolute inset-0 pointer-events-none w-full h-full">
<nav className="sticky z-30 top-0 bg-default/30 dark:bg-default/90 backdrop-blur-md w-full border-b dark:border-muted h-[60px] flex items-center">
- <SectionContainer className="!max-w-none !py-0 lg:!container flex items-center justify-between gap-4 md:gap-8 text-sm">
+ <SectionContainer className="max-w-none! py-0! lg:container! flex items-center justify-between gap-4 md:gap-8 text-sm">
<div className="w-full flex items-center gap-4 md:gap-8">
<DropdownMenu>
<DropdownMenuTrigger asChild>
diff --git a/apps/www/components/LaunchWeek/14/Releases/MainStage.tsx b/apps/www/components/LaunchWeek/14/Releases/MainStage.tsx
index 9ba536e95d8..a55fd87b6d0 100644
--- a/apps/www/components/LaunchWeek/14/Releases/MainStage.tsx
+++ b/apps/www/components/LaunchWeek/14/Releases/MainStage.tsx
@@ -13,7 +13,7 @@ const MainStage = ({ className }: { className?: string }) => {
return (
<SectionContainer
- className={cn('relative !max-w-none !py-0 lg:!container', className)}
+ className={cn('relative max-w-none! py-0! lg:container!', className)}
id="main-stage"
>
<div>
diff --git a/apps/www/components/LaunchWeek/14/Releases/components/BuildCard.tsx b/apps/www/components/LaunchWeek/14/Releases/components/BuildCard.tsx
index 62c5db346a1..b4be1dc409f 100644
--- a/apps/www/components/LaunchWeek/14/Releases/components/BuildCard.tsx
+++ b/apps/www/components/LaunchWeek/14/Releases/components/BuildCard.tsx
@@ -64,7 +64,7 @@ const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
</div>
<div
className={cn(
- 'relative group-hover:!bottom-0 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-all flex flex-col gap-1'
+ 'relative group-hover:bottom-0! ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-all flex flex-col gap-1'
)}
style={{
bottom: isTablet ? 0 : -hiddenHeight + 'px',
@@ -73,7 +73,7 @@ const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
<h4 className="text-foreground text-lg leading-6">{day.title}</h4>
<div
ref={hiddenRef}
- className="relative z-10 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
+ className="relative z-10 ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
style={{
backfaceVisibility: 'hidden',
transform: 'translateZ(0)',
@@ -87,7 +87,7 @@ const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
key={link.url}
href={link.url}
target={link.target ?? '_self'}
- className="px-2 py-1 pointer-events-auto border transition-colors text-foreground-light bg-surface-100 hover:bg-surface-200 rounded text-xs"
+ className="px-2 py-1 pointer-events-auto border transition-colors text-foreground-light bg-surface-100 hover:bg-surface-200 rounded-sm text-xs"
>
{link.label}
</Link>
diff --git a/apps/www/components/LaunchWeek/14/Releases/components/DaySection.tsx b/apps/www/components/LaunchWeek/14/Releases/components/DaySection.tsx
index 780ea4fd2e6..08de7da1638 100644
--- a/apps/www/components/LaunchWeek/14/Releases/components/DaySection.tsx
+++ b/apps/www/components/LaunchWeek/14/Releases/components/DaySection.tsx
@@ -30,7 +30,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
<div
className={cn(
'text-sm inline uppercase dark:text-foreground-muted tracking-[0.1rem]',
- day.shipped && '!text-foreground'
+ day.shipped && 'text-foreground!'
)}
>
{day.dd}, {day.date}
@@ -56,12 +56,12 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
bg-surface-75
min-h-[210px] group sm:aspect-[3.67/1] relative overflow-hidden flex-1 flex flex-col justify-between
hover:border-strong transition-colors border border-muted
- rounded-xl text-2xl bg-contain shadow-sm`,
+ rounded-xl text-2xl bg-contain shadow-xs`,
cssGroup
)}
>
<div className="relative text-foreground-light p-4 sm:px-6 md:py-6 md:px-8 z-20 grow flex flex-col items-start justify-between gap-2 w-full lg:w-1/2 text-left">
- <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 !ease-[cubic-bezier(.24,0,.22,.99)] duration-200 group-hover:-translate-x-6 transition-transform">
+ <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 ease-[cubic-bezier(.24,0,.22,.99)]! duration-200 group-hover:-translate-x-6 transition-transform">
<Edit className="w-4 min-w-4 group-hover:opacity-0 transition-opacity" />
<span>Blog post</span>
<ArrowRightIcon className="w-4 opacity-0 group-hover:opacity-100 transition-opacity" />
@@ -70,8 +70,8 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
{day.description}
</h2>
</div>
- <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-[2/1] sm:aspect-auto sm:absolute sm:inset-0">
- <div className="hidden sm:block absolute inset-0 bg-gradient-to-r from-background-surface-75 from-0% via-background-surface-75 via-20% to-transparent to-75% w-full h-full z-0" />
+ <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-2/1 sm:aspect-auto sm:absolute sm:inset-0">
+ <div className="hidden sm:block absolute inset-0 bg-linear-to-r from-background-surface-75 from-0% via-background-surface-75 via-20% to-transparent to-75% w-full h-full z-0" />
{day.steps[0]?.bg_layers &&
day.steps[0]?.bg_layers?.map((layer, i) => (
<>
diff --git a/apps/www/components/LaunchWeek/15/ActionButton.tsx b/apps/www/components/LaunchWeek/15/ActionButton.tsx
index f5619699d8f..7bda5c0a287 100644
--- a/apps/www/components/LaunchWeek/15/ActionButton.tsx
+++ b/apps/www/components/LaunchWeek/15/ActionButton.tsx
@@ -5,14 +5,14 @@ import { cn } from 'ui'
import { useCommandMenuOpen } from 'ui-patterns'
const actionButtonVariants = cva(
- 'pl-1.5 pr-3 py-1.5 rounded shadow flex justify-center items-center gap-2 outline outline-1 outline-offset-[-1px] cursor-pointer flex-nowrap',
+ 'pl-1.5 pr-3 py-1.5 rounded-sm shadow-sm flex justify-center items-center gap-2 outline outline-1 -outline-offset-1 cursor-pointer flex-nowrap',
{
variants: {
variant: {
primary:
- 'dark:bg-gradient-to-b from-emerald-400/0 via-emerald-400/30 to-emerald-400/0 dark:shadow-[0px_0px_6px_0px_rgba(44,244,148,0.40)] outline-emerald-400/60',
+ 'dark:bg-linear-to-b from-emerald-400/0 via-emerald-400/30 to-emerald-400/0 dark:shadow-[0px_0px_6px_0px_rgba(44,244,148,0.40)] outline-emerald-400/60',
secondary:
- 'dark:bg-gradient-to-b from-neutral-600/0 via-neutral-600/30 to-neutral-600/0 dark:shadow-[0px_0px_6px_0px_rgba(255,255,255,0.10)] outline-white/10',
+ 'dark:bg-linear-to-b from-neutral-600/0 via-neutral-600/30 to-neutral-600/0 dark:shadow-[0px_0px_6px_0px_rgba(255,255,255,0.10)] outline-white/10',
},
},
defaultVariants: {
@@ -22,7 +22,7 @@ const actionButtonVariants = cva(
)
const iconVariants = cva(
- 'w-5 h-5 px-2 rounded-sm outline outline-1 outline-offset-[-1px] inline-flex flex-col justify-center items-center gap-2',
+ 'w-5 h-5 px-2 rounded-xs outline outline-1 -outline-offset-1 inline-flex flex-col justify-center items-center gap-2',
{
variants: {
variant: {
@@ -37,12 +37,12 @@ const iconVariants = cva(
)
const textVariants = cva(
- 'justify-center text-foreground text-xs leading-[20px] font-normal min-w-[108.25px] [@media(pointer:coarse)]:pl-2 text-nowrap',
+ 'justify-center text-foreground text-xs leading-[20px] font-normal min-w-[108.25px] pointer-coarse:pl-2 text-nowrap',
{
variants: {
variant: {
- primary: 'dark:[text-shadow:_0px_0px_10px_rgb(255_255_255_/_1.00)]',
- secondary: 'dark:[text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.44)]',
+ primary: 'dark:[text-shadow:0px_0px_10px_rgb(255_255_255/1.00)]',
+ secondary: 'dark:[text-shadow:0px_0px_4px_rgb(255_255_255/0.44)]',
},
},
defaultVariants: {
@@ -90,8 +90,8 @@ export const ActionButton = ({
aria-label={typeof children === 'string' ? children : undefined}
ref={buttonRef}
>
- <div className={cn(iconVariants({ variant }), '[@media(pointer:coarse)]:hidden')}>
- <div className="text-center justify-center text-neutral-50 text-xs font-normal leading-none dark:[text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)]">
+ <div className={cn(iconVariants({ variant }), 'pointer-coarse:hidden')}>
+ <div className="text-center justify-center text-neutral-50 text-xs font-normal leading-none dark:[text-shadow:0px_0px_4px_rgb(255_255_255/0.25)]">
{icon}
</div>
</div>
diff --git a/apps/www/components/LaunchWeek/15/LW15BuildStage.tsx b/apps/www/components/LaunchWeek/15/LW15BuildStage.tsx
index 048880ef078..333d7bdce07 100644
--- a/apps/www/components/LaunchWeek/15/LW15BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/15/LW15BuildStage.tsx
@@ -25,7 +25,7 @@ const LW15BuildStage: FC = () => {
return (
<>
<SectionContainer
- className="!max-w-none lg:!container py-8 md:py-8 lw-nav-anchor flex flex-col lg:grid lg:grid-cols-5 gap-4 lg:gap-2"
+ className="max-w-none! lg:container! py-8 md:py-8 lw-nav-anchor flex flex-col lg:grid lg:grid-cols-5 gap-4 lg:gap-2"
id="build-stage"
>
<div className="flex flex-col md:gap-2 h-full justify-between col-span-2">
diff --git a/apps/www/components/LaunchWeek/15/LW15Hackathon.tsx b/apps/www/components/LaunchWeek/15/LW15Hackathon.tsx
index ee03d3a5be7..193063adb5c 100644
--- a/apps/www/components/LaunchWeek/15/LW15Hackathon.tsx
+++ b/apps/www/components/LaunchWeek/15/LW15Hackathon.tsx
@@ -11,7 +11,7 @@ const MotionImage = motion(Image)
const LW15Hackathon: FC = () => {
return (
<SectionContainer
- className="!max-w-none lg:!container lw-nav-anchor flex flex-col lg:grid lg:grid-cols-5 gap-4 lg:gap-2"
+ className="max-w-none! lg:container! lw-nav-anchor flex flex-col lg:grid lg:grid-cols-5 gap-4 lg:gap-2"
id="build-stage"
>
<LW15HackathonImage className="hidden lg:flex" />
@@ -81,7 +81,7 @@ const LW15HackathonImage = ({ className }: { className?: string }) => {
className
)}
>
- <div className="relative grow-[1] overflow-hidden">
+ <div className="relative grow overflow-hidden">
<MotionImage
variants={imageVariants}
src="/images/launchweek/15/lw15-galaxy-hackathon.png"
@@ -92,7 +92,7 @@ const LW15HackathonImage = ({ className }: { className?: string }) => {
className="absolute w-full inset-0 h-full object-cover object-top"
/>
</div>
- <div className="relative grow-[2] overflow-hidden">
+ <div className="relative grow-2 overflow-hidden">
<MotionImage
variants={imageVariants}
src="/images/launchweek/15/lw15-galaxy-hackathon.png"
@@ -103,7 +103,7 @@ const LW15HackathonImage = ({ className }: { className?: string }) => {
className="absolute w-full inset-0 h-full object-cover object-top"
/>
</div>
- <div className="relative grow-[3] overflow-hidden">
+ <div className="relative grow-3 overflow-hidden">
<MotionImage
variants={imageVariants}
src="/images/launchweek/15/lw15-galaxy-hackathon.png"
diff --git a/apps/www/components/LaunchWeek/15/LW15Heading.tsx b/apps/www/components/LaunchWeek/15/LW15Heading.tsx
index f93df5bdf0e..b1c42a07f61 100644
--- a/apps/www/components/LaunchWeek/15/LW15Heading.tsx
+++ b/apps/www/components/LaunchWeek/15/LW15Heading.tsx
@@ -108,7 +108,7 @@ const LW15Heading = () => {
return (
<header className="border-b">
- <SectionContainer className="flex flex-col justify-between gap-12 !py-8 lg:!py-10 h-full !max-w-none lg:!container">
+ <SectionContainer className="flex flex-col justify-between gap-12 py-8! lg:py-10! h-full max-w-none! lg:container!">
<div className="grid md:grid-cols-5 gap-4 delay-100">
<div
data-animate
diff --git a/apps/www/components/LaunchWeek/15/LW15MainStage.tsx b/apps/www/components/LaunchWeek/15/LW15MainStage.tsx
index f6ac66e1b4f..f58041e3ff8 100644
--- a/apps/www/components/LaunchWeek/15/LW15MainStage.tsx
+++ b/apps/www/components/LaunchWeek/15/LW15MainStage.tsx
@@ -28,7 +28,7 @@ const LW15MainStage = ({ className }: { className?: string }) => {
<div className="relative pb-8 lg:pb-24 overflow-hidden">
<SectionContainer
className={cn(
- 'relative !max-w-none !pb-4 md:pb-4 !pt-8 xl:!pt-10 lg:!container flex flex-col gap-4',
+ 'relative max-w-none! pb-4! md:pb-4 pt-8! xl:pt-10! lg:container! flex flex-col gap-4',
className
)}
id="main-stage"
@@ -73,7 +73,7 @@ const DayCard = ({ day }: { day: WeekDayProps }) =>
) : (
<div
className={cn(
- 'group/main block w-full bg-surface-200 dark:bg-transparent h-full xl:flex-1 xl:h-auto xl:aspect-[217/275] relative overflow-hidden rounded border dark:border-muted'
+ 'group/main block w-full bg-surface-200 dark:bg-transparent h-full xl:flex-1 xl:h-auto xl:aspect-217/275 relative overflow-hidden rounded-sm border dark:border-muted'
)}
>
<div className="w-full h-full relative z-10 flex flex-col justify-between gap-4">
@@ -105,7 +105,7 @@ const DayCardShipped = ({ day }: { day: WeekDayProps }) => {
return (
<div
className={cn(
- 'group/main block w-full h-full xl:flex-1 xl:h-auto xl:aspect-[217/275] relative overflow-hidden rounded border border-strong text-white',
+ 'group/main block w-full h-full xl:flex-1 xl:h-auto xl:aspect-217/275 relative overflow-hidden rounded-sm border border-strong text-white',
day.isToday && 'ring-1 ring-foreground-lighter ring-offset-2 ring-offset-background'
)}
>
@@ -116,13 +116,13 @@ const DayCardShipped = ({ day }: { day: WeekDayProps }) => {
<li key={link.href}>
<DayLink
{...link}
- className="transition-all duration-300 !ease-[cubic-bezier(.25,.25,0,1)] lg:-translate-y-full lg:opacity-0 group-hover/main:translate-y-0 group-hover/main:opacity-100"
+ className="transition-all duration-300 ease-[cubic-bezier(.25,.25,0,1)]! lg:-translate-y-full lg:opacity-0 group-hover/main:translate-y-0 group-hover/main:opacity-100"
/>
</li>
))}
</ul>
<div
- className="flex flex-col p-4 pt-0 gap-2 relative group-hover/main:!bottom-0 !ease-[cubic-bezier(.25,.25,0,1)] duration-300"
+ className="flex flex-col p-4 pt-0 gap-2 relative group-hover/main:bottom-0! ease-[cubic-bezier(.25,.25,0,1)]! duration-300"
style={{
bottom: isTablet ? 0 : -hiddenHeight + 'px',
}}
@@ -133,7 +133,7 @@ const DayCardShipped = ({ day }: { day: WeekDayProps }) => {
className="block lg:opacity-0 lg:blur-lg duration-300 group-hover/main:lg:blur-none transition-all group-hover/main:lg:opacity-100"
ref={hiddenRef}
>
- <Button type="outline" size="small" className="text-current rounded-sm border-dashed">
+ <Button type="outline" size="small" className="text-current rounded-xs border-dashed">
<Link href={day.blog!}>Read more</Link>
</Button>
</div>
@@ -153,7 +153,7 @@ const CardBG = ({ day }: { day: WeekDayProps }) => (
key={`${day.title}-image-${i}?v=3`}
className={cn(
'absolute inset-0 w-full h-full -z-10',
- 'transition-all duration-300 !ease-[cubic-bezier(.24,0,.22,.99)]',
+ 'transition-all duration-300 ease-[cubic-bezier(.24,0,.22,.99)]!',
'dark:opacity-50 scale-100',
'group-hover/main:dark:opacity-100'
)}
@@ -174,7 +174,7 @@ const CardBG = ({ day }: { day: WeekDayProps }) => (
)}
</>
))}
- <div className="absolute inset-0 z-0 w-full h-full bg-gradient-to-b from-black/80 via-black/30 to-black/90" />
+ <div className="absolute inset-0 z-0 w-full h-full bg-linear-to-b from-black/80 via-black/30 to-black/90" />
</div>
)
@@ -221,10 +221,10 @@ const CardsSlider: React.FC<Props> = ({
controller={{ control: controlledSwiper }}
updateOnWindowResize
allowTouchMove
- className="!w-full !overflow-visible"
+ className="w-full! overflow-visible!"
>
{slides.map((day: WeekDayProps, i: number) => (
- <SwiperSlide className={cn('flex w-full aspect-[217/275]')} key={`${day.id}-mobile-${i}`}>
+ <SwiperSlide className={cn('flex w-full aspect-217/275')} key={`${day.id}-mobile-${i}`}>
<DayCard day={day} />
</SwiperSlide>
))}
diff --git a/apps/www/components/LaunchWeek/15/LW15Meetups.tsx b/apps/www/components/LaunchWeek/15/LW15Meetups.tsx
index c01dfbd66a4..45f2944dd50 100644
--- a/apps/www/components/LaunchWeek/15/LW15Meetups.tsx
+++ b/apps/www/components/LaunchWeek/15/LW15Meetups.tsx
@@ -105,7 +105,7 @@ const LW15Meetups = ({ className, meetups = [] }: PropsWithChildren<Props>) => {
<SectionContainer
className={cn(
- 'relative !max-w-none !pb-0 lg:!container flex flex-col overflow-hidden',
+ 'relative max-w-none! pb-0! lg:container! flex flex-col overflow-hidden',
className
)}
id="meetups"
@@ -146,7 +146,7 @@ const LW15Meetups = ({ className, meetups = [] }: PropsWithChildren<Props>) => {
title={liveNow ? 'Live now' : undefined}
className={cn(
'h-10 group inline-flex items-center flex-wrap',
- '!leading-none transition-colors',
+ 'leading-none! transition-colors',
meetup.id === activeMeetup?.id && 'text-foreground'
// liveNow && 'text-foreground-light'
)}
@@ -170,7 +170,7 @@ const LW15Meetups = ({ className, meetups = [] }: PropsWithChildren<Props>) => {
</motion.div>
<div
ref={imageRef}
- className="mx-auto h-[400px] -mt-32 -mb-20 lg:mt-0 lg:mb-0 aspect-square lg:aspect-[2/1] overflow-hidden relative"
+ className="mx-auto h-[400px] -mt-32 -mb-20 lg:mt-0 lg:mb-0 aspect-square lg:aspect-2/1 overflow-hidden relative"
>
<Image
src="/images/launchweek/15/lw15-globe-dark.png"
@@ -246,7 +246,7 @@ const MeetupOverlayCard = ({ meetup, mousePosition, visible }: MeetupOverlayCard
top: mousePosition.y + 15,
}}
>
- <div className="bg-black dark:bg-foreground text-white dark:text-background p-2 rounded-sm shadow-lg border w-screen max-w-xs flex flex-col gap-2">
+ <div className="bg-black dark:bg-foreground text-white dark:text-background p-2 rounded-xs shadow-lg border w-screen max-w-xs flex flex-col gap-2">
<div className="w-full flex justify-between items-start gap-1 h-8">
<LWSVG className="h-full w-auto" />
<div className="relative h-full flex-1 overflow-hidden">
@@ -260,7 +260,7 @@ const MeetupOverlayCard = ({ meetup, mousePosition, visible }: MeetupOverlayCard
</div>
<FifteenSVG className="h-full w-auto mr-0.5" />
</div>
- <div className="w-full flex justify-between gap-1 text-lg !leading-none">
+ <div className="w-full flex justify-between gap-1 text-lg leading-none!">
<div className="">Meetup</div>
<div className="text-right">
{getMeetupCity(meetup!)}, {getMeetupCountry(meetup!)}
diff --git a/apps/www/components/LaunchWeek/15/LWSummary.tsx b/apps/www/components/LaunchWeek/15/LWSummary.tsx
index e79a5a0d256..d56ff6237c6 100644
--- a/apps/www/components/LaunchWeek/15/LWSummary.tsx
+++ b/apps/www/components/LaunchWeek/15/LWSummary.tsx
@@ -12,7 +12,7 @@ const LW14Summary = () => {
fontFamily:
"SuisseIntl-Book, custom-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",
}}
- className="w-full border bg-alternative flex flex-col rounded text-foreground-lighter mt-12 overflow-hidden"
+ className="w-full border bg-alternative flex flex-col rounded-sm text-foreground-lighter mt-12 overflow-hidden"
>
<div className="w-full uppercase p-4 flex justify-between items-center">
<Link
diff --git a/apps/www/components/LaunchWeek/15/Ticketing/LW15Ticket.tsx b/apps/www/components/LaunchWeek/15/Ticketing/LW15Ticket.tsx
index 57ea58e3b77..efe74e9cc6d 100644
--- a/apps/www/components/LaunchWeek/15/Ticketing/LW15Ticket.tsx
+++ b/apps/www/components/LaunchWeek/15/Ticketing/LW15Ticket.tsx
@@ -42,7 +42,7 @@ const LW15Ticket = ({
<div
ref={tilt}
className={cn(
- 'min-h-[400px] transition-colors border duration-300 [&_*]:transition-colors [&_*]:duration-300 max-h-[500px] h-[70%] w-auto aspect-[278/443] flex flex-col shadow-2xl rounded-md overflow-hidden',
+ 'min-h-[400px] transition-colors border duration-300 **:transition-colors **:duration-300 max-h-[500px] h-[70%] w-auto aspect-278/443 flex flex-col shadow-2xl rounded-md overflow-hidden',
className
)}
style={{ background: bg, color: fg }}
diff --git a/apps/www/components/LaunchWeek/15/Ticketing/LW15TicketPage.tsx b/apps/www/components/LaunchWeek/15/Ticketing/LW15TicketPage.tsx
index af0d2e62d28..1857d24c141 100644
--- a/apps/www/components/LaunchWeek/15/Ticketing/LW15TicketPage.tsx
+++ b/apps/www/components/LaunchWeek/15/Ticketing/LW15TicketPage.tsx
@@ -117,7 +117,7 @@ const LW15TicketPage = ({
const handleClaimTicket = () => register.signIn()
return (
- <SectionContainer className="flex flex-col lg:grid lg:grid-cols-2 gap-6 !py-8 md:!py-10 h-full !min-h-[calc(100dvh-66px)]">
+ <SectionContainer className="flex flex-col lg:grid lg:grid-cols-2 gap-6 py-8! md:py-10! h-full min-h-[calc(100dvh-66px)]!">
<div className="flex flex-col h-full justify-between gap-6 lg:gap-20">
<div className="grid grid-cols-6 gap-4">
<div className="col-span-full w-full hidden lg:flex items-center justify-between h-[60px] md:h-[90px] lg:h-[120px] gap-4">
diff --git a/apps/www/components/LaunchWeek/15/Ticketing/TicketURLCopy.tsx b/apps/www/components/LaunchWeek/15/Ticketing/TicketURLCopy.tsx
index e685588d42d..91cd182fe5c 100644
--- a/apps/www/components/LaunchWeek/15/Ticketing/TicketURLCopy.tsx
+++ b/apps/www/components/LaunchWeek/15/Ticketing/TicketURLCopy.tsx
@@ -32,12 +32,12 @@ export default function TicketURLCopy({
})
}}
className={cn(
- 'font-mono w-full px-2 lg:px-3.5 !pr-1 py-1 rounded-md bg-alternative-200 border flex gap-2 relative text-foreground-light hover:text-foreground text-xs pointer-events-auto justify-between items-center hover:border-stronger transition-all',
+ 'font-mono w-full px-2 lg:px-3.5 pr-1! py-1 rounded-md bg-alternative-200 border flex gap-2 relative text-foreground-light hover:text-foreground text-xs pointer-events-auto justify-between items-center hover:border-stronger transition-all',
className
)}
>
<span className="truncate">{displayUrl}</span>
- <div className="w-6 min-w-6 h-6 flex items-center justify-center shrink-0 border border-strong rounded bg-muted hover:bg-selection hover:border-stronger">
+ <div className="w-6 min-w-6 h-6 flex items-center justify-center shrink-0 border border-strong rounded-sm bg-muted hover:bg-selection hover:border-stronger">
{copied ? <Check size={14} strokeWidth={3} /> : <Copy size={14} strokeWidth={1.5} />}
</div>
</button>
diff --git a/apps/www/components/LaunchWeek/15/lw15.components.tsx b/apps/www/components/LaunchWeek/15/lw15.components.tsx
index 0ad4a5bb761..a0213983838 100644
--- a/apps/www/components/LaunchWeek/15/lw15.components.tsx
+++ b/apps/www/components/LaunchWeek/15/lw15.components.tsx
@@ -129,7 +129,7 @@ export const DayLink = ({ type, icon, text, href = '', className }: DayLink) =>
const Trigger = ({ component: Comp, ...props }: any) => (
<Comp
className={cn(
- 'py-1 flex gap-2 items-center text-white/70 hover:text-white transition-colors text-sm !leading-none',
+ 'py-1 flex gap-2 items-center text-white/70 hover:text-white transition-colors text-sm leading-none!',
className
)}
{...props}
diff --git a/apps/www/components/LaunchWeek/5/ScheduleInfo.tsx b/apps/www/components/LaunchWeek/5/ScheduleInfo.tsx
index 37d1ba60f05..140d1881593 100644
--- a/apps/www/components/LaunchWeek/5/ScheduleInfo.tsx
+++ b/apps/www/components/LaunchWeek/5/ScheduleInfo.tsx
@@ -13,7 +13,7 @@ export function ScheduleInfo() {
The first launch will be on Monday 08:00 PT | 11:00 ET.
</p>
</div>
- <div className="flex flex-col gap-4 overflow-hidden rounded-md border bg-white shadow-sm md:max-w-lg">
+ <div className="flex flex-col gap-4 overflow-hidden rounded-md border bg-white shadow-xs md:max-w-lg">
<div className="flex flex-col gap-3 p-10 pb-0">
<h3 className="text-foreground text-lg">You can still win a lucky gold ticket</h3>
<p className="text-foreground-light text-sm">
diff --git a/apps/www/components/LaunchWeek/7/BlogLinks.tsx b/apps/www/components/LaunchWeek/7/BlogLinks.tsx
index 99cddffd0c7..d949f372945 100644
--- a/apps/www/components/LaunchWeek/7/BlogLinks.tsx
+++ b/apps/www/components/LaunchWeek/7/BlogLinks.tsx
@@ -49,7 +49,7 @@ before:border-[#1f3536] before:-z-10
<div className="relative z-10 flex items-center text-lg flex-col-reverse lg:flex-row lg:justify-start gap-2 text-foreground">
<div
className={[
- 'text-transparent bg-clip-text bg-gradient-to-r text-base from-[#F4FFFA] to-[#B7B2C9] drop-shadow-lg',
+ 'text-transparent bg-clip-text bg-linear-to-r text-base from-[#F4FFFA] to-[#B7B2C9] drop-shadow-lg',
step.break_thumb_title && 'max-w-[240px]',
].join(' ')}
>
diff --git a/apps/www/components/LaunchWeek/7/LW7BgGraphic.tsx b/apps/www/components/LaunchWeek/7/LW7BgGraphic.tsx
index bb2afb69e5d..ca1bd8a9298 100644
--- a/apps/www/components/LaunchWeek/7/LW7BgGraphic.tsx
+++ b/apps/www/components/LaunchWeek/7/LW7BgGraphic.tsx
@@ -18,7 +18,7 @@ export default function LW7BgGraphic() {
return (
<div
className={[
- "relative h-[300px] md:h-[700px] overflow-hidden before:content[' '] before:absolute before:bottom-0 before:h-[200px] md:before:h-[600px] before:z-20 before:w-full before:bg-gradient-to-t before:from-[#1C1C1C] before:via-[#1C1C1C40] before:to-transparent",
+ "relative h-[300px] md:h-[700px] overflow-hidden before:content[' '] before:absolute before:bottom-0 before:h-[200px] md:before:h-[600px] before:z-20 before:w-full before:bg-linear-to-t before:from-[#1C1C1C] before:via-[#1C1C1C40] before:to-transparent",
styles['gradient-overlay'],
].join(' ')}
>
diff --git a/apps/www/components/LaunchWeek/7/LabelBadge.tsx b/apps/www/components/LaunchWeek/7/LabelBadge.tsx
index 43960ce0a53..de3a9df9d8f 100644
--- a/apps/www/components/LaunchWeek/7/LabelBadge.tsx
+++ b/apps/www/components/LaunchWeek/7/LabelBadge.tsx
@@ -7,7 +7,7 @@ interface Props {
export default function LabelBadge({ text, gradientText = false }: Props) {
return (
- <span className="bg-[#32313F] rounded px-1 py-[2px] text-xs">
+ <span className="bg-[#32313F] rounded-sm px-1 py-[2px] text-xs">
<span className={!gradientText ? 'text-[#D87BF5]' : 'gradient-text-purple-500'}>{text}</span>
</span>
)
diff --git a/apps/www/components/LaunchWeek/7/LaunchSection/ArticleButton.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/ArticleButton.tsx
index 8c333e3a0af..e96b18a2094 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/ArticleButton.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/ArticleButton.tsx
@@ -11,7 +11,7 @@ const ArticleButton = (props: Article) => {
border-default
flex items-start gap-3 rounded-md
border p-3
- px-6 drop-shadow-sm transition"
+ px-6 drop-shadow-xs transition"
>
<div className="w-6">
<NewspaperIcon strokeWidth={1} />
diff --git a/apps/www/components/LaunchWeek/7/LaunchSection/ProductButton.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/ProductButton.tsx
index 87c6ab27f1d..ec46b571c02 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/ProductButton.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/ProductButton.tsx
@@ -9,7 +9,7 @@ const ProductButton = (props: Article) => {
text-brand-600
hover:bg-surface-100 flex items-start gap-3 rounded-md border bg-transparent p-3
px-6 transition
- drop-shadow-sm"
+ drop-shadow-xs"
>
<div className="w-6">
<SparklesIcon strokeWidth={1} />
diff --git a/apps/www/components/LaunchWeek/7/LaunchSection/ProductButtonListItem.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/ProductButtonListItem.tsx
index 53b4d883f24..44655840d4b 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/ProductButtonListItem.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/ProductButtonListItem.tsx
@@ -12,7 +12,7 @@ export const ProductButtonListItem = (props: Article) => {
group
flex items-start gap-3 bg-transparent
transition
- drop-shadow-sm"
+ drop-shadow-xs"
>
<div className="w-5">
<SparklesIcon strokeWidth={1} />
diff --git a/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx
index 2cbe5701976..5328c49050c 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx
@@ -24,7 +24,7 @@ export const LaunchSection = (props: WeekDayProps) => {
{/* START timeline dot */}
<div
className={[
- 'absolute mt-[4px] -ml-[21px] h-3 w-3 rounded-full border md:-ml-[37px] lg:-ml-[37.5px]',
+ 'absolute mt-[4px] ml-[-21px] h-3 w-3 rounded-full border md:ml-[-37px] lg:ml-[-37.5px]',
props.shipped ? 'border-brand bg-brand-400' : 'border-purple-900 bg-purple-300',
].join(' ')}
></div>
@@ -163,7 +163,7 @@ export const LaunchSection = (props: WeekDayProps) => {
<div className="flex flex-col gap-12">
{props.articles &&
props.articles.map((article: Article, index) => (
- <div key={article.url + index} className="bg-surface-100 rounded border">
+ <div key={article.url + index} className="bg-surface-100 rounded-sm border">
<div className="p-6 px-10">
<ArticleButtonListItem {...article} />
</div>
diff --git a/apps/www/components/LaunchWeek/7/LaunchWeekPrizeCard.tsx b/apps/www/components/LaunchWeek/7/LaunchWeekPrizeCard.tsx
index 67f7a29dbe2..79e630df958 100644
--- a/apps/www/components/LaunchWeek/7/LaunchWeekPrizeCard.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchWeekPrizeCard.tsx
@@ -39,7 +39,7 @@ export default function LaunchWeekPrizeCard({
return (
<motion.div
className={[
- 'relative p-[1px] bg-gradient-to-b from-[#484848] to-[#1C1C1C] rounded-lg overflow-hidden shadow-lg',
+ 'relative p-px bg-linear-to-b from-[#484848] to-[#1C1C1C] rounded-lg overflow-hidden shadow-lg',
className && className,
].join(' ')}
initial={animateFrom ? getAnimationFrom(animateFrom) : finalState}
@@ -50,7 +50,7 @@ export default function LaunchWeekPrizeCard({
<div className="relative h-full flex flex-col bg-[#1C1C1C] rounded-lg overflow-hidden">
<div
className={[
- "relative w-full grow before:content[' '] before:absolute before:inset-0 before:z-10 before:bg-gradient-to-t before:from-[#1C1C1C]",
+ "relative w-full grow before:content[' '] before:absolute before:inset-0 before:z-10 before:bg-linear-to-t before:from-[#1C1C1C]",
imageWrapperClassName && imageWrapperClassName,
].join(' ')}
>
diff --git a/apps/www/components/LaunchWeek/7/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/7/LaunchWeekPrizeSection.tsx
index c469dac9aa8..8087b96e367 100644
--- a/apps/www/components/LaunchWeek/7/LaunchWeekPrizeSection.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchWeekPrizeSection.tsx
@@ -15,16 +15,16 @@ export default function LaunchWeekPrizeSection({
return (
<div id="lw-7-prizes" className={['scroll-mt-[75px]', className].join(' ')}>
- <div className="!max-w-[100vw]">
+ <div className="max-w-[100vw]!">
<div className="text-center relative z-10 text-white">
<motion.div
- className="max-w-[38rem] mx-auto flex flex-col items-center gap-4 px-4"
+ className="max-w-152 mx-auto flex flex-col items-center gap-4 px-4"
initial={{ y: -20, opacity: 0 }}
whileInView={finalAnimationState}
viewport={{ once: true, margin: '-150px' }}
transition={{ type: 'spring', bounce: 0, delay: 0.2 }}
>
- <div className="w-[40px] h-[40px] rounded-sm bg-[#32313F] flex items-center justify-center">
+ <div className="w-[40px] h-[40px] rounded-xs bg-[#32313F] flex items-center justify-center">
<svg
width="21"
height="22"
diff --git a/apps/www/components/LaunchWeek/7/Releases/Day5.tsx b/apps/www/components/LaunchWeek/7/Releases/Day5.tsx
index d4772d7aaad..7de82e27489 100644
--- a/apps/www/components/LaunchWeek/7/Releases/Day5.tsx
+++ b/apps/www/components/LaunchWeek/7/Releases/Day5.tsx
@@ -121,7 +121,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -170,7 +170,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
<StyledArticleBadge>{day.steps[1].steps[1].badge}</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -221,7 +221,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -272,7 +272,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -323,7 +323,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -374,7 +374,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -425,7 +425,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -477,7 +477,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -528,7 +528,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -579,7 +579,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -630,7 +630,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
</StyledArticleBadge>
<ChipLink
uiOnly
- className="!min-h-[28px] !min-w-[28px] !p-0 !items-center !justify-center"
+ className="min-h-[28px]! min-w-[28px]! p-0! items-center! justify-center!"
>
<ArrowTopRightSvg />
</ChipLink>
@@ -686,7 +686,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
<motion.div
className={[
'absolute inset-0 w-full h-full -z-10',
- i === 2 && '!mix-blend-overlay blur-2xl',
+ i === 2 && 'mix-blend-overlay! blur-2xl',
].join(' ')}
variants={getDay5omt01Motion(i)}
>
@@ -726,7 +726,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
<motion.div
className={[
'absolute inset-0 w-full h-full -z-10',
- i === 2 && '!mix-blend-overlay opacity-50 blur-2xl',
+ i === 2 && 'mix-blend-overlay! opacity-50 blur-2xl',
].join(' ')}
variants={getDay5omt02Motion(i)}
>
diff --git a/apps/www/components/LaunchWeek/7/Releases/components/index.tsx b/apps/www/components/LaunchWeek/7/Releases/components/index.tsx
index cc3dd946235..bd4b6c2af2f 100644
--- a/apps/www/components/LaunchWeek/7/Releases/components/index.tsx
+++ b/apps/www/components/LaunchWeek/7/Releases/components/index.tsx
@@ -92,7 +92,7 @@ export const SmallCard = ({
}) => (
<div
className={[
- 'relative p-[1px] bg-gradient-to-b from-[#48484880] to-[#1C1C1C60] rounded-2xl overflow-hidden shadow-lg',
+ 'relative p-px bg-linear-to-b from-[#48484880] to-[#1C1C1C60] rounded-2xl overflow-hidden shadow-lg',
className,
].join(' ')}
>
@@ -119,8 +119,8 @@ export const StyledArticleBadge = ({
' '
)}
>
- <div className="!bg-transparent rounded-full !py-1 !px-4 w-full inset-[1px] text-sm border-none">
- <span className="text-sm text-[#F4FFFA80] bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#7E7AAD]">
+ <div className="bg-transparent! rounded-full py-1! px-4! w-full inset-px text-sm border-none">
+ <span className="text-sm text-[#F4FFFA80] bg-clip-text bg-linear-to-r from-[#F4FFFA] to-[#7E7AAD]">
{children}
</span>
<div className="absolute inset-0 w-full h-full bg-[#1C1C1C] rounded-full blur-2xl" />
@@ -133,13 +133,13 @@ export const AccordionHeader = ({ date, day, title, shipped }: any) => {
<div className="flex flex-1 flex-col sm:flex-row">
<div className="flex gap-4 w-full sm:w-auto sm:min-w-[240px] md:min-w-[380px] items-center">
<Badge
- className={`relative inset-0 !bg-transparent !py-1 !px-4 h-fit backdrop-blur-md ${
+ className={`relative inset-0 bg-transparent! py-1! px-4! h-fit backdrop-blur-md ${
shipped
- ? 'bg-gradient-to-br from-[#2A1E6C] to-[#2A1E6C00] !border-[#6044FF40]'
- : '!border-[#FFFFFF20]'
+ ? 'bg-linear-to-br from-[#2A1E6C] to-[#2A1E6C00] border-[#6044FF40]!'
+ : 'border-[#FFFFFF20]!'
}`}
>
- <span className="text-[#F4FFFA40] text-sm font-normal bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#675FA7]">
+ <span className="text-[#F4FFFA40] text-sm font-normal bg-clip-text bg-linear-to-r from-[#F4FFFA] to-[#675FA7]">
{shipped ? 'Shipped' : 'Coming Soon'}
</span>
</Badge>
@@ -163,7 +163,7 @@ export const MultistepSectionHeader = ({ title, blog }: any) => {
<div className="flex gap-4 w-full items-center justify-between md:justify-start">
{title && <span className="text-foreground text-lg mt-3 sm:mt-0">{title}</span>}
{!!blog && (
- <ChipLink href={blog} className="!w-auto !text-left !justify-between !flex-none">
+ <ChipLink href={blog} className="w-auto! text-left! justify-between! flex-none!">
Blog post
<div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
<PencilSvg />
@@ -191,7 +191,7 @@ export const ChipLink = ({
uiOnly ? (
<span
className={[
- 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444490] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191980] backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
+ 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-linear-to-r text-white from-[#46444490] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191980] backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
className,
].join(' ')}
>
@@ -203,7 +203,7 @@ export const ChipLink = ({
target={target ?? '_self'}
rel="noopener"
className={[
- 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444490] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191980] backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
+ 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-linear-to-r text-white from-[#46444490] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191980] backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
className,
].join(' ')}
>
@@ -288,7 +288,7 @@ export const SectionButtons = ({
}
export const CartTitle = ({ children }: { children: any }) => (
- <span className="z-0 relative text-[#F4FFFA90] bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#675FA7]">
+ <span className="z-0 relative text-[#F4FFFA90] bg-clip-text bg-linear-to-r from-[#F4FFFA] to-[#675FA7]">
{children}
<div className="absolute -z-10 inset-0 w-full h-full bg-[#1C1C1C90] rounded-full blur-xl" />
</span>
diff --git a/apps/www/components/LaunchWeek/7/Releases/index.tsx b/apps/www/components/LaunchWeek/7/Releases/index.tsx
index 0075f318af0..27d1d577eb4 100644
--- a/apps/www/components/LaunchWeek/7/Releases/index.tsx
+++ b/apps/www/components/LaunchWeek/7/Releases/index.tsx
@@ -163,11 +163,11 @@ export default function LW7Releases() {
return (
<>
- <SectionContainer className="!py-0 w-full !px-0 !max-w-none">
+ <SectionContainer className="py-0! w-full px-0! max-w-none!">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4 scroll-mt-[105px]" id="hackathon">
<SmallCard
bgGradient
- className={[isHackathonLive && '!from-[#4635A7] !to-[#A69DC920]'].join(' ')}
+ className={[isHackathonLive && 'from-[#4635A7]! to-[#A69DC920]!'].join(' ')}
>
<div className="relative z-10 flex items-center mb-4 sm:mb-0">
<div
@@ -204,7 +204,7 @@ export default function LW7Releases() {
</ChipLink>
</div>
{isHackathonLive && (
- <div className="absolute opacity-pulse inset-0 w-full h-full bg-gradient-to-b from-[#1C1C1C80] to-[#1C1C1C] rounded-2xl overflow-hidden shadow-lg pointer-events-none" />
+ <div className="absolute opacity-pulse inset-0 w-full h-full bg-linear-to-b from-[#1C1C1C80] to-[#1C1C1C] rounded-2xl overflow-hidden shadow-lg pointer-events-none" />
)}
</SmallCard>
<SmallCard bgGradient>
@@ -236,14 +236,14 @@ export default function LW7Releases() {
</div>
</div>
<div className="flex w-full sm:w-auto justify-center gap-2 z-10">
- <ChipLink href="#lw-7-prizes" className="!pr-3 !justify-center">
+ <ChipLink href="#lw-7-prizes" className="pr-3! justify-center!">
More info
</ChipLink>
</div>
</SmallCard>
</div>
</SectionContainer>
- <SectionContainer className="!pt-0 !w-full !px-0 !max-w-none">
+ <SectionContainer className="pt-0! w-full! px-0! max-w-none!">
<Accordion
type="default"
openBehaviour="multiple"
@@ -415,7 +415,7 @@ export default function LW7Releases() {
<motion.div
className={[
'absolute inset-0 w-full h-full -z-10',
- i === 3 && '!mix-blend-overlay blur-2xl',
+ i === 3 && 'mix-blend-overlay! blur-2xl',
].join(' ')}
variants={getDay1Motion(i)}
>
@@ -489,7 +489,7 @@ export default function LW7Releases() {
<motion.div
className={[
'absolute inset-0 w-full h-full -z-10',
- i === 3 && '!mix-blend-overlay blur-2xl',
+ i === 3 && 'mix-blend-overlay! blur-2xl',
].join(' ')}
variants={getDay2Motion(i)}
>
@@ -563,7 +563,7 @@ export default function LW7Releases() {
<motion.div
className={[
'absolute inset-0 w-full h-full -z-10',
- i === 2 && '!mix-blend-overlay blur-2xl',
+ i === 2 && 'mix-blend-overlay! blur-2xl',
].join(' ')}
variants={getDay3Motion(i)}
>
diff --git a/apps/www/components/LaunchWeek/8/LW8CalloutsSection.tsx b/apps/www/components/LaunchWeek/8/LW8CalloutsSection.tsx
index f1d57bee92e..13610b90944 100644
--- a/apps/www/components/LaunchWeek/8/LW8CalloutsSection.tsx
+++ b/apps/www/components/LaunchWeek/8/LW8CalloutsSection.tsx
@@ -7,7 +7,7 @@ import { SmallCard } from '../8/Releases/components'
const LW8CalloutsSection = () => {
return (
- <SectionContainer className="!py-0 w-full !px-0 !max-w-none">
+ <SectionContainer className="py-0! w-full px-0! max-w-none!">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4 scroll-mt-[105px]" id="hackathon">
<SmallCard className="hover:from-foreground-muted hover:to-foreground-muted">
<Link
@@ -21,7 +21,7 @@ const LW8CalloutsSection = () => {
<span>Replay recordings</span>
</div>
</div>
- <div className="relative flex !aspect-video h-[80px] md:h-[100px] gap-2 z-10 rounded overflow-hidden">
+ <div className="relative flex aspect-video! h-[80px] md:h-[100px] gap-2 z-10 rounded-sm overflow-hidden">
<Image
src="/images/launchweek/8/twitter-spaces-thumb.svg"
alt="twitter spaces thumbnail"
@@ -45,7 +45,7 @@ const LW8CalloutsSection = () => {
<span>Finished</span>
</div>
</div>
- <div className="relative flex !aspect-video h-[80px] md:h-[100px] gap-2 z-10 rounded overflow-hidden">
+ <div className="relative flex aspect-video! h-[80px] md:h-[100px] gap-2 z-10 rounded-sm overflow-hidden">
<Image
src="/images/launchweek/8/lw8-hackathon-thumb.svg"
alt="hackathon thumbnail"
diff --git a/apps/www/components/LaunchWeek/8/LWArchive.tsx b/apps/www/components/LaunchWeek/8/LWArchive.tsx
index 4f1cf3cfc4a..38a88417eb4 100644
--- a/apps/www/components/LaunchWeek/8/LWArchive.tsx
+++ b/apps/www/components/LaunchWeek/8/LWArchive.tsx
@@ -17,7 +17,7 @@ const LWArchive = () => {
href="/launch-week/6"
className="relative h-[160px] group w-full rounded-md md:rounded-lg transition-transform bg-[#030A0C] flex items-center justify-center border border-[#111618] hover:border-brand-800 overflow-hidden"
>
- <span className="relative z-10 stroke-text inline-block text-transparent bg-clip-text bg-gradient-to-b from-foreground to-foreground-lighter text-7xl drop-shadow-lg">
+ <span className="relative z-10 stroke-text inline-block text-transparent bg-clip-text bg-linear-to-b from-foreground to-foreground-lighter text-7xl drop-shadow-lg">
6
</span>
<div className="absolute inset-0 grayscale group-hover:grayscale-0">
@@ -34,7 +34,7 @@ const LWArchive = () => {
href="/launch-week/7"
className="relative h-[160px] group w-full rounded-md md:rounded-lg transition-transform bg-[#030A0C] flex items-center justify-center border border-[#111718] hover:border-brand-1200 overflow-hidden"
>
- <span className="relative z-10 stroke-text inline-block text-transparent bg-clip-text bg-gradient-to-b from-foreground to-foreground-lighter text-7xl drop-shadow-lg">
+ <span className="relative z-10 stroke-text inline-block text-transparent bg-clip-text bg-linear-to-b from-foreground to-foreground-lighter text-7xl drop-shadow-lg">
7
</span>
<div className="absolute inset-0 grayscale group-hover:grayscale-0">
diff --git a/apps/www/components/LaunchWeek/8/LabelBadge.tsx b/apps/www/components/LaunchWeek/8/LabelBadge.tsx
index a4e954ee581..4be6ea9e636 100644
--- a/apps/www/components/LaunchWeek/8/LabelBadge.tsx
+++ b/apps/www/components/LaunchWeek/8/LabelBadge.tsx
@@ -7,7 +7,7 @@ interface Props {
export default function LabelBadge({ text, className }: Props) {
return (
- <span className={['bg-[#222428] rounded px-1 py-[1px] text-xs', className].join(' ')}>
+ <span className={['bg-[#222428] rounded-sm px-1 py-px text-xs', className].join(' ')}>
<span className="text-foreground-lighter">{text}</span>
</span>
)
diff --git a/apps/www/components/LaunchWeek/8/LaunchWeekLogoHeader.tsx b/apps/www/components/LaunchWeek/8/LaunchWeekLogoHeader.tsx
index 24dac3579cd..e5948afffa5 100644
--- a/apps/www/components/LaunchWeek/8/LaunchWeekLogoHeader.tsx
+++ b/apps/www/components/LaunchWeek/8/LaunchWeekLogoHeader.tsx
@@ -1,7 +1,7 @@
export function LaunchWeekLogoHeader() {
return (
<div className="flex flex-col gap-1 md:gap-2 items-center justify-end">
- <div className="opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both] px-2 flex flex-col items-center text-center gap-3">
+ <div className="opacity-0 animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]! px-2 flex flex-col items-center text-center gap-3">
<h1 className="sr-only font-normal uppercase text-[28px] sm:text-[32px]">Launch week 8</h1>
<p className="text-white radial-gradient-text-600 text-lg sm:text-2xl">
<span className="block">August 7th–11th, 2023</span>
diff --git a/apps/www/components/LaunchWeek/8/LaunchWeekPrizeCard.tsx b/apps/www/components/LaunchWeek/8/LaunchWeekPrizeCard.tsx
index 034db0bba80..0f49cdeb121 100644
--- a/apps/www/components/LaunchWeek/8/LaunchWeekPrizeCard.tsx
+++ b/apps/www/components/LaunchWeek/8/LaunchWeekPrizeCard.tsx
@@ -40,7 +40,7 @@ export default function LaunchWeekPrizeCard({
return (
<motion.div
className={[
- 'relative p-[1px] bg-gradient-to-b from-[#22282a] to-[#030A0C] rounded-lg overflow-hidden shadow-lg',
+ 'relative p-px bg-linear-to-b from-[#22282a] to-[#030A0C] rounded-lg overflow-hidden shadow-lg',
className && className,
].join(' ')}
initial={animateFrom ? getAnimationFrom(animateFrom) : finalState}
@@ -51,7 +51,7 @@ export default function LaunchWeekPrizeCard({
<div className="relative h-full flex flex-col bg-[#030A0C] rounded-lg overflow-hidden">
<div
className={[
- "relative w-full grow before:content[' '] before:absolute before:inset-0 before:z-10 before:bg-gradient-to-t before:from-[#030A0C] before:via-transparent",
+ "relative w-full grow before:content[' '] before:absolute before:inset-0 before:z-10 before:bg-linear-to-t before:from-[#030A0C] before:via-transparent",
imageWrapperClassName && imageWrapperClassName,
].join(' ')}
>
diff --git a/apps/www/components/LaunchWeek/8/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/8/LaunchWeekPrizeSection.tsx
index 2664fbed640..4d93c3c6515 100644
--- a/apps/www/components/LaunchWeek/8/LaunchWeekPrizeSection.tsx
+++ b/apps/www/components/LaunchWeek/8/LaunchWeekPrizeSection.tsx
@@ -14,7 +14,7 @@ export default function LaunchWeekPrizeSection({
return (
<div id="lw8-prizes" className={['relative scroll-mt-[66px]', className].join(' ')}>
- <div className="absolute z-0 w-full aspect-[1.75/1] top-0 items-center justify-center">
+ <div className="absolute z-0 w-full aspect-1.75/1 top-0 items-center justify-center">
<Image
src="/images/launchweek/8/swag-bg.png"
alt="prizes background"
@@ -24,11 +24,11 @@ export default function LaunchWeekPrizeSection({
quality={100}
/>
</div>
- <div className="!max-w-[100vw]">
- <div className="w-full container mx-auto h-px bg-gradient-to-r from-transparent via-border-control to-transparent" />
+ <div className="max-w-[100vw]!">
+ <div className="w-full container mx-auto h-px bg-linear-to-r from-transparent via-border-control to-transparent" />
<div className="text-center relative z-10 text-white">
- <div className="max-w-[38rem] mx-auto flex flex-col items-center gap-4 px-4">
- <div className="relative z-10 w-full h-[100px] md:h-[130px] rounded-sm flex mt-16 items-center justify-center">
+ <div className="max-w-152 mx-auto flex flex-col items-center gap-4 px-4">
+ <div className="relative z-10 w-full h-[100px] md:h-[130px] rounded-xs flex mt-16 items-center justify-center">
<Image
src="/images/launchweek/8/swag-illustration.png"
alt="prizes"
diff --git a/apps/www/components/LaunchWeek/8/Releases/LWAnnouncement.tsx b/apps/www/components/LaunchWeek/8/Releases/LWAnnouncement.tsx
index 359da8cd83b..c82242fea32 100644
--- a/apps/www/components/LaunchWeek/8/Releases/LWAnnouncement.tsx
+++ b/apps/www/components/LaunchWeek/8/Releases/LWAnnouncement.tsx
@@ -15,7 +15,7 @@ const LWAnnouncement = () => {
<span className="text-foreground-light">Explore all the announcements</span>
</div>
</div>
- <div className="relative flex items-center justify-center !aspect-video h-[80px] md:h-[80px] gap-2 z-10 rounded overflow-hidden">
+ <div className="relative flex items-center justify-center aspect-video! h-[80px] md:h-[80px] gap-2 z-10 rounded-sm overflow-hidden">
<Image
src="/images/launchweek/8/lw8-og.jpg"
alt="Launch Week 8"
@@ -27,7 +27,7 @@ const LWAnnouncement = () => {
)
return (
- <div className="w-full max-w-xl opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]">
+ <div className="w-full max-w-xl opacity-0 animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]!">
<SmallCard
className="border hover:border-stronger transition-colors"
innerClassName="opacity-70 items-stretch"
diff --git a/apps/www/components/LaunchWeek/8/Releases/components/index.tsx b/apps/www/components/LaunchWeek/8/Releases/components/index.tsx
index a1c0b967c57..5ea8796e6dc 100644
--- a/apps/www/components/LaunchWeek/8/Releases/components/index.tsx
+++ b/apps/www/components/LaunchWeek/8/Releases/components/index.tsx
@@ -137,7 +137,7 @@ export const SmallCard = ({
}) => (
<div
className={[
- 'group relative p-[1px] bg-gradient-to-b from-[#11171890] to-[#1C1C1C60] rounded-2xl overflow-hidden shadow-lg',
+ 'group relative p-px bg-linear-to-b from-[#11171890] to-[#1C1C1C60] rounded-2xl overflow-hidden shadow-lg',
className,
].join(' ')}
>
@@ -165,8 +165,8 @@ export const StyledArticleBadge = ({
' '
)}
>
- <div className="!bg-transparent rounded-full !py-1 !px-4 w-full inset-[1px] text-sm border-none from-foreground to-[#6453C5]">
- <span className="text-sm text-[#F4FFFA80] bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#7E7AAD]">
+ <div className="bg-transparent! rounded-full py-1! px-4! w-full inset-px text-sm border-none from-foreground to-[#6453C5]">
+ <span className="text-sm text-[#F4FFFA80] bg-clip-text bg-linear-to-r from-[#F4FFFA] to-[#7E7AAD]">
{children}
</span>
<div className="absolute inset-0 w-full h-full bg-[#1C1C1C] rounded-full blur-2xl" />
@@ -217,15 +217,15 @@ export const AccordionHeader = ({
</span>
{shippable && shipped && (
<Badge
- className={`relative hidden sm:inline-flex inset-0 !bg-[#05090B] border !border-[#061517] !py-1 !px-4 h-fit`}
+ className={`relative hidden sm:inline-flex inset-0 bg-[#05090B]! border border-[#061517]! py-1! px-4! h-fit`}
>
- <span className="text-[#F4FFFA40] text-sm font-normal bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#675FA7]">
+ <span className="text-[#F4FFFA40] text-sm font-normal bg-clip-text bg-linear-to-r from-[#F4FFFA] to-[#675FA7]">
Shipped
</span>
</Badge>
)}
{shippable && shipped && youtube_id && (
- <div className={['hover:cursor-pointer hover:!opacity-100'].join(' ')}>
+ <div className={['hover:cursor-pointer hover:opacity-100!'].join(' ')}>
<ExpandableVideo
videoId={youtube_id}
trigger={
@@ -250,7 +250,7 @@ export const VideoPreviewTrigger = ({
thumbnail: string
}) => (
<div className="flex items-center h-full gap-3 text-xs group/vid text-foreground-light hover:text-foreground transition-colors">
- <div className="relative h-10 !aspect-video flex items-center justify-center rounded overflow-hidden border border-foreground-lighter opacity-80 group-hover/vid:opacity-100 transition-colors">
+ <div className="relative h-10 aspect-video! flex items-center justify-center rounded-sm overflow-hidden border border-foreground-lighter opacity-80 group-hover/vid:opacity-100 transition-colors">
<div className="absolute z-10 w-2.5 h-2.5 text-white opacity-100">
<svg viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
@@ -271,7 +271,7 @@ export const MultistepSectionHeader = ({ title, blog }: any) => {
<div className="flex gap-4 w-full items-center justify-between md:justify-start">
{title && <span className="text-foreground text-lg mt-3 sm:mt-0">{title}</span>}
{!!blog && (
- <ChipLink href={blog} className="!w-auto !text-left !justify-between !flex-none">
+ <ChipLink href={blog} className="w-auto! text-left! justify-between! flex-none!">
Blog post
<div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
<PencilSvg />
@@ -299,7 +299,7 @@ export const ChipLink = ({
uiOnly ? (
<span
className={[
- 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444460] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191990] hover:border-stronger backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
+ 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-linear-to-r text-white from-[#46444460] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191990] hover:border-stronger backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
className,
].join(' ')}
>
@@ -311,7 +311,7 @@ export const ChipLink = ({
target={target ?? '_self'}
rel="noopener"
className={[
- 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444460] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191990] hover:border-stronger backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
+ 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-linear-to-r text-white from-[#46444460] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191990] hover:border-stronger backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
className,
].join(' ')}
>
@@ -418,7 +418,7 @@ export const SectionButtons = ({
export const CartTitle = ({ children, className }: { children: any; className?: string }) => (
<span
className={[
- 'z-0 relative text-[#F4FFFA90] bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#675FA7] tracking-[-.5px] text-xl',
+ 'z-0 relative text-[#F4FFFA90] bg-clip-text bg-linear-to-r from-[#F4FFFA] to-[#675FA7] tracking-[-.5px] text-xl',
className,
].join(' ')}
>
diff --git a/apps/www/components/LaunchWeek/8/Releases/index.tsx b/apps/www/components/LaunchWeek/8/Releases/index.tsx
index 11407bd85a4..096f5ed26fd 100644
--- a/apps/www/components/LaunchWeek/8/Releases/index.tsx
+++ b/apps/www/components/LaunchWeek/8/Releases/index.tsx
@@ -27,7 +27,7 @@ export default function LW8Releases() {
return (
<>
- <SectionContainer className="!pt-0 !w-full !px-0 !max-w-none">
+ <SectionContainer className="pt-0! w-full! px-0! max-w-none!">
<Accordion
type="default"
openBehaviour="multiple"
diff --git a/apps/www/components/LaunchWeek/X/Album/Player.tsx b/apps/www/components/LaunchWeek/X/Album/Player.tsx
index 26cf0addb82..11cfe7ffbf1 100644
--- a/apps/www/components/LaunchWeek/X/Album/Player.tsx
+++ b/apps/www/components/LaunchWeek/X/Album/Player.tsx
@@ -23,7 +23,7 @@ const Player = () => {
href="https://supabase.productions/"
target="_blank"
className={cn(
- 'opacity-0 outline-none group translate-x-2 !ease-[cubic-bezier(.24,0,.22,.99)] duration-200 transition-all text-foreground-muted hover:text-foreground !leading-3 font-mono uppercase text-[10px] flex flex-col text-right',
+ 'opacity-0 outline-hidden group translate-x-2 ease-[cubic-bezier(.24,0,.22,.99)]! duration-200 transition-all text-foreground-muted hover:text-foreground leading-3! font-mono uppercase text-[10px] flex flex-col text-right',
isPlaying && 'opacity-100 translate-x-0'
)}
>
diff --git a/apps/www/components/LaunchWeek/X/LWXMeetups.tsx b/apps/www/components/LaunchWeek/X/LWXMeetups.tsx
index 055f036197d..5e3b71f36b8 100644
--- a/apps/www/components/LaunchWeek/X/LWXMeetups.tsx
+++ b/apps/www/components/LaunchWeek/X/LWXMeetups.tsx
@@ -108,7 +108,7 @@ const LWXMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
title={liveNow ? 'Live now' : undefined}
className={cn(
'h-10 group inline-flex items-center flex-wrap text-4xl',
- 'hover:text-[#EDEDED] !leading-none transition-colors',
+ 'hover:text-[#EDEDED] leading-none! transition-colors',
meetup.id === activeMeetup.id ? 'text-[#EDEDED]' : 'text-[#575E61]',
liveNow && 'text-[#B0B0B0]'
)}
diff --git a/apps/www/components/LaunchWeek/X/LabelBadge.tsx b/apps/www/components/LaunchWeek/X/LabelBadge.tsx
index a4e954ee581..4be6ea9e636 100644
--- a/apps/www/components/LaunchWeek/X/LabelBadge.tsx
+++ b/apps/www/components/LaunchWeek/X/LabelBadge.tsx
@@ -7,7 +7,7 @@ interface Props {
export default function LabelBadge({ text, className }: Props) {
return (
- <span className={['bg-[#222428] rounded px-1 py-[1px] text-xs', className].join(' ')}>
+ <span className={['bg-[#222428] rounded-sm px-1 py-px text-xs', className].join(' ')}>
<span className="text-foreground-lighter">{text}</span>
</span>
)
diff --git a/apps/www/components/LaunchWeek/X/LaunchWeekLogoHeader.tsx b/apps/www/components/LaunchWeek/X/LaunchWeekLogoHeader.tsx
index 24dac3579cd..e5948afffa5 100644
--- a/apps/www/components/LaunchWeek/X/LaunchWeekLogoHeader.tsx
+++ b/apps/www/components/LaunchWeek/X/LaunchWeekLogoHeader.tsx
@@ -1,7 +1,7 @@
export function LaunchWeekLogoHeader() {
return (
<div className="flex flex-col gap-1 md:gap-2 items-center justify-end">
- <div className="opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both] px-2 flex flex-col items-center text-center gap-3">
+ <div className="opacity-0 animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]! px-2 flex flex-col items-center text-center gap-3">
<h1 className="sr-only font-normal uppercase text-[28px] sm:text-[32px]">Launch week 8</h1>
<p className="text-white radial-gradient-text-600 text-lg sm:text-2xl">
<span className="block">August 7th–11th, 2023</span>
diff --git a/apps/www/components/LaunchWeek/X/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/X/Releases/BuildStage.tsx
index 48f6e57ca53..7963d675e79 100644
--- a/apps/www/components/LaunchWeek/X/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/BuildStage.tsx
@@ -24,7 +24,7 @@ const BuildStage: FC = () => {
return (
<>
- <SectionContainer className="!max-w-none lg:!container lwx-nav-anchor" id="build-stage">
+ <SectionContainer className="max-w-none! lg:container! lwx-nav-anchor" id="build-stage">
<h3 className="text-foreground uppercase font-mono pb-4 md:pb-8 text-sm tracking-[0.1rem]">
Build Stage
</h3>
diff --git a/apps/www/components/LaunchWeek/X/Releases/LWXHeader.tsx b/apps/www/components/LaunchWeek/X/Releases/LWXHeader.tsx
index c069edd9092..448d2d4b185 100644
--- a/apps/www/components/LaunchWeek/X/Releases/LWXHeader.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/LWXHeader.tsx
@@ -5,14 +5,14 @@ import Image from 'next/image'
const LWXHeader = () => {
return (
<div className="pt-16 w-full h-[175px] sm:h-[275px] overflow-hidden">
- <SectionContainer className="!py-0 h-full flex justify-end">
+ <SectionContainer className="py-0! h-full flex justify-end">
<Image
src="/images/launchweek/lwx/lwx_header.svg"
alt="Launch Week X header"
width={300}
height={300}
draggable={false}
- className="relative -right-[112px] sm:-right-[63px] object-cover !object-center h-full aspect-square scale-[120%] overflow-visible"
+ className="relative right-[-112px] sm:right-[-63px] object-cover object-center! h-full aspect-square scale-[120%] overflow-visible"
/>
</SectionContainer>
</div>
diff --git a/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx b/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx
index 333f1024550..f3470aa2d8f 100644
--- a/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx
@@ -25,7 +25,7 @@ const LWXStickyNav: FC = () => {
})
links.current?.forEach((link) => {
- link.classList.remove('!text-foreground')
+ link.classList.remove('text-foreground!')
const sanitizedHref = decodeURI(link.getAttribute('href') ?? '')
.split('#')
@@ -34,7 +34,7 @@ const LWXStickyNav: FC = () => {
const isMatch = sanitizedHref === newActiveAnchor
if (isMatch) {
- link.classList.add('!text-foreground')
+ link.classList.add('text-foreground!')
}
})
}
@@ -52,8 +52,8 @@ const LWXStickyNav: FC = () => {
return (
<div className="absolute inset-0 pointer-events-none w-full h-full">
- <nav className="sticky z-30 top-0 bg-[#06080999] backdrop-blur-sm pointer-events-auto w-full border-t border-b border-[#111718] h-[60px] flex items-center">
- <SectionContainer className="!max-w-none !py-0 lg:!container flex items-center justify-between font-mono gap-4 md:gap-8 text-sm">
+ <nav className="sticky z-30 top-0 bg-[#06080999] backdrop-blur-xs pointer-events-auto w-full border-t border-b border-[#111718] h-[60px] flex items-center">
+ <SectionContainer className="max-w-none! py-0! lg:container! flex items-center justify-between font-mono gap-4 md:gap-8 text-sm">
<div className="flex items-center gap-4 md:gap-8">
<div className="flex items-center gap-3 leading-none uppercase">
<Link href="/launch-week" className="text-foreground tracking-[1px]">
diff --git a/apps/www/components/LaunchWeek/X/Releases/MainStage.tsx b/apps/www/components/LaunchWeek/X/Releases/MainStage.tsx
index 5cff3da1d06..b8776fa8674 100644
--- a/apps/www/components/LaunchWeek/X/Releases/MainStage.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/MainStage.tsx
@@ -6,15 +6,15 @@ import { mainDays as days } from './data'
import SectionContainer from '@/components/Layouts/SectionContainer'
const MainStage: FC = () => (
- <SectionContainer className="relative !max-w-none !py-0 lg:!container" id="main-stage">
+ <SectionContainer className="relative max-w-none! py-0! lg:container!" id="main-stage">
<h3 className="absolute -top-14 text-foreground uppercase font-mono pb-4 md:pb-8 text-lg tracking-[0.1rem]">
Main Stage
</h3>
<div className="font-mono uppercase tracking-[1px] py-8 border-t border-[#111718] text-[#575E61] scroll-mt-16 flex flex-col md:flex-row justify-between gap-2">
- <div className="!text-foreground [&_*]:text-foreground text-sm flex flex-col sm:flex-row sm:items-center sm:gap-3">
+ <div className="text-foreground! **:text-foreground text-sm flex flex-col sm:flex-row sm:items-center sm:gap-3">
Hackathon finished
</div>
- <div className="!m-0 flex items-center">
+ <div className="m-0! flex items-center">
<TextLink
label="See the winners"
url="/blog/supabase-hackathon-lwx"
diff --git a/apps/www/components/LaunchWeek/X/Releases/components/AdventCard.tsx b/apps/www/components/LaunchWeek/X/Releases/components/AdventCard.tsx
index 371e165f991..7802c0a4b45 100644
--- a/apps/www/components/LaunchWeek/X/Releases/components/AdventCard.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/components/AdventCard.tsx
@@ -71,7 +71,7 @@ const AdventCard = ({ day, index }: { day: AdventDay; index: number }) => {
</div>
<div
className={cn(
- 'relative group-hover:!bottom-0 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-all flex flex-col gap-1'
+ 'relative group-hover:bottom-0! ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-all flex flex-col gap-1'
)}
style={{
bottom: isTablet ? 0 : -hiddenHeight + 'px',
@@ -80,7 +80,7 @@ const AdventCard = ({ day, index }: { day: AdventDay; index: number }) => {
<h4 className="text-foreground text-lg leading-6">{day.title}</h4>
<div
ref={hiddenRef}
- className="relative z-10 !ease-[cubic-bezier(.25,.25,0,1)] duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
+ className="relative z-10 ease-[cubic-bezier(.25,.25,0,1)]! duration-300 transition-opacity opacity-100 lg:opacity-0 group-hover:opacity-100"
style={{
backfaceVisibility: 'hidden',
transform: 'translateZ(0)',
@@ -94,7 +94,7 @@ const AdventCard = ({ day, index }: { day: AdventDay; index: number }) => {
key={link.url}
href={link.url}
target={link.target ?? '_self'}
- className="px-2 py-1 pointer-events-auto border border-muted transition-colors text-foreground-light bg-[#191D1E] hover:bg-[#22272A] rounded text-xs"
+ className="px-2 py-1 pointer-events-auto border border-muted transition-colors text-foreground-light bg-[#191D1E] hover:bg-[#22272A] rounded-sm text-xs"
>
{link.label}
</Link>
diff --git a/apps/www/components/LaunchWeek/X/Releases/components/DaySection.tsx b/apps/www/components/LaunchWeek/X/Releases/components/DaySection.tsx
index 2e4a4a4adbf..ba548de1804 100644
--- a/apps/www/components/LaunchWeek/X/Releases/components/DaySection.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/components/DaySection.tsx
@@ -48,7 +48,7 @@ const DaySection = ({ day }: { day: WeekDayProps }) => {
href={day.blog!}
className={cn(
`
- bg-[#111415] hover:bg-[#121516] sm:!bg-transparent
+ bg-[#111415] hover:bg-[#121516] sm:bg-transparent!
min-h-[210px] group sm:aspect-[3.67/1] relative overflow-hidden flex-1 flex flex-col justify-between
hover:border-strong transition-colors border border-muted
rounded-xl text-2xl bg-contain shadow-lg`,
@@ -56,7 +56,7 @@ const DaySection = ({ day }: { day: WeekDayProps }) => {
)}
>
<div className="relative p-4 sm:p-6 md:p-8 z-20 grow flex flex-col items-start justify-between gap-2 w-full lg:w-3/5 text-left">
- <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 !ease-[.24,0,.22,.99] duration-200 group-hover:-translate-x-6 transition-transform">
+ <div className="relative w-full flex items-center gap-2 text-sm translate-x-0 ease-[.24,0,.22,.99]! duration-200 group-hover:-translate-x-6 transition-transform">
<Edit2 className="w-4 min-w-4 group-hover:opacity-0 transition-opacity" />
<span>Blog post</span>
<ArrowRightIcon className="w-4 opacity-0 group-hover:opacity-100 transition-opacity" />
@@ -65,7 +65,7 @@ const DaySection = ({ day }: { day: WeekDayProps }) => {
{day.description}
</h2>
</div>
- <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-[2/1] sm:aspect-auto sm:absolute sm:inset-0">
+ <div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-2/1 sm:aspect-auto sm:absolute sm:inset-0">
{day.steps[0]?.bg_layers &&
day.steps[0]?.bg_layers?.map(
(layer, i) =>
diff --git a/apps/www/components/LaunchWeek/X/Releases/data/lwx_advent_days.tsx b/apps/www/components/LaunchWeek/X/Releases/data/lwx_advent_days.tsx
index edb2274039d..788a4dc7b5c 100644
--- a/apps/www/components/LaunchWeek/X/Releases/data/lwx_advent_days.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/data/lwx_advent_days.tsx
@@ -438,7 +438,7 @@ export const days: AdventDay[] = [
{
title: 'Top 10 Launches of LWX',
description: 'Our CEO takes a look at his favorite ships from LWX',
- className: 'sm:aspect-[2/1] sm:col-span-1 sm:col-span-2 sm:aspect-[2/1] h-full',
+ className: 'sm:aspect-2/1 sm:col-span-1 sm:col-span-2 sm:aspect-2/1 h-full',
is_shipped: true,
icon: (
<svg
diff --git a/apps/www/components/MagnifiedProducts.tsx b/apps/www/components/MagnifiedProducts.tsx
index 3d146fc7944..685dabbcc10 100644
--- a/apps/www/components/MagnifiedProducts.tsx
+++ b/apps/www/components/MagnifiedProducts.tsx
@@ -91,7 +91,7 @@ function Product({
<Link href={product.url} className="flex w-full flex-col items-center text-center group">
<motion.div
style={isMobile ? (undefined as any) : { width, willChange: 'width' }}
- className="relative w-[30px] !min-w-[30px] md:!min-w-[50px] aspect-square will-change-transform bg-background rounded-xl border p-3 text-foreground-lighter group-hover:text-foreground"
+ className="relative w-[30px] min-w-[30px]! md:min-w-[50px]! aspect-square will-change-transform bg-background rounded-xl border p-3 text-foreground-lighter group-hover:text-foreground"
>
<svg
width="100%"
diff --git a/apps/www/components/Modules/Cron/CronSQLSection.tsx b/apps/www/components/Modules/Cron/CronSQLSection.tsx
index f6e0af5e103..bdbb910c62c 100644
--- a/apps/www/components/Modules/Cron/CronSQLSection.tsx
+++ b/apps/www/components/Modules/Cron/CronSQLSection.tsx
@@ -36,8 +36,8 @@ const CronSQLSection: FC<Props> = (props) => {
>
<div className="flex flex-col gap-2 max-w-md">
<span className="label">{props.label}</span>
- <h2 className="h2 !m-0">{props.heading}</h2>
- <p className="p !text-foreground-lighter">{props.subheading}</p>
+ <h2 className="h2 m-0!">{props.heading}</h2>
+ <p className="p text-foreground-lighter!">{props.subheading}</p>
{props.cta && (
<TextLink hasChevron label={props.cta.label} url={props.cta.url} className="mt-2" />
)}
@@ -48,8 +48,8 @@ const CronSQLSection: FC<Props> = (props) => {
code={codeSnippet}
lang="sql"
className="
- h-full xl:!text-lg
- [&_.synthax-highlighter]:!pb-8
+ h-full xl:text-lg!
+ [&_.synthax-highlighter]:pb-8!
[&_.synthax-highlighter]:xl:min-h-[240px]
"
/>
diff --git a/apps/www/components/Modules/ModulesNav.tsx b/apps/www/components/Modules/ModulesNav.tsx
index ece566ecb2e..b090a932341 100644
--- a/apps/www/components/Modules/ModulesNav.tsx
+++ b/apps/www/components/Modules/ModulesNav.tsx
@@ -14,7 +14,7 @@ interface Props {
function ModulesNav({ activePage, docsUrl }: Props) {
return (
<nav className="sticky top-0 mb-4 z-30 flex flex-nowrap items-center bg-alternative/90 backdrop-blur-md w-full border-b border-muted">
- <SectionContainer className="!py-0 flex gap-3 items-center justify-between">
+ <SectionContainer className="py-0! flex gap-3 items-center justify-between">
<div className="w-max flex gap-3 items-center">
{Object.entries(ProductModules).map((obj) => {
const currentModule = obj[1]
diff --git a/apps/www/components/Modules/Queues/QueuesAPISection.tsx b/apps/www/components/Modules/Queues/QueuesAPISection.tsx
index 11c8ed78046..ccbd7fa5573 100644
--- a/apps/www/components/Modules/Queues/QueuesAPISection.tsx
+++ b/apps/www/components/Modules/Queues/QueuesAPISection.tsx
@@ -43,8 +43,8 @@ const QueuesAPISection: FC<Props> = (props) => {
>
<div className="flex flex-col gap-2 max-w-md">
<span className="label">{props.label}</span>
- <h2 className="h2 !m-0">{props.heading}</h2>
- <p className="p !text-foreground-lighter">{props.subheading}</p>
+ <h2 className="h2 m-0!">{props.heading}</h2>
+ <p className="p text-foreground-lighter!">{props.subheading}</p>
{props.cta && (
<TextLink hasChevron label={props.cta.label} url={props.cta.url} className="mt-2" />
)}
@@ -54,8 +54,8 @@ const QueuesAPISection: FC<Props> = (props) => {
code={codeSnippet}
lang="js"
className="
- h-full xl:!text-lg
- [&_.synthax-highlighter]:!pb-8
+ h-full xl:text-lg!
+ [&_.synthax-highlighter]:pb-8!
[&_.synthax-highlighter]:xl:min-h-[240px]
"
/>
diff --git a/apps/www/components/Modules/Queues/QueuesSQLSection.tsx b/apps/www/components/Modules/Queues/QueuesSQLSection.tsx
index 156dd1772bd..a45d17a3187 100644
--- a/apps/www/components/Modules/Queues/QueuesSQLSection.tsx
+++ b/apps/www/components/Modules/Queues/QueuesSQLSection.tsx
@@ -42,8 +42,8 @@ const QueuesSQLSection: FC<Props> = (props) => {
code={codeSnippet}
lang="sql"
className="
- h-full xl:!text-lg
- [&_.synthax-highlighter]:!pb-8
+ h-full xl:text-lg!
+ [&_.synthax-highlighter]:pb-8!
[&_.synthax-highlighter]:xl:min-h-[240px]
"
/>
@@ -51,8 +51,8 @@ const QueuesSQLSection: FC<Props> = (props) => {
</ul>
<div className="flex order-first md:order-last flex-col gap-2 max-w-md">
<span className="label">{props.label}</span>
- <h2 className="h2 !m-0">{props.heading}</h2>
- <p className="p !text-foreground-lighter">{props.subheading}</p>
+ <h2 className="h2 m-0!">{props.heading}</h2>
+ <p className="p text-foreground-lighter!">{props.subheading}</p>
{props.cta && (
<TextLink hasChevron label={props.cta.label} url={props.cta.url} className="mt-2" />
)}
diff --git a/apps/www/components/Nav/DevelopersDropdown.tsx b/apps/www/components/Nav/DevelopersDropdown.tsx
index 1a34eaf9b71..8c9de8c27cb 100644
--- a/apps/www/components/Nav/DevelopersDropdown.tsx
+++ b/apps/www/components/Nav/DevelopersDropdown.tsx
@@ -27,7 +27,7 @@ export const DevelopersDropdown = () => {
<li key={link.text}>
<Link
href={link.url!}
- className="flex group items-center gap-2 text-foreground-light text-sm hover:text-foreground focus-visible:text-foreground focus-visible:ring-2 focus-visible:outline-none focus-visible:rounded focus-visible:ring-foreground-lighter"
+ className="flex group items-center gap-2 text-foreground-light text-sm hover:text-foreground focus-visible:text-foreground focus-visible:ring-2 focus-visible:outline-hidden focus-visible:rounded-sm focus-visible:ring-foreground-lighter"
>
{Icon && <Icon size={16} strokeWidth={1.3} />}
<span>{link.text}</span>
@@ -51,7 +51,7 @@ export const DevelopersDropdown = () => {
<div className="flex-col gap-2 py-8 px-10">
<Link
href="/blog"
- className="group flex items-center gap-1 text-foreground-lighter hover:text-foreground text-xs uppercase tracking-widest font-mono mb-5 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm focus-visible:text-foreground"
+ className="group flex items-center gap-1 text-foreground-lighter hover:text-foreground text-xs uppercase tracking-widest font-mono mb-5 focus-visible:ring-2 focus-visible:outline-hidden focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-xs focus-visible:text-foreground"
>
<span>Blog</span>
<ChevronRight className="h-3 w-3 transition-transform will-change-transform -translate-x-1 group-hover:translate-x-0" />
@@ -61,12 +61,12 @@ export const DevelopersDropdown = () => {
<li key={post.title}>
<Link
href={post.url}
- className="group flex flex-col focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded"
+ className="group flex flex-col focus-visible:ring-2 focus-visible:outline-hidden focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm"
>
<p className="text-foreground-light mb-0 line-clamp-2 group-hover:text-foreground group-focus-visible:text-foreground">
{post.title}
</p>
- <p className="text-sm line-clamp-2 text-foreground-lighter leading-relaxed !mb-0 group-hover:text-foreground-light group-focus-visible:text-foreground-light">
+ <p className="text-sm line-clamp-2 text-foreground-lighter leading-relaxed mb-0! group-hover:text-foreground-light group-focus-visible:text-foreground-light">
{post.description}
</p>
</Link>
diff --git a/apps/www/components/Nav/GitHubButton.tsx b/apps/www/components/Nav/GitHubButton.tsx
index a07c63c79b5..e3cabccace7 100644
--- a/apps/www/components/Nav/GitHubButton.tsx
+++ b/apps/www/components/Nav/GitHubButton.tsx
@@ -25,7 +25,7 @@ const GitHubButton = () => {
return (
<Button
- className="hidden group lg:flex text-foreground-light hover:text-foreground [[data-nav-transparent]_&]:text-foreground"
+ className="hidden group lg:flex text-foreground-light hover:text-foreground in-data-nav-transparent:text-foreground"
type="text"
asChild
onClick={() => sendTelemetryEvent({ action: 'homepage_github_button_clicked' })}
diff --git a/apps/www/components/Nav/HamburgerMenu.tsx b/apps/www/components/Nav/HamburgerMenu.tsx
index 144810262fc..d23e475fa07 100644
--- a/apps/www/components/Nav/HamburgerMenu.tsx
+++ b/apps/www/components/Nav/HamburgerMenu.tsx
@@ -13,7 +13,7 @@ const HamburgerButton = (props: HamburgerButtonProps) => (
>
<button
className={cn(
- 'text-foreground-lighter focus:ring-brand bg-transparent hover:text-foreground-light transition-colors hover:bg-overlay inline-flex items-center justify-center rounded-md p-2 focus:outline-none focus:ring-2 focus:ring-inset'
+ 'text-foreground-lighter focus:ring-brand bg-transparent hover:text-foreground-light transition-colors hover:bg-overlay inline-flex items-center justify-center rounded-md p-2 focus:outline-hidden focus:ring-2 focus:ring-inset'
)}
aria-expanded="false"
>
diff --git a/apps/www/components/Nav/MenuItem.tsx b/apps/www/components/Nav/MenuItem.tsx
index 48fa9814944..80b5b0ba39f 100644
--- a/apps/www/components/Nav/MenuItem.tsx
+++ b/apps/www/components/Nav/MenuItem.tsx
@@ -31,7 +31,7 @@ const MenuItem = React.forwardRef<
href={href}
ref={ref}
className={cn(
- 'group/menu-item flex items-center text-foreground-light text-sm hover:text-foreground select-none gap-3 rounded-md p-2 leading-none no-underline outline-none focus-visible:ring-2 focus-visible:ring-foreground-lighter focus-visible:text-foreground',
+ 'group/menu-item flex items-center text-foreground-light text-sm hover:text-foreground select-none gap-3 rounded-md p-2 leading-none no-underline outline-hidden focus-visible:ring-2 focus-visible:ring-foreground-lighter focus-visible:text-foreground',
description && 'items-center',
className
)}
diff --git a/apps/www/components/Nav/MobileMenu.tsx b/apps/www/components/Nav/MobileMenu.tsx
index 471c17899fd..666f97c96fc 100644
--- a/apps/www/components/Nav/MobileMenu.tsx
+++ b/apps/www/components/Nav/MobileMenu.tsx
@@ -87,11 +87,11 @@ const MobileMenu = ({ open, setOpen, menu }: Props) => {
rounded-lg border
bg-alternative-200 text-foreground-light
hover:text-foreground hover:border-foreground-muted
- focus-visible:text-foreground focus-visible:ring-2 focus-visible:outline-none
- focus-visible:rounded focus-visible:ring-foreground-lighter
+ focus-visible:text-foreground focus-visible:ring-2 focus-visible:outline-hidden
+ focus-visible:rounded-sm focus-visible:ring-foreground-lighter
"
>
- <div className="flex flex-col gap-1 !leading-3">
+ <div className="flex flex-col gap-1 leading-3!">
<span>Features</span>
<span className="text-foreground-lighter text-xs leading-4">
Explore everything you can do with Supabase.
@@ -119,7 +119,7 @@ const MobileMenu = ({ open, setOpen, menu }: Props) => {
url={link.url}
label={link.text}
counter={link.text === 'Careers' && jobsCount > 0 ? jobsCount : undefined}
- className="focus-visible:ring-offset-4 focus-visible:ring-offset-background-overlay !mt-0"
+ className="focus-visible:ring-offset-4 focus-visible:ring-offset-background-overlay mt-0!"
/>
))}
</div>
@@ -158,7 +158,7 @@ const MobileMenu = ({ open, setOpen, menu }: Props) => {
key={link.text}
url={link.url}
label={link.text}
- className="focus-visible:ring-offset-4 focus-visible:ring-offset-background-overlay !mt-0"
+ className="focus-visible:ring-offset-4 focus-visible:ring-offset-background-overlay mt-0!"
/>
))}
</div>
@@ -178,7 +178,7 @@ const MobileMenu = ({ open, setOpen, menu }: Props) => {
chevronAlign="right"
>
{menu.primaryNav.map((menuItem: any) => (
- <m.div variants={listItem} className="border-b [&>div]:!rounded-none" key={menuItem.title}>
+ <m.div variants={listItem} className="border-b [&>div]:rounded-none!" key={menuItem.title}>
{menuItem.hasDropdown ? (
<Accordion.Item
header={menuItem.title}
@@ -190,7 +190,7 @@ const MobileMenu = ({ open, setOpen, menu }: Props) => {
) : (
<Link
href={menuItem.url}
- className="block py-2 pl-3 pr-4 text-base font-medium text-foreground hover:bg-surface-200 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:rounded"
+ className="block py-2 pl-3 pr-4 text-base font-medium text-foreground hover:bg-surface-200 focus-visible:ring-2 focus-visible:outline-hidden focus-visible:ring-foreground-lighter focus-visible:rounded-sm"
>
{menuItem.title}
</Link>
@@ -209,20 +209,20 @@ const MobileMenu = ({ open, setOpen, menu }: Props) => {
initial="hidden"
animate="show"
exit="exit"
- className="bg-overlay fixed overflow-hidden inset-0 z-50 h-screen max-h-screen w-screen supports-[height:100cqh]:h-[100cqh] supports-[height:100svh]:h-[100svh] transform"
+ className="bg-overlay fixed overflow-hidden inset-0 z-50 h-screen max-h-screen w-screen supports-[height:100cqh]:h-[100cqh] supports-[height:100svh]:h-svh transform"
>
- <div className="absolute h-16 px-6 flex items-center justify-between w-screen left-0 top-0 z-50 bg-overlay before:content[''] before:absolute before:w-full before:h-3 before:inset-0 before:top-full before:bg-gradient-to-b before:from-background-overlay before:to-transparent">
+ <div className="absolute h-16 px-6 flex items-center justify-between w-screen left-0 top-0 z-50 bg-overlay before:content[''] before:absolute before:w-full before:h-3 before:inset-0 before:top-full before:bg-linear-to-b before:from-background-overlay before:to-transparent">
<Link
href="/"
as="/"
- className="block w-auto h-6 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm"
+ className="block w-auto h-6 focus-visible:ring-2 focus-visible:outline-hidden focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-xs"
>
<SupabaseWordmark />
</Link>
<button
onClick={() => setOpen(false)}
type="button"
- className="inline-flex items-center justify-center p-2 rounded-md text-foreground-lighter focus:ring-brand hover:text-foreground-light transition-colors focus:outline-none focus:ring-2 focus:ring-inset"
+ className="inline-flex items-center justify-center p-2 rounded-md text-foreground-lighter focus:ring-brand hover:text-foreground-light transition-colors focus:outline-hidden focus:ring-2 focus:ring-inset"
>
<span className="sr-only">Close menu</span>
<svg
@@ -242,7 +242,7 @@ const MobileMenu = ({ open, setOpen, menu }: Props) => {
</svg>
</button>
</div>
- <div className="max-h-screen supports-[height:100cqh]:h-[100cqh] supports-[height:100svh]:h-[100svh] overflow-y-auto pt-20 pb-32 px-4">
+ <div className="max-h-screen supports-[height:100cqh]:h-[100cqh] supports-[height:100svh]:h-svh overflow-y-auto pt-20 pb-32 px-4">
<Menu />
</div>
<div className="absolute bottom-0 left-0 right-0 top-auto w-full bg-alternative flex items-stretch p-4 gap-4">
diff --git a/apps/www/components/Nav/ProductDropdown.tsx b/apps/www/components/Nav/ProductDropdown.tsx
index d3891faf0e6..f6f60df4d82 100644
--- a/apps/www/components/Nav/ProductDropdown.tsx
+++ b/apps/www/components/Nav/ProductDropdown.tsx
@@ -51,7 +51,7 @@ export const ProductDropdown = () => {
flex items-start gap-2
text-xs leading-none
text-foreground-light hover:text-foreground
- no-underline outline-none select-none
+ no-underline outline-hidden select-none
focus-visible:ring-2 focus-visible:ring-foreground-lighter focus-visible:text-foreground
"
>
@@ -98,7 +98,7 @@ export const ProductDropdown = () => {
flex items-start gap-2
text-xs leading-none
text-foreground-light hover:text-foreground
- no-underline outline-none select-none
+ no-underline outline-hidden select-none
focus-visible:ring-2 focus-visible:ring-foreground-lighter focus-visible:text-foreground
"
>
@@ -127,7 +127,7 @@ export const ProductDropdown = () => {
<div>
<Link
href="/customers"
- className="group flex items-center gap-1 text-foreground-lighter hover:text-foreground text-xs uppercase tracking-widest font-mono mb-4 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm focus-visible:text-foreground"
+ className="group flex items-center gap-1 text-foreground-lighter hover:text-foreground text-xs uppercase tracking-widest font-mono mb-4 focus-visible:ring-2 focus-visible:outline-hidden focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-xs focus-visible:text-foreground"
>
Customer Stories
<ChevronRight className="h-3 w-3 transition-transform will-change-transform -translate-x-1 group-hover:translate-x-0" />
@@ -137,14 +137,14 @@ export const ProductDropdown = () => {
<li key={customer.organization}>
<Link
href={customer.url}
- className="group flex items-center gap-3 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded"
+ className="group flex items-center gap-3 focus-visible:ring-2 focus-visible:outline-hidden focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm"
>
<div className="relative rounded-md bg-background border group-hover:border-foreground-muted/50 h-14 w-28 xl:h-14 xl:w-20 shrink-0 overflow-auto">
<Image
src={`/${customer.imgUrl}`}
alt={customer.title}
fill
- className="!p-3 object-contain brightness-70 contrast-[.35] filter"
+ className="p-3! object-contain brightness-70 contrast-[.35] filter"
/>
</div>
<div className="flex flex-col">
diff --git a/apps/www/components/Nav/RightClickBrandLogo.tsx b/apps/www/components/Nav/RightClickBrandLogo.tsx
index f229cbcefd7..20f2b5554de 100644
--- a/apps/www/components/Nav/RightClickBrandLogo.tsx
+++ b/apps/www/components/Nav/RightClickBrandLogo.tsx
@@ -93,7 +93,7 @@ const RightClickBrandLogo = () => {
onContextMenu={handleRightClick}
onFocus={handleKeyboardOpen}
onKeyDown={(e) => e.key === 'Enter' && router?.push('/')}
- className="block w-auto h-6 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm"
+ className="block w-auto h-6 focus-visible:ring-2 focus-visible:outline-hidden focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-xs"
>
<SupabaseWordmark />
</Link>
@@ -114,7 +114,7 @@ const RightClickBrandLogo = () => {
autoFocus
asChild
key={menuItem.label}
- className="w-full flex justify-between gap-2 items-center !p-2"
+ className="w-full flex justify-between gap-2 items-center p-2!"
>
{menuItem.type === 'download' || menuItem.type === 'link' ? (
<Link
diff --git a/apps/www/components/Nav/SolutionsDropdown.tsx b/apps/www/components/Nav/SolutionsDropdown.tsx
index 202e36110eb..8b525184a58 100644
--- a/apps/www/components/Nav/SolutionsDropdown.tsx
+++ b/apps/www/components/Nav/SolutionsDropdown.tsx
@@ -50,7 +50,7 @@ const LinksGroup = ({ links, label }: { links: LinkProps[]; label: string }) =>
<li key={link.text}>
<Link
href={link.url!}
- className="flex group items-center gap-2 text-foreground-light text-sm hover:text-foreground focus-visible:text-foreground focus-visible:ring-2 focus-visible:outline-none focus-visible:rounded focus-visible:ring-foreground-lighter"
+ className="flex group items-center gap-2 text-foreground-light text-sm hover:text-foreground focus-visible:text-foreground focus-visible:ring-2 focus-visible:outline-hidden focus-visible:rounded-sm focus-visible:ring-foreground-lighter"
>
{Icon && <Icon size={16} strokeWidth={1.3} />}
<span>{link.text}</span>
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx
index 6e5a7e821d3..7cdf5ed62b9 100644
--- a/apps/www/components/Nav/index.tsx
+++ b/apps/www/components/Nav/index.tsx
@@ -111,15 +111,15 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => {
<div
className={cn(
'absolute inset-0 h-full w-full bg-background/90 dark:bg-background/95 transition-all duration-300',
- !showLaunchWeekNavMode && !isTransparent && '!opacity-100',
- showLaunchWeekNavMode && '!bg-transparent dark:!bg-black',
- isGAWeekSection && 'dark:!bg-alternative',
- isTransparent && '!bg-transparent dark:!bg-transparent !opacity-100'
+ !showLaunchWeekNavMode && !isTransparent && 'opacity-100!',
+ showLaunchWeekNavMode && 'bg-transparent! dark:bg-black!',
+ isGAWeekSection && 'dark:bg-alternative!',
+ isTransparent && 'bg-transparent! dark:bg-transparent! opacity-100!'
)}
/>
<nav
className={cn(
- `relative z-40 border-default border-b backdrop-blur-sm transition-all duration-300`,
+ `relative z-40 border-default border-b backdrop-blur-xs transition-all duration-300`,
showLaunchWeekNavMode && 'border-muted border-b bg-transparent',
isTransparent && 'border-transparent backdrop-blur-none'
)}
@@ -142,7 +142,7 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => {
<NavigationMenuTrigger
className={cn(
buttonVariants({ type: 'text', size: 'small' }),
- '!bg-transparent hover:text-brand-link data-[state=open]:!text-brand-link data-[radix-collection-item]:focus-visible:ring-2 data-[radix-collection-item]:focus-visible:ring-foreground-lighter data-[radix-collection-item]:focus-visible:text-foreground px-2 h-auto'
+ 'bg-transparent! hover:text-brand-link data-open:text-brand-link! data-radix-collection-item:focus-visible:ring-2 data-radix-collection-item:focus-visible:ring-foreground-lighter data-radix-collection-item:focus-visible:text-foreground px-2 h-auto'
)}
>
{menuItem.title}
@@ -165,7 +165,7 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => {
</NavigationMenuList>
</NavigationMenu>
</div>
- <div className="flex items-center gap-2 opacity-0 animate-fade-in !scale-100 delay-300">
+ <div className="flex items-center gap-2 opacity-0 animate-fade-in scale-100! delay-300">
<div
className={cn(
'flex items-center gap-2 transition-opacity',
diff --git a/apps/www/components/NewFeatureCard.tsx b/apps/www/components/NewFeatureCard.tsx
index 22ceff35030..00909156164 100644
--- a/apps/www/components/NewFeatureCard.tsx
+++ b/apps/www/components/NewFeatureCard.tsx
@@ -52,7 +52,7 @@ const NewFeatureCard = (props: CardProps) => (
</div>
</div>
{props.image && (
- <div className="hidden sm:flex lg:hidden xl:flex absolute object-bottom inset-0 left-auto items-center h-full aspect-[296/275]">
+ <div className="hidden sm:flex lg:hidden xl:flex absolute object-bottom inset-0 left-auto items-center h-full aspect-296/275">
<Image
src={props.image}
alt={`database ${props.title}`}
diff --git a/apps/www/components/OpenSource/OSSHero.tsx b/apps/www/components/OpenSource/OSSHero.tsx
index 5a01c5dc79f..e15d6c946f2 100644
--- a/apps/www/components/OpenSource/OSSHero.tsx
+++ b/apps/www/components/OpenSource/OSSHero.tsx
@@ -10,8 +10,8 @@ import styles from './hero.module.css'
const OSSHero = () => (
<>
<div className="absolute z-[-4] flex flex-col top-0 left-0 w-full h-[500px] overflow-hidden pointer-events-none">
- <div className="absolute bottom-0 z-[1] w-full h-4/5 bg-gradient-to-t from-background to-transparent" />
- <div className="absolute top-0 z-[1] w-full h-2/5 bg-gradient-to-b from-background to-transparent" />
+ <div className="absolute bottom-0 z-1 w-full h-4/5 bg-linear-to-t from-background to-transparent" />
+ <div className="absolute top-0 z-1 w-full h-2/5 bg-linear-to-b from-background to-transparent" />
</div>
<div
className={cn(
@@ -20,10 +20,10 @@ const OSSHero = () => (
)}
>
<div
- className="absolute select-none pointer-events-none inset-0 z-[3] blur-[100px] w-full h-full opacity-60"
+ className="absolute select-none pointer-events-none inset-0 z-3 blur-[100px] w-full h-full opacity-60"
style={{ transform: 'translateZ(0px)' }}
/>
- <div className="absolute bottom-0 z-[-2] w-full h-full bg-gradient-to-t from-background to-transparent" />
+ <div className="absolute bottom-0 z-[-2] w-full h-full bg-linear-to-t from-background to-transparent" />
<HeroGrid />
</div>
</>
@@ -179,7 +179,7 @@ const HeroGrid = () => {
)
return (
- <div className="relative -z-10 ![perspective:1200px] sm:![perspective:1200px] md:![perspective:1200px] lg:![perspective:1200px]">
+ <div className="relative -z-10 perspective-distant! sm:perspective-distant! md:perspective-distant! lg:perspective-distant!">
<div
style={{
transform: 'rotateX(85deg)',
diff --git a/apps/www/components/OpenSource/Repos.tsx b/apps/www/components/OpenSource/Repos.tsx
index 526cbc82da3..8b596493ff6 100644
--- a/apps/www/components/OpenSource/Repos.tsx
+++ b/apps/www/components/OpenSource/Repos.tsx
@@ -158,17 +158,17 @@ const Repos = ({ tabs }: Props) => {
: SWIPER_STATE.MIDDLE
)
}
- className="relative flex md:!hidden justify-center max-w-full w-full overflow-hidden items-center rounded-full bg-surface-100 p-2"
+ className="relative flex md:hidden! justify-center max-w-full w-full overflow-hidden items-center rounded-full bg-surface-100 p-2"
>
<div
className={cn(
- 'not-sr-only absolute inset-0 left-auto bg-gradient-to-r from-transparent to-background-surface-100 w-10 z-20 pointer-events-none opacity-0 transition-opacity',
+ 'not-sr-only absolute inset-0 left-auto bg-linear-to-r from-transparent to-background-surface-100 w-10 z-20 pointer-events-none opacity-0 transition-opacity',
swiperState !== SWIPER_STATE.END && 'opacity-100'
)}
/>
<div
className={cn(
- 'not-sr-only absolute inset-0 right-auto bg-gradient-to-l from-transparent to-background-surface-100 w-10 z-20 pointer-events-none opacity-0 transition-opacity',
+ 'not-sr-only absolute inset-0 right-auto bg-linear-to-l from-transparent to-background-surface-100 w-10 z-20 pointer-events-none opacity-0 transition-opacity',
swiperState !== SWIPER_STATE.START && 'opacity-100'
)}
/>
diff --git a/apps/www/components/OpenSourceSection.tsx b/apps/www/components/OpenSourceSection.tsx
index 781a0169c7b..3c9170dcf56 100644
--- a/apps/www/components/OpenSourceSection.tsx
+++ b/apps/www/components/OpenSourceSection.tsx
@@ -31,7 +31,7 @@ const OpenSourceSection = () => {
asChild
size="small"
type="default"
- className="!pl-2.5"
+ className="pl-2.5!"
>
<Link
href="https://github.com/supabase"
diff --git a/apps/www/components/Panel/Panel.tsx b/apps/www/components/Panel/Panel.tsx
index 787a151c5cd..07f28b80a75 100644
--- a/apps/www/components/Panel/Panel.tsx
+++ b/apps/www/components/Panel/Panel.tsx
@@ -82,11 +82,11 @@ const Panel = ({
<Component
ref={outerRef}
className={cn(
- 'group/panel relative rounded-lg md:rounded-xl p-px bg-surface-75 bg-gradient-to-b from-border to-border/50 dark:to-surface-100 transition-all hover:shadow-md flex items-center justify-center',
+ 'group/panel relative rounded-lg md:rounded-xl p-px bg-surface-75 bg-linear-to-b from-border to-border/50 dark:to-surface-100 transition-all hover:shadow-md flex items-center justify-center',
!trackCursor && hasActiveOnHover
? activeColor === 'brand'
- ? 'hover:bg-none hover:!bg-brand'
- : 'hover:bg-none hover:!bg-border-stronger'
+ ? 'hover:bg-none hover:bg-brand!'
+ : 'hover:bg-none hover:bg-border-stronger!'
: '',
outerClassName
)}
diff --git a/apps/www/components/Partners/PartnerLinkBox.tsx b/apps/www/components/Partners/PartnerLinkBox.tsx
index 2437f1cba8b..2786966736c 100644
--- a/apps/www/components/Partners/PartnerLinkBox.tsx
+++ b/apps/www/components/Partners/PartnerLinkBox.tsx
@@ -25,7 +25,7 @@ const PartnerLinkBox = ({
className="
hover:border-foreground-lighter
bg-surface-100
- group cursor-pointer rounded
+ group cursor-pointer rounded-sm
border px-5 py-4
"
>
diff --git a/apps/www/components/Partners/TileGrid.tsx b/apps/www/components/Partners/TileGrid.tsx
index 633fa5ccac4..5bf14a244dd 100644
--- a/apps/www/components/Partners/TileGrid.tsx
+++ b/apps/www/components/Partners/TileGrid.tsx
@@ -33,7 +33,7 @@ export default function TileGrid({
bg-surface-100
hover:bg-surface-200
group flex h-full w-full flex-col rounded-xl border px-6
- py-6 shadow
+ py-6 shadow-sm
transition-all
hover:shadow-lg"
>
@@ -76,7 +76,7 @@ export default function TileGrid({
bg-surface-100
hover:bg-surface-200
group flex h-full w-full flex-col rounded-xl border px-6
- py-6 shadow
+ py-6 shadow-sm
transition-all
hover:shadow-lg"
>
diff --git a/apps/www/components/PrevNextFeatureNav.tsx b/apps/www/components/PrevNextFeatureNav.tsx
index df8889f554a..d5705c49ef2 100644
--- a/apps/www/components/PrevNextFeatureNav.tsx
+++ b/apps/www/components/PrevNextFeatureNav.tsx
@@ -23,7 +23,7 @@ interface Props {
}
const buttonClassName =
- 'relative z-10 flex items-center gap-1 px-2 pointer-events-auto overflow-hidden !h-[30px] !min-w-[30px] !max-w-[30px] py-1 justify-center rounded-full border bg-default hover:bg-surface-100 hover:text-foreground hover:border-foreground-lighter transition-all'
+ 'relative z-10 flex items-center gap-1 px-2 pointer-events-auto overflow-hidden h-[30px]! min-w-[30px]! max-w-[30px]! py-1 justify-center rounded-full border bg-default hover:bg-surface-100 hover:text-foreground hover:border-foreground-lighter transition-all'
const iconClassName = 'className="w-4 h-4 shrink-0'
const PrevNextFeatureNav: React.FC<Props> = ({
diff --git a/apps/www/components/Pricing/ComputePricingCalculator.tsx b/apps/www/components/Pricing/ComputePricingCalculator.tsx
index f090a93000e..0cd219553e8 100644
--- a/apps/www/components/Pricing/ComputePricingCalculator.tsx
+++ b/apps/www/components/Pricing/ComputePricingCalculator.tsx
@@ -171,7 +171,7 @@ const ComputePricingCalculator = ({
>
{activeInstances.map((activeInstance, index) => (
<div
- className="group w-full flex flex-col gap-3 p-3 bg-surface-200 rounded border"
+ className="group w-full flex flex-col gap-3 p-3 bg-surface-200 rounded-sm border"
key={`instance-${index}`}
>
<div className="w-full flex justify-between items-center">
@@ -202,7 +202,7 @@ const ComputePricingCalculator = ({
step={1}
className={cn(
'w-full cursor-grab active:cursor-grabbing',
- !hasInteractedWithSlider && "[&_[data-slot='slider-thumb']]:animate-pulse"
+ !hasInteractedWithSlider && "**:data-[slot='slider-thumb']:animate-pulse"
)}
/>
</div>
@@ -220,7 +220,7 @@ const ComputePricingCalculator = ({
<button
aria-label="Remove item"
title="Remove item"
- className="p-1 text-lighter hover:text-foreground rounded opacity-0 group-hover:opacity-100 transition-opacity"
+ className="p-1 text-lighter hover:text-foreground rounded-sm opacity-0 group-hover:opacity-100 transition-opacity"
onClick={() => removeInstance(activeInstance.position)}
>
<Trash2 className="w-3 h-3" />
diff --git a/apps/www/components/Pricing/CostControlAnimation.tsx b/apps/www/components/Pricing/CostControlAnimation.tsx
index 4ba7ce83233..7e247cc7466 100644
--- a/apps/www/components/Pricing/CostControlAnimation.tsx
+++ b/apps/www/components/Pricing/CostControlAnimation.tsx
@@ -61,7 +61,7 @@ const CostControlAnimation: FC<Props> = ({ className }) => {
className
)}
>
- <div className="absolute z-30 border left-2 top-2 rounded-full pointer-events-auto bg-alternative p-1 shadow flex items-center gap-1">
+ <div className="absolute z-30 border left-2 top-2 rounded-full pointer-events-auto bg-alternative p-1 shadow-sm flex items-center gap-1">
<Switch checked={hasSpendCap} onCheckedChange={toggleSpendCap} />
<span className="text-sm text-foreground-light mr-1">
Spend Cap {hasSpendCap ? 'On' : 'Off'}
@@ -96,7 +96,7 @@ const CostControlAnimation: FC<Props> = ({ className }) => {
custom={index}
variants={barVariant}
className={cn(
- 'w-full bg-surface-200 border-stronger border-2 rounded h-0 transform transition-all'
+ 'w-full bg-surface-200 border-stronger border-2 rounded-sm h-0 transform transition-all'
)}
/>
</div>
@@ -122,7 +122,7 @@ const CostControlAnimation: FC<Props> = ({ className }) => {
custom={index}
variants={barVariant}
className={cn(
- 'w-full bg-surface-200 border-stronger border-2 rounded h-0 transform transition-all'
+ 'w-full bg-surface-200 border-stronger border-2 rounded-sm h-0 transform transition-all'
)}
/>
</div>
@@ -139,7 +139,7 @@ const CostControlAnimation: FC<Props> = ({ className }) => {
custom={index}
variants={barVariant}
className={cn(
- 'relative w-full bg-warning-400 border-warning border-2 rounded h-0 transform transition-all'
+ 'relative w-full bg-warning-400 border-warning border-2 rounded-sm h-0 transform transition-all'
)}
>
{bar.y > 50 && (
diff --git a/apps/www/components/Pricing/PricingAddOnTable.tsx b/apps/www/components/Pricing/PricingAddOnTable.tsx
index 2503bfd7497..3736c08c87e 100644
--- a/apps/www/components/Pricing/PricingAddOnTable.tsx
+++ b/apps/www/components/Pricing/PricingAddOnTable.tsx
@@ -46,7 +46,7 @@ const PricingAddOnTable = ({ icon, pricing }: PricingAddOnTableProps) => {
>
<div className="flex w-full flex-1 flex-col items-start lg:w-auto lg:flex-row lg:items-center">
<div className="bg-surface-100 relative flex w-full items-center space-x-3 self-stretch py-8 pl-4 lg:w-[420px] lg:py-0">
- <span className="bg-foreground text-background rounded-md p-2 shadow-sm transition-transform duration-500 group-hover:scale-105 group-hover:shadow">
+ <span className="bg-foreground text-background rounded-md p-2 shadow-xs transition-transform duration-500 group-hover:scale-105 group-hover:shadow-sm">
{icon}
</span>
<span className="shrink-0">
diff --git a/apps/www/components/Pricing/PricingAddons.tsx b/apps/www/components/Pricing/PricingAddons.tsx
index 126502e28b4..4e0864a658a 100644
--- a/apps/www/components/Pricing/PricingAddons.tsx
+++ b/apps/www/components/Pricing/PricingAddons.tsx
@@ -78,7 +78,7 @@ const AddonCard = ({ addon }: any) => {
const HighlightCard = () => (
<>
- <div className="relative order-last lg:order-first w-full max-w-full lg:w-auto lg:h-full aspect-[2/1] lg:aspect-[3/2] p-4 pt-0 lg:pt-4 lg:pr-0">
+ <div className="relative order-last lg:order-first w-full max-w-full lg:w-auto lg:h-full aspect-2/1 lg:aspect-3/2 p-4 pt-0 lg:pt-4 lg:pr-0">
{addon.heroImg}
</div>
diff --git a/apps/www/components/Pricing/PricingComputeAnimation.tsx b/apps/www/components/Pricing/PricingComputeAnimation.tsx
index fc4b1099295..8171e324658 100644
--- a/apps/www/components/Pricing/PricingComputeAnimation.tsx
+++ b/apps/www/components/Pricing/PricingComputeAnimation.tsx
@@ -13,7 +13,7 @@ const PricingComputeAnimation = () => {
return (
<figure
- className="h-full relative lg:absolute lg:-right-24 xl:-right-10 aspect-[541/285]"
+ className="h-full relative lg:absolute lg:-right-24 xl:-right-10 aspect-541/285"
onMouseEnter={() => setTriggerAnimation(true)}
>
<Image
@@ -23,7 +23,7 @@ const PricingComputeAnimation = () => {
}-active.svg`}
alt="Compute addon grid"
className={cn(
- 'absolute inset-0 z-20 transition-opacity opacity-0 !ease-[cubic-bezier(.76,0,.23,1)] duration-300',
+ 'absolute inset-0 z-20 transition-opacity opacity-0 ease-[cubic-bezier(.76,0,.23,1)]! duration-300',
triggerAnimation && 'opacity-100'
)}
/>
@@ -34,8 +34,8 @@ const PricingComputeAnimation = () => {
}-active.svg`}
alt="Compute addon grid"
className={cn(
- 'absolute inset-0 z-20 transition-all opacity-0 !ease-[cubic-bezier(.76,0,.23,1)] duration-500 delay-500 -translate-y-[18%] blur-md',
- triggerAnimation && 'opacity-100 -translate-y-[8%] blur-none'
+ 'absolute inset-0 z-20 transition-all opacity-0 ease-[cubic-bezier(.76,0,.23,1)]! duration-500 delay-500 translate-y-[-18%] blur-md',
+ triggerAnimation && 'opacity-100 translate-y-[-8%] blur-none'
)}
/>
<Image
@@ -45,8 +45,8 @@ const PricingComputeAnimation = () => {
}-active.svg`}
alt="Compute addon grid"
className={cn(
- 'absolute inset-0 z-20 transition-all opacity-0 !ease-[cubic-bezier(.76,0,.23,1)] duration-500 delay-1000 -translate-y-[24%] blur-md',
- triggerAnimation && 'opacity-100 -translate-y-[16%] blur-none'
+ 'absolute inset-0 z-20 transition-all opacity-0 ease-[cubic-bezier(.76,0,.23,1)]! duration-500 delay-1000 translate-y-[-24%] blur-md',
+ triggerAnimation && 'opacity-100 translate-y-[-16%] blur-none'
)}
/>
<Image
diff --git a/apps/www/components/Pricing/PricingComputeSection.tsx b/apps/www/components/Pricing/PricingComputeSection.tsx
index 15892a13b09..b91d886c388 100644
--- a/apps/www/components/Pricing/PricingComputeSection.tsx
+++ b/apps/www/components/Pricing/PricingComputeSection.tsx
@@ -136,12 +136,12 @@ const PricingComputeSection = () => {
</Button>
</div>
<div
- className="relative w-full overflow-hidden transition-all !ease-[cubic-bezier(.76,0,.23,1)] duration-300"
+ className="relative w-full overflow-hidden transition-all ease-[cubic-bezier(.76,0,.23,1)]! duration-300"
style={{ height: showTable ? `${height}px` : '200px' }}
>
<div
className={cn(
- 'absolute inset-0 top-auto w-full h-40 bg-gradient-to-t from-background-surface-100 z-20 to-transparent transition-opacity pointer-events-none not-sr-only',
+ 'absolute inset-0 top-auto w-full h-40 bg-linear-to-t from-background-surface-100 z-20 to-transparent transition-opacity pointer-events-none not-sr-only',
showTable ? 'opacity-0 delay-200' : 'opacity-100'
)}
/>
diff --git a/apps/www/components/Pricing/PricingPlans.tsx b/apps/www/components/Pricing/PricingPlans.tsx
index 591dca2c470..55a8bd5b457 100644
--- a/apps/www/components/Pricing/PricingPlans.tsx
+++ b/apps/www/components/Pricing/PricingPlans.tsx
@@ -44,7 +44,7 @@ const PricingPlans = ({ organizations, hasExistingOrganizations }: PricingPlansP
key={`row-${plan.name}`}
className={cn(
'flex flex-col border xl:border-r-0 last:border-r bg-surface-75 rounded-xl xl:rounded-none first:rounded-l-xl last:rounded-r-xl',
- isProPlan && 'border-foreground-muted !border-2 !rounded-xl xl:-my-8',
+ isProPlan && 'border-foreground-muted border-2! rounded-xl! xl:-my-8',
isTeamPlan && 'xl:border-l-0'
)}
>
diff --git a/apps/www/components/Products/DataAPIsVisual.tsx b/apps/www/components/Products/DataAPIsVisual.tsx
index f7e9ef038f0..855855017bf 100644
--- a/apps/www/components/Products/DataAPIsVisual.tsx
+++ b/apps/www/components/Products/DataAPIsVisual.tsx
@@ -13,7 +13,7 @@ const DataAPIsVisual: React.FC<Props> = ({ className }) => (
{range(0, 3).map((_, idx1: number) => (
<div
key={`row-${idx1}`}
- className="relative h-full !aspect-[330/430] -right-10 -left-10 items-end pb-2 z-10 flex pause animate-[marquee-reverse_30000ms_linear_both_infinite] motion-safe:group-hover:run will-change-transform"
+ className="relative h-full aspect-330/430! -right-10 -left-10 items-end pb-2 z-10 flex pause animate-[marquee-reverse_30000ms_linear_both_infinite] motion-safe:group-hover:run will-change-transform"
>
<Image
draggable={false}
@@ -22,7 +22,7 @@ const DataAPIsVisual: React.FC<Props> = ({ className }) => (
width={330}
height={430}
quality={100}
- className="hidden dark:block !h-full object-contain !aspect-[330/430]"
+ className="hidden dark:block h-full! object-contain aspect-330/430!"
/>
<Image
draggable={false}
@@ -31,7 +31,7 @@ const DataAPIsVisual: React.FC<Props> = ({ className }) => (
width={330}
height={430}
quality={100}
- className="dark:block !h-full !aspect-[330/430] not-sr-only"
+ className="dark:block h-full! aspect-330/430! not-sr-only"
/>
</div>
))}
@@ -42,7 +42,7 @@ const DataAPIsVisual: React.FC<Props> = ({ className }) => (
fill
sizes="100%"
quality={100}
- className="hidden dark:block absolute !h-full aspect-[330/430] inset-0 z-10 object-contain -mt-1.5 object-center bottom-0"
+ className="hidden dark:block absolute h-full! aspect-330/430 inset-0 z-10 object-contain -mt-1.5 object-center bottom-0"
/>
<Image
draggable={false}
@@ -51,7 +51,7 @@ const DataAPIsVisual: React.FC<Props> = ({ className }) => (
fill
sizes="100%"
quality={100}
- className="dark:hidden absolute h-full aspect-[330/430] inset-0 z-10 object-contain -mt-1.5 object-center bottom-0"
+ className="dark:hidden absolute h-full aspect-330/430 inset-0 z-10 object-contain -mt-1.5 object-center bottom-0"
/>
</div>
</figure>
diff --git a/apps/www/components/Products/Functions/CI.tsx b/apps/www/components/Products/Functions/CI.tsx
index 4155490875a..8e2df8fb933 100644
--- a/apps/www/components/Products/Functions/CI.tsx
+++ b/apps/www/components/Products/Functions/CI.tsx
@@ -14,18 +14,18 @@ const ciCode = `jobs:
`
const CI = () => (
- <div className="w-full h-full relative pl-4 xl:-mb-0 pt-4 sm:pt-4 border-b xl:border-none overflow-hidden">
+ <div className="w-full h-full relative pl-4 xl:mb-0 pt-4 sm:pt-4 border-b xl:border-none overflow-hidden">
<CodeWindow
code={ciCode}
lang="yaml"
className="
rounded-r-none rounded-b-none border-r-0 border-b-0
- h-full !text-[13px] xl:!text-sm leading-4
+ h-full text-[13px]! xl:text-sm! leading-4
[&_.synthax-highlighter]:rounded-b-none
[&_.synthax-highlighter]:rounded-r-none
[&_.synthax-highlighter]:border-r-0
[&_.synthax-highlighter]:border-b-0
- [&_.synthax-highlighter]:!pb-8
+ [&_.synthax-highlighter]:pb-8!
[&_.synthax-highlighter]:xl:min-h-[240px]
pr-0 pb-0 -bottom-2 xl:-bottom-4
"
diff --git a/apps/www/components/Products/Functions/ConnectToDBPanel.tsx b/apps/www/components/Products/Functions/ConnectToDBPanel.tsx
index dee4bb43f81..c211066f99f 100644
--- a/apps/www/components/Products/Functions/ConnectToDBPanel.tsx
+++ b/apps/www/components/Products/Functions/ConnectToDBPanel.tsx
@@ -19,7 +19,7 @@ const { data, error } = await supabase
.select('*')`
const ConnectToDBPanel = () => (
- <CodeWindow className="[&_.synthax-highlighter]:!min-h-[200px]" code={code} showLineNumbers />
+ <CodeWindow className="[&_.synthax-highlighter]:min-h-[200px]!" code={code} showLineNumbers />
)
export default ConnectToDBPanel
diff --git a/apps/www/components/Products/Functions/FunctionsHero.tsx b/apps/www/components/Products/Functions/FunctionsHero.tsx
index e637462f989..e476a600486 100644
--- a/apps/www/components/Products/Functions/FunctionsHero.tsx
+++ b/apps/www/components/Products/Functions/FunctionsHero.tsx
@@ -172,7 +172,7 @@ const FunctionsHero = () => {
id="functions-hero"
className="
absolute inset-0
- -left-28 top-4 w-[150%] md:w-[150%] aspect-[978/678]
+ -left-28 top-4 w-[150%] md:w-[150%] aspect-978/678
sm:-left-32 sm:-top-2
md:-left-44
lg:-left-10 lg:-top-10 lg:w-[130%]
@@ -201,7 +201,7 @@ const FunctionsHero = () => {
ref={typerRef}
className="opacity-0 flex-1 text-left animate-fade-in text-foreground text-xs md:text-sm font-mono"
/>
- <div className="text-foreground rounded p-1.5 opacity-0 group-hover:opacity-100 transition-opacity">
+ <div className="text-foreground rounded-sm p-1.5 opacity-0 group-hover:opacity-100 transition-opacity">
{copied ? (
<span className="text-brand">
<Check className="w-3.5 h-3.5" />
@@ -262,7 +262,7 @@ const FunctionsHero = () => {
</div>
))}
<div className="absolute left-[51.15%] top-[10%] w-px h-[20%] overflow-hidden">
- <span className="absolute inset-0 w-full bg-gradient-to-t from-current to-transparent h-full delay-1200 animate-slide-in" />
+ <span className="absolute inset-0 w-full bg-linear-to-t from-current to-transparent h-full delay-1200 animate-slide-in" />
</div>
{/* Globe background */}
<Image
diff --git a/apps/www/components/Products/Functions/LocalDXGrid.tsx b/apps/www/components/Products/Functions/LocalDXGrid.tsx
index b1cc21f98ef..5945bbd7a87 100644
--- a/apps/www/components/Products/Functions/LocalDXGrid.tsx
+++ b/apps/www/components/Products/Functions/LocalDXGrid.tsx
@@ -44,7 +44,7 @@ const Content = ({ card }: { card: any }) => {
>
{card.image}
</div>
- <div className={cn('flex flex-col gap-1 p-4 xl:p-6 xl:!pt-0', isHoriz && 'xl:w-2/5')}>
+ <div className={cn('flex flex-col gap-1 p-4 xl:p-6 xl:pt-0!', isHoriz && 'xl:w-2/5')}>
<h3 className="text-foreground">{card.label}</h3>
<div className={cn('flex-1 flex flex-col justify-between gap-2', isHoriz && 'flex-auto')}>
<p className="text-sm text-foreground-lighter">{card.paragraph}</p>
diff --git a/apps/www/components/Products/Functions/LocalDXImage.tsx b/apps/www/components/Products/Functions/LocalDXImage.tsx
index 34da459cfec..1951f80928f 100644
--- a/apps/www/components/Products/Functions/LocalDXImage.tsx
+++ b/apps/www/components/Products/Functions/LocalDXImage.tsx
@@ -40,7 +40,7 @@ const LocalDXImage = () => {
>
<div className="text-foreground-muted text-sm font-mono">$</div>
<div className="text-foreground text-sm font-mono">supabase functions serve</div>
- <div className="text-foreground rounded p-1.5 ml-2 opacity-0 group-hover:opacity-100 transition-opacity">
+ <div className="text-foreground rounded-sm p-1.5 ml-2 opacity-0 group-hover:opacity-100 transition-opacity">
{copied ? (
<span className="text-brand">
<Check className="w-3.5 h-3.5" />
diff --git a/apps/www/components/Products/Functions/Metrics.tsx b/apps/www/components/Products/Functions/Metrics.tsx
index 27d9d8b01a6..c04a7e24f53 100644
--- a/apps/www/components/Products/Functions/Metrics.tsx
+++ b/apps/www/components/Products/Functions/Metrics.tsx
@@ -82,7 +82,7 @@ const Metrics = ({ isActive }: { isActive?: boolean }) => {
isActive && 'opacity-100'
)}
>
- <div className="relative rounded-md w-full h-full border border-overlay shadow p-4 !min-w-[300px]">
+ <div className="relative rounded-md w-full h-full border border-overlay shadow-sm p-4 min-w-[300px]!">
<p className="text-foreground text-sm mb-2">Execution time</p>
<p className="text-foreground text-base mb-4">
{displayValue ? data[displayValue]?.pv : highlightedValue}ms {displayValue ? '' : '(Avg)'}
diff --git a/apps/www/components/Products/Functions/ParityImage.tsx b/apps/www/components/Products/Functions/ParityImage.tsx
index 8cfcbb26215..d155fc9473c 100644
--- a/apps/www/components/Products/Functions/ParityImage.tsx
+++ b/apps/www/components/Products/Functions/ParityImage.tsx
@@ -22,7 +22,7 @@ const ParityImage = () => (
className="object-cover absolute z-0 inset-0 hidden dark:block"
/>
<div className="relative z-10 p-4 font-mono bg-surface-200 border-2 border-dashed rounded-2xl justify-center items-center gap-1 flex">
- <div className="py-2 px-4 bg-alternative-200 rounded-lg shadow border flex-col justify-center items-center">
+ <div className="py-2 px-4 bg-alternative-200 rounded-lg shadow-sm border flex-col justify-center items-center">
<div className="text-foreground uppercase tracking-wide">Dev</div>
</div>
<svg width="32" height="7" viewBox="0 0 32 7" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -36,7 +36,7 @@ const ParityImage = () => (
/>
</svg>
- <div className="py-2 px-4 bg-alternative-200 rounded-lg shadow border flex-col justify-center items-center">
+ <div className="py-2 px-4 bg-alternative-200 rounded-lg shadow-sm border flex-col justify-center items-center">
<div className="text-foreground uppercase tracking-wide">Prod</div>
</div>
</div>
diff --git a/apps/www/components/Products/Functions/QueryLogs.tsx b/apps/www/components/Products/Functions/QueryLogs.tsx
index 1e71a6be714..e5dae8bd884 100644
--- a/apps/www/components/Products/Functions/QueryLogs.tsx
+++ b/apps/www/components/Products/Functions/QueryLogs.tsx
@@ -139,7 +139,7 @@ const QueryLogs = ({ isActive, isInView }: { isActive?: boolean; isInView?: bool
<span
className={cn(
'w-[50px] flex items-center gap-1',
- log.status === 'ERROR' ? '!text-red-900' : '!text-blue-900'
+ log.status === 'ERROR' ? 'text-red-900!' : 'text-blue-900!'
)}
>
<span>
diff --git a/apps/www/components/Products/Functions/TriggerViaWebhookPanel.tsx b/apps/www/components/Products/Functions/TriggerViaWebhookPanel.tsx
index a3aa4b7b8e7..61aa6069523 100644
--- a/apps/www/components/Products/Functions/TriggerViaWebhookPanel.tsx
+++ b/apps/www/components/Products/Functions/TriggerViaWebhookPanel.tsx
@@ -13,7 +13,7 @@ execute function "supabase_functions"."http_request"(
const TriggerViaWebhookPanel = () => (
<CodeWindow
- className="[&_.synthax-highlighter]:md:!min-h-[300px]"
+ className="[&_.synthax-highlighter]:md:min-h-[300px]!"
code={code}
lang="sql"
showLineNumbers
diff --git a/apps/www/components/Products/Functions/ZeroConfigPanel.tsx b/apps/www/components/Products/Functions/ZeroConfigPanel.tsx
index 01aa683d3b7..9cf6b37c831 100644
--- a/apps/www/components/Products/Functions/ZeroConfigPanel.tsx
+++ b/apps/www/components/Products/Functions/ZeroConfigPanel.tsx
@@ -7,7 +7,7 @@ const code = `const supabase = createClient(
)`
const ZeroConfigPanel = () => (
- <CodeWindow className="[&_.synthax-highlighter]:md:!min-h-[300px]" code={code} showLineNumbers />
+ <CodeWindow className="[&_.synthax-highlighter]:md:min-h-[300px]!" code={code} showLineNumbers />
)
export default ZeroConfigPanel
diff --git a/apps/www/components/Products/ProductCard.tsx b/apps/www/components/Products/ProductCard.tsx
index 96f6dc6c6d7..bb39b334ad0 100644
--- a/apps/www/components/Products/ProductCard.tsx
+++ b/apps/www/components/Products/ProductCard.tsx
@@ -30,7 +30,7 @@ const ProductCard = ({
<Link
href={url}
className={cn(
- 'group relative w-full sm:h-[400px] flex flex-col gap-5 lg:flex-row focus:outline-none focus:border-none focus:ring-brand-600 focus:ring-2 focus:rounded-xl',
+ 'group relative w-full sm:h-[400px] flex flex-col gap-5 lg:flex-row focus:outline-hidden focus:border-none focus:ring-brand-600 focus:ring-2 focus:rounded-xl',
className
)}
onClick={onClick}
@@ -42,7 +42,7 @@ const ProductCard = ({
outerClassName="relative w-full h-full"
innerClassName={cn(
'relative overflow-hidden flex-1 flex flex-row sm:flex-col gap-4 items-start sm:items-center lg:items-start justify-between',
- 'bg-surface-75 w-full h-full text-foreground-lighter [&_strong]:!font-normal [&_strong]:!text-foreground',
+ 'bg-surface-75 w-full h-full text-foreground-lighter [&_strong]:font-normal! [&_strong]:text-foreground!',
'p-4 sm:py-6'
)}
>
@@ -81,7 +81,7 @@ const ProductCard = ({
<h2 className="">{title}</h2>
</div>
<div className="flex-1 flex flex-col justify-between gap-2">
- <p className="text-sm [&_strong]:!text-foreground">{subtitle}</p>
+ <p className="text-sm [&_strong]:text-foreground!">{subtitle}</p>
{highlights && (
<span className={cn('hidden lg:block text-foreground', isDatabase && 'md:block')}>
{highlights}
diff --git a/apps/www/components/Products/ProductsNav.tsx b/apps/www/components/Products/ProductsNav.tsx
index 5fd2a357885..5669bedaeaa 100644
--- a/apps/www/components/Products/ProductsNav.tsx
+++ b/apps/www/components/Products/ProductsNav.tsx
@@ -12,7 +12,7 @@ interface Props {
function ProductsNav({ activePage }: Props) {
return (
<nav className="relative z-30 hidden md:flex items-center bg-background w-full border-b">
- <SectionContainer className="!py-0 flex gap-3 items-center">
+ <SectionContainer className="py-0! flex gap-3 items-center">
{Object.entries(products).map((obj: any) => {
const product = obj[1]
const isAuth = product.name === PRODUCT_NAMES.AUTHENTICATION
diff --git a/apps/www/components/Products/RealtimeVisual.tsx b/apps/www/components/Products/RealtimeVisual.tsx
index 2f72123455a..896a3ac6c10 100644
--- a/apps/www/components/Products/RealtimeVisual.tsx
+++ b/apps/www/components/Products/RealtimeVisual.tsx
@@ -94,7 +94,7 @@ const RealtimeVisual: React.FC<Props> = ({ className }) => {
/>
</svg>
- <div className="!w-[66.70px] !h-[33.35px] absolute left-full flex items-center justify-center gap-1 -top-6 border border-foreground-lighter/70 rounded-full bg-surface-100">
+ <div className="w-[66.70px]! h-[33.35px]! absolute left-full flex items-center justify-center gap-1 -top-6 border border-foreground-lighter/70 rounded-full bg-surface-100">
<div className="w-1.5 h-1.5 rounded-full bg-foreground-lighter animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_infinite] pause group-hover:run" />
<div className="w-1.5 h-1.5 rounded-full bg-foreground-lighter animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_200ms_infinite] pause group-hover:run" />
<div className="w-1.5 h-1.5 rounded-full bg-foreground-lighter animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_400ms_infinite] pause group-hover:run" />
@@ -126,7 +126,7 @@ const RealtimeVisual: React.FC<Props> = ({ className }) => {
/>
</svg>
- <div className="!w-[55px] !h-[28px] absolute left-full flex items-center justify-center gap-1 -top-6 border border-foreground-muted rounded-full bg-surface-100 opacity-0 group-hover:opacity-100 transition-opacity">
+ <div className="w-[55px]! h-[28px]! absolute left-full flex items-center justify-center gap-1 -top-6 border border-foreground-muted rounded-full bg-surface-100 opacity-0 group-hover:opacity-100 transition-opacity">
<div className="w-1.5 h-1.5 rounded-full bg-foreground-lighter animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_infinite] pause group-hover:run" />
<div className="w-1.5 h-1.5 rounded-full bg-foreground-lighter animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_200ms_infinite] pause group-hover:run" />
<div className="w-1.5 h-1.5 rounded-full bg-foreground-lighter animate-[pulse_600ms_cubic-bezier(0.4,0,0.6,1)_400ms_infinite] pause group-hover:run" />
diff --git a/apps/www/components/Products/VectorAI/IntegrationsImage.tsx b/apps/www/components/Products/VectorAI/IntegrationsImage.tsx
index f0936a45ebd..b3341becd10 100644
--- a/apps/www/components/Products/VectorAI/IntegrationsImage.tsx
+++ b/apps/www/components/Products/VectorAI/IntegrationsImage.tsx
@@ -36,7 +36,7 @@ const IntegrationsImage = () => {
animate={isInView ? animate : initial}
className="relative w-full h-full"
>
- <div className="w-full aspect-[2/1] md:aspect-[3/1]">
+ <div className="w-full aspect-2/1 md:aspect-3/1">
<ResolvedImage />
</div>
</m.div>
diff --git a/apps/www/components/Products/VectorAI/OpenAIImage.tsx b/apps/www/components/Products/VectorAI/OpenAIImage.tsx
index 2d36f0d60ac..62cba18db9d 100644
--- a/apps/www/components/Products/VectorAI/OpenAIImage.tsx
+++ b/apps/www/components/Products/VectorAI/OpenAIImage.tsx
@@ -278,7 +278,7 @@ const OpenAIImage = ({ isHovered }: { isHovered: boolean }) => {
return (
<>
- <div className="w-[44%] h-[44%] -translate-x-[2px] absolute z-10 inset-0 top-auto bottom-[16%] m-auto">
+ <div className="w-[44%] h-[44%] translate-x-[-2px] absolute z-10 inset-0 top-auto bottom-[16%] m-auto">
<Image
src={
resolvedTheme?.includes('dark')
diff --git a/apps/www/components/Products/VectorVisual.tsx b/apps/www/components/Products/VectorVisual.tsx
index fe3fa482c95..f8810b4130a 100644
--- a/apps/www/components/Products/VectorVisual.tsx
+++ b/apps/www/components/Products/VectorVisual.tsx
@@ -58,17 +58,17 @@ const VectorVisual: React.FC<Props> = ({ className }) => {
'absolute inset-0',
'z-0 flex items-end',
'top-auto',
- 'aspect-[390/430]',
+ 'aspect-390/430',
'w-full md:w-[calc(100%+4rem)] 2xl:w-full',
'md:-mx-8 2xl:mx-0',
- '-bottom-0 sm:-bottom-28 md:bottom-0 lg:-bottom-28 xl:bottom-0',
+ 'bottom-0 sm:-bottom-28 md:bottom-0 lg:-bottom-28 xl:bottom-0',
className
)}
ref={containerRef}
role="img"
aria-label="Supabase Vector uses pgvector to store, index, and access embeddings"
>
- <span className="absolute w-full h-full lg:!aspect-[390/430] flex items-end justify-center inset-0 top-16 md:top-20 lg:top-0 bottom-auto mx-auto">
+ <span className="absolute w-full h-full lg:aspect-390/430! flex items-end justify-center inset-0 top-16 md:top-20 lg:top-0 bottom-auto mx-auto">
<Image
src={`/images/index/products/vector-dark.svg`}
alt="Supabase Vector graph"
diff --git a/apps/www/components/Products/index.tsx b/apps/www/components/Products/index.tsx
index af4b8fbb375..4ee88b3f6ab 100644
--- a/apps/www/components/Products/index.tsx
+++ b/apps/www/components/Products/index.tsx
@@ -32,7 +32,7 @@ const Products: React.FC<Props> = (props) => {
}
return (
- <SectionContainer className="!pt-0 grid grid-cols-1 gap-4 sm:grid-cols-2 md:gap-4 xl:gap-3 2xl:gap-6 md:grid-cols-12">
+ <SectionContainer className="pt-0! grid grid-cols-1 gap-4 sm:grid-cols-2 md:gap-4 xl:gap-3 2xl:gap-6 md:grid-cols-12">
<ProductCard
isDatabase
className="col-span-6 md:col-span-12 xl:col-span-6"
@@ -119,8 +119,8 @@ const Products: React.FC<Props> = (props) => {
image={<RealtimeVisual className="hidden sm:block" />}
className="
col-span-6 pointer-events-none xl:col-span-3
- hover:!cursor-[url('/images/index/products/realtime-cursor-light.svg'),_auto]
- dark:hover:!cursor-[url('/images/index/products/realtime-cursor-dark.svg'),_auto]
+ hover:cursor-[url('/images/index/products/realtime-cursor-light.svg'),auto]!
+ dark:hover:cursor-[url('/images/index/products/realtime-cursor-dark.svg'),auto]!
"
/>
<ProductCard
diff --git a/apps/www/components/Realtime/example-layout.tsx b/apps/www/components/Realtime/example-layout.tsx
index 1f82fedb021..12606ed6499 100644
--- a/apps/www/components/Realtime/example-layout.tsx
+++ b/apps/www/components/Realtime/example-layout.tsx
@@ -71,7 +71,7 @@ ${appJsCode}`
type="outline"
onClick={onPrevious}
disabled={!onPrevious}
- className="p-1 rounded hover:bg-surface-200 text-foreground-light disabled:opacity-50 disabled:cursor-not-allowed"
+ className="p-1 rounded-sm hover:bg-surface-200 text-foreground-light disabled:opacity-50 disabled:cursor-not-allowed"
aria-label="Previous example"
>
<ChevronLeft size={16} />
@@ -80,7 +80,7 @@ ${appJsCode}`
type="outline"
onClick={onNext}
disabled={!onNext}
- className="p-1 rounded hover:bg-surface-200 text-foreground-light disabled:opacity-50 disabled:cursor-not-allowed"
+ className="p-1 rounded-sm hover:bg-surface-200 text-foreground-light disabled:opacity-50 disabled:cursor-not-allowed"
aria-label="Next example"
>
<ChevronRight size={16} />
@@ -103,7 +103,7 @@ ${appJsCode}`
<CodeBlock
hideLineNumbers
wrapperClassName="w-full"
- className="!bg-transparent h-[500px] lg:h-full overflow-auto p-8 border-none rounded-none"
+ className="bg-transparent! h-[500px] lg:h-full overflow-auto p-8 border-none rounded-none"
wrapLines
language="jsx"
>
diff --git a/apps/www/components/Realtime/examples/chat-example.tsx b/apps/www/components/Realtime/examples/chat-example.tsx
index 917dcff28b4..a31dd769f48 100644
--- a/apps/www/components/Realtime/examples/chat-example.tsx
+++ b/apps/www/components/Realtime/examples/chat-example.tsx
@@ -165,7 +165,7 @@ export default function App() {
}}
placeholder="Type a message..."
disabled={!isConnected}
- className="flex-1 px-4 py-2 bg-neutral-800 text-neutral-100 border-none rounded-full focus:outline-none focus:ring-2 focus:ring-neutral-600 focus:border-transparent placeholder-neutral-500"
+ className="flex-1 px-4 py-2 bg-neutral-800 text-neutral-100 border-none rounded-full focus:outline-hidden focus:ring-2 focus:ring-neutral-600 focus:border-transparent placeholder-neutral-500"
/>
</form>
</div>
diff --git a/apps/www/components/Realtime/examples/cursor-tracking-example.tsx b/apps/www/components/Realtime/examples/cursor-tracking-example.tsx
index cd002a20b42..c730256a405 100644
--- a/apps/www/components/Realtime/examples/cursor-tracking-example.tsx
+++ b/apps/www/components/Realtime/examples/cursor-tracking-example.tsx
@@ -251,7 +251,7 @@ export default function App() {
{/* Username label */}
<div
- className="mt-2 px-2 py-1 rounded text-xs whitespace-nowrap"
+ className="mt-2 px-2 py-1 rounded-sm text-xs whitespace-nowrap"
style={{
backgroundColor: color,
color: '#fff',
diff --git a/apps/www/components/Realtime/examples/iframe-annotation-example.tsx b/apps/www/components/Realtime/examples/iframe-annotation-example.tsx
index 76a0c82f8c9..58419ca1099 100644
--- a/apps/www/components/Realtime/examples/iframe-annotation-example.tsx
+++ b/apps/www/components/Realtime/examples/iframe-annotation-example.tsx
@@ -263,7 +263,7 @@ export default function App() {
>
<div
data-comment-bubble
- className="max-w-[400px] min-w-32 bg-neutral-800 rounded shadow p-3 pt-2 mb-2"
+ className="max-w-[400px] min-w-32 bg-neutral-800 rounded-sm shadow-sm p-3 pt-2 mb-2"
>
<div className="flex justify-between items-center mb-1">
<span className="text-xs text-neutral-400">{comment.username}</span>
@@ -275,9 +275,9 @@ export default function App() {
<X strokeWidth={1.5} size={14} />
</button>
</div>
- <div className="text-xs text-neutral-200 break-words">{comment.text}</div>
+ <div className="text-xs text-neutral-200 wrap-break-word">{comment.text}</div>
</div>
- <div className="w-0 h-0 border-l-[8px] border-l-transparent border-r-[8px] border-r-transparent border-t-[8px] border-t-neutral-900/90 mx-auto"></div>
+ <div className="w-0 h-0 border-l-8 border-l-transparent border-r-8 border-r-transparent border-t-8 border-t-neutral-900/90 mx-auto"></div>
</div>
))}
@@ -295,7 +295,7 @@ export default function App() {
>
<div
data-comment-bubble
- className="bg-neutral-800 rounded shadow p-2 mb-2 w-64"
+ className="bg-neutral-800 rounded-sm shadow-sm p-2 mb-2 w-64"
>
<form onSubmit={handleCommentSubmit}>
<input
@@ -306,20 +306,20 @@ export default function App() {
onKeyDown={handleInputKeyDown}
placeholder="Type your comment..."
data-comment-input
- className="w-full px-2 py-1.5 bg-neutral-800 border border-neutral-700 rounded text-xs text-neutral-200 placeholder-neutral-500 mb-2"
+ className="w-full px-2 py-1.5 bg-neutral-800 border border-neutral-700 rounded-sm text-xs text-neutral-200 placeholder-neutral-500 mb-2"
autoFocus
/>
<div className="flex justify-end gap-2">
<button
type="button"
onClick={handleCancelComment}
- className="px-3 py-1 text-xs bg-neutral-800 text-neutral-300 rounded hover:bg-neutral-700"
+ className="px-3 py-1 text-xs bg-neutral-800 text-neutral-300 rounded-sm hover:bg-neutral-700"
>
Cancel
</button>
<button
type="submit"
- className="px-3 py-1 text-xs bg-neutral-300 text-neutral-900 rounded hover:bg-neutral-200 disabled:opacity-50 disabled:cursor-not-allowed"
+ className="px-3 py-1 text-xs bg-neutral-300 text-neutral-900 rounded-sm hover:bg-neutral-200 disabled:opacity-50 disabled:cursor-not-allowed"
disabled={!newComment.trim()}
>
Add
diff --git a/apps/www/components/Realtime/examples/log-viewer-example.tsx b/apps/www/components/Realtime/examples/log-viewer-example.tsx
index c563486d5c4..f8f912eeff3 100644
--- a/apps/www/components/Realtime/examples/log-viewer-example.tsx
+++ b/apps/www/components/Realtime/examples/log-viewer-example.tsx
@@ -121,7 +121,7 @@ export default function App() {
return (
<div
- className={\`p-2 inline-block rounded px-2 py-1 font-medium text-neutral-100/50 text-center min-w-[60px] text-white \${colorClass}\`}
+ className={\`p-2 inline-block rounded-sm px-2 py-1 font-medium text-neutral-100/50 text-center min-w-[60px] text-white \${colorClass}\`}
>
{level}
</div>
@@ -309,7 +309,7 @@ export default function App() {
{/* Error message */}
{error && (
- <div className="p-4 bg-red-500 text-white m-4 rounded">
+ <div className="p-4 bg-red-500 text-white m-4 rounded-sm">
Error: {error}
</div>
)}
@@ -327,7 +327,7 @@ export default function App() {
{/* Main content */}
<div className="flex-1 font-mono text-xs">
<div className="h-full relative">
- <div className="h-32 w-full z-10 absolute left-0 right-0 bottom-0 bg-gradient-to-t from-neutral-900 to-transparent" />
+ <div className="h-32 w-full z-10 absolute left-0 right-0 bottom-0 bg-linear-to-t from-neutral-900 to-transparent" />
<AutoSizer>
{({ width, height }) => (
<InfiniteLoader
diff --git a/apps/www/components/Realtime/examples/presence-example.tsx b/apps/www/components/Realtime/examples/presence-example.tsx
index bb5e1ef748c..dd2bf2511fc 100644
--- a/apps/www/components/Realtime/examples/presence-example.tsx
+++ b/apps/www/components/Realtime/examples/presence-example.tsx
@@ -84,10 +84,10 @@ export default function App() {
key={user.user_id}
className="flex flex-col items-center gap-3"
>
- <div className="relative w-16 h-16 rounded-full bg-gradient-to-b from-neutral-700 to-neutral-800 shadow-neutral-900/75 shadow-[inset_0_0_20px_rgba(0,0,0,0.3)]">
+ <div className="relative w-16 h-16 rounded-full bg-linear-to-b from-neutral-700 to-neutral-800 shadow-neutral-900/75 shadow-[inset_0_0_20px_rgba(0,0,0,0.3)]">
<div className="absolute bottom-0 right-0 w-2 h-2 bg-green-400 rounded-full"></div>
</div>
- <span className="text-sm text-neutral-400 text-center break-words">
+ <span className="text-sm text-neutral-400 text-center wrap-break-word">
{user.username}
</span>
</div>
diff --git a/apps/www/components/Realtime/examples/todo-example.tsx b/apps/www/components/Realtime/examples/todo-example.tsx
index 9f97423c726..b83ec6a33b4 100644
--- a/apps/www/components/Realtime/examples/todo-example.tsx
+++ b/apps/www/components/Realtime/examples/todo-example.tsx
@@ -257,7 +257,7 @@ export default function App() {
<div className="flex items-center gap-2">
<button
onClick={() => handleToggleTodo(todo)}
- className={\`w-5 h-5 rounded flex items-center justify-center border \${
+ className={\`w-5 h-5 rounded-sm flex items-center justify-center border \${
todo.completed
? 'bg-green-900 border-green-700 text-green-400'
: 'border-neutral-600'
@@ -315,12 +315,12 @@ export default function App() {
onChange={(e) => setNewTodo(e.target.value)}
placeholder="Add a new todo..."
disabled={!isConnected || !user}
- className="flex-1 px-4 py-2 bg-neutral-800 text-neutral-100 border border-neutral-700 rounded-md focus:outline-none focus:ring-2 focus:ring-neutral-600 focus:border-transparent placeholder-neutral-500"
+ className="flex-1 px-4 py-2 bg-neutral-800 text-neutral-100 border border-neutral-700 rounded-md focus:outline-hidden focus:ring-2 focus:ring-neutral-600 focus:border-transparent placeholder-neutral-500"
/>
<button
type="submit"
disabled={!newTodo.trim() || !isConnected || !user}
- className="px-4 py-2 bg-neutral-800 text-neutral-300 border border-neutral-700 rounded-md hover:bg-neutral-700 focus:outline-none disabled:opacity-50 disabled:hover:bg-neutral-800"
+ className="px-4 py-2 bg-neutral-800 text-neutral-300 border border-neutral-700 rounded-md hover:bg-neutral-700 focus:outline-hidden disabled:opacity-50 disabled:hover:bg-neutral-800"
>
Add
</button>
diff --git a/apps/www/components/Realtime/sandpack.tsx b/apps/www/components/Realtime/sandpack.tsx
index e0ab9375a3c..4465111b21e 100644
--- a/apps/www/components/Realtime/sandpack.tsx
+++ b/apps/www/components/Realtime/sandpack.tsx
@@ -41,12 +41,12 @@ export default function SandpackWrapper({ files, dependencies = {} }: SandpackPr
externalResources: ['https://cdn.tailwindcss.com'],
}}
>
- <SandpackLayout className="!h-full !min-h-full !border-none !bg-surface-50 !rounded-none !flex !flex-col">
+ <SandpackLayout className="h-full! min-h-full! border-none! !bg-surface-50 rounded-none! flex! flex-col!">
<SandpackPreview
showNavigator={false}
showRefreshButton={false}
showOpenInCodeSandbox={false}
- className="!h-full !flex-1 !border-none"
+ className="h-full! flex-1! border-none!"
/>
</SandpackLayout>
</SandpackProvider>
diff --git a/apps/www/components/Sections/CenteredTitleImage.tsx b/apps/www/components/Sections/CenteredTitleImage.tsx
index 78b56b7bf65..ef9aaec63da 100644
--- a/apps/www/components/Sections/CenteredTitleImage.tsx
+++ b/apps/www/components/Sections/CenteredTitleImage.tsx
@@ -11,7 +11,7 @@ const CenteredTitleImage = ({ title, image: Image }: Props) => {
<SectionContainer>
<div className="flex flex-col items-center text-center gap-8">
<h2 className="heading-gradient text-2xl sm:text-3xl xl:text-4xl">{title}</h2>
- <div className="w-full max-w-6xl aspect-[2/1] md:aspect-[3/1] flex justify-center items-center mx-auto">
+ <div className="w-full max-w-6xl aspect-2/1 md:aspect-3/1 flex justify-center items-center mx-auto">
<Image />
</div>
</div>
diff --git a/apps/www/components/Sections/CommunitySlider.tsx b/apps/www/components/Sections/CommunitySlider.tsx
index 94bf42357bc..a3a6ea83249 100644
--- a/apps/www/components/Sections/CommunitySlider.tsx
+++ b/apps/www/components/Sections/CommunitySlider.tsx
@@ -104,7 +104,7 @@ const CommunitySlider = () => {
}, [ref.current, swiperInstance?.autoplay])
const Card = (card: CardInterface) => (
- <div className="bg-surface-100 hover:border-strong border-overlay rounded-2xl border p-6 drop-shadow-sm flex flex-col gap-4">
+ <div className="bg-surface-100 hover:border-strong border-overlay rounded-2xl border p-6 drop-shadow-xs flex flex-col gap-4">
<div className="flex items-center gap-2">
<div className="h-10 w-10 overflow-hidden rounded-full border border-control">
<Image src={card.avatar!} layout="responsive" width="64" height="64" alt={card.author} />
@@ -146,7 +146,7 @@ const CommunitySlider = () => {
objectFit={isSm ? 'cover' : 'contain'}
/>
</div>
- <SectionContainer className="!py-0">
+ <SectionContainer className="py-0!">
<div className="col-span-12 text-center relative z-10">
<h3 className="text-3xl md:text-4xl heading-gradient">
Join a growing <br />
diff --git a/apps/www/components/Sections/CustomerQuotesSection.tsx b/apps/www/components/Sections/CustomerQuotesSection.tsx
index 829b81db4fa..6cc380f85bb 100644
--- a/apps/www/components/Sections/CustomerQuotesSection.tsx
+++ b/apps/www/components/Sections/CustomerQuotesSection.tsx
@@ -52,7 +52,7 @@ const CustomerQuotesSection = (props: Props) => {
<m.div
initial={initial}
animate={isInView ? animate : initial}
- className="bg-background hover:border-control border-background-overlay-default rounded-2xl border p-6 drop-shadow-sm flex flex-col justify-between"
+ className="bg-background hover:border-control border-background-overlay-default rounded-2xl border p-6 drop-shadow-xs flex flex-col justify-between"
>
<div className="flex flex-col gap-4">
<div className="h-24 w-full flex items-center justify-center pb-3">
@@ -92,7 +92,7 @@ const CustomerQuotesSection = (props: Props) => {
<div className="relative h-[300px] w-[300vw] left-[-98vw] md:left-0 mx-auto md:w-full -mb-32 z-0">
<CustomersVisual />
</div>
- <SectionContainer className="!py-0">
+ <SectionContainer className="py-0!">
<div className="col-span-12 text-center relative z-10">
<h3 className="text-3xl md:text-4xl heading-gradient">{props.title}</h3>
</div>
diff --git a/apps/www/components/Sections/HighlightCards.tsx b/apps/www/components/Sections/HighlightCards.tsx
index 340ddb45b1c..3d1e662c09b 100644
--- a/apps/www/components/Sections/HighlightCards.tsx
+++ b/apps/www/components/Sections/HighlightCards.tsx
@@ -52,7 +52,7 @@ const HighlightCard = ({ highlight, index }: { highlight: Highlight; index: numb
animate={isInView ? animate : initial}
className="will-change-transform h-full highlight-card"
>
- <Panel innerClassName="flex flex-col !bg-alternative" outerClassName="h-full">
+ <Panel innerClassName="flex flex-col bg-alternative!" outerClassName="h-full">
{highlight.image && (
<div className="relative w-full aspect-[1.35/1] mb-4">
<div
diff --git a/apps/www/components/Sections/ImageParagraphSection.tsx b/apps/www/components/Sections/ImageParagraphSection.tsx
index 62197bb54e7..e1aa9c61462 100644
--- a/apps/www/components/Sections/ImageParagraphSection.tsx
+++ b/apps/www/components/Sections/ImageParagraphSection.tsx
@@ -37,8 +37,8 @@ const ImageLeftSection: FC<Props> = (props) => {
)}
>
<span className="label">{props.label}</span>
- <h2 className="h2 !m-0">{props.heading}</h2>
- <p className="p !text-foreground-lighter">{props.subheading}</p>
+ <h2 className="h2 m-0!">{props.heading}</h2>
+ <p className="p text-foreground-lighter!">{props.subheading}</p>
{props.cta && (
<TextLink hasChevron label={props.cta.label} url={props.cta.url} className="mt-2" />
)}
diff --git a/apps/www/components/Sections/ParagraphSection.tsx b/apps/www/components/Sections/ParagraphSection.tsx
index c53b10c1c40..be54bca2139 100644
--- a/apps/www/components/Sections/ParagraphSection.tsx
+++ b/apps/www/components/Sections/ParagraphSection.tsx
@@ -48,7 +48,7 @@ const FeaturesSection = ({
</div>
</div>
{content && (
- <div className="col-span-full lg:col-start-6 lg:col-span-7 prose !max-w-none text-foreground-light">
+ <div className="col-span-full lg:col-start-6 lg:col-span-7 prose max-w-none! text-foreground-light">
<ReactMarkdown>{content}</ReactMarkdown>
</div>
)}
diff --git a/apps/www/components/Sections/ProductHeader2.tsx b/apps/www/components/Sections/ProductHeader2.tsx
index 3ff5c1b7de2..528e4545a84 100644
--- a/apps/www/components/Sections/ProductHeader2.tsx
+++ b/apps/www/components/Sections/ProductHeader2.tsx
@@ -29,7 +29,7 @@ const ProductHeader = ({ footerPosition = 'left', ...props }: Props) => (
props.className
)}
>
- <SectionContainer className={cn('!py-0 grid grid-cols-12', props.sectionContainerClassName)}>
+ <SectionContainer className={cn('py-0! grid grid-cols-12', props.sectionContainerClassName)}>
<div
className={cn(
'relative z-10 col-span-12 lg:col-span-5',
@@ -50,7 +50,7 @@ const ProductHeader = ({ footerPosition = 'left', ...props }: Props) => (
)}
</div>
)}
- <h1 className="h1 text-3xl md:!text-4xl lg:!text-4xl 2xl:!text-6xl tracking-[-.15px]">
+ <h1 className="h1 text-3xl md:text-4xl! lg:text-4xl! 2xl:text-6xl! tracking-[-.15px]">
{props.h1}
</h1>
{props.subheader && (
diff --git a/apps/www/components/Sections/ProductHeaderCentered.tsx b/apps/www/components/Sections/ProductHeaderCentered.tsx
index 79248c8a92b..aa4fbb081b1 100644
--- a/apps/www/components/Sections/ProductHeaderCentered.tsx
+++ b/apps/www/components/Sections/ProductHeaderCentered.tsx
@@ -78,7 +78,7 @@ const ProductHeaderCentered = (props: Types) => (
<h1 className="h1 text-3xl md:text-4xl tracking-[-1.5px]" key={`h1`}>
{props.h1}
</h1>
- <p className="p !text-foreground-light">{props.subheader}</p>
+ <p className="p text-foreground-light!">{props.subheader}</p>
</div>
<div className="w-full sm:w-auto flex flex-col items-stretch sm:flex-row pt-2 sm:items-center gap-2">
{props.cta && (
diff --git a/apps/www/components/Sections/ProductModulesHeader.tsx b/apps/www/components/Sections/ProductModulesHeader.tsx
index 9ec0896a582..70fbbd14197 100644
--- a/apps/www/components/Sections/ProductModulesHeader.tsx
+++ b/apps/www/components/Sections/ProductModulesHeader.tsx
@@ -98,7 +98,7 @@ const ProductModulesHeader = (props: Types) => (
<h1 className="text-3xl md:text-5xl tracking-[-.5px] max-w-lg" key={`h1`}>
{props.h1}
</h1>
- <p className="p !text-foreground-light">{props.subheader}</p>
+ <p className="p text-foreground-light!">{props.subheader}</p>
</div>
<div className="w-full sm:w-auto flex flex-col items-stretch sm:flex-row pt-2 sm:items-center gap-2">
{props.cta && (
diff --git a/apps/www/components/Sections/SingleQuote.tsx b/apps/www/components/Sections/SingleQuote.tsx
index 480be734a0c..6dd57dfd241 100644
--- a/apps/www/components/Sections/SingleQuote.tsx
+++ b/apps/www/components/Sections/SingleQuote.tsx
@@ -47,7 +47,7 @@ const SingleQuote: FC<Props> = ({
id={sectionId}
className={cn('flex flex-col items-center text-center gap-8 md:gap-16', className)}
>
- <q className="text-2xl max-w-xs md:text-2xl xl:text-4xl md:!max-w-screen-lg w-full">
+ <q className="text-2xl max-w-xs md:text-2xl xl:text-4xl md:max-w-(--breakpoint-lg)! w-full">
{quote.text}
</q>
<MaybeLink href={quote.link}>
diff --git a/apps/www/components/Sections/TimedAccordionPanels.tsx b/apps/www/components/Sections/TimedAccordionPanels.tsx
index 8095eeec024..c832fe62d9b 100644
--- a/apps/www/components/Sections/TimedAccordionPanels.tsx
+++ b/apps/www/components/Sections/TimedAccordionPanels.tsx
@@ -39,7 +39,7 @@ const TimedPanel = ({
onClick={() => isSm && onClick && onClick()}
className={cn(
'relative hover:text-foreground w-full h-[500px] text-left text-lg flex flex-col group transition-all',
- isActive ? 'text-foreground md:flex-[2]' : 'text-foreground-light md:flex-[1]'
+ isActive ? 'text-foreground md:flex-2' : 'text-foreground-light md:flex-1'
)}
aria-selected={isActive}
role="tab"
@@ -57,7 +57,7 @@ const TimedPanel = ({
<p
className={cn(
'pt-2 text-foreground-lighter text-sm max-w-[220px] md:opacity-0 transition-opacity lg:opacity-100',
- isActive && '!opacity-100'
+ isActive && 'opacity-100!'
)}
>
{paragraph}
@@ -71,7 +71,7 @@ const TimedPanel = ({
>
<div
className={cn(
- 'absolute z-20 w-full h-full inset-0 bg-gradient-to-r from-transparent to-background-surface-100 transition-opacity pointer-events-none',
+ 'absolute z-20 w-full h-full inset-0 bg-linear-to-r from-transparent to-background-surface-100 transition-opacity pointer-events-none',
isActive && 'opacity-0'
)}
/>
@@ -79,7 +79,7 @@ const TimedPanel = ({
</div>
</Panel>
{!isSm && isActive && (
- <div className="opacity-0 animate-fade-in absolute bottom-0 w-full h-[1px] bg-border-strong group-hover:opacity-100 rounded-full overflow-hidden">
+ <div className="opacity-0 animate-fade-in absolute bottom-0 w-full h-px bg-border-strong group-hover:opacity-100 rounded-full overflow-hidden">
<LazyMotion features={domAnimation}>
<m.div
className={cn(
diff --git a/apps/www/components/Sections/TimedAccordionSection.tsx b/apps/www/components/Sections/TimedAccordionSection.tsx
index 01e49d3910f..e21cb0968df 100644
--- a/apps/www/components/Sections/TimedAccordionSection.tsx
+++ b/apps/www/components/Sections/TimedAccordionSection.tsx
@@ -47,7 +47,7 @@ const Tab = ({ isActive, label, paragraph, onClick, progress, intervalDuration }
</p>
</div>
</div>
- <div className="relative w-full h-[1px] bg-border-strong opacity-80 group-hover:opacity-100 rounded-full overflow-hidden">
+ <div className="relative w-full h-px bg-border-strong opacity-80 group-hover:opacity-100 rounded-full overflow-hidden">
<LazyMotion features={domAnimation}>
{isActive && (
<m.div
diff --git a/apps/www/components/Sections/TimedTabsSection.tsx b/apps/www/components/Sections/TimedTabsSection.tsx
index 6f8d50f3da4..1fa15435dc6 100644
--- a/apps/www/components/Sections/TimedTabsSection.tsx
+++ b/apps/www/components/Sections/TimedTabsSection.tsx
@@ -23,7 +23,7 @@ const Tab = ({ isActive, label, paragraph, onClick, progress, intervalDuration }
<button
onClick={onClick}
className={`text-left text-lg flex flex-col group gap-1 transition-all ${
- isActive ? 'flex-[2] text-foreground' : 'flex-[1] text-foreground-light'
+ isActive ? 'flex-2 text-foreground' : 'flex-1 text-foreground-light'
}`}
aria-selected={isActive}
role="tab"
@@ -170,7 +170,7 @@ const TimedTabsSection = ({
</Swiper>
<OpenInColab
colabUrl={tabs[activeTab]?.colabUrl}
- className="flex md:hidden !relative !top-0 !right-0 mt-8 w-full justify-center"
+ className="flex md:hidden relative! top-0! right-0! mt-8 w-full justify-center"
/>
</div>
</div>
diff --git a/apps/www/components/Sections/TwitterSocialProofMobile.tsx b/apps/www/components/Sections/TwitterSocialProofMobile.tsx
index 72e128e1775..937ba9ab570 100644
--- a/apps/www/components/Sections/TwitterSocialProofMobile.tsx
+++ b/apps/www/components/Sections/TwitterSocialProofMobile.tsx
@@ -34,7 +34,7 @@ const TwitterSocialProofMobile: FC<Props> = ({ tweets, className }: any) => {
watchOverflow
threshold={2}
updateOnWindowResize
- className="h-[400px] !px-6 w-full overflow-visible"
+ className="h-[400px] px-6! w-full overflow-visible"
breakpoints={{
320: {
slidesPerView: 1.1,
diff --git a/apps/www/components/Sections/UseCasesSection.tsx b/apps/www/components/Sections/UseCasesSection.tsx
index 513160d406c..efd6264a98e 100644
--- a/apps/www/components/Sections/UseCasesSection.tsx
+++ b/apps/www/components/Sections/UseCasesSection.tsx
@@ -64,7 +64,7 @@ const UseCase = ({
return (
<m.div initial={initial} animate={isInView ? animate : initial} className="flex">
- <Panel outerClassName="w-full" innerClassName="p-4 md:p-8 h-full !bg-background">
+ <Panel outerClassName="w-full" innerClassName="p-4 md:p-8 h-full bg-background!">
<div className="h-full flex flex-col gap-4 items-start justify-between">
<div className="prose">
<div className="flex items-center gap-2">
diff --git a/apps/www/components/Solutions/AIBuildersLogos.tsx b/apps/www/components/Solutions/AIBuildersLogos.tsx
index f5a777b5b8b..edef40868c5 100644
--- a/apps/www/components/Solutions/AIBuildersLogos.tsx
+++ b/apps/www/components/Solutions/AIBuildersLogos.tsx
@@ -174,10 +174,10 @@ const Logo = ({
alt={logo.alt}
className="
w-auto block
- h-10 !min-h-10
- md:h-10 md:!min-h-10
- lg:h-7 lg:!min-h-7
- 2xl:h-10 2xl:!min-h-10
+ h-10 min-h-10!
+ md:h-10 md:min-h-10!
+ lg:h-7 lg:min-h-7!
+ 2xl:h-10 2xl:min-h-10!
"
draggable={false}
/>
diff --git a/apps/www/components/Solutions/CTAForm.tsx b/apps/www/components/Solutions/CTAForm.tsx
index 4c24c880d7e..c9d9299f8f7 100644
--- a/apps/www/components/Solutions/CTAForm.tsx
+++ b/apps/www/components/Solutions/CTAForm.tsx
@@ -15,7 +15,7 @@ const UseCases: FC<Props> = () => {
>
<div className="md:h-full w-full flex flex-col justify-between gap-4 lg:gap-8">
<div className="flex flex-col gap-2 md:max-w-md">
- <h1 className="h1 !m-0">
+ <h1 className="h1 m-0!">
Talk to our
<br className="hidden md:block" /> Partnerships team
</h1>
diff --git a/apps/www/components/Solutions/CtaSection.tsx b/apps/www/components/Solutions/CtaSection.tsx
index a773333ec60..9ea1715eac5 100644
--- a/apps/www/components/Solutions/CtaSection.tsx
+++ b/apps/www/components/Solutions/CtaSection.tsx
@@ -50,7 +50,7 @@ const CtaSection = ({ id, title, subtitle, primaryCta, secondaryCta, className }
</div>
</div>
- <div className="absolute inset-0 w-full h-full bg-gradient-to-r from-transparent via-transparent to-background opacity-80 z-0"></div>
+ <div className="absolute inset-0 w-full h-full bg-linear-to-r from-transparent via-transparent to-background opacity-80 z-0"></div>
</SectionContainer>
)
}
diff --git a/apps/www/components/Solutions/DeveloperExperienceSection.tsx b/apps/www/components/Solutions/DeveloperExperienceSection.tsx
index ae68be05e48..f31d6d25b76 100644
--- a/apps/www/components/Solutions/DeveloperExperienceSection.tsx
+++ b/apps/www/components/Solutions/DeveloperExperienceSection.tsx
@@ -43,12 +43,12 @@ const DeveloperExperienceSection = ({
grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-0
rounded-md border-default overflow-hidden
sm:divide-x divide-y border
- [&>div:nth-child(2n+1)]:sm:!border-l-0
- [&>div:nth-child(2)]:sm:!border-t-0
- [&>div:nth-child(3)]:lg:!border-t-0
- [&>div:nth-child(3n)]:lg:!border-l
- [&>div:nth-child(4n)]:lg:!border-l-0
- [&>div:nth-child(3n-1)]:lg:!border-l
+ [&>div:nth-child(2n+1)]:sm:border-l-0!
+ [&>div:nth-child(2)]:sm:border-t-0!
+ [&>div:nth-child(3)]:lg:border-t-0!
+ [&>div:nth-child(3n)]:lg:border-l!
+ [&>div:nth-child(4n)]:lg:border-l-0!
+ [&>div:nth-child(3n-1)]:lg:border-l!
"
>
{features.map((feature) => (
@@ -69,7 +69,7 @@ const FeatureCard = ({ feature }: { feature: Feature }) => {
'flex-1 flex flex-col',
'items-start justify-between',
'bg-default w-full h-full min-h-[330px] sm:min-h-[360px]',
- 'text-foreground-lighter [&_strong]:!font-normal [&_strong]:!text-foreground',
+ 'text-foreground-lighter [&_strong]:font-normal! [&_strong]:text-foreground!',
feature.className
)}
>
@@ -106,7 +106,7 @@ const FeatureCard = ({ feature }: { feature: Feature }) => {
<h3 className="">{feature.title}</h3>
</div>
<div className="flex-1 flex flex-col justify-between gap-2">
- <p className="text-sm [&_strong]:!text-foreground">{feature.subheading}</p>
+ <p className="text-sm [&_strong]:text-foreground!">{feature.subheading}</p>
{feature.highlights && (
<span className="hidden lg:block text-foreground">{feature.highlights}</span>
)}
diff --git a/apps/www/components/Solutions/FeatureGrid.tsx b/apps/www/components/Solutions/FeatureGrid.tsx
index 927113f6809..b50ff898f2c 100644
--- a/apps/www/components/Solutions/FeatureGrid.tsx
+++ b/apps/www/components/Solutions/FeatureGrid.tsx
@@ -24,12 +24,12 @@ const FeatureGrid = ({ id, features, className }: FeatureGridProps) => {
className="
grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3
sm:divide-x divide-y border border-default rounded-md overflow-hidden
- [&>div:nth-child(2n+1)]:sm:!border-l-0
- [&>div:nth-child(2)]:sm:!border-t-0
- [&>div:nth-child(3)]:lg:!border-t-0
- [&>div:nth-child(3n)]:lg:!border-l
- [&>div:nth-child(4n)]:lg:!border-l-0
- [&>div:nth-child(3n-1)]:lg:!border-l
+ [&>div:nth-child(2n+1)]:sm:border-l-0!
+ [&>div:nth-child(2)]:sm:border-t-0!
+ [&>div:nth-child(3)]:lg:border-t-0!
+ [&>div:nth-child(3n)]:lg:border-l!
+ [&>div:nth-child(4n)]:lg:border-l-0!
+ [&>div:nth-child(3n-1)]:lg:border-l!
"
>
{features.map((feature) => (
diff --git a/apps/www/components/Solutions/FeaturesGrid.tsx b/apps/www/components/Solutions/FeaturesGrid.tsx
index 315fefde3e6..3bad595d595 100644
--- a/apps/www/components/Solutions/FeaturesGrid.tsx
+++ b/apps/www/components/Solutions/FeaturesGrid.tsx
@@ -12,8 +12,8 @@ export default function FeaturesGrid(props: any) {
return (
<SectionContainer id={props.id} className="flex flex-col gap-4 xl:pt-20 scroll-mt-20">
<div className="flex flex-col gap-2 max-w-xl">
- <h2 className="h2 text-foreground-lighter !m-0">{props.heading}</h2>
- <p className="p !text-foreground-lighter max-w-md">{props.subheading}</p>
+ <h2 className="h2 text-foreground-lighter m-0!">{props.heading}</h2>
+ <p className="p text-foreground-lighter! max-w-md">{props.subheading}</p>
</div>
<div
className={cn(
diff --git a/apps/www/components/Solutions/PlatformSection.tsx b/apps/www/components/Solutions/PlatformSection.tsx
index 8fc49403fd8..0aa1e3d4537 100644
--- a/apps/www/components/Solutions/PlatformSection.tsx
+++ b/apps/www/components/Solutions/PlatformSection.tsx
@@ -51,7 +51,7 @@ const FeatureCard = ({ feature }: { feature: Feature }) => {
'flex-1 flex flex-col',
'items-start sm:items-center lg:items-start justify-between',
'bg-default w-full h-full min-h-[350px] sm:min-h-[400px]',
- 'text-foreground-lighter [&_strong]:!font-normal [&_strong]:!text-foreground',
+ 'text-foreground-lighter [&_strong]:font-normal! [&_strong]:text-foreground!',
feature.className
)}
>
@@ -95,7 +95,7 @@ const FeatureCard = ({ feature }: { feature: Feature }) => {
<h3 className="">{feature.title}</h3>
</div>
<div className="flex-1 flex flex-col justify-between gap-2">
- <p className="text-sm 2xl:text-base [&_strong]:!text-foreground">{feature.subheading}</p>
+ <p className="text-sm 2xl:text-base [&_strong]:text-foreground!">{feature.subheading}</p>
{feature.highlights && (
<span
className={cn('hidden lg:block text-foreground', feature.isDatabase && 'md:block')}
diff --git a/apps/www/components/Solutions/PostGrid.tsx b/apps/www/components/Solutions/PostGrid.tsx
index 480576e00f1..6510673852c 100644
--- a/apps/www/components/Solutions/PostGrid.tsx
+++ b/apps/www/components/Solutions/PostGrid.tsx
@@ -32,7 +32,7 @@ function PostGrid({ id, className, header, subheader, posts }: PostGridProps) {
key={post.slug}
>
{post.imgThumb && (
- <div className="w-full aspect-video relative rounded-t-md dark:[mask-image:linear-gradient(to_bottom,_#000_0%,_#000_60%,_transparent_100%)]">
+ <div className="w-full aspect-video relative rounded-t-md dark:mask-[linear-gradient(to_bottom,#000_0%,#000_60%,transparent_100%)]">
<Image
src={
post.imgThumb.startsWith('/') || post.imgThumb.startsWith('http')
@@ -47,8 +47,8 @@ function PostGrid({ id, className, header, subheader, posts }: PostGridProps) {
)}
<div className="p-3 mt-auto flex flex-col gap-1">
- <h3 className="p !mb-0 !text-foreground line-clamp-1">{post.title}</h3>
- <p className="text-sm !mb-0 !text-foreground-light inline-flex items-center gap-2">
+ <h3 className="p mb-0! text-foreground! line-clamp-1">{post.title}</h3>
+ <p className="text-sm mb-0! text-foreground-light! inline-flex items-center gap-2">
<span>{post.readingTime}</span>
</p>
</div>
diff --git a/apps/www/components/Solutions/Quotes.tsx b/apps/www/components/Solutions/Quotes.tsx
index 6da94af373f..a3cba396257 100644
--- a/apps/www/components/Solutions/Quotes.tsx
+++ b/apps/www/components/Solutions/Quotes.tsx
@@ -11,7 +11,7 @@ import { Swiper, SwiperSlide } from 'swiper/react'
const Quotes: FC<Quotes> = (props) => (
<section id={props.id}>
<div className="overflow-hidden">
- <SectionContainer className="!py-4">
+ <SectionContainer className="py-4!">
<ul className="hidden xl:flex flex-col gap-4 md:flex-row items-stretch w-full h-auto min-h-64">
{props.items?.map((quote: Quote) => (
<li key={quote.author} className="w-full">
@@ -29,7 +29,7 @@ const Quotes: FC<Quotes> = (props) => (
watchOverflow
threshold={2}
updateOnWindowResize
- className="h-[300px] w-full !overflow-visible"
+ className="h-[300px] w-full overflow-visible!"
breakpoints={{
320: {
slidesPerView: 1.2,
diff --git a/apps/www/components/Solutions/ResultsSection.tsx b/apps/www/components/Solutions/ResultsSection.tsx
index 5fc454b9e20..417f38ec9cb 100644
--- a/apps/www/components/Solutions/ResultsSection.tsx
+++ b/apps/www/components/Solutions/ResultsSection.tsx
@@ -20,8 +20,8 @@ const ResultsSection: FC<ResultsSectionProps> = (props) => {
<div className="relative z-10 flex flex-col gap-4 md:gap-8 pb-20">
<div className="flex flex-col gap-2 max-w-xl">
{/* <span className="label">{props.label}</span> */}
- <h2 className="h2 !m-0">{props.heading}</h2>
- <p className="p !text-foreground-lighter">{props.subheading}</p>
+ <h2 className="h2 m-0!">{props.heading}</h2>
+ <p className="p text-foreground-lighter!">{props.subheading}</p>
</div>
<div className="flex flex-wrap gap-4 md:gap-12">
{props.highlights.map((highlight) => (
diff --git a/apps/www/components/Solutions/Videos.tsx b/apps/www/components/Solutions/Videos.tsx
index bacb1991678..dec3fed5043 100644
--- a/apps/www/components/Solutions/Videos.tsx
+++ b/apps/www/components/Solutions/Videos.tsx
@@ -14,11 +14,11 @@ const EnterpriseSecurity: FC<Testimonials> = (props) => {
return (
<SectionContainer id={props.id} className="flex flex-col gap-4 xl:pt-20">
<div className="flex flex-col gap-2 max-w-xl">
- <h2 className="h2 text-foreground-lighter !m-0">{props.heading}</h2>
+ <h2 className="h2 text-foreground-lighter m-0!">{props.heading}</h2>
</div>
<ul className="grid grid-cols-1 sm:grid-cols-2 gap-4 h-fit mt-4">
<Panel innerClassName="p-2">
- <div className="video-container !rounded-md">
+ <div className="video-container rounded-md!">
<iframe
className="w-full"
src="https://www.youtube-nocookie.com/embed/9GQtXXERnqU"
@@ -29,7 +29,7 @@ const EnterpriseSecurity: FC<Testimonials> = (props) => {
</div>
</Panel>
<Panel innerClassName="p-2">
- <div className="video-container !rounded-md">
+ <div className="video-container rounded-md!">
<iframe
className="w-full"
src="https://www.youtube-nocookie.com/embed/LfAV5fmRybg"
diff --git a/apps/www/components/SolutionsStickyNav.tsx b/apps/www/components/SolutionsStickyNav.tsx
index f99bd5c1c12..f89a74b4873 100644
--- a/apps/www/components/SolutionsStickyNav.tsx
+++ b/apps/www/components/SolutionsStickyNav.tsx
@@ -50,12 +50,12 @@ function SolutionsStickyNav({ type, activeItem, className }: Props) {
<div className="absolute inset-0 z-30 h-full w-full pointer-events-none">
<nav
className={cn(
- 'sticky z-30 flex items-center bg-background/90 w-full border-b backdrop-blur-sm pointer-events-auto top-[65px]',
+ 'sticky z-30 flex items-center bg-background/90 w-full border-b backdrop-blur-xs pointer-events-auto top-[65px]',
className
)}
>
{/* mobile */}
- <SectionContainer className="!p-2 flex items-start md:hidden">
+ <SectionContainer className="p-2! flex items-start md:hidden">
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button
@@ -80,7 +80,7 @@ function SolutionsStickyNav({ type, activeItem, className }: Props) {
</DropdownMenu>
</SectionContainer>
{/* desktop */}
- <SectionContainer className="!py-0 hidden md:flex gap-3 items-center">
+ <SectionContainer className="py-0! hidden md:flex gap-3 items-center">
{items.map((item: any) => {
const isActive = item.id === activeItem
diff --git a/apps/www/components/Supasquad/ApplicationFormSection.tsx b/apps/www/components/Supasquad/ApplicationFormSection.tsx
index c8103d6b9ad..c3e1d104602 100644
--- a/apps/www/components/Supasquad/ApplicationFormSection.tsx
+++ b/apps/www/components/Supasquad/ApplicationFormSection.tsx
@@ -32,7 +32,7 @@ const ApplicationFormSection = ({ id, title, subtitle, cta, className }: Props)
</div>
</div>
- <div className="absolute inset-0 w-full h-full bg-gradient-to-r from-transparent via-transparent to-background opacity-80 z-0"></div>
+ <div className="absolute inset-0 w-full h-full bg-linear-to-r from-transparent via-transparent to-background opacity-80 z-0"></div>
</SectionContainer>
)
}
diff --git a/apps/www/components/Supasquad/CountrySelector.tsx b/apps/www/components/Supasquad/CountrySelector.tsx
index 47f0221f14e..8420f1ddd24 100644
--- a/apps/www/components/Supasquad/CountrySelector.tsx
+++ b/apps/www/components/Supasquad/CountrySelector.tsx
@@ -170,7 +170,7 @@ export function CountrySelector({
}: CountrySelectorProps) {
return (
<Select value={value} onValueChange={onValueChange}>
- <SelectTrigger className="w-full !bg-foreground/[.026]">
+ <SelectTrigger className="w-full bg-foreground/[.026]!">
<SelectValue placeholder={placeholder}>
{value && (
<span className="flex items-center gap-2">
diff --git a/apps/www/components/Supasquad/CtaSection.tsx b/apps/www/components/Supasquad/CtaSection.tsx
index a773333ec60..9ea1715eac5 100644
--- a/apps/www/components/Supasquad/CtaSection.tsx
+++ b/apps/www/components/Supasquad/CtaSection.tsx
@@ -50,7 +50,7 @@ const CtaSection = ({ id, title, subtitle, primaryCta, secondaryCta, className }
</div>
</div>
- <div className="absolute inset-0 w-full h-full bg-gradient-to-r from-transparent via-transparent to-background opacity-80 z-0"></div>
+ <div className="absolute inset-0 w-full h-full bg-linear-to-r from-transparent via-transparent to-background opacity-80 z-0"></div>
</SectionContainer>
)
}
diff --git a/apps/www/components/Supasquad/PerfectTiming.tsx b/apps/www/components/Supasquad/PerfectTiming.tsx
index f0c591ac576..18606e081ea 100644
--- a/apps/www/components/Supasquad/PerfectTiming.tsx
+++ b/apps/www/components/Supasquad/PerfectTiming.tsx
@@ -20,8 +20,8 @@ const PerfectTiming = (props: PerfectTimingProps) => {
<div className="relative z-10 flex flex-col gap-4 md:gap-8 pb-20">
<div className="flex flex-col gap-2 max-w-xl">
{/* <span className="label">{props.label}</span> */}
- <h2 className="h2 !m-0">{props.heading}</h2>
- <p className="p !text-foreground-lighter">{props.subheading}</p>
+ <h2 className="h2 m-0!">{props.heading}</h2>
+ <p className="p text-foreground-lighter!">{props.subheading}</p>
</div>
<div className="flex flex-wrap gap-4 md:gap-12">
{props.highlights.map((highlight) => (
diff --git a/apps/www/components/Supasquad/Quotes.tsx b/apps/www/components/Supasquad/Quotes.tsx
index 6da94af373f..a3cba396257 100644
--- a/apps/www/components/Supasquad/Quotes.tsx
+++ b/apps/www/components/Supasquad/Quotes.tsx
@@ -11,7 +11,7 @@ import { Swiper, SwiperSlide } from 'swiper/react'
const Quotes: FC<Quotes> = (props) => (
<section id={props.id}>
<div className="overflow-hidden">
- <SectionContainer className="!py-4">
+ <SectionContainer className="py-4!">
<ul className="hidden xl:flex flex-col gap-4 md:flex-row items-stretch w-full h-auto min-h-64">
{props.items?.map((quote: Quote) => (
<li key={quote.author} className="w-full">
@@ -29,7 +29,7 @@ const Quotes: FC<Quotes> = (props) => (
watchOverflow
threshold={2}
updateOnWindowResize
- className="h-[300px] w-full !overflow-visible"
+ className="h-[300px] w-full overflow-visible!"
breakpoints={{
320: {
slidesPerView: 1.2,
diff --git a/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx b/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
index 1d9afa80deb..305f99c9cb4 100644
--- a/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
+++ b/apps/www/components/SurveyResults/StateOfStartupsHeader.tsx
@@ -90,7 +90,7 @@ export function StateOfStartupsHeader({ showProgressBars = true }: StateOfStartu
return (
<header className="mt-16 md:mt-32">
- <div className="max-w-[60rem] ml-8 md:mx-auto">
+ <div className="max-w-240 ml-8 md:mx-auto">
<div className="flex flex-col gap-0.5 md:gap-1">
<h1 className="sr-only">State of Startups 2025</h1>
<TextBlock
diff --git a/apps/www/components/SurveyResults/SurveyChapter.tsx b/apps/www/components/SurveyResults/SurveyChapter.tsx
index dfee4367502..73c1f98206a 100644
--- a/apps/www/components/SurveyResults/SurveyChapter.tsx
+++ b/apps/www/components/SurveyResults/SurveyChapter.tsx
@@ -40,7 +40,7 @@ export function SurveyChapter({
align={number % 2 === 0 ? 'start' : 'end'}
/>
{/* Text content */}
- <div className="max-w-[60rem] mx-auto grid gap-y-4 sm:gap-y-8 grid-cols-1 md:grid-cols-3 text-balance pb-12">
+ <div className="max-w-240 mx-auto grid gap-y-4 sm:gap-y-8 grid-cols-1 md:grid-cols-3 text-balance pb-12">
<div className="md:col-span-2 flex flex-col gap-4 px-8">
<p className="text-sm text-brand-link uppercase font-mono text-balance tracking-wider">
{shortTitle}
diff --git a/apps/www/components/SurveyResults/SurveyChapterSection.tsx b/apps/www/components/SurveyResults/SurveyChapterSection.tsx
index f834a8323d6..975ae9551fb 100644
--- a/apps/www/components/SurveyResults/SurveyChapterSection.tsx
+++ b/apps/www/components/SurveyResults/SurveyChapterSection.tsx
@@ -65,7 +65,7 @@ export function SurveyChapterSection({
return (
<div id={title.toLowerCase().replace(/\s+/g, '-')} className="">
- <div className="max-w-[60rem] mx-auto flex flex-col md:border-x border-muted">
+ <div className="max-w-240 mx-auto flex flex-col md:border-x border-muted">
<header className="grid grid-cols-1 md:grid-cols-3 text-balance">
<h3 className="pt-8 pb-4 px-8 md:border-r border-muted text-brand-link dark:text-brand font-mono uppercase tracking-wider text-sm">
{title}
diff --git a/apps/www/components/SurveyResults/SurveyChart.tsx b/apps/www/components/SurveyResults/SurveyChart.tsx
index 070a269f98b..5089446bcee 100644
--- a/apps/www/components/SurveyResults/SurveyChart.tsx
+++ b/apps/www/components/SurveyResults/SurveyChart.tsx
@@ -472,12 +472,12 @@ export function SurveyChart({
!dataLoading &&
!dataError &&
chartData.length > 3 && (
- <div className="absolute bottom-0 left-0 right-0 flex items-center justify-center py-4 bg-gradient-to-b from-transparent to-background">
+ <div className="absolute bottom-0 left-0 right-0 flex items-center justify-center py-4 bg-linear-to-b from-transparent to-background">
<Button
type="default"
size="tiny"
onClick={() => setIsExpanded(true)}
- className="shadow-sm"
+ className="shadow-xs"
>
Show more
</Button>
diff --git a/apps/www/components/SurveyResults/SurveyPullQuote.tsx b/apps/www/components/SurveyResults/SurveyPullQuote.tsx
index de3bea6c1b6..ddb9b10638e 100644
--- a/apps/www/components/SurveyResults/SurveyPullQuote.tsx
+++ b/apps/www/components/SurveyResults/SurveyPullQuote.tsx
@@ -24,7 +24,7 @@ export function SurveyPullQuote({
maskPosition: 'top left',
}}
/>
- <div className="relative max-w-[60rem] mx-auto md:border-x border-muted flex flex-col gap-4 text-center items-center px-6 py-24 bg-alternative">
+ <div className="relative max-w-240 mx-auto md:border-x border-muted flex flex-col gap-4 text-center items-center px-6 py-24 bg-alternative">
<p className="text-foreground-lighter text-2xl tracking-tight text-balance max-w-prose">
“{quote}”
</p>
diff --git a/apps/www/components/SurveyResults/SurveySectionBreak.tsx b/apps/www/components/SurveyResults/SurveySectionBreak.tsx
index 12612a9f0d8..80c4d2fb48a 100644
--- a/apps/www/components/SurveyResults/SurveySectionBreak.tsx
+++ b/apps/www/components/SurveyResults/SurveySectionBreak.tsx
@@ -3,7 +3,7 @@ import { cn } from 'ui'
export function SurveySectionBreak({ className }: { className?: string }) {
return (
<div aria-hidden="true" className={cn('border-y border-muted', className)}>
- <div className="max-w-[60rem] mx-auto md:border-x border-muted">
+ <div className="max-w-240 mx-auto md:border-x border-muted">
<div
className="h-14 md:h-18 lg:h-20 xl:h-24 bg-surface-400 dark:bg-surface-75"
style={{
diff --git a/apps/www/components/Tabs/Tabs.tsx b/apps/www/components/Tabs/Tabs.tsx
index 4811f9fca94..18c4fe77ca4 100644
--- a/apps/www/components/Tabs/Tabs.tsx
+++ b/apps/www/components/Tabs/Tabs.tsx
@@ -42,7 +42,7 @@ function Tabs({ children, className, defaultActiveId, listClassNames }: TabsProp
<Tabs_Shadcn_
value={currentActiveTab}
onValueChange={setActiveTab}
- className="w-full flex flex-col gap-4 [&_.ch-codeblock]:!mt-0"
+ className="w-full flex flex-col gap-4 [&_.ch-codeblock]:mt-0!"
>
<TabsList_Shadcn_ className={cn('shiki-wrapper flex', listClassNames)}>
{validTabPanels.map((panel) => (
diff --git a/apps/www/components/TabsWithHighlights.tsx b/apps/www/components/TabsWithHighlights.tsx
index 8da54933b52..106b6e84d25 100644
--- a/apps/www/components/TabsWithHighlights.tsx
+++ b/apps/www/components/TabsWithHighlights.tsx
@@ -32,7 +32,7 @@ const TabsWithHighlights = (props: Props) => {
return (
<div className="relative flex flex-col gap-8 lg:gap-12 items-center">
{/* Threshold element used to load video 500px before reaching the video component */}
- <div ref={sectionRef} className="absolute -top-[500px] not-sr-only" />
+ <div ref={sectionRef} className="absolute top-[-500px] not-sr-only" />
<div className="relative w-full col-span-full flex justify-center gap-2" role="tablist">
{props.tabs.map((tab, index) => (
<Tab
@@ -103,7 +103,7 @@ const Tab = ({ label, isActive, onClick }: TabProps) => (
className={cn(
'py-1.5 px-3 lg:py-2 lg:px-8 border rounded-full bg-alternative hover:border-foreground text-sm opacity-80 transition-all',
'hover:border-foreground-lighter hover:text-foreground',
- isActive ? 'opacity-100 !border-foreground' : ''
+ isActive ? 'opacity-100 border-foreground!' : ''
)}
>
{label}
diff --git a/apps/www/components/TwitterSocialSection.tsx b/apps/www/components/TwitterSocialSection.tsx
index 43b3b8d48d4..8bc7ef44d8f 100644
--- a/apps/www/components/TwitterSocialSection.tsx
+++ b/apps/www/components/TwitterSocialSection.tsx
@@ -11,12 +11,12 @@ export interface TwitterSocialSectionProps {
const TwitterSocialSection = (props: TwitterSocialSectionProps) => (
<>
- <SectionContainer className="w-full text-center flex flex-col items-center !pb-0">
+ <SectionContainer className="w-full text-center flex flex-col items-center pb-0!">
<h3 className="h2">{props.heading}</h3>
<p className="p max-w-[300px] md:max-w-none">{props.subheading}</p>
{props.ctas && <div className="my-4 flex justify-center gap-2">{props.ctas}</div>}
</SectionContainer>
- <SectionContainer className="relative w-full !px-0 lg:!px-16 xl:!px-0 !pb-0 mb-16 md:mb-12 lg:mb-12 !pt-6 max-w-[1400px]">
+ <SectionContainer className="relative w-full px-0! lg:px-16! xl:px-0! pb-0! mb-16 md:mb-12 lg:mb-12 pt-6! max-w-[1400px]">
<TwitterSocialProofMobile className="lg:hidden -mb-32" tweets={props.tweets} />
<TwitterSocialProof className="hidden lg:flex" />
</SectionContainer>
diff --git a/apps/www/components/UsersGrowthChart.tsx b/apps/www/components/UsersGrowthChart.tsx
index e6c0436ecd3..393a9b9e460 100644
--- a/apps/www/components/UsersGrowthChart.tsx
+++ b/apps/www/components/UsersGrowthChart.tsx
@@ -41,7 +41,7 @@ const UsersGrowthChart: FC = () => {
</linearGradient>
</defs>
</svg>
- <div className="absolute inset-0 w-full h-full bg-[radial-gradient(50%_50%_at_50%_50%,_transparent_0%,_hsl(var(--background-default))_100%)]" />
+ <div className="absolute inset-0 w-full h-full bg-[radial-gradient(50%_50%_at_50%_50%,transparent_0%,hsl(var(--background-default))_100%)]" />
</div>
)
}
@@ -87,7 +87,7 @@ const GraphLabel: FC<{ className?: string }> = ({ className }) => {
{...motionProps}
>
<div className="w-fit text-foreground bg-alternative p-4 rounded-lg border flex flex-col gap-1">
- <span className="label !text-[10px] !leading-3">
+ <span className="label text-[10px]! leading-3!">
{companyStats.developersRegistered.label}
</span>
<div className="flex items-center gap-2">
@@ -121,7 +121,7 @@ const GraphLabel: FC<{ className?: string }> = ({ className }) => {
className={cn(
'relative w-2 h-2 min-w-2 min-h-2 rounded-full border-2 border-stronger',
'after:absolute after:inset-0 after:top-full after:mx-auto after:w-[2px] after:h-[150px] after:lg:h-[250px]',
- 'after:bg-gradient-to-b after:from-border-stronger after:to-transparent'
+ 'after:bg-linear-to-b after:from-border-stronger after:to-transparent'
)}
/>
</Component>
diff --git a/apps/www/components/Wrapped/AnimatedGridBackground.tsx b/apps/www/components/Wrapped/AnimatedGridBackground.tsx
index 7eb77125406..c6455ca32c8 100644
--- a/apps/www/components/Wrapped/AnimatedGridBackground.tsx
+++ b/apps/www/components/Wrapped/AnimatedGridBackground.tsx
@@ -170,7 +170,7 @@ export function AnimatedGridBackground({
return (
<div
ref={containerRef}
- className={`absolute inset-0 grid h-full [&>*]:border-muted [&>*]:border-r [&>*]:border-b overflow-hidden`}
+ className={`absolute inset-0 grid h-full *:border-muted *:border-r *:border-b overflow-hidden`}
style={{
gridTemplateColumns: `repeat(${cols}, 1fr)`,
gridTemplateRows: `repeat(${actualRows}, 1fr)`,
@@ -192,7 +192,7 @@ export function AnimatedGridBackground({
return (
<div
key={cellIndex}
- className={`relative ${isLastCol ? '!border-r-0' : ''} ${isLastRow ? '!border-b-0' : ''}`}
+ className={`relative ${isLastCol ? 'border-r-0!' : ''} ${isLastRow ? 'border-b-0!' : ''}`}
>
{tile && (
<motion.div
diff --git a/apps/www/components/Wrapped/Pages/CustomerStories.tsx b/apps/www/components/Wrapped/Pages/CustomerStories.tsx
index fe83107c6d7..3c088228529 100644
--- a/apps/www/components/Wrapped/Pages/CustomerStories.tsx
+++ b/apps/www/components/Wrapped/Pages/CustomerStories.tsx
@@ -77,7 +77,7 @@ export const CustomerStories = () => {
return (
<>
- <section className="relative max-w-[60rem] h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
+ <section className="relative max-w-240 h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
{/* Grid background */}
<AnimatedGridBackground
cols={5}
@@ -100,12 +100,12 @@ export const CustomerStories = () => {
</section>
{/* NOTE (Alan): extra padding here to optically align subheading with header */}
- <div className="relative max-w-[60rem] mx-auto border-x border-b px-6 lg:px-10 py-12 w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b px-6 lg:px-10 py-12 w-[95%] md:w-full">
<h3 className="text-lg">Customers count on Supabase.</h3>
</div>
{/* Testimonials grid */}
- <div className="relative max-w-[60rem] mx-auto border-x border-b w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b w-[95%] md:w-full">
<div className="grid grid-cols-1 lg:grid-cols-2">
{(() => {
const remainder = testimonials.length % cols
@@ -119,7 +119,7 @@ export const CustomerStories = () => {
key={testimonial.company}
href={testimonial.url}
className={cn(
- 'group px-6 py-8 lg:border-r border-muted lg:[&:nth-child(2n)]:border-r-0 hover:bg-surface-75 transition-colors',
+ 'group px-6 py-8 lg:border-r border-muted lg:nth-[2n]:border-r-0 hover:bg-surface-75 transition-colors',
index < totalItems - 2 ? 'border-b' : 'lg:border-b-0',
index < totalItems - 1 ? 'border-b' : 'border-b-0'
)}
diff --git a/apps/www/components/Wrapped/Pages/Devs.tsx b/apps/www/components/Wrapped/Pages/Devs.tsx
index f10b6810e29..fdb906a1774 100644
--- a/apps/www/components/Wrapped/Pages/Devs.tsx
+++ b/apps/www/components/Wrapped/Pages/Devs.tsx
@@ -90,7 +90,7 @@ const gridStats: GridStat[] = [
export const Devs = () => {
return (
<>
- <section className="relative max-w-[60rem] h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
+ <section className="relative max-w-240 h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
{/* Grid background */}
<AnimatedGridBackground
cols={5}
@@ -116,7 +116,7 @@ export const Devs = () => {
</div>
</section>
- <div className="relative max-w-[60rem] mx-auto border-x border-b px-4 lg:px-8 py-12 w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b px-4 lg:px-8 py-12 w-[95%] md:w-full">
<p className="text-lg text-foreground-light max-w-2xl">
In 2025, developers around the world shipped faster, scaled further, and built things we
never imagined. Here is what you accomplished on Supabase.
@@ -127,7 +127,7 @@ export const Devs = () => {
{heroStats.map((stat) => (
<div
key={stat.headline}
- className="relative max-w-[60rem] mx-auto border-x border-b p-8 bg-surface-75 w-[95%] md:w-full"
+ className="relative max-w-240 mx-auto border-x border-b p-8 bg-surface-75 w-[95%] md:w-full"
>
<div className="flex flex-col gap-2">
<p className="text-4xl md:text-5xl font-mono font-medium text-brand tracking-tighter">
@@ -143,7 +143,7 @@ export const Devs = () => {
))}
{/* Stats grid */}
- <div className="relative max-w-[60rem] mx-auto border-x w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x w-[95%] md:w-full">
<div className="grid grid-cols-2 lg:grid-cols-4">
{(() => {
const cols = 4
@@ -155,7 +155,7 @@ export const Devs = () => {
{gridStats.map((stat) => (
<div
key={stat.headline}
- className="p-8 border-r border-b border-muted [&:nth-child(2n)]:border-r-0 lg:[&:nth-child(2n)]:border-r [&:nth-child(4n)]:border-r-0"
+ className="p-8 border-r border-b border-muted nth-[2n]:border-r-0 lg:nth-[2n]:border-r nth-[4n]:border-r-0"
>
<div className="flex flex-col gap-2">
<div className="flex flex-col">
diff --git a/apps/www/components/Wrapped/Pages/Home.tsx b/apps/www/components/Wrapped/Pages/Home.tsx
index 1917f6287d7..5ab44d3fcc8 100644
--- a/apps/www/components/Wrapped/Pages/Home.tsx
+++ b/apps/www/components/Wrapped/Pages/Home.tsx
@@ -175,7 +175,7 @@ function FloatingStatBubbles() {
<motion.div
key={bubble.id}
className={cn(
- 'absolute pointer-events-none px-3 py-2 bg-surface-100 border rounded-lg shadow-sm'
+ 'absolute pointer-events-none px-3 py-2 bg-surface-100 border rounded-lg shadow-xs'
)}
style={{
top: `${bubble.top}%`,
@@ -205,7 +205,7 @@ function FloatingStatBubbles() {
export function Home() {
return (
- <div className="h-[calc(100dvh-64px)] flex flex-col max-w-[60rem] mx-auto w-[95%] md:w-full">
+ <div className="h-[calc(100dvh-64px)] flex flex-col max-w-240 mx-auto w-[95%] md:w-full">
<section className="relative border-x border-b h-full">
{/* Grid background */}
<AnimatedGridBackground
diff --git a/apps/www/components/Wrapped/Pages/Intro.tsx b/apps/www/components/Wrapped/Pages/Intro.tsx
index 9b4072a373e..cf28e509f4e 100644
--- a/apps/www/components/Wrapped/Pages/Intro.tsx
+++ b/apps/www/components/Wrapped/Pages/Intro.tsx
@@ -179,7 +179,7 @@ export const Intro = () => {
return (
<Scrollytelling.Root>
<Scrollytelling.Pin childHeight={'100vh'} pinSpacerHeight={`${titles.length * 60}vh`} top={0}>
- <section className="h-screen border-x border-b max-w-[60rem] mx-auto w-[95%] md:w-full">
+ <section className="h-screen border-x border-b max-w-240 mx-auto w-[95%] md:w-full">
<div className="h-full grid place-items-center px-4 relative overflow-hidden">
{/* Floating boxes */}
<FloatingBoxes />
diff --git a/apps/www/components/Wrapped/Pages/ProductAnnouncements.tsx b/apps/www/components/Wrapped/Pages/ProductAnnouncements.tsx
index 61a30b49cb3..1f265ade5d7 100644
--- a/apps/www/components/Wrapped/Pages/ProductAnnouncements.tsx
+++ b/apps/www/components/Wrapped/Pages/ProductAnnouncements.tsx
@@ -340,7 +340,7 @@ const months: Month[] = [
function MonthSection({ month }: { month: Month }) {
return (
<div>
- <div className="px-6 lg:px-8 py-2.5 md:py-4 flex flex-wrap items-center gap-1 [&>*]:whitespace-nowrap [&>*]:mr-2">
+ <div className="px-6 lg:px-8 py-2.5 md:py-4 flex flex-wrap items-center gap-1 *:whitespace-nowrap *:mr-2">
<span className="text-base font-medium">{month.name}</span>
{month.isLaunchWeek && (
<span className="text-xs bg-brand/10 text-brand-link dark:text-brand px-2 py-0.5 rounded-full">
@@ -376,7 +376,7 @@ function MonthSection({ month }: { month: Month }) {
export const ProductAnnouncements = () => {
return (
<>
- <section className="relative max-w-[60rem] h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
+ <section className="relative max-w-240 h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
{/* Grid background */}
<AnimatedGridBackground
cols={5}
@@ -398,12 +398,12 @@ export const ProductAnnouncements = () => {
</div>
</section>
- <div className="relative max-w-[60rem] mx-auto border-x border-b px-4 lg:px-8 py-12 w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b px-4 lg:px-8 py-12 w-[95%] md:w-full">
<h3 className="text-lg">Product Announcements — Everything we shipped in 2025.</h3>
</div>
{/* Months accordion - 2 columns, top-to-bottom flow */}
- <div className="relative max-w-[60rem] mx-auto border-x border-b w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b w-[95%] md:w-full">
<div className="grid grid-cols-1 lg:grid-cols-2">
{/* Smaller breakpoint: chronological order for one column */}
{months.map((month, index) => (
@@ -433,7 +433,7 @@ export const ProductAnnouncements = () => {
key={`desktop-${month.name}`}
className={cn(
'hidden lg:block border-b border-muted lg:border-r',
- 'lg:[&:nth-child(2n)]:border-r-0',
+ 'lg:nth-[2n]:border-r-0',
Math.floor(index / 2) === lastRow && 'lg:border-b-0',
index === reordered.length - 1 && 'border-b-0'
)}
diff --git a/apps/www/components/Wrapped/Pages/SupabaseSelect.tsx b/apps/www/components/Wrapped/Pages/SupabaseSelect.tsx
index 7cb30d50547..749237160db 100644
--- a/apps/www/components/Wrapped/Pages/SupabaseSelect.tsx
+++ b/apps/www/components/Wrapped/Pages/SupabaseSelect.tsx
@@ -69,7 +69,7 @@ function RotatingImage({
export const SupabaseSelect = () => {
return (
<>
- <section className="relative max-w-[60rem] h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
+ <section className="relative max-w-240 h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
{/* Grid background */}
<AnimatedGridBackground
cols={5}
@@ -91,14 +91,14 @@ export const SupabaseSelect = () => {
</div>
</section>
- <div className="relative max-w-[60rem] mx-auto border-x border-b px-4 lg:px-8 py-12 w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b px-4 lg:px-8 py-12 w-[95%] md:w-full">
<h3 className="text-lg">
Our first user conference was a blast — Thank you for being part of it.
</h3>
</div>
{/* Grid separator top */}
- <div className="relative max-w-[60rem] h-[100px] mx-auto border-x border-b w-[95%] md:w-full">
+ <div className="relative max-w-240 h-[100px] mx-auto border-x border-b w-[95%] md:w-full">
<AnimatedGridBackground
cols={5}
rows={1}
@@ -202,10 +202,7 @@ function GalleryGrid() {
}, [isInView, rotateSlot])
return (
- <div
- ref={ref}
- className="relative max-w-[60rem] mx-auto border-x border-b p-3 w-[95%] md:w-full"
- >
+ <div ref={ref} className="relative max-w-240 mx-auto border-x border-b p-3 w-[95%] md:w-full">
<div className="grid grid-cols-1 lg:grid-cols-5 gap-2 auto-rows-[200px]">
{gallerySlots.map((slot, index) => (
<RotatingImage
diff --git a/apps/www/components/Wrapped/Pages/YearOfAI.tsx b/apps/www/components/Wrapped/Pages/YearOfAI.tsx
index a31c55f87ed..e61f359fe1d 100644
--- a/apps/www/components/Wrapped/Pages/YearOfAI.tsx
+++ b/apps/www/components/Wrapped/Pages/YearOfAI.tsx
@@ -19,7 +19,7 @@ const platformRankings = [
export const YearOfAI = () => {
return (
<>
- <section className="relative max-w-[60rem] h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
+ <section className="relative max-w-240 h-[240px] md:h-[360px] mx-auto border-x border-b w-[95%] md:w-full">
{/* Grid background */}
<AnimatedGridBackground
cols={5}
@@ -42,7 +42,7 @@ export const YearOfAI = () => {
</div>
</section>
- <div className="relative max-w-[60rem] mx-auto border-x border-b px-4 lg:px-8 py-12 grid md:grid-cols-2 gap-8 items-start w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b px-4 lg:px-8 py-12 grid md:grid-cols-2 gap-8 items-start w-[95%] md:w-full">
<h3 className="text-lg">
Developers are not just writing code. They're talking to their databases.
</h3>
@@ -53,7 +53,7 @@ export const YearOfAI = () => {
</p>
</div>
- <div className="relative max-w-[60rem] mx-auto border-x border-b w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b w-[95%] md:w-full">
<div className="px-4 lg:px-8 py-4">
<h3 className="text-base text-foreground-light">Top MCP Tools by Usage</h3>
</div>
@@ -62,7 +62,7 @@ export const YearOfAI = () => {
{toolRankings.map((item, index) => (
<div
key={item.tool}
- className="border-r border-muted last:border-r-0 [&:nth-child(2n)]:border-r-0 lg:[&:nth-child(2n)]:border-r lg:[&:nth-child(4n)]:border-r-0 [&:nth-child(-n+2)]:border-b lg:[&:nth-child(-n+2)]:border-b-0"
+ className="border-r border-muted last:border-r-0 nth-[2n]:border-r-0 lg:nth-[2n]:border-r lg:nth-[4n]:border-r-0 nth-[-n+2]:border-b lg:nth-[-n+2]:border-b-0"
>
<SurveyStatCard label={item.tool} percent={item.share} />
</div>
@@ -70,7 +70,7 @@ export const YearOfAI = () => {
</div>
</div>
- <div className="relative max-w-[60rem] mx-auto border-x border-b px-4 lg:px-8 py-12 grid md:grid-cols-2 gap-8 w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b px-4 lg:px-8 py-12 grid md:grid-cols-2 gap-8 w-[95%] md:w-full">
<h3 className="text-lg">The tools developers use have changed, dramatically.</h3>
<p className="text-base text-foreground-lighter">
@@ -79,7 +79,7 @@ export const YearOfAI = () => {
</p>
</div>
- <div className="relative max-w-[60rem] mx-auto border-x border-b w-[95%] md:w-full">
+ <div className="relative max-w-240 mx-auto border-x border-b w-[95%] md:w-full">
<div className="px-4 lg:px-8 py-4">
<h3 className="text-base text-foreground-light">Top Platforms by Users</h3>
</div>
@@ -87,7 +87,7 @@ export const YearOfAI = () => {
{platformRankings.map((item, index) => (
<div
key={item.client}
- className="border-r border-muted last:border-r-0 [&:nth-child(2n)]:border-r-0 lg:[&:nth-child(2n)]:border-r lg:[&:nth-child(4n)]:border-r-0 [&:nth-child(-n+2)]:border-b lg:[&:nth-child(-n+2)]:border-b-0"
+ className="border-r border-muted last:border-r-0 nth-[2n]:border-r-0 lg:nth-[2n]:border-r lg:nth-[4n]:border-r-0 nth-[-n+2]:border-b lg:nth-[-n+2]:border-b-0"
>
<SurveyStatCard label={item.client} percent={item.share} />
</div>
diff --git a/apps/www/components/logos.tsx b/apps/www/components/logos.tsx
index 63882659528..ecd5c34a1db 100644
--- a/apps/www/components/logos.tsx
+++ b/apps/www/components/logos.tsx
@@ -128,11 +128,11 @@ const logos = [
const LogosRow: React.FC<{ className?: string }> = ({ className }) => (
<div className={cn(className)} suppressHydrationWarning>
{logos.map((logo) => (
- <div key={`logos-group-${logo.name}`} className="h-12 lg:h-12 w-max !inline-block">
+ <div key={`logos-group-${logo.name}`} className="h-12 lg:h-12 w-max inline-block!">
<img
src={logo.image}
alt={logo.alt}
- className={'h-12 lg:h-12 !min-h-12 lg:!min-h-12 w-auto block'}
+ className={'h-12 lg:h-12 min-h-12! lg:min-h-12! w-auto block'}
draggable={false}
/>
</div>
diff --git a/apps/www/data/aws-reinvent-2025.tsx b/apps/www/data/aws-reinvent-2025.tsx
index 6df8332fd7a..05628cc70a4 100644
--- a/apps/www/data/aws-reinvent-2025.tsx
+++ b/apps/www/data/aws-reinvent-2025.tsx
@@ -61,10 +61,10 @@ const data = {
title: 'Supabase at AWS re:Invent 2025',
h1: (
<>
- <span className="block text-foreground lg:text-3xl lg:leading-[1.5]">
+ <span className="block text-foreground lg:text-3xl lg:leading-normal">
The complete Postgres platform.
</span>
- <span className="block text-foreground lg:text-3xl lg:leading-[1.5]">On AWS.</span>
+ <span className="block text-foreground lg:text-3xl lg:leading-normal">On AWS.</span>
</>
),
subheader: [
@@ -279,15 +279,15 @@ const data = {
magic links, OAuth (Google, GitHub, Twitter, etc.), SAML, SSO, and phone/SMS OTP.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'rbac',
title: 'Role-Based Access Control',
icon: 'M17.6874 22.888V20.3886C17.6874 17.5888 15.4178 15.3192 12.618 15.3192C9.8182 15.3192 7.54852 17.5888 7.54852 20.3886V22.888M21.5531 11.5235C21.8189 14.1669 20.9393 16.9038 18.9141 18.9289C18.5359 19.3072 18.1328 19.6455 17.7101 19.9438M20.8038 8.70448C20.3598 7.71036 19.7299 6.77911 18.9141 5.96334C15.3338 2.38299 9.52889 2.38299 5.94855 5.96334C4.17501 7.73687 3.28 10.0562 3.26352 12.3807M24.0875 13.1161L23.2046 12.2332C22.3264 11.355 20.9026 11.355 20.0244 12.2332L19.1415 13.1161M0.875198 10.9503L1.75809 11.8331C2.63629 12.7113 4.06012 12.7113 4.93832 11.8331L5.82121 10.9503M7.49904 20.4919C5.77226 19.4557 4.37848 17.8555 3.62143 15.8584M15.6799 12.1942C15.6799 13.9201 14.2808 15.3192 12.5549 15.3192C10.829 15.3192 9.42993 13.9201 9.42993 12.1942C9.42993 10.4683 10.829 9.06917 12.5549 9.06917C14.2808 9.06917 15.6799 10.4683 15.6799 12.1942Z',
subheading: <>Secure your data properly.</>,
- className: '!border-l-0',
+ className: 'border-l-0!',
image: (
<Image
draggable={false}
@@ -314,7 +314,7 @@ const data = {
applications.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -329,7 +329,7 @@ const data = {
managing files, images, and videos.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -359,7 +359,7 @@ const data = {
globally for low-latency execution.
</>
),
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual className="" />,
},
{
@@ -372,7 +372,7 @@ const data = {
enabling fast semantic search and embedding storage.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
diff --git a/apps/www/data/home/content.tsx b/apps/www/data/home/content.tsx
index 0e081811b88..4bb368cb57e 100644
--- a/apps/www/data/home/content.tsx
+++ b/apps/www/data/home/content.tsx
@@ -15,10 +15,10 @@ export default () => {
heroSection: {
heading: (
<>
- <span className="block text-[#F4FFFA00] bg-clip-text bg-gradient-to-b from-foreground to-foreground-light">
+ <span className="block text-[#F4FFFA00] bg-clip-text bg-linear-to-b from-foreground to-foreground-light">
Build in a weekend
</span>
- <span className="text-transparent bg-clip-text bg-gradient-to-br from-[#3ECF8E] via-[#3ECF8E] to-[#3ecfb2] block md:ml-0">
+ <span className="text-transparent bg-clip-text bg-linear-to-br from-[#3ECF8E] via-[#3ECF8E] to-[#3ecfb2] block md:ml-0">
Scale to millions
</span>
</>
diff --git a/apps/www/data/products/modules/cron.tsx b/apps/www/data/products/modules/cron.tsx
index 9eba10103f6..29a1a6b0c32 100644
--- a/apps/www/data/products/modules/cron.tsx
+++ b/apps/www/data/products/modules/cron.tsx
@@ -31,7 +31,7 @@ export default () => ({
},
},
highlightsSection: {
- className: '!py-4 [&_.highlights-grid]:xl:grid-cols-3',
+ className: 'py-4! [&_.highlights-grid]:xl:grid-cols-3',
highlights: [
{
title: 'Postgres Native',
@@ -171,7 +171,7 @@ export default () => ({
contentClassName="aspect-video border overflow-hidden rounded-lg"
hasFrameButtons={false}
>
- <div className="video-container !border-none !rounded-none">
+ <div className="video-container border-none! rounded-none!">
<iframe
src="https://www.youtube-nocookie.com/embed/miRQPbIJOuQ"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
@@ -217,7 +217,7 @@ export default () => ({
label: 'Start scheduling',
url: 'https://supabase.com/dashboard/project/_/integrations/cron/overview',
},
- className: 'md:!py-0',
+ className: 'md:py-0!',
},
section3: {
id: 'UI-Job-Observability',
@@ -239,7 +239,7 @@ export default () => ({
draggable={false}
/>
),
- className: 'md:!pb-0 [&_.image-container]:md:max-w-xl',
+ className: 'md:pb-0! [&_.image-container]:md:max-w-xl',
reverse: true,
},
section4: {
diff --git a/apps/www/data/products/modules/queues.tsx b/apps/www/data/products/modules/queues.tsx
index 24d0645b2d4..b44d0a057b7 100644
--- a/apps/www/data/products/modules/queues.tsx
+++ b/apps/www/data/products/modules/queues.tsx
@@ -32,7 +32,7 @@ export default () => ({
},
highlightsSection: {
className: `
- !py-4
+ py-4!
[&_.highlights-grid]:sm:grid-cols-2
[&_.highlight-card]:sm:col-span-1
[&_.highlight-card:nth-child(1)]:sm:col-span-2
@@ -159,7 +159,7 @@ export default () => ({
contentClassName="aspect-video border overflow-hidden rounded-lg"
hasFrameButtons={false}
>
- <div className="video-container !border-none !rounded-none">
+ <div className="video-container border-none! rounded-none!">
<iframe
src="https://www.youtube-nocookie.com/embed/UEwfaElBnZk"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
@@ -218,7 +218,7 @@ export default () => ({
draggable={false}
/>
),
- className: 'md:!pt-0',
+ className: 'md:pt-0!',
},
section3: {
id: 'ui',
@@ -244,6 +244,6 @@ export default () => ({
draggable={false}
/>
),
- className: 'md:!pt-0',
+ className: 'md:pt-0!',
},
})
diff --git a/apps/www/data/solutions/agencies.tsx b/apps/www/data/solutions/agencies.tsx
index 157b1cd7e6f..17a360b60c7 100644
--- a/apps/www/data/solutions/agencies.tsx
+++ b/apps/www/data/solutions/agencies.tsx
@@ -299,15 +299,15 @@ const data: {
magic links, OAuth (Google, GitHub, Twitter, etc.), SAML, SSO, and phone/SMS OTP.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'rbac',
title: 'Role-Based Access Control',
icon: 'M17.6874 22.888V20.3886C17.6874 17.5888 15.4178 15.3192 12.618 15.3192C9.8182 15.3192 7.54852 17.5888 7.54852 20.3886V22.888M21.5531 11.5235C21.8189 14.1669 20.9393 16.9038 18.9141 18.9289C18.5359 19.3072 18.1328 19.6455 17.7101 19.9438M20.8038 8.70448C20.3598 7.71036 19.7299 6.77911 18.9141 5.96334C15.3338 2.38299 9.52889 2.38299 5.94855 5.96334C4.17501 7.73687 3.28 10.0562 3.26352 12.3807M24.0875 13.1161L23.2046 12.2332C22.3264 11.355 20.9026 11.355 20.0244 12.2332L19.1415 13.1161M0.875198 10.9503L1.75809 11.8331C2.63629 12.7113 4.06012 12.7113 4.93832 11.8331L5.82121 10.9503M7.49904 20.4919C5.77226 19.4557 4.37848 17.8555 3.62143 15.8584M15.6799 12.1942C15.6799 13.9201 14.2808 15.3192 12.5549 15.3192C10.829 15.3192 9.42993 13.9201 9.42993 12.1942C9.42993 10.4683 10.829 9.06917 12.5549 9.06917C14.2808 9.06917 15.6799 10.4683 15.6799 12.1942Z',
subheading: <>Secure your data properly.</>,
- className: '!border-l-0',
+ className: 'border-l-0!',
image: (
<Image
draggable={false}
@@ -333,7 +333,7 @@ const data: {
collaborative applications.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -348,7 +348,7 @@ const data: {
managing files, images, and videos.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -378,7 +378,7 @@ const data: {
globally for low-latency execution.
</>
),
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual />,
},
{
@@ -391,7 +391,7 @@ const data: {
for AI/ML applications, enabling fast semantic search and embedding storage.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -435,7 +435,7 @@ const data: {
},
developerExperience: {
id: 'developer-experience',
- className: '[&_h2]:!max-w-sm',
+ className: '[&_h2]:max-w-sm!',
title: (
<>
<span className="text-foreground">Build faster</span> with Supabase
@@ -623,7 +623,7 @@ const data: {
<RealtimeLogs
isActive={false}
isInView={true}
- className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:!bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]"
+ className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]!"
/>
),
},
diff --git a/apps/www/data/solutions/beginners.tsx b/apps/www/data/solutions/beginners.tsx
index ae065ca9a71..6cae33273f4 100644
--- a/apps/www/data/solutions/beginners.tsx
+++ b/apps/www/data/solutions/beginners.tsx
@@ -145,10 +145,10 @@ const data: () => {
'Supabase includes everything you need to create the perfect app for your brand, business, or just for fun.',
className: cn(
'[&_div.grid]:sm:divide-x [&_div.grid]:divide-y',
- '[&_div.grid>div:nth-child(2n+2)]:sm:!border-l-0',
- '[&_div.grid>div:nth-child(2n+2)]:lg:!border-l',
- '[&_div.grid>div:nth-child(3n+3)]:lg:!border-l-0',
- '[&_div.grid>div:nth-child(2)]:lg:!border-t-0'
+ '[&_div.grid>div:nth-child(2n+2)]:sm:border-l-0!',
+ '[&_div.grid>div:nth-child(2n+2)]:lg:border-l!',
+ '[&_div.grid>div:nth-child(3n+3)]:lg:border-l-0!',
+ '[&_div.grid>div:nth-child(2)]:lg:border-t-0!'
),
features: [
{
@@ -277,7 +277,7 @@ const data: () => {
more. Secure and trusted.
</>
),
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'storage',
diff --git a/apps/www/data/solutions/developers.tsx b/apps/www/data/solutions/developers.tsx
index e560f21a0ad..a07b61fcb02 100644
--- a/apps/www/data/solutions/developers.tsx
+++ b/apps/www/data/solutions/developers.tsx
@@ -249,15 +249,15 @@ const data: () => {
magic links, OAuth (Google, GitHub, Twitter, etc.), SAML, SSO, and phone/SMS OTP.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'rbac',
title: 'Role-Based Access Control',
icon: 'M17.6874 22.888V20.3886C17.6874 17.5888 15.4178 15.3192 12.618 15.3192C9.8182 15.3192 7.54852 17.5888 7.54852 20.3886V22.888M21.5531 11.5235C21.8189 14.1669 20.9393 16.9038 18.9141 18.9289C18.5359 19.3072 18.1328 19.6455 17.7101 19.9438M20.8038 8.70448C20.3598 7.71036 19.7299 6.77911 18.9141 5.96334C15.3338 2.38299 9.52889 2.38299 5.94855 5.96334C4.17501 7.73687 3.28 10.0562 3.26352 12.3807M24.0875 13.1161L23.2046 12.2332C22.3264 11.355 20.9026 11.355 20.0244 12.2332L19.1415 13.1161M0.875198 10.9503L1.75809 11.8331C2.63629 12.7113 4.06012 12.7113 4.93832 11.8331L5.82121 10.9503M7.49904 20.4919C5.77226 19.4557 4.37848 17.8555 3.62143 15.8584M15.6799 12.1942C15.6799 13.9201 14.2808 15.3192 12.5549 15.3192C10.829 15.3192 9.42993 13.9201 9.42993 12.1942C9.42993 10.4683 10.829 9.06917 12.5549 9.06917C14.2808 9.06917 15.6799 10.4683 15.6799 12.1942Z',
subheading: <>Secure your data properly.</>,
- className: '!border-l-0',
+ className: 'border-l-0!',
image: (
<Image
draggable={false}
@@ -284,7 +284,7 @@ const data: () => {
applications.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -299,7 +299,7 @@ const data: () => {
managing files, images, and videos.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -329,7 +329,7 @@ const data: () => {
deployed globally for low-latency execution.
</>
),
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual className="" />,
},
{
@@ -342,7 +342,7 @@ const data: () => {
for AI/ML applications, enabling fast semantic search and embedding storage.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -386,7 +386,7 @@ const data: () => {
},
developerExperience: {
id: 'developer-experience',
- className: '[&_h2]:!max-w-sm',
+ className: '[&_h2]:max-w-sm!',
title: (
<>
<span className="text-foreground">Build faster</span> with Supabase
@@ -575,7 +575,7 @@ const data: () => {
<RealtimeLogs
isActive={false}
isInView={true}
- className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:!bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]"
+ className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]!"
/>
),
},
diff --git a/apps/www/data/solutions/firebase.tsx b/apps/www/data/solutions/firebase.tsx
index 1e63896fa28..953ebeb4bed 100644
--- a/apps/www/data/solutions/firebase.tsx
+++ b/apps/www/data/solutions/firebase.tsx
@@ -39,7 +39,7 @@ const data = {
id: 'hero',
title: 'Moving from Firebase to Supabase',
sectionContainerClassName: cn(
- '[&_h1]:text-xl [&_h1]:md:!text-2xl [&_h1]:lg:!text-4xl [&_h1]:2xl:!text-5xl',
+ '[&_h1]:text-xl [&_h1]:md:text-2xl! [&_h1]:lg:text-4xl! [&_h1]:2xl:text-5xl!',
'[&_.image-container]:flex [&_.image-container]:items-center'
),
h1: 'The Postgres backend that scales with your business.',
@@ -233,15 +233,15 @@ const data = {
etc.), SAML, SSO, and phone/SMS OTP.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'rbac',
title: 'Role-Based Access Control',
icon: 'M17.6874 22.888V20.3886C17.6874 17.5888 15.4178 15.3192 12.618 15.3192C9.8182 15.3192 7.54852 17.5888 7.54852 20.3886V22.888M21.5531 11.5235C21.8189 14.1669 20.9393 16.9038 18.9141 18.9289C18.5359 19.3072 18.1328 19.6455 17.7101 19.9438M20.8038 8.70448C20.3598 7.71036 19.7299 6.77911 18.9141 5.96334C15.3338 2.38299 9.52889 2.38299 5.94855 5.96334C4.17501 7.73687 3.28 10.0562 3.26352 12.3807M24.0875 13.1161L23.2046 12.2332C22.3264 11.355 20.9026 11.355 20.0244 12.2332L19.1415 13.1161M0.875198 10.9503L1.75809 11.8331C2.63629 12.7113 4.06012 12.7113 4.93832 11.8331L5.82121 10.9503M7.49904 20.4919C5.77226 19.4557 4.37848 17.8555 3.62143 15.8584M15.6799 12.1942C15.6799 13.9201 14.2808 15.3192 12.5549 15.3192C10.829 15.3192 9.42993 13.9201 9.42993 12.1942C9.42993 10.4683 10.829 9.06917 12.5549 9.06917C14.2808 9.06917 15.6799 10.4683 15.6799 12.1942Z',
subheading: <>Secure your data properly.</>,
- className: '!border-l-0',
+ className: 'border-l-0!',
image: (
<Image
draggable={false}
@@ -268,7 +268,7 @@ const data = {
applications.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -283,7 +283,7 @@ const data = {
managing files, images, and videos.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -310,7 +310,7 @@ const data = {
subheading: (
<>Serverless functions powered by Deno, deployed globally for low-latency execution.</>
),
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual className="" />,
},
{
@@ -323,7 +323,7 @@ const data = {
storage.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -362,7 +362,7 @@ const data = {
},
developerExperience: {
id: 'developer-experience',
- className: '[&_h2]:!max-w-sm',
+ className: '[&_h2]:max-w-sm!',
title: (
<>
Developers can build <span className="text-foreground">faster</span> with Supabase
@@ -530,7 +530,7 @@ const data = {
<RealtimeLogs
isActive={false}
isInView={true}
- className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:!bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]"
+ className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]!"
/>
),
},
diff --git a/apps/www/data/solutions/hackathon.tsx b/apps/www/data/solutions/hackathon.tsx
index bd757355be9..85155c7c8ec 100644
--- a/apps/www/data/solutions/hackathon.tsx
+++ b/apps/www/data/solutions/hackathon.tsx
@@ -217,15 +217,15 @@ const data: () => {
magic links, OAuth (Google, GitHub, Twitter, etc.), SAML, SSO, and phone/SMS OTP.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'rbac',
title: 'Role-Based Access Control',
icon: 'M17.6874 22.888V20.3886C17.6874 17.5888 15.4178 15.3192 12.618 15.3192C9.8182 15.3192 7.54852 17.5888 7.54852 20.3886V22.888M21.5531 11.5235C21.8189 14.1669 20.9393 16.9038 18.9141 18.9289C18.5359 19.3072 18.1328 19.6455 17.7101 19.9438M20.8038 8.70448C20.3598 7.71036 19.7299 6.77911 18.9141 5.96334C15.3338 2.38299 9.52889 2.38299 5.94855 5.96334C4.17501 7.73687 3.28 10.0562 3.26352 12.3807M24.0875 13.1161L23.2046 12.2332C22.3264 11.355 20.9026 11.355 20.0244 12.2332L19.1415 13.1161M0.875198 10.9503L1.75809 11.8331C2.63629 12.7113 4.06012 12.7113 4.93832 11.8331L5.82121 10.9503M7.49904 20.4919C5.77226 19.4557 4.37848 17.8555 3.62143 15.8584M15.6799 12.1942C15.6799 13.9201 14.2808 15.3192 12.5549 15.3192C10.829 15.3192 9.42993 13.9201 9.42993 12.1942C9.42993 10.4683 10.829 9.06917 12.5549 9.06917C14.2808 9.06917 15.6799 10.4683 15.6799 12.1942Z',
subheading: <>Secure your data properly.</>,
- className: '!border-l-0',
+ className: 'border-l-0!',
image: (
<Image
draggable={false}
@@ -252,7 +252,7 @@ const data: () => {
applications.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -267,7 +267,7 @@ const data: () => {
managing files, images, and videos.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -297,7 +297,7 @@ const data: () => {
deployed globally for low-latency execution.
</>
),
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual className="" />,
},
{
@@ -310,7 +310,7 @@ const data: () => {
for AI/ML applications, enabling fast semantic search and embedding storage.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -354,7 +354,7 @@ const data: () => {
},
developerExperience: {
id: 'developer-experience',
- className: '[&_h2]:!max-w-sm',
+ className: '[&_h2]:max-w-sm!',
title: (
<>
<span className="text-foreground">Build faster</span> with Supabase
@@ -543,7 +543,7 @@ const data: () => {
<RealtimeLogs
isActive={false}
isInView={true}
- className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:!bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]"
+ className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]!"
/>
),
},
diff --git a/apps/www/data/solutions/innovation-teams.tsx b/apps/www/data/solutions/innovation-teams.tsx
index 8d8caba0a47..ce202ac7fa1 100644
--- a/apps/www/data/solutions/innovation-teams.tsx
+++ b/apps/www/data/solutions/innovation-teams.tsx
@@ -389,15 +389,15 @@ const data: () => {
magic links, OAuth (Google, GitHub, Twitter, etc.), SAML, SSO, and phone/SMS OTP.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'rbac',
title: 'Role-Based Access Control',
icon: 'M17.6874 22.888V20.3886C17.6874 17.5888 15.4178 15.3192 12.618 15.3192C9.8182 15.3192 7.54852 17.5888 7.54852 20.3886V22.888M21.5531 11.5235C21.8189 14.1669 20.9393 16.9038 18.9141 18.9289C18.5359 19.3072 18.1328 19.6455 17.7101 19.9438M20.8038 8.70448C20.3598 7.71036 19.7299 6.77911 18.9141 5.96334C15.3338 2.38299 9.52889 2.38299 5.94855 5.96334C4.17501 7.73687 3.28 10.0562 3.26352 12.3807M24.0875 13.1161L23.2046 12.2332C22.3264 11.355 20.9026 11.355 20.0244 12.2332L19.1415 13.1161M0.875198 10.9503L1.75809 11.8331C2.63629 12.7113 4.06012 12.7113 4.93832 11.8331L5.82121 10.9503M7.49904 20.4919C5.77226 19.4557 4.37848 17.8555 3.62143 15.8584M15.6799 12.1942C15.6799 13.9201 14.2808 15.3192 12.5549 15.3192C10.829 15.3192 9.42993 13.9201 9.42993 12.1942C9.42993 10.4683 10.829 9.06917 12.5549 9.06917C14.2808 9.06917 15.6799 10.4683 15.6799 12.1942Z',
subheading: <>Secure your data properly.</>,
- className: '!border-l-0',
+ className: 'border-l-0!',
image: (
<Image
draggable={false}
@@ -424,7 +424,7 @@ const data: () => {
applications.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -439,7 +439,7 @@ const data: () => {
managing files, images, and videos.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -469,7 +469,7 @@ const data: () => {
deployed globally for low-latency execution.
</>
),
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual className="" />,
},
{
@@ -482,7 +482,7 @@ const data: () => {
for AI/ML applications, enabling fast semantic search and embedding storage.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -526,7 +526,7 @@ const data: () => {
},
developerExperience: {
id: 'developer-experience',
- className: '[&_h2]:!max-w-lg',
+ className: '[&_h2]:max-w-lg!',
title: (
<>
Built for How <span className="text-foreground">AI Builders</span> Work
diff --git a/apps/www/data/solutions/neon.tsx b/apps/www/data/solutions/neon.tsx
index 8bc75d2d414..9ad9ba2e113 100644
--- a/apps/www/data/solutions/neon.tsx
+++ b/apps/www/data/solutions/neon.tsx
@@ -40,7 +40,7 @@ const data = {
id: 'hero',
title: 'Moving from Neon to Supabase',
sectionContainerClassName: cn(
- '[&_h1]:text-xl [&_h1]:md:!text-2xl [&_h1]:lg:!text-4xl [&_h1]:2xl:!text-5xl',
+ '[&_h1]:text-xl [&_h1]:md:text-2xl! [&_h1]:lg:text-4xl! [&_h1]:2xl:text-5xl!',
'[&_.image-container]:flex [&_.image-container]:items-center'
),
h1: 'Neon users switch to Supabase for a complete Postgres experience',
@@ -225,15 +225,15 @@ const data = {
etc.), SAML, SSO, and phone/SMS OTP.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'rbac',
title: 'Role-Based Access Control',
icon: 'M17.6874 22.888V20.3886C17.6874 17.5888 15.4178 15.3192 12.618 15.3192C9.8182 15.3192 7.54852 17.5888 7.54852 20.3886V22.888M21.5531 11.5235C21.8189 14.1669 20.9393 16.9038 18.9141 18.9289C18.5359 19.3072 18.1328 19.6455 17.7101 19.9438M20.8038 8.70448C20.3598 7.71036 19.7299 6.77911 18.9141 5.96334C15.3338 2.38299 9.52889 2.38299 5.94855 5.96334C4.17501 7.73687 3.28 10.0562 3.26352 12.3807M24.0875 13.1161L23.2046 12.2332C22.3264 11.355 20.9026 11.355 20.0244 12.2332L19.1415 13.1161M0.875198 10.9503L1.75809 11.8331C2.63629 12.7113 4.06012 12.7113 4.93832 11.8331L5.82121 10.9503M7.49904 20.4919C5.77226 19.4557 4.37848 17.8555 3.62143 15.8584M15.6799 12.1942C15.6799 13.9201 14.2808 15.3192 12.5549 15.3192C10.829 15.3192 9.42993 13.9201 9.42993 12.1942C9.42993 10.4683 10.829 9.06917 12.5549 9.06917C14.2808 9.06917 15.6799 10.4683 15.6799 12.1942Z',
subheading: <>Secure your data properly.</>,
- className: '!border-l-0',
+ className: 'border-l-0!',
image: (
<Image
draggable={false}
@@ -260,7 +260,7 @@ const data = {
applications.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -275,7 +275,7 @@ const data = {
managing files, images, and videos.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -302,7 +302,7 @@ const data = {
subheading: (
<>Serverless functions powered by Deno, deployed globally for low-latency execution.</>
),
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual className="" />,
},
{
@@ -315,7 +315,7 @@ const data = {
storage.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -354,7 +354,7 @@ const data = {
},
developerExperience: {
id: 'developer-experience',
- className: '[&_h2]:!max-w-sm',
+ className: '[&_h2]:max-w-sm!',
title: (
<>
Developers can build <span className="text-foreground">faster</span> with Supabase
@@ -522,7 +522,7 @@ const data = {
<RealtimeLogs
isActive={false}
isInView={true}
- className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:!bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]"
+ className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]!"
/>
),
},
diff --git a/apps/www/data/solutions/no-code.tsx b/apps/www/data/solutions/no-code.tsx
index b4b4f33444d..498cd82c8d2 100644
--- a/apps/www/data/solutions/no-code.tsx
+++ b/apps/www/data/solutions/no-code.tsx
@@ -163,12 +163,12 @@ const data: () => {
'Supabase includes everything you need to create the perfect app for your brand, business, or just for fun.',
className: cn(
'[&_div.grid]:sm:divide-x [&_div.grid]:divide-y',
- '[&_div.grid>div:nth-child(2n+1)]:sm:!border-l-0',
- '[&_div.grid>div:nth-child(2n+2)]:sm:!border-l',
- '[&_div.grid>div:nth-child(2n+2)]:lg:!border-l',
- '[&_div.grid>div:nth-child(3n+3)]:lg:!border-l-0',
- '[&_div.grid>div:nth-child(2n+3)]:lg:!border-l',
- '[&_div.grid>div:nth-child(2)]:lg:!border-t-0'
+ '[&_div.grid>div:nth-child(2n+1)]:sm:border-l-0!',
+ '[&_div.grid>div:nth-child(2n+2)]:sm:border-l!',
+ '[&_div.grid>div:nth-child(2n+2)]:lg:border-l!',
+ '[&_div.grid>div:nth-child(3n+3)]:lg:border-l-0!',
+ '[&_div.grid>div:nth-child(2n+3)]:lg:border-l!',
+ '[&_div.grid>div:nth-child(2)]:lg:border-t-0!'
),
features: [
{
@@ -254,8 +254,8 @@ const data: () => {
. Secure and trusted.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'realtime',
@@ -267,7 +267,7 @@ const data: () => {
<span className="text-foreground">multi-player, collaborative experiences</span>.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -277,7 +277,7 @@ const data: () => {
title: 'Edge Functions',
icon: MainProducts[PRODUCT_SHORTNAMES.FUNCTIONS].icon,
subheading: <>Custom backend logic when you want to dive into code.</>,
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual className="" />,
},
{
@@ -290,7 +290,7 @@ const data: () => {
images you need in your app.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -321,7 +321,7 @@ const data: () => {
industry-standard tools to guide you.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
diff --git a/apps/www/data/solutions/postgres-developers.tsx b/apps/www/data/solutions/postgres-developers.tsx
index aecdb3b329e..e356937706a 100644
--- a/apps/www/data/solutions/postgres-developers.tsx
+++ b/apps/www/data/solutions/postgres-developers.tsx
@@ -169,12 +169,12 @@ const data: () => {
subheading:
'Supabase includes everything you need to create the perfect app for your brand, business, or just for fun.',
className: cn(
- '[&_div.grid>div:first-child]:sm:!border-l-0',
+ '[&_div.grid>div:first-child]:sm:border-l-0!',
'[&_div.grid>div]:sm:-m-px',
- '[&_div.grid>div:nth-child(2n+1)]:sm:!border-l',
- '[&_div.grid>div:nth-child(2n+2)]:sm:!border-t',
- '[&_div.grid>div:nth-child(3n+3)]:lg:!border-l-0',
- '[&_div.grid>div:nth-child(2)]:lg:!border-t-0'
+ '[&_div.grid>div:nth-child(2n+1)]:sm:border-l!',
+ '[&_div.grid>div:nth-child(2n+2)]:sm:border-t!',
+ '[&_div.grid>div:nth-child(3n+3)]:lg:border-l-0!',
+ '[&_div.grid>div:nth-child(2)]:lg:border-t-0!'
),
features: [
{
@@ -257,15 +257,15 @@ const data: () => {
magic links, OAuth (Google, GitHub, Twitter, etc.), SAML, SSO, and phone/SMS OTP.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'rbac',
title: 'Role-Based Access Control',
icon: 'M17.6874 22.888V20.3886C17.6874 17.5888 15.4178 15.3192 12.618 15.3192C9.8182 15.3192 7.54852 17.5888 7.54852 20.3886V22.888M21.5531 11.5235C21.8189 14.1669 20.9393 16.9038 18.9141 18.9289C18.5359 19.3072 18.1328 19.6455 17.7101 19.9438M20.8038 8.70448C20.3598 7.71036 19.7299 6.77911 18.9141 5.96334C15.3338 2.38299 9.52889 2.38299 5.94855 5.96334C4.17501 7.73687 3.28 10.0562 3.26352 12.3807M24.0875 13.1161L23.2046 12.2332C22.3264 11.355 20.9026 11.355 20.0244 12.2332L19.1415 13.1161M0.875198 10.9503L1.75809 11.8331C2.63629 12.7113 4.06012 12.7113 4.93832 11.8331L5.82121 10.9503M7.49904 20.4919C5.77226 19.4557 4.37848 17.8555 3.62143 15.8584M15.6799 12.1942C15.6799 13.9201 14.2808 15.3192 12.5549 15.3192C10.829 15.3192 9.42993 13.9201 9.42993 12.1942C9.42993 10.4683 10.829 9.06917 12.5549 9.06917C14.2808 9.06917 15.6799 10.4683 15.6799 12.1942Z',
subheading: <>Secure your data properly.</>,
- className: '!border-l-0',
+ className: 'border-l-0!',
image: (
<Image
draggable={false}
@@ -292,7 +292,7 @@ const data: () => {
applications.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -307,7 +307,7 @@ const data: () => {
managing files, images, and videos.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -337,7 +337,7 @@ const data: () => {
deployed globally for low-latency execution.
</>
),
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual className="" />,
},
{
@@ -350,7 +350,7 @@ const data: () => {
for AI/ML applications, enabling fast semantic search and embedding storage.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -403,7 +403,7 @@ const data: () => {
, and more.
</>
),
- className: 'sm:!border-l-0',
+ className: 'sm:border-l-0!',
image: (
<Image
draggable={false}
@@ -415,7 +415,7 @@ const data: () => {
width={100}
height={100}
quality={100}
- containerClassName="ml-4 md:ml-6 xl:ml-8 border-t border-l !rounded-none !rounded-tl-lg"
+ containerClassName="ml-4 md:ml-6 xl:ml-8 border-t border-l rounded-none! rounded-tl-lg!"
/>
),
},
@@ -431,7 +431,7 @@ const data: () => {
),
image: (
<div className="w-full p-4 lg:p-6 xl:p-8 h-full flex items-center justify-center">
- <div className="left-4 lg:left-6 xl:left-8 absolute w-full md:w-[600px] bg-surface-100 border border-overlay flex flex-col overflow-hidden rounded shadow-sm">
+ <div className="left-4 lg:left-6 xl:left-8 absolute w-full md:w-[600px] bg-surface-100 border border-overlay flex flex-col overflow-hidden rounded-sm shadow-xs">
<div className="border-b border-overlay flex justify-between w-full py-3 px-5">
<div className="max-w-[85%] flex items-center space-x-3 truncate">
<div className="h-5 m-0 text-sm truncate cursor-pointer text-foreground">
@@ -465,7 +465,7 @@ const data: () => {
),
image: (
<div className="w-full p-4 lg:p-6 xl:p-8 h-full flex items-center justify-center">
- <div className="w-full bg-surface-100 border border-overlay flex flex-col overflow-hidden rounded shadow-sm">
+ <div className="w-full bg-surface-100 border border-overlay flex flex-col overflow-hidden rounded-sm shadow-xs">
<div className="border-b border-overlay flex justify-between w-full py-3 px-5">
<div className="max-w-[85%] flex items-center space-x-3 truncate">
<h3 className="h-5 m-0 text-sm truncate cursor-pointer text-foreground">
@@ -486,7 +486,7 @@ const data: () => {
},
developerExperience: {
id: 'developer-experience',
- className: '[&_h2]:!max-w-sm',
+ className: '[&_h2]:max-w-sm!',
title: (
<>
Developers can <span className="text-foreground">build faster</span> with Supabase
@@ -675,7 +675,7 @@ const data: () => {
<RealtimeLogs
isActive={false}
isInView={true}
- className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:!bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]"
+ className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]!"
/>
),
},
diff --git a/apps/www/data/solutions/startups.tsx b/apps/www/data/solutions/startups.tsx
index cbe87192154..0f7b5a6d7b1 100644
--- a/apps/www/data/solutions/startups.tsx
+++ b/apps/www/data/solutions/startups.tsx
@@ -215,9 +215,9 @@ const data: () => {
</>
),
className:
- 'flex-col lg:flex-row [&>div:first-child]:lg:!max-w-none [&>div:first-child]:lg:!mr-0 lg:!gap-0',
+ 'flex-col lg:flex-row [&>div:first-child]:lg:max-w-none! [&>div:first-child]:lg:mr-0! lg:gap-0!',
image: (
- <div className="relative w-full lg:w-1/3 shrink-1 pt-8 px-4 lg:pr-0">
+ <div className="relative w-full lg:w-1/3 shrink pt-8 px-4 lg:pr-0">
<div className="w-full h-full rounded-t-lg lg:rounded-tr-none overflow-hidden border-t border-l border-r lg:border-r-0 bg-surface-75">
<table className="min-w-full m-0">
<thead className="p-0">
@@ -284,8 +284,8 @@ const data: () => {
magic links, OAuth (Google, GitHub, Twitter, etc.), SAML, SSO, and phone/SMS OTP.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'storage',
@@ -297,7 +297,7 @@ const data: () => {
managing files, images, and videos.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -327,7 +327,7 @@ const data: () => {
deployed globally for low-latency execution.
</>
),
- className: '!border-l-0 sm:!border-l lg:!border-l-0',
+ className: 'border-l-0! sm:border-l! lg:border-l-0!',
image: <FunctionsVisual className="" />,
},
{
@@ -340,7 +340,7 @@ const data: () => {
for AI/ML applications, enabling fast semantic search and embedding storage.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -366,7 +366,7 @@ const data: () => {
applications.
</>
),
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -375,7 +375,7 @@ const data: () => {
},
developerExperience: {
id: 'developer-experience',
- className: '[&_h2]:!max-w-sm',
+ className: '[&_h2]:max-w-sm!',
title: (
<>
Developers can <span className="text-foreground">build faster</span> with Supabase
@@ -564,7 +564,7 @@ const data: () => {
<RealtimeLogs
isActive={false}
isInView={true}
- className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:!bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]"
+ className="h-3/5 bottom-0 top-auto [&_.visual-overlay]:bg-[linear-gradient(to_top,hsl(var(--background-default))_0%,transparent_100%)]!"
/>
),
},
diff --git a/apps/www/data/solutions/vibe-coders.tsx b/apps/www/data/solutions/vibe-coders.tsx
index 2b597fdb871..c35fa048115 100644
--- a/apps/www/data/solutions/vibe-coders.tsx
+++ b/apps/www/data/solutions/vibe-coders.tsx
@@ -249,8 +249,8 @@ const useVibeCodersContent: () => {
. Secure and trusted.
</>
),
- className: '!border-l-0 sm:!border-l sm:!border-t-0',
- image: <AuthVisual className="2xl:!-bottom-20" />,
+ className: 'border-l-0! sm:border-l! sm:border-t-0!',
+ image: <AuthVisual className="2xl:-bottom-20!" />,
},
{
id: 'realtime',
@@ -262,7 +262,7 @@ const useVibeCodersContent: () => {
<span className="text-foreground">multi-player, collaborative experiences</span>.
</>
),
- className: '!border-l-0',
+ className: 'border-l-0!',
image: (
<RealtimeVisual className="[&_.visual-overlay]:bg-[linear-gradient(to_top,transparent_0%,transparent_50%,hsl(var(--background-default))_75%)]" />
),
@@ -272,7 +272,7 @@ const useVibeCodersContent: () => {
title: 'Edge Functions',
icon: MainProducts[PRODUCT_SHORTNAMES.FUNCTIONS].icon,
subheading: <>Custom backend logic when you want to dive into code.</>,
- className: '!border-l-0 sm:!border-l',
+ className: 'border-l-0! sm:border-l!',
image: <FunctionsVisual className="" />,
},
{
@@ -285,7 +285,7 @@ const useVibeCodersContent: () => {
images you need in your app.
</>
),
- className: '!border-l-0 lg:!border-l',
+ className: 'border-l-0! lg:border-l!',
image: (
<Image
draggable={false}
@@ -316,7 +316,7 @@ const useVibeCodersContent: () => {
industry-standard tools to guide you.
</>
),
- className: '!border-l lg:!border-l-0',
+ className: 'border-l! lg:border-l-0!',
image: (
<Image
draggable={false}
diff --git a/apps/www/data/support.tsx b/apps/www/data/support.tsx
index b9dd7d70915..657c0600921 100644
--- a/apps/www/data/support.tsx
+++ b/apps/www/data/support.tsx
@@ -75,7 +75,7 @@ const data = {
link: 'https://supabase.com/dashboard/support/new',
target: '_blank',
icon: <ArrowUpRight />,
- className: '!text-foreground-light hover:!text-foreground',
+ className: 'text-foreground-light! hover:text-foreground!',
type: 'text',
},
],
diff --git a/apps/www/layouts/comparison.tsx b/apps/www/layouts/comparison.tsx
index 4873f609cec..95fa69d0f11 100644
--- a/apps/www/layouts/comparison.tsx
+++ b/apps/www/layouts/comparison.tsx
@@ -36,7 +36,7 @@ const LayoutComparison = ({ components, props }: Props) => {
return (
<Link href={`${post.url}`} as={`${post.url}`}>
<div className={className}>
- <div className="border-default hover:bg-surface-100 cursor-pointer rounded border p-6 transition">
+ <div className="border-default hover:bg-surface-100 cursor-pointer rounded-sm border p-6 transition">
<div className="space-y-4">
<div>
<p className="text-muted text-sm">{label}</p>
diff --git a/apps/www/pages/404.tsx b/apps/www/pages/404.tsx
index ae3b3988cd9..1740be6d4dd 100644
--- a/apps/www/pages/404.tsx
+++ b/apps/www/pages/404.tsx
@@ -43,8 +43,8 @@ const Error404 = () => {
</div>
<div className="absolute">
<h1
- className={`text-foreground select-none text-[14rem] opacity-[5%] filter transition duration-200 sm:text-[18rem] lg:text-[28rem] ${
- show404 ? 'blur-sm' : 'blur-none'
+ className={`text-foreground select-none text-[14rem] opacity-5 filter transition duration-200 sm:text-[18rem] lg:text-[28rem] ${
+ show404 ? 'blur-xs' : 'blur-none'
}`}
>
404
diff --git a/apps/www/pages/_app.tsx b/apps/www/pages/_app.tsx
index ac95874a548..3567e72850f 100644
--- a/apps/www/pages/_app.tsx
+++ b/apps/www/pages/_app.tsx
@@ -1,7 +1,7 @@
import '@code-hike/mdx/styles.css'
import 'config/code-hike.css'
import '../styles/index.css'
-import '../pages/launch-week/launchWeek.css'
+import './launch-week/launchWeek.css'
import {
AuthProvider,
diff --git a/apps/www/pages/assistant.tsx b/apps/www/pages/assistant.tsx
index 6ce98219e2c..0c5060aa1a6 100644
--- a/apps/www/pages/assistant.tsx
+++ b/apps/www/pages/assistant.tsx
@@ -676,7 +676,7 @@ function Assistant() {
{/* Main content */}
<div className="mb-6 flex flex-col gap-4 max-w-lg">
<h1 className="text-4xl sm:text-5xl sm:leading-none">Chat with Postgres</h1>
- <p className="p text-lg !m-0">
+ <p className="p text-lg m-0!">
Generate, run and debug queries, chart your data, create functions, policies and
more. The Assistant is here to help.
</p>
@@ -765,7 +765,7 @@ function Assistant() {
ease: 'easeInOut',
delay: 0.5,
}}
- className="absolute inset-0 bg-gradient-to-r from-transparent via-background-muted/40 to-transparent transform -skew-x-12 z-10"
+ className="absolute inset-0 bg-linear-to-r from-transparent via-background-muted/40 to-transparent transform -skew-x-12 z-10"
/>
<AIDemoPanel incomingMessages={incomingMessages} />
</motion.div>
diff --git a/apps/www/pages/auth.tsx b/apps/www/pages/auth.tsx
index 127cd2ffaaf..c442b93bad3 100644
--- a/apps/www/pages/auth.tsx
+++ b/apps/www/pages/auth.tsx
@@ -93,7 +93,7 @@ function AuthPage() {
<SectionContainer>
<div className="grid grid-cols-12">
<div className="col-span-12 mb-10 lg:col-span-3 lg:mb-0">
- <div className="mb-4 -mt-[1.9rem]">
+ <div className="mb-4 mt-[-1.9rem]">
<div className="grid grid-flow-col grid-rows-2 gap-2 xl:w-64">
<div className="flex w-fit items-center">
<svg
diff --git a/apps/www/pages/aws-reinvent-2025.tsx b/apps/www/pages/aws-reinvent-2025.tsx
index e9380fc3870..a1e5783d4c3 100644
--- a/apps/www/pages/aws-reinvent-2025.tsx
+++ b/apps/www/pages/aws-reinvent-2025.tsx
@@ -71,7 +71,7 @@ const AWSReInvent2025: NextPage = () => {
{/* Schedule Section */}
<section id={data.scheduleSection.id} className="relative py-16 md:py-24">
- <SectionContainer className="lg:!py-0">
+ <SectionContainer className="lg:py-0!">
<div className="lg:text-center mb-12">
<h2 className="text-3xl md:text-4xl font-medium mb-4">
{data.scheduleSection.title}
diff --git a/apps/www/pages/beta.tsx b/apps/www/pages/beta.tsx
index 29c5ecc7754..a52fd892a46 100644
--- a/apps/www/pages/beta.tsx
+++ b/apps/www/pages/beta.tsx
@@ -51,7 +51,7 @@ const NavFlyOutMenu = (props: any) => {
const VideoShot = (props: any) => {
const { src } = props
return (
- <div className="p-2 rounded-xl bg-gradient-to-b from-border-strong to-background-surface-300">
+ <div className="p-2 rounded-xl bg-linear-to-b from-border-strong to-background-surface-300">
<div className="rounded-md shadow-lg" style={{ height: 'fit-content' }}>
<div className="flex items-center justify-start w-full h-5 px-2 bg-border-strong rounded-t-md">
<div className="w-2 h-2 mr-2 rounded-full bg-overlay" />
diff --git a/apps/www/pages/careers.tsx b/apps/www/pages/careers.tsx
index 016f9c0c139..748260f9bff 100644
--- a/apps/www/pages/careers.tsx
+++ b/apps/www/pages/careers.tsx
@@ -125,15 +125,15 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
</Button>
</header>
- <SectionContainer className="!pt-8">
+ <SectionContainer className="pt-8!">
<div className="flex flex-wrap md:flex-nowrap -mt-6 md:mt-0 w-fit md:w-full mx-auto md:flex md:items-start justify-around lg:w-full lg:max-w-5xl">
{career.company.map((company, i) => {
return (
<div
key={i}
- className="border-t-[1px] mt-6 mx-2 md:mx-2 md:mt-0 md:border-0 border-brand w-[134px] md:max-w-none"
+ className="border-t mt-6 mx-2 md:mx-2 md:mt-0 md:border-0 border-brand w-[134px] md:max-w-none"
>
- <div className="hidden md:block border-t-[1px] lg:border-t-2 border-brand w-[60px] lg:w-[100px]"></div>
+ <div className="hidden md:block border-t lg:border-t-2 border-brand w-[60px] lg:w-[100px]"></div>
<h2 className="text-3xl lg:text-4xl pt-3 tracking-[-1px]">{company.number}</h2>
<div className="text-foreground-light text-sm lg:text-base">
@@ -145,16 +145,16 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
</div>
</SectionContainer>
- <div className="py-[1.25px] bg-gradient-to-r from-background via-border to-background">
+ <div className="py-[1.25px] bg-linear-to-r from-background via-border to-background">
<div className="bg-alternative text-clip">
- <SectionContainer className="md:!pt-16 md:grid md:max-h-[500px] grid-cols-1 md:grid-cols-5 md:gap-8">
+ <SectionContainer className="md:pt-16! md:grid md:max-h-[500px] grid-cols-1 md:grid-cols-5 md:gap-8">
<div
className="
relative md:col-span-2 aspect-square
w-[calc(100%+100px)] md:w-[calc(100%+450px)] xl:w-[calc(100%+200px)]
- -mb-[160px] md:mb-0
- -top-[160px] md:-top-[200px] xl:-top-[210px]
- -left-[100px] md:-left-[450px] xl:-left-[200px]
+ mb-[-160px] md:mb-0
+ top-[-160px] md:top-[-200px] xl:top-[-210px]
+ left-[-100px] md:left-[-450px] xl:left-[-200px]
"
>
<Globe />
@@ -195,7 +195,7 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
</p>
</div>
<div className="md:w-full rounded-md mt-10 md:mt-36 lg:mt-40">
- <div className="relative w-full aspect-[148/125]">
+ <div className="relative w-full aspect-148/125">
<Image
src="/images/career/team.jpeg"
alt="supabase team"
@@ -210,7 +210,7 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
</div>
<div className="grid justify-items-end">
<div className="w-full md:w-5/6 rounded-md mt-6">
- <div className="relative w-full aspect-[29/22]">
+ <div className="relative w-full aspect-29/22">
<Image
src="/images/career/founders.jpeg"
alt="supabase founders"
@@ -227,7 +227,7 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
</div>
<div className="mt-6 md:mt-0 w-full md:w-1/2">
<div className="w-full rounded-md">
- <div className="relative w-full aspect-[137/110]">
+ <div className="relative w-full aspect-137/110">
<Image
src="/images/career/3.jpg"
alt="team photo"
@@ -242,7 +242,7 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
</div>
<div className="flex gap-6 mt-6">
<div className="w-full rounded-md">
- <div className="relative w-full aspect-[142/189]">
+ <div className="relative w-full aspect-142/189">
<Image
src="/images/career/4.jpg"
alt="team photo"
@@ -256,7 +256,7 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
</div>
</div>
<div className="w-full rounded-md">
- <div className="relative w-full aspect-[142/189]">
+ <div className="relative w-full aspect-142/189">
<Image
src="/images/career/5.jpg"
alt="team photo"
@@ -271,7 +271,7 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
</div>
</div>
<div className="w-full rounded-md mt-6">
- <div className="relative w-full aspect-[16/9]">
+ <div className="relative w-full aspect-video">
<Image
src="/images/career/supateam.jpg"
alt="supabase company"
@@ -308,7 +308,7 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
</div>
</SectionContainer>
- <SectionContainer className="!pb-0">
+ <SectionContainer className="pb-0!">
<div className="text-center">
<h2 className="text-2xl sm:text-3xl xl:text-4xl max-w-[300px] xl:max-w-none mx-auto tracking-[-1px]">
1,500+ Contributors building Supabase
@@ -327,7 +327,7 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
className={`${
Styles[`contributors-${i}`]
} absolute w-12 h-12 md:w-14 md:h-14 lg:w-16 lg:h-16 rounded-full border-[1.5px] border-default z-10
- transition-all hover:scale-105 drop-shadow-sm hover:drop-shadow-md
+ transition-all hover:scale-105 drop-shadow-xs hover:drop-shadow-md
`}
key={i}
>
@@ -349,22 +349,22 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>
)
})}
<div
- className={`${Styles['contributors-bg-circle']} w-[100%] lg:w-[80%] left-[0%] lg:left-[10%] -bottom-[30%] xs:-bottom-[36%] sm:-bottom-[52%] md:-bottom-[64%] lg:-bottom-[80%] xl:-bottom-[100%]`}
+ className={`${Styles['contributors-bg-circle']} w-full lg:w-[80%] left-[0%] lg:left-[10%] bottom-[-30%] xs:bottom-[-36%] sm:bottom-[-52%] md:bottom-[-64%] lg:bottom-[-80%] xl:-bottom-full`}
>
<div className="flex flex-col justify-between h-full bg-alternative rounded-full p-4"></div>
</div>
<div
- className={`${Styles['contributors-bg-circle']} w-[80%] lg:w-[60%] left-[10%] lg:left-[20%] -bottom-[25%] xs:-bottom-[30%] sm:-bottom-[44%] md:-bottom-[54%] lg:-bottom-[60%] xl:-bottom-[75%]`}
+ className={`${Styles['contributors-bg-circle']} w-[80%] lg:w-[60%] left-[10%] lg:left-[20%] bottom-[-25%] xs:bottom-[-30%] sm:bottom-[-44%] md:bottom-[-54%] lg:bottom-[-60%] xl:bottom-[-75%]`}
>
<div className="flex flex-col justify-between h-full bg-alternative rounded-full p-4"></div>
</div>
<div
- className={`${Styles['contributors-bg-circle']} w-[60%] lg:w-[40%] left-[20%] lg:left-[30%] -bottom-[20%] xs:-bottom-[25%] sm:-bottom-[38%] md:-bottom-[44%] lg:-bottom-[40%] xl:-bottom-[50%]`}
+ className={`${Styles['contributors-bg-circle']} w-[60%] lg:w-[40%] left-[20%] lg:left-[30%] bottom-[-20%] xs:bottom-[-25%] sm:bottom-[-38%] md:bottom-[-44%] lg:bottom-[-40%] xl:bottom-[-50%]`}
>
<div className="flex flex-col justify-between h-full bg-alternative rounded-full p-4"></div>
</div>
<div
- className={`${Styles['contributors-bg-circle']} w-[40%] lg:w-[20%] left-[30%] lg:left-[40%] -bottom-[15%] xs:-bottom-[19%] sm:-bottom-[30%] md:-bottom-[34%] lg:-bottom-[20%] xl:-bottom-[25%]`}
+ className={`${Styles['contributors-bg-circle']} w-[40%] lg:w-[20%] left-[30%] lg:left-[40%] bottom-[-15%] xs:bottom-[-19%] sm:bottom-[-30%] md:bottom-[-34%] lg:bottom-[-20%] xl:bottom-[-25%]`}
>
<div className="flex flex-col justify-between h-full bg-alternative rounded-full p-4"></div>
</div>
@@ -456,7 +456,7 @@ const JobItem = ({ job }: { job: JobItemProps }) => {
href={job.jobUrl}
className="
first-of-type:rounded-t-md last-of-type:rounded-b-md
- cursor-pointer md:cursor-default bg-surface-75 border border-muted drop-shadow-sm p-4
+ cursor-pointer md:cursor-default bg-surface-75 border border-muted drop-shadow-xs p-4
flex flex-col md:flex-row
md:items-center
transition hover:bg-surface-100
diff --git a/apps/www/pages/changelog.tsx b/apps/www/pages/changelog.tsx
index 62c3e5e2a3f..80068a161db 100644
--- a/apps/www/pages/changelog.tsx
+++ b/apps/www/pages/changelog.tsx
@@ -357,9 +357,9 @@ function ChangelogIndex({ featured, restIndex, allIndex }: PageProps) {
id={entry.number.toString()}
className="grid pb-12 lg:grid-cols-12 lg:gap-8 lg:pb-36 scroll-mt-32"
>
- <div className="col-span-12 lg:-ml-[31px] mb-8 lg:mb-0 self-start z-10 sticky top-[65px] lg:top-32 lg:col-span-4">
+ <div className="col-span-12 lg:ml-[-31px] mb-8 lg:mb-0 self-start z-10 sticky top-[65px] lg:top-32 lg:col-span-4">
<div className="flex w-full items-baseline relative bg-background pt-4 lg:pt-0 border-b pb-4 lg:gap-4 lg:border-none lg:pb-0">
- <div className="hidden lg:flex bg-border border-muted text-foreground-lighter -ml-2.5 h-5 w-5 items-center justify-center rounded border drop-shadow-sm">
+ <div className="hidden lg:flex bg-border border-muted text-foreground-lighter -ml-2.5 h-5 w-5 items-center justify-center rounded-sm border drop-shadow-xs">
<GitCommit size={14} strokeWidth={1.5} />
</div>
<div className="flex w-full flex-col gap-1">
@@ -379,7 +379,7 @@ function ChangelogIndex({ featured, restIndex, allIndex }: PageProps) {
<a
key={`${entry.number}-${label.name}`}
href={changelogTagFilterUrl(label.name)}
- className="group inline-flex no-underline focus-visible:ring-brand-default rounded-md focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none"
+ className="group inline-flex no-underline focus-visible:ring-brand-default rounded-md focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden"
>
<Badge className="group-hover:text-foreground-light text-foreground-lighter group-hover:border-foreground-muted px-1.5 py-px text-[11px] tracking-normal lowercase">
{changelogLabelDisplayName(label.name)}
@@ -392,7 +392,7 @@ function ChangelogIndex({ featured, restIndex, allIndex }: PageProps) {
</div>
</div>
<div className="col-span-8 lg:max-w-[calc(100vw-80px)]">
- <article className="prose prose-docs max-w-none [overflow-wrap:break-word] [&>*:first-child:not(style):not(script)]:mt-0 [&>style:first-child+*]:mt-0 [&>script:first-child+*]:mt-0 [&>*:last-child:not(style):not(script)]:mb-0">
+ <article className="prose prose-docs max-w-none wrap-break-word [&>*:first-child:not(style):not(script)]:mt-0 [&>style:first-child+*]:mt-0 [&>script:first-child+*]:mt-0 [&>*:last-child:not(style):not(script)]:mb-0">
<MDXRemote {...entry.source} components={mdxComponents('blog')} />
</article>
</div>
diff --git a/apps/www/pages/changelog/[slug].tsx b/apps/www/pages/changelog/[slug].tsx
index f9305bb9b7a..290a927242e 100644
--- a/apps/www/pages/changelog/[slug].tsx
+++ b/apps/www/pages/changelog/[slug].tsx
@@ -61,7 +61,7 @@ const ChangelogDetailPage = ({ title, url, created_at, slug, source, labels }: P
<div className="grid grid-cols-1 gap-8 lg:grid-cols-12 lg:gap-10 mb-8 lg:mb-20">
<div className="min-w-0 lg:col-span-8">
- <article className="prose prose-docs max-w-none [overflow-wrap:break-word] [&>*:first-child:not(style):not(script)]:mt-0 [&>style:first-child+*]:mt-0 [&>script:first-child+*]:mt-0 [&>*:last-child:not(style):not(script)]:mb-0">
+ <article className="prose prose-docs max-w-none wrap-break-word [&>*:first-child:not(style):not(script)]:mt-0 [&>style:first-child+*]:mt-0 [&>script:first-child+*]:mt-0 [&>*:last-child:not(style):not(script)]:mb-0">
<MDXRemote {...source} components={mdxComponents('blog')} />
</article>
</div>
diff --git a/apps/www/pages/contact-us.tsx b/apps/www/pages/contact-us.tsx
index 7b970a5f1b5..4bcdfa20c15 100644
--- a/apps/www/pages/contact-us.tsx
+++ b/apps/www/pages/contact-us.tsx
@@ -16,7 +16,7 @@ const ContactSection = ({
description: string | React.ReactNode
}) => (
<div className="">
- <div className="border-t-[1px] border-brand-500 w-[32px] mb-1"></div>
+ <div className="border-t border-brand-500 w-[32px] mb-1"></div>
<h2 className="text-xl md:text-2xl lg:text-3xl pt-1.5 lg:pt-3 tracking-[-1px] text-foreground">
{title}
</h2>
@@ -109,7 +109,7 @@ const ContactUs = ({}: Props) => {
/>
<div className="">
- <div className="border-t-[1px] border-brand-500 w-[32px] mb-1"></div>
+ <div className="border-t border-brand-500 w-[32px] mb-1"></div>
<h2 className="text-xl md:text-2xl lg:text-3xl pt-1.5 lg:pt-3 tracking-[-1px] text-foreground">
Grievance Officer
</h2>
diff --git a/apps/www/pages/contact/sales.tsx b/apps/www/pages/contact/sales.tsx
index 2d5c0f081a2..78a5f340f1e 100644
--- a/apps/www/pages/contact/sales.tsx
+++ b/apps/www/pages/contact/sales.tsx
@@ -27,11 +27,11 @@ const ContactSales = () => {
url: `https://supabase.com/${router.pathname}`,
}}
/>
- <DefaultLayout className="!min-h-fit">
+ <DefaultLayout className="min-h-fit!">
<SectionContainer className="text grid gap-8 lg:gap-12 md:grid-cols-2">
<div className="md:px-4 lg:pb-8 md:h-full w-full flex flex-col justify-between gap-2">
<div className="flex flex-col gap-2 md:max-w-md">
- <h1 className="h1 !m-0">Talk to our Sales team</h1>
+ <h1 className="h1 m-0!">Talk to our Sales team</h1>
<p className="md:text-lg text-foreground-lighter">
Book a demo and set up a trial Enterprise account to see how Supabase's scalable
features can accelerate your business growth and app development.
@@ -147,9 +147,9 @@ export const CustomerLogo = ({ title, logo }: { title: string; logo: string }) =
className="
bg-no-repeat m-0
object-left object-contain
- [[data-theme*=dark]_&]:brightness-200
- [[data-theme*=dark]_&]:contrast-0
- [[data-theme*=dark]_&]:filter
+ in-data-[theme*=dark]:brightness-200
+ in-data-[theme*=dark]:contrast-0
+ in-data-[theme*=dark]:filter
"
/>
</div>
diff --git a/apps/www/pages/customers.tsx b/apps/www/pages/customers.tsx
index d86c0d8e8c3..c43d6a0b96d 100644
--- a/apps/www/pages/customers.tsx
+++ b/apps/www/pages/customers.tsx
@@ -173,7 +173,7 @@ function CustomerStoriesPage(props: any) {
</div>
<div
className={cn(
- 'absolute inset-0 h-[150px] sm:h-[300px] bg-background z-0 after:!bg-background',
+ 'absolute inset-0 h-[150px] sm:h-[300px] bg-background z-0 after:bg-background!',
styles['bg-visual']
)}
/>
diff --git a/apps/www/pages/customers/[slug].tsx b/apps/www/pages/customers/[slug].tsx
index ab64910ca23..5185f24eb9f 100644
--- a/apps/www/pages/customers/[slug].tsx
+++ b/apps/www/pages/customers/[slug].tsx
@@ -164,9 +164,9 @@ function CaseStudyPage(props: any) {
object-contain
m-0
- [[data-theme*=dark]_&]:brightness-200
- [[data-theme*=dark]_&]:contrast-0
- [[data-theme*=dark]_&]:filter
+ in-data-[theme*=dark]:brightness-200
+ in-data-[theme*=dark]:contrast-0
+ in-data-[theme*=dark]:filter
"
/>
</div>
diff --git a/apps/www/pages/edge-functions.tsx b/apps/www/pages/edge-functions.tsx
index 403306028fa..6f094de54e5 100644
--- a/apps/www/pages/edge-functions.tsx
+++ b/apps/www/pages/edge-functions.tsx
@@ -56,7 +56,7 @@ function EdgeFunctions() {
/>
<SingleQuote
id="quote"
- className="!pb-8 md:!pb-12 [&_q]:max-w-2xl"
+ className="pb-8! md:pb-12! [&_q]:max-w-2xl"
quote={{
text: "Supabase gave us the flexibility and scalability needed at every growth stage. It's rare to find a tool that works just as well for startups as it does for large-scale operations.",
author: 'Zeno Rocha',
@@ -75,7 +75,7 @@ function EdgeFunctions() {
}}
/>
<div className="overflow-hidden">
- <SectionContainer className="flex flex-col gap-4 lg:gap-8 !pb-0" id="examples">
+ <SectionContainer className="flex flex-col gap-4 lg:gap-8 pb-0!" id="examples">
<ExamplesCarousel {...pageData.examplesSection} />
</SectionContainer>
</div>
@@ -103,7 +103,7 @@ function EdgeFunctions() {
<TimedAccordionSection tabs={pageData.integratesWithSupabase.useCases} />
</SectionContainer>
</div>
- <ProductsCta currentProduct={PRODUCT_SHORTNAMES.FUNCTIONS} className="!pt-0 lg:!pt-16" />
+ <ProductsCta currentProduct={PRODUCT_SHORTNAMES.FUNCTIONS} className="pt-0! lg:pt-16!" />
</DefaultLayout>
</>
)
diff --git a/apps/www/pages/events/[slug].tsx b/apps/www/pages/events/[slug].tsx
index 1c69fe6e4a4..c4fee65d3a2 100644
--- a/apps/www/pages/events/[slug].tsx
+++ b/apps/www/pages/events/[slug].tsx
@@ -223,10 +223,10 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>
/>
<DefaultLayout>
<div className="flex flex-col w-full bg-alternative border-b border-muted">
- <SectionContainer className="!py-2 flex items-start">
+ <SectionContainer className="py-2! flex items-start">
<Link
href="/events"
- className="text-foreground-lighter hover:text-foreground flex !m-0 !p-0 !leading-3 gap-1 cursor-pointer items-center text-sm transition"
+ className="text-foreground-lighter hover:text-foreground flex m-0! p-0! leading-3! gap-1 cursor-pointer items-center text-sm transition"
>
<ChevronLeft className="w-4 h-4" />
All Events
@@ -257,7 +257,7 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>
grid grid-cols-1 xl:grid-cols-2
gap-8
text-foreground-light
- !py-10 md:!py-16
+ py-10! md:py-16!
"
>
<div className="h-full flex flex-col justify-between">
@@ -308,7 +308,7 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>
</div>
</div>
{!!event.thumb && (
- <div className="relative w-full aspect-[5/3] lg:aspect-[3/2] overflow-hidden border shadow-lg rounded-lg z-10">
+ <div className="relative w-full aspect-5/3 lg:aspect-3/2 overflow-hidden border shadow-lg rounded-lg z-10">
<Image
src={{
dark: `/images/events/` + event.thumb,
@@ -321,8 +321,8 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>
quality={100}
containerClassName="
h-full
- [&.next-image--dynamic-fill_img]:!h-full
- [&.next-image--dynamic-fill_img]:!object-cover
+ [&.next-image--dynamic-fill_img]:h-full!
+ [&.next-image--dynamic-fill_img]:object-cover!
"
alt={`${event.title} thumbnail`}
/>
@@ -330,18 +330,18 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>
)}
</SectionContainer>
</header>
- <SectionContainer className="grid lg:grid-cols-3 gap-12 !py-10 md:!py-16">
+ <SectionContainer className="grid lg:grid-cols-3 gap-12 py-10! md:py-16!">
{event.company && (
<div className="order-first lg:col-span-full flex items-center gap-4 md:gap-6 lg:mb-4">
- <figure className="h-6 [&_.next-image--dynamic-fill_img]:!h-full">
+ <figure className="h-6 [&_.next-image--dynamic-fill_img]:h-full!">
<Image
src={{ dark: supabaseLogoWordmarkDark, light: supabaseLogoWordmarkLight }}
alt="Supabase Logo"
width={160}
height={30}
sizes="100%"
- className="!relative object-contain object-left"
- containerClassName="h-full object-contain object-left !rounded-none !border-none"
+ className="relative! object-contain object-left"
+ containerClassName="h-full object-contain object-left rounded-none! border-none!"
priority
/>
</figure>
@@ -349,7 +349,7 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>
<Link
href={event.company?.website_url ?? '#'}
target="_blank"
- className="h-5 aspect-[9/1] transition-opacity opacity-100 hover:opacity-90 [&_.next-image--dynamic-fill_img]:!h-full"
+ className="h-5 aspect-9/1 transition-opacity opacity-100 hover:opacity-90 [&_.next-image--dynamic-fill_img]:h-full!"
>
<Image
src={{ dark: event.company?.logo, light: event.company?.logo_light }}
@@ -357,8 +357,8 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>
width={160}
height={30}
sizes="100%"
- className="!relative object-contain object-left"
- containerClassName="h-full object-contain object-left !rounded-none !border-none"
+ className="relative! object-contain object-left"
+ containerClassName="h-full object-contain object-left rounded-none! border-none!"
priority
/>
</Link>
diff --git a/apps/www/pages/features.tsx b/apps/www/pages/features.tsx
index c77288647a7..1d0c0da80fa 100644
--- a/apps/www/pages/features.tsx
+++ b/apps/www/pages/features.tsx
@@ -104,14 +104,14 @@ function FeaturesPage() {
}}
/>
<DefaultLayout>
- <SectionContainer className="!py-0 sm:!px-0">
+ <SectionContainer className="py-0! sm:px-0!">
<div className="border border-muted rounded-xl bg-alternative my-4 px-6 py-8 md:py-10 lg:px-16 lg:py-20 xl:px-20 bg-center bg-cover bg-[url('/images/features/features-cover-light.svg')] dark:bg-[url('/images/features/features-cover-dark.svg')]">
<motion.div
className="mx-auto sm:max-w-xl text-center flex flex-col items-center gap-3"
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0, transition: { duration: 0.5, easing: 'easeOut' } }}
>
- <h1 className="h1 text-foreground !m-0">Supabase Features</h1>
+ <h1 className="h1 text-foreground m-0!">Supabase Features</h1>
<p className="text-foreground-light text-base">
Everything you need <br className="md:hidden" /> to build and ship your next
project.
@@ -119,7 +119,7 @@ function FeaturesPage() {
</motion.div>
</div>
</SectionContainer>
- <SectionContainer className="relative grid md:grid-cols-4 md:gap-4 !pt-0">
+ <SectionContainer className="relative grid md:grid-cols-4 md:gap-4 pt-0!">
<div className="relative w-full h-full">
<div className="mb-4 flex flex-col gap-4 sticky top-20">
<Input
@@ -130,10 +130,10 @@ function FeaturesPage() {
placeholder="Search features"
value={searchTerm}
onChange={handleSearchChange}
- className="w-full [&_input]:text-base [&_input]:md:text-sm [&_input]:!leading-4"
+ className="w-full [&_input]:text-base [&_input]:md:text-sm [&_input]:leading-4!"
/>
<div className="hidden md:flex flex-col gap-2.5">
- <div className="flex items-center gap-2 text-foreground-light hover:text-foreground !cursor-pointer hover:!cursor-pointer transition-colors">
+ <div className="flex items-center gap-2 text-foreground-light hover:text-foreground cursor-pointer! hover:cursor-pointer! transition-colors">
<Checkbox
id="self-hosted-filter"
checked={showSelfHostedOnly}
@@ -142,7 +142,7 @@ function FeaturesPage() {
/>
<label
htmlFor="self-hosted-filter"
- className="text-sm !leading-none flex-1 text-left"
+ className="text-sm leading-none! flex-1 text-left"
>
Show only self-hosted features
</label>
@@ -156,7 +156,7 @@ function FeaturesPage() {
.map((product) => (
<div
key={product}
- className="flex items-center gap-2 text-foreground-light hover:text-foreground !cursor-pointer hover:!cursor-pointer transition-colors"
+ className="flex items-center gap-2 text-foreground-light hover:text-foreground cursor-pointer! hover:cursor-pointer! transition-colors"
>
<Checkbox
id={product}
@@ -166,7 +166,7 @@ function FeaturesPage() {
/>
<label
htmlFor={product}
- className="text-sm !leading-none capitalize flex-1 text-left"
+ className="text-sm leading-none! capitalize flex-1 text-left"
>
{product}
</label>
@@ -188,7 +188,7 @@ function FeaturesPage() {
}}
className={cn(
'opacity-0 transition-opacity hidden md:block',
- HAS_ACTIVE_FILTERS && '!block opacity-100'
+ HAS_ACTIVE_FILTERS && 'block! opacity-100'
)}
>
Clear all filters
@@ -208,18 +208,18 @@ function FeaturesPage() {
<Link
key={`feat-${feature.title}`}
href={`/features/${feature.slug}`}
- className="flex flex-col justify-start items-stretch group cursor-pointer transition rounded-xl focus-visible:ring-2 focus-visible:ring-foreground-lighter outline-none outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 focus-visible:outline-brand-600"
+ className="flex flex-col justify-start items-stretch group cursor-pointer transition rounded-xl focus-visible:ring-2 focus-visible:ring-foreground-lighter outline-hidden outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 focus-visible:outline-brand-600"
>
<Panel
hasActiveOnHover
outerClassName="h-full"
innerClassName="flex md:flex-col gap-3 sm:gap-2 h-full items-start p-2"
>
- <div className="relative rounded-lg min-h-[80px] max-h-[80px] md:max-h-[140px] h-full md:h-auto aspect-square md:w-full md:!aspect-video bg-alternative flex items-center justify-center shadow-inner border border-muted">
+ <div className="relative rounded-lg min-h-[80px] max-h-[80px] md:max-h-[140px] h-full md:h-auto aspect-square md:w-full md:aspect-video! bg-alternative flex items-center justify-center shadow-inner border border-muted">
<feature.icon className="w-5 h-5 text-foreground-light group-hover:text-foreground transition-colors" />
</div>
<div className="md:p-2 md:pt-1 flex flex-col h-full md:h-auto grow gap-0.5 md:gap-1.5 justify-center md:justify-start">
- <h3 className="text-sm md:text-base text-foreground !leading-5">
+ <h3 className="text-sm md:text-base text-foreground leading-5!">
{feature.title}
</h3>
<p className="text-foreground-light text-sm line-clamp-2">
diff --git a/apps/www/pages/features/[slug].tsx b/apps/www/pages/features/[slug].tsx
index 4399be9b95b..9047c6ba6a6 100644
--- a/apps/www/pages/features/[slug].tsx
+++ b/apps/www/pages/features/[slug].tsx
@@ -99,7 +99,7 @@ const FeaturePage: React.FC<FeaturePageProps> = ({ feature, prevFeature, nextFea
flex flex-col
gap-4 md:gap-8
text-foreground-light
- !pt-10 !pb-4
+ pt-10! pb-4!
"
>
<div className="relative h-full flex flex-col items-start gap-2 w-full max-w-2xl mx-auto">
@@ -125,7 +125,7 @@ const FeaturePage: React.FC<FeaturePageProps> = ({ feature, prevFeature, nextFea
</Link>
))}
</div>
- <h1 className="h1 !m-0">{feature.title}</h1>
+ <h1 className="h1 m-0!">{feature.title}</h1>
<p>{feature.subtitle}</p>
</div>
<div
@@ -151,7 +151,7 @@ const FeaturePage: React.FC<FeaturePageProps> = ({ feature, prevFeature, nextFea
<source src={feature.heroImage} type="video/mp4" />
</video>
) : feature.heroImage.includes('.youtube') ? (
- <div className="video-container !rounded-none !border-none">
+ <div className="video-container rounded-none! border-none!">
<iframe
className="w-full"
src={feature.heroImage}
@@ -194,7 +194,7 @@ const FeaturePage: React.FC<FeaturePageProps> = ({ feature, prevFeature, nextFea
</div>
</SectionContainer>
</header>
- <SectionContainer className="!pt-0">
+ <SectionContainer className="pt-0!">
<div className="prose w-full max-w-3xl mx-auto pb-4 mb-8 border-b flex flex-col md:flex-row gap-4 md:gap-8 flex-wrap justify-center text-sm text-foreground-lighter">
<div className="flex gap-2 items-center">
<span>Stage:</span>
diff --git a/apps/www/pages/ga.tsx b/apps/www/pages/ga.tsx
index febe3749190..8795b0dc6aa 100644
--- a/apps/www/pages/ga.tsx
+++ b/apps/www/pages/ga.tsx
@@ -49,7 +49,7 @@ export default function IndexPage() {
<Image
src="/images/launchweek/ga/ga-black.svg"
alt="GA logo"
- className="dark:hidden w-12 md:w-16 aspect-[104/57] h-auto"
+ className="dark:hidden w-12 md:w-16 aspect-104/57 h-auto"
priority
quality={100}
width={300}
@@ -58,7 +58,7 @@ export default function IndexPage() {
<Image
src="/images/launchweek/ga/ga-white.svg"
alt="GA logo"
- className="hidden dark:block w-12 md:w-16 aspect-[104/57] h-auto"
+ className="hidden dark:block w-12 md:w-16 aspect-104/57 h-auto"
priority
quality={100}
width={300}
@@ -85,7 +85,7 @@ export default function IndexPage() {
</div>
</div>
</SectionContainer>
- <SectionContainer className="!pt-2 lg:!pt-8">
+ <SectionContainer className="pt-2! lg:pt-8!">
{data.highlightsSection.highlights && (
<div
className="flex-wrap md:flex-nowrap w-fit md:w-full md:flex md:items-start grid lg:grid-cols-4 gap-4 md:gap-10 lg:gap-20
@@ -95,7 +95,7 @@ export default function IndexPage() {
(highlight: { number: string; text: string }, i: number) => {
return (
<div key={i} className="">
- <div className="border-t-[1px] border-brand-500 w-[32px]"></div>
+ <div className="border-t border-brand-500 w-[32px]"></div>
<h2 className="text-xl md:text-2xl lg:text-4xl pt-1.5 lg:pt-3 tracking-[-1.5px] font-mono">
{highlight.number}
</h2>
@@ -129,9 +129,9 @@ export default function IndexPage() {
</SectionContainer>
</div>
<ParagraphSection {...data.companySection} hasStickyTitle />
- <SectionContainer className="!py-0 border-b" children={null} />
+ <SectionContainer className="py-0! border-b" children={null} />
<ParagraphSection {...data.openSourceSection} hasStickyTitle />
- <SectionContainer className="!pt-0">
+ <SectionContainer className="pt-0!">
{data.communityStats.highlights && (
<div
className="grid grid-cols-2 md:grid md:grid-cols-3 lg:grid-cols-3 xl:grid-cols-5 gap-8 md:gap-10 lg:gap-20
@@ -151,7 +151,7 @@ export default function IndexPage() {
>
{highlight.icon}
</Link>
- <div className="border-t-[1px] border-brand-500 w-[32px] mb-1 mt-4"></div>
+ <div className="border-t border-brand-500 w-[32px] mb-1 mt-4"></div>
<h2 className="text-xl md:text-2xl lg:text-4xl pt-1.5 lg:pt-3 tracking-[-1.5px] font-mono">
{highlight.number}
</h2>
@@ -165,11 +165,11 @@ export default function IndexPage() {
</div>
)}
</SectionContainer>
- <SectionContainer className="!py-0 border-b" children={null} />
+ <SectionContainer className="py-0! border-b" children={null} />
<ParagraphSection {...data.scaleSection} hasStickyTitle />
- <SectionContainer className="!py-0 border-b" children={null} />
- <ParagraphSection {...data.enterpriseSection} hasStickyTitle className="!pb-8 lg:!pb-16" />
- <SectionContainer className="!pt-0 !grid grid-cols-1 lg:grid-cols-12 gap-4 md:gap-8 xl:gap-10">
+ <SectionContainer className="py-0! border-b" children={null} />
+ <ParagraphSection {...data.enterpriseSection} hasStickyTitle className="pb-8! lg:pb-16!" />
+ <SectionContainer className="pt-0! grid! grid-cols-1 lg:grid-cols-12 gap-4 md:gap-8 xl:gap-10">
<div className="col-span-full lg:col-start-6 lg:col-span-7">
<ImageGrid
smCols={2}
@@ -181,7 +181,7 @@ export default function IndexPage() {
/>
</div>
</SectionContainer>
- <SectionContainer className="!pt-0">
+ <SectionContainer className="pt-0!">
{data.enterpriseSection.highlights && (
<div
className="grid grid-cols-2 md:grid md:grid-cols-3 lg:grid-cols-3 xl:grid-cols-6 gap-8 md:gap-10 lg:gap-20
@@ -192,7 +192,7 @@ export default function IndexPage() {
return (
<div key={i} className="">
{highlight.icon}
- <div className="border-t-[1px] border-brand-500 w-[32px] mb-1 mt-4"></div>
+ <div className="border-t border-brand-500 w-[32px] mb-1 mt-4"></div>
{highlight.number && (
<h2 className="text-xl md:text-2xl lg:text-4xl pt-1.5 lg:pt-3 tracking-[-1.5px] font-mono">
{highlight.number}
@@ -208,9 +208,9 @@ export default function IndexPage() {
</div>
)}
</SectionContainer>
- <SectionContainer className="!py-0 border-b" children={null} />
- <ParagraphSection {...data.integrationsSection} hasStickyTitle className="!pb-8 lg:!pb-16" />
- <SectionContainer className="!pt-0 !grid grid-cols-1 lg:grid-cols-12 gap-4 md:gap-8 xl:gap-10">
+ <SectionContainer className="py-0! border-b" children={null} />
+ <ParagraphSection {...data.integrationsSection} hasStickyTitle className="pb-8! lg:pb-16!" />
+ <SectionContainer className="pt-0! grid! grid-cols-1 lg:grid-cols-12 gap-4 md:gap-8 xl:gap-10">
<div className="col-span-full lg:col-start-6 lg:col-span-7">
<ImageGrid
smCols={3}
@@ -222,9 +222,9 @@ export default function IndexPage() {
/>
</div>
</SectionContainer>
- <SectionContainer className="!py-0 border-b" children={null} />
+ <SectionContainer className="py-0! border-b" children={null} />
<ParagraphSection {...data['whats-new']} hasStickyTitle />
- <SectionContainer className="!py-0 border-b" children={null} />
+ <SectionContainer className="py-0! border-b" children={null} />
<ParagraphSection {...data['whats-next']} hasStickyTitle />
<CTABanner />
</DefaultLayout>
diff --git a/apps/www/pages/launch-week/12/index.tsx b/apps/www/pages/launch-week/12/index.tsx
index ae469886958..fe852f3e175 100644
--- a/apps/www/pages/launch-week/12/index.tsx
+++ b/apps/www/pages/launch-week/12/index.tsx
@@ -101,7 +101,7 @@ export default function LaunchWeekIndex() {
<SectionContainer id="meetups" className="scroll-mt-[60px] lw-nav-anchor">
<LW12Meetups meetups={[]} />
</SectionContainer>
- <SectionContainer className="!pt-8 scroll-mt-[60px] lw-nav-anchor" id="awards">
+ <SectionContainer className="pt-8! scroll-mt-[60px] lw-nav-anchor" id="awards">
<LaunchWeekPrizeSection />
</SectionContainer>
<CTABanner />
diff --git a/apps/www/pages/launch-week/6/index.tsx b/apps/www/pages/launch-week/6/index.tsx
index 22989cff44d..496df84cada 100644
--- a/apps/www/pages/launch-week/6/index.tsx
+++ b/apps/www/pages/launch-week/6/index.tsx
@@ -91,9 +91,9 @@ export default function launchweek() {
<div className="flex flex-1 flex-col sm:flex-row">
<div className="flex gap-4 min-w-[380px] items-center">
<Badge
- className={`!bg-transparent !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#DFFFF1] !border-[#DFFFF1] h-fit relative ${
+ className={`bg-transparent! py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#DFFFF1] border-[#DFFFF1]! h-fit relative ${
shipped
- ? 'after:absolute after:rounded-full after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-gradient-to-br text-transparent !border-[#163837] after:from-[#14292c] after:to-[#141516] after:border-[#1f3536] after:-z-10 '
+ ? 'after:absolute after:rounded-full after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-linear-to-br text-transparent border-[#163837]! after:from-[#14292c] after:to-[#141516] after:border-[#1f3536] after:-z-10 '
: ''
}`}
>
@@ -113,7 +113,7 @@ export default function launchweek() {
return (
<div className="flex gap-2 z-10">
<a href={blog} target="_blank" rel="noopener">
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
Blog post
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img src="/images/launchweek/icons-blogpost.svg" className="w-4 h-4"></img>
@@ -122,7 +122,7 @@ export default function launchweek() {
</a>
{docs && (
<a href={docs} target="_blank" rel="noopener">
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
Docs
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img src="/images/launchweek/icons-docs.svg" className="w-4 h-4"></img>
@@ -132,7 +132,7 @@ export default function launchweek() {
)}
{video && (
<a href={video} target="_blank" rel="noopener">
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
Video
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img src="/images/launchweek/video-icon.svg" className="w-4 h-4"></img>
@@ -161,7 +161,7 @@ export default function launchweek() {
}}
/>
<DefaultLayout>
- <SectionContainer className="flex flex-col !pb-1 items-center lg:pt-32 gap-24">
+ <SectionContainer className="flex flex-col pb-1! items-center lg:pt-32 gap-24">
<div
className={classNames(
styleUtils.appear,
@@ -208,7 +208,7 @@ export default function launchweek() {
></div>
</div>
- <SectionContainer className="!py-0 ">
+ <SectionContainer className="py-0! ">
<div className="border border-[#2E2E2E] rounded-2xl text-sm px-5 py-4 flex flex-col sm:flex-row justify-between items-center">
<div className="relative flex items-center mb-4 sm:mb-0">
<div className="flex min-w-[150px]">
@@ -226,7 +226,7 @@ export default function launchweek() {
</div>
<div className="flex gap-2 z-10">
<a href={'https://youtu.be/-BG9XptyCKI'} target="_blank" rel="noopener">
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2 min-w-[130px]">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2 min-w-[130px]">
Watch video
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img src="/images/launchweek/video-icon.svg" className="w-3 h-3"></img>
@@ -234,7 +234,7 @@ export default function launchweek() {
</div>
</a>
<a href={'/blog/who-we-hire'} target="_blank" rel="noopener">
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2 min-w-[142px]">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2 min-w-[142px]">
Read blogpost
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img src="/images/launchweek/icons-blogpost.svg" className="w-3 h-3"></img>
@@ -244,7 +244,7 @@ export default function launchweek() {
</div>
</div>
</SectionContainer>
- <SectionContainer className="!pt-4 ">
+ <SectionContainer className="pt-4! ">
<div className="border border-[#2E2E2E] rounded-2xl text-sm px-5 py-4 flex flex-col sm:flex-row justify-between items-center">
<div className="relative flex items-center mb-4 sm:mb-0">
<div className="flex min-w-[150px]">
@@ -257,7 +257,7 @@ export default function launchweek() {
</div>
<div className="flex gap-2 z-10">
<a href={'/blog/launch-week-6-wrap-up'} target="_blank" rel="noopener">
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2 min-w-[142px]">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2 min-w-[142px]">
Read blogpost
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img src="/images/launchweek/icons-blogpost.svg" className="w-3 h-3"></img>
@@ -267,7 +267,7 @@ export default function launchweek() {
</div>
</div>
</SectionContainer>
- <SectionContainer className="!pt-0">
+ <SectionContainer className="pt-0!">
<Accordion
type="default"
openBehaviour="multiple"
@@ -307,11 +307,11 @@ export default function launchweek() {
}}
></div>
<div
- className={`flex flex-col flex-1 items-center gap-5 lg:items-start lg:justify-between border border-[#2E2E2E] rounded-xl h-full relative overflow-hidden after:absolute after:bg-no-repeat after:bg-[center_bottom] lg:after:bg-[right_15%_top_100px] xl:after:bg-[right_15%_top_60px] after:bg-[length:300px_180px] after:lg:bg-[length:450px_300px] after:xl:bg-[length:528px_367px] after:bg-[url('/images/launchweek/docs-update-bg.png')] after:top-0 after:right-0 after:bottom-0 after:left-0 p-14 text-2xl before:absolute before:w-full before:h-full before:top-52 before:right-0 before:bottom-0 before:left-0 before:border-[#1f3536] before:-z-10 !px-3 sm:!px-14`}
+ className={`flex flex-col flex-1 items-center gap-5 lg:items-start lg:justify-between border border-[#2E2E2E] rounded-xl h-full relative overflow-hidden after:absolute after:bg-no-repeat after:bg-position-[center_bottom] lg:after:bg-position-[right_15%_top_100px] xl:after:bg-position-[right_15%_top_60px] after:bg-size-[300px_180px] after:lg:bg-size-[450px_300px] after:xl:bg-size-[528px_367px] after:bg-[url('/images/launchweek/docs-update-bg.png')] after:top-0 after:right-0 after:bottom-0 after:left-0 p-14 text-2xl before:absolute before:w-full before:h-full before:top-52 before:right-0 before:bottom-0 before:left-0 before:border-[#1f3536] before:-z-10 px-3! sm:px-14!`}
>
<div className="flex items-center relative z-10 justify-between flex-col-reverse lg:flex-row lg:justify-start gap-2 text-white">
<span>{day1.description}</span>
- <Badge className="!bg-transparent h-fit lg:ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#DFFFF1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit lg:ml-4 text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#DFFFF1] border-[#DFFFF1]">
Redesigned
</Badge>
</div>
@@ -342,7 +342,7 @@ export default function launchweek() {
{day2.steps.length > 0 && (
<div className="h-[800px] lg:h-[400px] flex flex-col gap-5 lg:flex-row">
<div
- className={`relative overflow-hidden group/2 flex-1 flex flex-col items-center gap-5 lg:items-start justify-between basis-1/2 lg:basis-2/3 border border-[#2E2E2E] rounded-xl h-full p-14 xs:text-2xl text-xl text-center bg-no-repeat bg-[url('/images/launchweek/image-processing-bg-alt.png')] xs:bg-[url('/images/launchweek/image-processing-bg.png')] bg-[right_30px_top_35px] lg:bg-[top_25px_right_25px] bg-contain`}
+ className={`relative overflow-hidden group/2 flex-1 flex flex-col items-center gap-5 lg:items-start justify-between basis-1/2 lg:basis-2/3 border border-[#2E2E2E] rounded-xl h-full p-14 xs:text-2xl text-xl text-center bg-no-repeat bg-[url('/images/launchweek/image-processing-bg-alt.png')] xs:bg-[url('/images/launchweek/image-processing-bg.png')] bg-position-[right_30px_top_35px] lg:bg-position-[top_25px_right_25px] bg-contain`}
>
<div
className="top-0 absolute group-hover/2:scale-105 opacity-60 group-hover/2:opacity-100 w-full h-full -z-10 transition-all duration-500"
@@ -352,14 +352,14 @@ export default function launchweek() {
></div>
<div className="flex items-center justify-between flex-col-reverse lg:flex-row lg:justify-start gap-2 text-white">
<div>{day2.steps[0].title}</div>
- <Badge className="!bg-transparent h-fit lg:ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit lg:ml-4 text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
New
</Badge>
</div>
<SectionButtons docs={day2.steps[0].docs} blog={day2.steps[0].blog} />
</div>
<div
- className={`relative overflow-hidden group/3 flex-1 flex flex-col items-center justify-between basis-1/2 lg:basis-1/3 border border-[#2E2E2E] rounded-xl h-full bg-no-repeat p-14 text-2xl bg-[url('/images/launchweek/cdn-caching-bg.png')] bg-[top_170px_center] lg:bg-[center_bottom] bg-contain`}
+ className={`relative overflow-hidden group/3 flex-1 flex flex-col items-center justify-between basis-1/2 lg:basis-1/3 border border-[#2E2E2E] rounded-xl h-full bg-no-repeat p-14 text-2xl bg-[url('/images/launchweek/cdn-caching-bg.png')] bg-position-[top_170px_center] lg:bg-position-[center_bottom] bg-contain`}
>
<div
className="top-0 absolute group-hover/3:scale-105 opacity-60 group-hover/3:opacity-100 w-full h-full -z-10 transition-all duration-500"
@@ -368,7 +368,7 @@ export default function launchweek() {
}}
></div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
New
</Badge>
<span className="text-white">{day2.steps[1].title}</span>
@@ -419,7 +419,7 @@ export default function launchweek() {
<div className="flex items-center justify-between flex-col-reverse lg:flex-row lg:justify-start text-white">
<span>{day3.steps[0].title}</span>
- <Badge className="!bg-transparent h-fit lg:ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit lg:ml-4 text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
Updated
</Badge>
</div>
@@ -446,7 +446,7 @@ export default function launchweek() {
{day4.steps.length > 0 && (
<div className="h-[400px] flex flex-col gap-5 lg:flex-row group/day4 relative overflow-hidden">
<div
- className={`relative flex flex-col items-center justify-between lg:items-start flex-1 basis-1/2 lg:basis-2/3 border border-[#2E2E2E] rounded-xl h-full p-14 text-2xl bg-no-repeat bg-cover !px-3 sm:!px-14`}
+ className={`relative flex flex-col items-center justify-between lg:items-start flex-1 basis-1/2 lg:basis-2/3 border border-[#2E2E2E] rounded-xl h-full p-14 text-2xl bg-no-repeat bg-cover px-3! sm:px-14!`}
>
<div
className={`absolute top-0 right-0 w-full h-full -z-20 ${styles.wrappers}`}
@@ -471,7 +471,7 @@ export default function launchweek() {
</div>
<div className="flex items-center flex-col-reverse lg:flex-row text-white">
<span>{day4.steps[0].title}</span>
- <Badge className="!bg-transparent h-fit lg:ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit lg:ml-4 text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
New
</Badge>
</div>
@@ -528,7 +528,7 @@ export default function launchweek() {
</div>
<div className="flex items-center flex-col-reverse lg:flex-row">
<span className="text-white">{day5.steps[0].title}</span>
- <Badge className="!bg-transparent h-fit lg:ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit lg:ml-4 text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
New
</Badge>
</div>
@@ -557,7 +557,7 @@ export default function launchweek() {
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <Badge className="!bg-transparent h-fit ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit ml-4 text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
New
</Badge>
<span className="text-white text-center">{day5.steps[1].title}</span>
@@ -568,7 +568,7 @@ export default function launchweek() {
<h3 className="text-white text-lg mb-4 mt-4">Community</h3>
<div className="h-[400px] flex flex-col gap-5 lg:flex-row group/community relative overflow-hidden">
<div
- className={`relative flex flex-col items-center justify-between lg:items-start flex-1 basis-1/2 lg:basis-2/3 border border-[#2E2E2E] rounded-xl h-full p-14 text-2xl bg-no-repeat bg-cover !px-3 sm:!px-14`}
+ className={`relative flex flex-col items-center justify-between lg:items-start flex-1 basis-1/2 lg:basis-2/3 border border-[#2E2E2E] rounded-xl h-full p-14 text-2xl bg-no-repeat bg-cover px-3! sm:px-14!`}
>
<div
className={`absolute top-0 right-0 w-full h-full -z-20 ${styles.community_wrappers}`}
@@ -601,7 +601,7 @@ export default function launchweek() {
target="_blank"
rel="noopener"
>
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
Blog post
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img
@@ -616,7 +616,7 @@ export default function launchweek() {
target="_blank"
rel="noopener"
>
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
Flutterflow
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img
@@ -633,7 +633,7 @@ export default function launchweek() {
target="_blank"
rel="noopener"
>
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
OneSignal
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img
@@ -648,7 +648,7 @@ export default function launchweek() {
target="_blank"
rel="noopener"
>
- <div className="flex items-center border border-[#2E2E2E] bg-gradient-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
+ <div className="flex items-center border border-[#2E2E2E] bg-linear-to-r text-white from-[#191919] to-[#464444] hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2">
NextAuth
<div className="bg-[#313131] rounded-full inline-block p-1 ml-2">
<img
@@ -687,7 +687,7 @@ export default function launchweek() {
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
Updated
</Badge>
<span className="text-white text-center">pg_graphql v1.0</span>
@@ -720,7 +720,7 @@ export default function launchweek() {
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
New
</Badge>
<span className="text-white text-center">Custom Domains</span>
@@ -753,7 +753,7 @@ export default function launchweek() {
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
New
</Badge>
<span className="text-white text-center">Point-in-time recovery</span>
@@ -786,7 +786,7 @@ export default function launchweek() {
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
Experimental
</Badge>
<span className="text-white text-center">pg_crdt</span>
@@ -819,7 +819,7 @@ export default function launchweek() {
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
Upgrade
</Badge>
<span className="text-white text-center">Postgres 15</span>
@@ -852,7 +852,7 @@ export default function launchweek() {
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
+ <Badge className="bg-transparent! h-fit text-sm py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#1a7a4ca1] border-[#DFFFF1]">
Upgrade
</Badge>
<span className="text-white text-center">PostgREST 11</span>
@@ -870,13 +870,13 @@ export default function launchweek() {
</Accordion>
</SectionContainer>
- <SectionContainer className="!py-20 sm:!pb-40 sm:!pt-10"></SectionContainer>
+ <SectionContainer className="py-20! sm:pb-40! sm:pt-10!"></SectionContainer>
- <SectionContainer className="!pt-0 sm:!pb-20 !pb-40"></SectionContainer>
- <SectionContainer className="!pt-0 sm:!pb-20 !pb-40">
+ <SectionContainer className="pt-0! sm:pb-20! pb-40!"></SectionContainer>
+ <SectionContainer className="pt-0! sm:pb-20! pb-40!">
<div className="flex flex-col mb-16">
<Badge
- className={`w-fit !bg-transparent !py-1 !px-4 bg-clip-text bg-gradient-to-r from-white to-[#DFFFF1] h-fit relative mb-4 after:absolute after:rounded-full text-black after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-gradient-to-br text-transparent !border-[#163837] after:from-[#14292c] after:to-[#141516] after:border-[#1f3536] after:-z-10`}
+ className={`w-fit bg-transparent! py-1! px-4! bg-clip-text bg-linear-to-r from-white to-[#DFFFF1] h-fit relative mb-4 after:absolute after:rounded-full text-black after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-linear-to-br text-transparent border-[#163837]! after:from-[#14292c] after:to-[#141516] after:border-[#1f3536] after:-z-10`}
>
Submissions Closed
</Badge>
@@ -1033,7 +1033,7 @@ export default function launchweek() {
</SectionContainer>
<SectionContainer
className={classNames(
- 'flex gap-6 min-h-[350px] !py-3 mb-11 flex-col-reverse md:flex-row mt-24',
+ 'flex gap-6 min-h-[350px] py-3! mb-11 flex-col-reverse md:flex-row mt-24',
styleUtils.appear,
styleUtils['appear-third']
)}
@@ -1054,7 +1054,7 @@ export default function launchweek() {
}}
>
<div className="relative group">
- <div className="absolute -inset-0.5 bg-brand-600 rounded-full opacity-75 group-hover:opacity-100 group-hover:blur-sm transition duration-500"></div>
+ <div className="absolute -inset-0.5 bg-brand-600 rounded-full opacity-75 group-hover:opacity-100 group-hover:blur-xs transition duration-500"></div>
<a href={creator.link} target="_blank" rel="noopener">
<img
className="relative rounded-full w-12 h-12 border border-brand hover:shadow-md"
@@ -1067,7 +1067,7 @@ export default function launchweek() {
})}
</div>
<div className="flex-1">
- <Badge className="!bg-transparent !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#DFFFF1] h-fit relative mb-4 after:absolute after:rounded-full after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-gradient-to-br !border-[#163837] after:from-[#14292c] after:to-[#141516] after:border-[#1f3536] after:-z-10">
+ <Badge className="bg-transparent! py-1! px-4! text-transparent bg-clip-text bg-linear-to-r from-white to-[#DFFFF1] h-fit relative mb-4 after:absolute after:rounded-full after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-linear-to-br border-[#163837]! after:from-[#14292c] after:to-[#141516] after:border-[#1f3536] after:-z-10">
Shipped
</Badge>
<h2 className="text-3xl text-white mb-2">The Supabase Content Storm</h2>
diff --git a/apps/www/pages/launch-week/7/index.tsx b/apps/www/pages/launch-week/7/index.tsx
index 0d334c08232..974034096f0 100644
--- a/apps/www/pages/launch-week/7/index.tsx
+++ b/apps/www/pages/launch-week/7/index.tsx
@@ -37,17 +37,17 @@ export default function TicketHome() {
}}
/>
<DefaultLayout>
- <div className="bg-[#1C1C1C] -mt-[65px]">
+ <div className="bg-[#1C1C1C] mt-[-65px]">
<div className="relative bg-[#9e44ef] pt-16">
<div className="relative z-10">
- <SectionContainer className="flex flex-col justify-around items-center !py-4 md:!py-8 gap-2 md:gap-4 !px-2 !mx-auto">
+ <SectionContainer className="flex flex-col justify-around items-center py-4! md:py-8! gap-2 md:gap-4 px-2! mx-auto!">
<LaunchWeekLogoHeader />
</SectionContainer>
<LW7BgGraphic />
</div>
</div>
- <div className="relative !w-full max-w-[100vw] !px-4 sm:max-w-xl md:max-w-4xl lg:max-w-7xl -mt-48 md:mt-[-460px] z-20 flex flex-col justify-around items-center !py-4 md:!py-8 gap-2 md:gap-4 !mx-auto">
+ <div className="relative w-full! max-w-[100vw] px-4! sm:max-w-xl md:max-w-4xl lg:max-w-7xl -mt-48 md:mt-[-460px] z-20 flex flex-col justify-around items-center py-4! md:py-8! gap-2 md:gap-4 mx-auto!">
<LW7Releases />
<LaunchWeekPrizeSection className="pt-10" />
</div>
diff --git a/apps/www/pages/launch-week/8/index.tsx b/apps/www/pages/launch-week/8/index.tsx
index 611a7e01a12..37e8f520d56 100644
--- a/apps/www/pages/launch-week/8/index.tsx
+++ b/apps/www/pages/launch-week/8/index.tsx
@@ -121,10 +121,10 @@ export default function TicketHome() {
}}
>
<DefaultLayout>
- <div className="-mt-[65px]">
+ <div className="mt-[-65px]">
<div className="relative">
<div className="relative z-10">
- <SectionContainer className="relative flex flex-col justify-around items-center min-h-[200px] !py-4 md:!py-8 lg:!pb-0 gap-2 md:gap-4 !px-0 !mx-auto">
+ <SectionContainer className="relative flex flex-col justify-around items-center min-h-[200px] py-4! md:py-8! lg:pb-0! gap-2 md:gap-4 px-0! mx-auto!">
<div className="absolute bottom-0 z-10 w-full flex flex-col items-center justify-end gap-4 px-6">
<LaunchWeekLogoHeader />
</div>
@@ -140,7 +140,7 @@ export default function TicketHome() {
</div>
</SectionContainer>
</div>
- <div className="absolute w-full aspect-[1/1] md:aspect-[1.5/1] lg:aspect-[2.5/1] inset-0 z-0">
+ <div className="absolute w-full aspect-square md:aspect-1.5/1 lg:aspect-2.5/1 inset-0 z-0">
<Image
src="/images/launchweek/8/LW8-gradient.png"
fill
@@ -153,12 +153,12 @@ export default function TicketHome() {
</div>
<div id="twitter-spaces">
- <SectionContainer className="!pt-10 lg:!pt-14 !pb-0" id="hackathon">
+ <SectionContainer className="pt-10! lg:pt-14! pb-0!" id="hackathon">
<LW8CalloutsSection />
</SectionContainer>
</div>
- <SectionContainer className="!pt-0">
+ <SectionContainer className="pt-0!">
<LW8Releases />
</SectionContainer>
@@ -166,11 +166,11 @@ export default function TicketHome() {
<LWArchive />
</SectionContainer>
- <SectionContainer className="!px-4 w-full">
+ <SectionContainer className="px-4! w-full">
<LaunchWeekPrizeSection />
</SectionContainer>
</div>
- <CTABanner className="!bg-[#020405] border-t-0" />
+ <CTABanner className="bg-[#020405]! border-t-0" />
</DefaultLayout>
</ConfDataContext.Provider>
</>
diff --git a/apps/www/pages/launch-week/ticket.tsx b/apps/www/pages/launch-week/ticket.tsx
index 5e5dfbf98df..1722f71ed2e 100644
--- a/apps/www/pages/launch-week/ticket.tsx
+++ b/apps/www/pages/launch-week/ticket.tsx
@@ -17,7 +17,7 @@ const Lw15Page = () => {
return (
<Lw15ConfDataProvider initState={{ userTicketData: defaultUserData }}>
- <DefaultLayout className="!min-h-fit !h-fit lg:!min-h-[calc(100dvh-66px)] lg:!h-full dark:bg-black">
+ <DefaultLayout className="min-h-fit! h-fit! lg:min-h-[calc(100dvh-66px)]! lg:h-full! dark:bg-black">
<div
style={{
fontFamily:
diff --git a/apps/www/pages/launch-week/tickets/[username].tsx b/apps/www/pages/launch-week/tickets/[username].tsx
index d1b04fc7557..fb4061619c9 100644
--- a/apps/www/pages/launch-week/tickets/[username].tsx
+++ b/apps/www/pages/launch-week/tickets/[username].tsx
@@ -53,7 +53,7 @@ const Lw15Page = ({ user, ogImageUrl }: Props) => {
/>
<Lw15ConfDataProvider initState={{ userTicketData: defaultUserData }}>
- <DefaultLayout className="!min-h-fit !h-fit lg:!min-h-[calc(100dvh-66px)] lg:!h-full dark:bg-black">
+ <DefaultLayout className="min-h-fit! h-fit! lg:min-h-[calc(100dvh-66px)]! lg:h-full! dark:bg-black">
<div
style={{
fontFamily:
diff --git a/apps/www/pages/launch-week/x/index.tsx b/apps/www/pages/launch-week/x/index.tsx
index 86b9c02a3fb..7d7324ee3dc 100644
--- a/apps/www/pages/launch-week/x/index.tsx
+++ b/apps/www/pages/launch-week/x/index.tsx
@@ -117,7 +117,7 @@ export default function LaunchWeekIndex({ meetups }: Props) {
<LWXHeader />
<MainStage />
<BuildStage />
- <SectionContainer id="meetups" className="-scroll-mt-[66px]">
+ <SectionContainer id="meetups" className="scroll-mt-[-66px]">
<LWXMeetups meetups={meetups} />
</SectionContainer>
<SectionContainer className="lg:pb-40">
diff --git a/apps/www/pages/modules/cron.tsx b/apps/www/pages/modules/cron.tsx
index f10b42f26e9..0a30b91e29a 100644
--- a/apps/www/pages/modules/cron.tsx
+++ b/apps/www/pages/modules/cron.tsx
@@ -33,7 +33,7 @@ function CronPage() {
],
}}
/>
- <DefaultLayout className="!bg-alternative" stickyNavbar={false}>
+ <DefaultLayout className="bg-alternative!" stickyNavbar={false}>
<ModulesNav activePage={PRODUCT_MODULES_NAMES.CRON} docsUrl={pageData.docsUrl} />
<ProductModulesHeader {...pageData.heroSection} />
<SectionContainer>{pageData.videoSection.video}</SectionContainer>
@@ -42,7 +42,7 @@ function CronPage() {
<ImageParagraphSection {...pageData.section2} />
<ImageParagraphSection {...pageData.section3} />
<ImageParagraphSection {...pageData.section4} />
- <div className="bg-gradient-to-t from-alternative to-transparent mt-8 lg:mt-24">
+ <div className="bg-linear-to-t from-alternative to-transparent mt-8 lg:mt-24">
<CTABanner />
</div>
</DefaultLayout>
diff --git a/apps/www/pages/modules/queues.tsx b/apps/www/pages/modules/queues.tsx
index e7ab8525b5c..394104192a4 100644
--- a/apps/www/pages/modules/queues.tsx
+++ b/apps/www/pages/modules/queues.tsx
@@ -34,7 +34,7 @@ function CronPage() {
],
}}
/>
- <DefaultLayout className="!bg-alternative" stickyNavbar={false}>
+ <DefaultLayout className="bg-alternative!" stickyNavbar={false}>
<ModulesNav activePage={PRODUCT_MODULES_NAMES.QUEUES} docsUrl={pageData.docsUrl} />
<ProductModulesHeader {...pageData.heroSection} />
<SectionContainer>{pageData.videoSection.video}</SectionContainer>
@@ -42,7 +42,7 @@ function CronPage() {
<QueuesSQLSection {...pageData.section1} />
<QueuesAPISection {...pageData.section2} />
<ImageParagraphSection {...pageData.section3} />
- <div className="bg-gradient-to-t from-alternative to-transparent mt-8 lg:mt-24">
+ <div className="bg-linear-to-t from-alternative to-transparent mt-8 lg:mt-24">
<CTABanner />
</div>
</DefaultLayout>
diff --git a/apps/www/pages/modules/vector.tsx b/apps/www/pages/modules/vector.tsx
index beef4c41db5..218106f4b90 100644
--- a/apps/www/pages/modules/vector.tsx
+++ b/apps/www/pages/modules/vector.tsx
@@ -45,7 +45,7 @@ function VectorPage() {
],
}}
/>
- <DefaultLayout className="!bg-alternative" stickyNavbar={false}>
+ <DefaultLayout className="bg-alternative!" stickyNavbar={false}>
<ModulesNav activePage={PRODUCT_MODULES_NAMES.VECTOR} docsUrl={pageData.docsUrl} />
<ProductModulesHeader {...pageData.heroSection} />
<HighlightCards {...(pageData.highlightsSection as any)} />
@@ -56,11 +56,11 @@ function VectorPage() {
<FeaturesSection {...pageData.featuresSection} />
</div>
<CustomerQuotesSection {...pageData.quotesSection} />
- <div className="bg-gradient-to-t from-alternative to-transparent">
+ <div className="bg-linear-to-t from-alternative to-transparent">
<EnterpriseCta />
</div>
<div className="bg-background">
- <div className="w-full h-[1px] bg-gradient-to-r from-background-alternative via-border to-background-alternative" />
+ <div className="w-full h-px bg-linear-to-r from-background-alternative via-border to-background-alternative" />
<ProductsCta currentProduct={PRODUCT_MODULES_SHORTNAMES.VECTOR} />
</div>
</DefaultLayout>
diff --git a/apps/www/pages/open-source.tsx b/apps/www/pages/open-source.tsx
index 47e6412613e..b1d56f2154b 100644
--- a/apps/www/pages/open-source.tsx
+++ b/apps/www/pages/open-source.tsx
@@ -38,14 +38,14 @@ const OpenSource = () => {
}}
/>
<DefaultLayout className="relative">
- <SectionContainer className="overflow-hidden relative mx-auto !py-0 sm:!py-0 md:!py-4 lg:!pt-16 lg:!pb-12">
+ <SectionContainer className="overflow-hidden relative mx-auto py-0! sm:py-0! md:py-4! lg:pt-16! lg:pb-12!">
<ProductHeaderCentered {...pageData.heroSection} />
</SectionContainer>
<OSSHero />
- <SectionContainer className="!pt-0">
+ <SectionContainer className="pt-0!">
<Repos tabs={pageData.repo_tabs} />
</SectionContainer>
- <SectionContainer className="!py-0">
+ <SectionContainer className="py-0!">
<div className="w-full border-b" />
</SectionContainer>
<SectionContainer>
diff --git a/apps/www/pages/open-source/contributing/supasquad.tsx b/apps/www/pages/open-source/contributing/supasquad.tsx
index 8d4a038bebd..4dba02b7884 100644
--- a/apps/www/pages/open-source/contributing/supasquad.tsx
+++ b/apps/www/pages/open-source/contributing/supasquad.tsx
@@ -27,7 +27,7 @@ const BeginnersPage: NextPage = () => {
<Layout className="overflow-visible">
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
{/* <Quotes {...content.quotes} /> */}
diff --git a/apps/www/pages/opt-out/[ref].tsx b/apps/www/pages/opt-out/[ref].tsx
index 758e54a9ddd..eaf5dce9c3b 100644
--- a/apps/www/pages/opt-out/[ref].tsx
+++ b/apps/www/pages/opt-out/[ref].tsx
@@ -134,7 +134,7 @@ export default function OptOutPage() {
<OptOutLayout>
<div>
<span className="label">Opt out</span>
- <h2 className="h4 !m-0">Receive an unexpected email from Supabase?</h2>
+ <h2 className="h4 m-0!">Receive an unexpected email from Supabase?</h2>
<p className="text-foreground-light">Please report it here so we can investigate.</p>
</div>
diff --git a/apps/www/pages/partners/index.tsx b/apps/www/pages/partners/index.tsx
index 268405b7f86..7d4ef5cf528 100644
--- a/apps/www/pages/partners/index.tsx
+++ b/apps/www/pages/partners/index.tsx
@@ -40,7 +40,7 @@ const Partners = () => {
<ProductHeaderCentered {...pageData.heroSection} />
</SectionContainer>
<div className="relative z-20 w-full flex py-16 mb-16 -mt-10 md:mb-24 md:-mt-20 justify-center gap-2 overflow-hidden mx-auto max-w-4xl before:content[''] before:absolute before:inset-0 before:w-full before:bg-[linear-gradient(to_right,hsl(var(--background-alternative-default))_0%,transparent_10%,transparent_90%,hsl(var(--background-alternative-default))_100%)] before:z-10">
- <div className="absolute w-32 h-32 md:w-40 md:h-40 rounded-full bg-alternative/90 backdrop-blur-2xl backdrop-filter bg-gradient-to-t from-background to-background-alternative border-4 border-background-alternative shadow-xl top-1/2 -translate-x-1/2 left-1/2 -translate-y-1/2 flex items-center justify-center z-30">
+ <div className="absolute w-32 h-32 md:w-40 md:h-40 rounded-full bg-alternative/90 backdrop-blur-2xl backdrop-filter bg-linear-to-t from-background to-background-alternative border-4 border-background-alternative shadow-xl top-1/2 -translate-x-1/2 left-1/2 -translate-y-1/2 flex items-center justify-center z-30">
<div className="absolute inset-0 w-full h-full transform">
<svg
className="absolute inset-[-2px] transform animate-[transformSpin_3s_both_cubic-bezier(.5,.2,.5,.8)_infinite] opacity-90"
@@ -81,7 +81,7 @@ const Partners = () => {
{range(0, 3).map((_) => (
<div className="flex gap-2 animate-marquee will-change-transform">
{pageData.featuredApps.map((app) => (
- <div className="w-20 h-20 md:w-28 md:h-28 rounded-2xl bg-gradient-to-t from-background to-background-alternative border border-muted flex items-center justify-center shadow-xl">
+ <div className="w-20 h-20 md:w-28 md:h-28 rounded-2xl bg-linear-to-t from-background to-background-alternative border border-muted flex items-center justify-center shadow-xl">
<Image
src={app.logo}
alt={app.name}
@@ -94,7 +94,7 @@ const Partners = () => {
</div>
))}
</div>
- <div className="absolute inset-0 z-[1] bg-[linear-gradient(to_top,hsl(var(--background-alternative-default))_40%,hsl(var(--background-default))_90%)]" />
+ <div className="absolute inset-0 z-1 bg-[linear-gradient(to_top,hsl(var(--background-alternative-default))_40%,hsl(var(--background-default))_90%)]" />
</div>
<SectionContainer>
<div className="grid grid-cols-1 md:grid-cols-4 gap-8">
@@ -110,7 +110,7 @@ const Partners = () => {
label="View docs"
/>
</div>
- <div className="col-span-1 md:col-span-2 w-full max-w-4xl grid gap-8 rounded">
+ <div className="col-span-1 md:col-span-2 w-full max-w-4xl grid gap-8 rounded-sm">
<Panel
hasInnerShimmer={false}
hasActiveOnHover={true}
@@ -144,21 +144,21 @@ const Partners = () => {
</div>
</div>
</SectionContainer>
- <SectionContainer className="!py-0">
+ <SectionContainer className="py-0!">
<div className="border-b" />
</SectionContainer>
<SectionContainer>
<h2 className="text-2xl sm:text-3xl xl:text-4xl text-center tracking-[-.5px]">
Partner benefits
</h2>
- <div className="grid mt-8 lg:mt-16 gap-8 rounded md:grid-cols-2 xl:grid-cols-4">
+ <div className="grid mt-8 lg:mt-16 gap-8 rounded-sm md:grid-cols-2 xl:grid-cols-4">
{pageData.featureBlocks.map((item, i) => {
return (
<div
className="group flex flex-col items-center text-center gap-4 px-8 py-6"
key={i}
>
- <div className="bg-brand-300 [[data-theme*=dark]_&]:bg-brand-500 text-brand-1200 group-hover:text-brand-800 [[data-theme*=dark]_&]:group-hover:text-brand-1000 flex h-12 w-12 items-center justify-center rounded-md border border-brand transition-all group-hover:scale-105">
+ <div className="bg-brand-300 in-data-[theme*=dark]:bg-brand-500 text-brand-1200 group-hover:text-brand-800 [[data-theme*=dark]_&]:group-hover:text-brand-1000 flex h-12 w-12 items-center justify-center rounded-md border border-brand transition-all group-hover:scale-105">
{item.icon ? item.icon : <Code strokeWidth={2} />}
</div>
diff --git a/apps/www/pages/partners/integrations/[slug].tsx b/apps/www/pages/partners/integrations/[slug].tsx
index 5bae706db46..c5eea5c6048 100644
--- a/apps/www/pages/partners/integrations/[slug].tsx
+++ b/apps/www/pages/partners/integrations/[slug].tsx
@@ -80,7 +80,7 @@ function Partner({
visible
onCancel={() => setFocusedImage(null)}
size="xxlarge"
- className="w-full outline-none"
+ className="w-full outline-hidden"
>
<Image
layout="responsive"
@@ -119,10 +119,10 @@ function Partner({
</div>
<div
- className="bg-gradient-to-t from-background-alternative to-background border-b p-6 [&_.swiper-container]:overflow-visible"
+ className="bg-linear-to-t from-background-alternative to-background border-b p-6 [&_.swiper-container]:overflow-visible"
style={{ marginLeft: 'calc(50% - 50vw)', marginRight: 'calc(50% - 50vw)' }}
>
- <SectionContainer className="!py-0 !px-3 lg:!px-12 xl:!p-0 mx-auto max-w-5xl">
+ <SectionContainer className="py-0! px-3! lg:px-12! xl:p-0! mx-auto max-w-5xl">
<Swiper
initialSlide={0}
spaceBetween={20}
@@ -196,7 +196,7 @@ function Partner({
{!isNarrow && <PartnerDetails partner={partner} />}
</div>
{partner.call_to_action_link && (
- <div className="bg-background hover:border-default-control border-default rounded-2xl border p-10 drop-shadow-sm max-w-5xl mx-auto mt-12">
+ <div className="bg-background hover:border-default-control border-default rounded-2xl border p-10 drop-shadow-xs max-w-5xl mx-auto mt-12">
<div className="flex flex-row justify-between">
<h1 className="text-2xl font-medium self-center">
Get started with {partner.title} and Supabase.
diff --git a/apps/www/pages/realtime.tsx b/apps/www/pages/realtime.tsx
index 6f7d115058b..e17344d6cd6 100644
--- a/apps/www/pages/realtime.tsx
+++ b/apps/www/pages/realtime.tsx
@@ -75,7 +75,7 @@ function RealtimePage() {
h1={[<span key={'authentication-h1'}>Build modern web and mobile applications</span>]}
subheader={['Sync client state globally over WebSockets in Realtime']}
image={[
- <div className="bg-surface-100 border-default relative flex h-[372px] w-[560px] items-center justify-center overflow-hidden rounded border drop-shadow-md">
+ <div className="bg-surface-100 border-default relative flex h-[372px] w-[560px] items-center justify-center overflow-hidden rounded-sm border drop-shadow-md">
<div
className={[
'border-brand-300 relative h-12 w-48 bg-brand',
@@ -126,8 +126,8 @@ function RealtimePage() {
</div>
<div className="mx-3 flex items-center">
<div className="border-foreground bg-tomato-900 relative -right-4 h-5 w-5 rounded-full border" />
- <div className="border-foreground bg-yellow-900 relative -right-2 z-[2] h-5 w-5 rounded-full border" />
- <div className="border-foreground bg-indigo-900 z-[3] h-5 w-5 rounded-full border" />
+ <div className="border-foreground bg-yellow-900 relative -right-2 z-2 h-5 w-5 rounded-full border" />
+ <div className="border-foreground bg-indigo-900 z-3 h-5 w-5 rounded-full border" />
</div>
</div>
</div>,
@@ -192,7 +192,7 @@ function RealtimePage() {
<SingleQuote
id="quote"
- className="!pb-8 md:!pb-12"
+ className="pb-8! md:pb-12!"
quote={{
text: 'Supabase takes out the mental effort from our back-end infrastructure so we can focus on our customers needs.',
author: 'Aaron Sullivan',
@@ -211,7 +211,7 @@ function RealtimePage() {
}}
/>
- <SectionContainer className="!pb-0 !mb-0">
+ <SectionContainer className="pb-0! mb-0!">
<div className="mb-12 prose">
<h3>What you can build with Realtime</h3>
<p className="text-foreground-light mt-0">
diff --git a/apps/www/pages/solutions/agencies.tsx b/apps/www/pages/solutions/agencies.tsx
index 79078424662..1df8464ab2c 100644
--- a/apps/www/pages/solutions/agencies.tsx
+++ b/apps/www/pages/solutions/agencies.tsx
@@ -34,7 +34,7 @@ const Agencies: NextPage = () => (
<SolutionsStickyNav activeItem={Solutions.agencies} type="use-case" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<Quotes {...content.quotes} />
diff --git a/apps/www/pages/solutions/agents.tsx b/apps/www/pages/solutions/agents.tsx
index 464f2abf97e..990b459bfed 100644
--- a/apps/www/pages/solutions/agents.tsx
+++ b/apps/www/pages/solutions/agents.tsx
@@ -39,7 +39,7 @@ const AgentsPage: NextPage = () => {
<SolutionsStickyNav activeItem={Solutions.agents} type="app-type" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<SingleQuote
@@ -51,7 +51,7 @@ const AgentsPage: NextPage = () => {
link: content.singleQuote.quote.link,
logo: content.singleQuote.quote.logo,
}}
- className="!pb-8 md:!pb-12 [&_q]:max-w-2xl"
+ className="pb-8! md:pb-12! [&_q]:max-w-2xl"
/>
<WhySupabase {...content.why} />
<PlatformSection {...content.platform} />
diff --git a/apps/www/pages/solutions/ai-builders.tsx b/apps/www/pages/solutions/ai-builders.tsx
index fdaee1a7398..4361550021b 100644
--- a/apps/www/pages/solutions/ai-builders.tsx
+++ b/apps/www/pages/solutions/ai-builders.tsx
@@ -53,7 +53,7 @@ const Enterprise: NextPage = () => {
<SolutionsStickyNav activeItem={Solutions.aiBuilders} type="skill-based" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
footer={<AIBuildersLogos className="mt-16 md:mt-0" />}
footerPosition="left"
diff --git a/apps/www/pages/solutions/b2b-saas.tsx b/apps/www/pages/solutions/b2b-saas.tsx
index 769bd852d2b..5af8b8f3db6 100644
--- a/apps/www/pages/solutions/b2b-saas.tsx
+++ b/apps/www/pages/solutions/b2b-saas.tsx
@@ -39,7 +39,7 @@ const B2BSaaSPage: NextPage = () => {
<SolutionsStickyNav activeItem={Solutions.b2bSaaS} type="app-type" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<SingleQuote
@@ -51,7 +51,7 @@ const B2BSaaSPage: NextPage = () => {
link: content.singleQuote.quote.link,
logo: content.singleQuote.quote.logo,
}}
- className="!pb-8 md:!pb-12 [&_q]:max-w-2xl"
+ className="pb-8! md:pb-12! [&_q]:max-w-2xl"
/>
<WhySupabase {...content.why} />
<PlatformSection {...content.platform} />
diff --git a/apps/www/pages/solutions/beginners.tsx b/apps/www/pages/solutions/beginners.tsx
index 783ac8cbdb9..906851a8ffe 100644
--- a/apps/www/pages/solutions/beginners.tsx
+++ b/apps/www/pages/solutions/beginners.tsx
@@ -32,7 +32,7 @@ const BeginnersPage: NextPage = () => {
<SolutionsStickyNav activeItem={Solutions.beginners} type="skill-based" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-16 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-16 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<WhySupabase {...content.why} />
diff --git a/apps/www/pages/solutions/developers.tsx b/apps/www/pages/solutions/developers.tsx
index b59e3d50f48..fcf86fbafb8 100644
--- a/apps/www/pages/solutions/developers.tsx
+++ b/apps/www/pages/solutions/developers.tsx
@@ -38,7 +38,7 @@ const BeginnersPage: NextPage = () => {
<SolutionsStickyNav activeItem={Solutions.developers} type="skill-based" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<WhySupabase {...content.why} />
@@ -67,7 +67,7 @@ const BeginnersPage: NextPage = () => {
/>
<SingleQuote
id="quote"
- className="!pb-8 md:!pb-12 [&_q]:max-w-2xl"
+ className="pb-8! md:pb-12! [&_q]:max-w-2xl"
quote={{
text: 'Supabase enabled us to focus on building the best email infrastructure for developers — without worrying about backend complexity. Their authentication, database, and support have been game-changers for our rapid growth.',
author: 'Zeno Rocha',
diff --git a/apps/www/pages/solutions/enterprise.tsx b/apps/www/pages/solutions/enterprise.tsx
index 46720622bbd..1693834b68a 100644
--- a/apps/www/pages/solutions/enterprise.tsx
+++ b/apps/www/pages/solutions/enterprise.tsx
@@ -37,7 +37,7 @@ const Enterprise: NextPage = () => (
<SolutionsStickyNav activeItem={Solutions.enterprise} type="use-case" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
footer={<EnterpriseLogos className="lg:max-w-xs xl:max-w-none" />}
footerPosition="left"
diff --git a/apps/www/pages/solutions/finserv.tsx b/apps/www/pages/solutions/finserv.tsx
index e94c291e696..4f4e270372d 100644
--- a/apps/www/pages/solutions/finserv.tsx
+++ b/apps/www/pages/solutions/finserv.tsx
@@ -39,7 +39,7 @@ const FinServPage: NextPage = () => {
<SolutionsStickyNav activeItem={Solutions.finserv} type="app-type" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<SingleQuote
@@ -51,7 +51,7 @@ const FinServPage: NextPage = () => {
link: content.singleQuote.quote.link,
logo: content.singleQuote.quote.logo,
}}
- className="!pb-8 md:!pb-12 [&_q]:max-w-2xl"
+ className="pb-8! md:pb-12! [&_q]:max-w-2xl"
/>
<WhySupabase {...content.why} />
<PlatformSection {...content.platform} />
diff --git a/apps/www/pages/solutions/healthcare.tsx b/apps/www/pages/solutions/healthcare.tsx
index aa427f8003b..f37b5b66ff7 100644
--- a/apps/www/pages/solutions/healthcare.tsx
+++ b/apps/www/pages/solutions/healthcare.tsx
@@ -40,7 +40,7 @@ const HealthcarePage: NextPage = () => {
<SolutionsStickyNav activeItem={Solutions.healthcare} type="app-type" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<SingleQuote
@@ -52,7 +52,7 @@ const HealthcarePage: NextPage = () => {
link: content.singleQuote.quote.link,
logo: content.singleQuote.quote.logo,
}}
- className="!pb-8 md:!pb-12 [&_q]:max-w-2xl"
+ className="pb-8! md:pb-12! [&_q]:max-w-2xl"
/>
<WhySupabase {...content.why} />
<PlatformSection {...content.platform} />
diff --git a/apps/www/pages/solutions/innovation-teams.tsx b/apps/www/pages/solutions/innovation-teams.tsx
index 43eb7387915..2e65d9e77d2 100644
--- a/apps/www/pages/solutions/innovation-teams.tsx
+++ b/apps/www/pages/solutions/innovation-teams.tsx
@@ -64,7 +64,7 @@ const InnovationTeams: NextPage = () => {
role: data.secondaryQuote.role,
logo: data.secondaryQuote.logo,
}}
- className="!pt-0"
+ className="pt-0!"
/>
)}
{/* AI Builder Ecosystem Section */}
diff --git a/apps/www/pages/solutions/no-code.tsx b/apps/www/pages/solutions/no-code.tsx
index c5b3bdcdb1e..6e719a29c7f 100644
--- a/apps/www/pages/solutions/no-code.tsx
+++ b/apps/www/pages/solutions/no-code.tsx
@@ -40,7 +40,7 @@ const BeginnersPage: NextPage = () => {
<SolutionsStickyNav activeItem="no-code" type="skill-based" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-24 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-24 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<Quotes {...content.quotes} />
diff --git a/apps/www/pages/solutions/postgres-developers.tsx b/apps/www/pages/solutions/postgres-developers.tsx
index 9820d265e09..f65e236dddc 100644
--- a/apps/www/pages/solutions/postgres-developers.tsx
+++ b/apps/www/pages/solutions/postgres-developers.tsx
@@ -36,7 +36,7 @@ const BeginnersPage: NextPage = () => {
<SubStickyNav activeItem={Solutions.postgresDevs} type="skill-based" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<WhySupabase {...content.why} />
diff --git a/apps/www/pages/solutions/startups.tsx b/apps/www/pages/solutions/startups.tsx
index a5fc4af327e..fb5e44d2067 100644
--- a/apps/www/pages/solutions/startups.tsx
+++ b/apps/www/pages/solutions/startups.tsx
@@ -38,7 +38,7 @@ const BeginnersPage: NextPage = () => {
<SolutionsStickyNav activeItem={Solutions.startups} type="use-case" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<WhySupabase {...content.why} />
@@ -67,7 +67,7 @@ const BeginnersPage: NextPage = () => {
/>
<SingleQuote
id="quote"
- className="!pb-8 md:!pb-12 [&_q]:max-w-2xl"
+ className="pb-8! md:pb-12! [&_q]:max-w-2xl"
quote={{
text: 'Supabase enabled us to focus on building the best email infrastructure for developers — without worrying about backend complexity. Their authentication, database, and support have been game-changers for our rapid growth.',
author: 'Zeno Rocha',
diff --git a/apps/www/pages/solutions/vibe-coders.tsx b/apps/www/pages/solutions/vibe-coders.tsx
index 8cd8cacb986..f919252dec9 100644
--- a/apps/www/pages/solutions/vibe-coders.tsx
+++ b/apps/www/pages/solutions/vibe-coders.tsx
@@ -36,7 +36,7 @@ const VibeCodersPage: NextPage<{ posts: Post[] }> = ({ posts }) => {
<SolutionsStickyNav activeItem={Solutions.vibeCoders} type="skill-based" />
<ProductHeader
{...content.heroSection}
- className="[&_h1]:2xl:!text-5xl bg-default border-0 lg:pb-16 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
+ className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-16 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
sectionContainerClassName="lg:gap-4"
/>
<Quotes {...content.quotes} />
diff --git a/apps/www/pages/state-of-startups-2025.tsx b/apps/www/pages/state-of-startups-2025.tsx
index a0f9d102b1e..8713ae5e478 100644
--- a/apps/www/pages/state-of-startups-2025.tsx
+++ b/apps/www/pages/state-of-startups-2025.tsx
@@ -193,7 +193,7 @@ function StateOfStartupsPage() {
<section ref={heroRef} className="w-full">
<StateOfStartupsHeader />
<SurveySectionBreak className="hidden md:block" />
- <div className="grid grid-cols-1 md:grid-cols-3 max-w-[60rem] mx-auto md:border-x border-muted">
+ <div className="grid grid-cols-1 md:grid-cols-3 max-w-240 mx-auto md:border-x border-muted">
{/* Intro text */}
<div className="md:col-span-2 flex flex-col gap-4 px-8 py-10 border-b md:border-b-0 md:border-r border-muted text-foreground text-xl md:text-2xl text-balance">
<p>{pageData.heroSection.subheader}</p>
diff --git a/apps/www/pages/support.tsx b/apps/www/pages/support.tsx
index a6000675a20..c56d86b44b4 100644
--- a/apps/www/pages/support.tsx
+++ b/apps/www/pages/support.tsx
@@ -47,7 +47,7 @@ const Index = () => {
],
}}
/>
- <DefaultLayout className="!min-h-fit">
+ <DefaultLayout className="min-h-fit!">
<div className="bg-alternative">
<SectionContainer className="space-y-2 text-center">
<h1 className="text-brand font-mono text-base uppercase tracking-widest">
@@ -71,7 +71,7 @@ const Index = () => {
border-control
hover:bg-surface-100
transition
- rounded"
+ rounded-sm"
>
<div className="flex items-center flex-1 space-x-2">
<Search className="text-foreground-light" size={18} strokeWidth={2} />
@@ -81,7 +81,7 @@ const Index = () => {
/>
</div>
<div className="flex items-center h-full space-x-1">
- <div className="hidden text-foreground-lighter md:flex items-center justify-center h-5 w-10 border rounded bg-surface-300 border-foreground-lighter/30 gap-1">
+ <div className="hidden text-foreground-lighter md:flex items-center justify-center h-5 w-10 border rounded-sm bg-surface-300 border-foreground-lighter/30 gap-1">
<Command size={12} strokeWidth={1.5} />
<span className="text-[12px]">K</span>
</div>
@@ -90,7 +90,7 @@ const Index = () => {
</CommandMenuTrigger>
</SectionContainer>
</div>
- <SectionContainer className="text grid gap-5 md:grid-cols-2 xl:grid-cols-3 max-w-7xl !pb-8">
+ <SectionContainer className="text grid gap-5 md:grid-cols-2 xl:grid-cols-3 max-w-7xl pb-8!">
{data.cards.map((card) => (
<Panel
key={card.title}
@@ -120,7 +120,7 @@ const Index = () => {
</Panel>
))}
</SectionContainer>
- <SectionContainer className="!pt-0 max-w-7xl">
+ <SectionContainer className="pt-0! max-w-7xl">
<div className="mx-auto bg-alternative border rounded-xl p-6 lg:p-10">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-2 xl:gap-16 justify-between">
<div className="gap-2 flex flex-col">
diff --git a/apps/www/styles/career.module.css b/apps/www/styles/career.module.css
index ae8ad7ae053..118c015834f 100644
--- a/apps/www/styles/career.module.css
+++ b/apps/www/styles/career.module.css
@@ -1,3 +1,5 @@
+@reference './index.css';
+
.contributors-bg-circle {
@apply bg-gradient-to-r from-background-alternative via-border-strong to-background-alternative rounded-full p-[1px] aspect-square absolute;
}
diff --git a/apps/www/styles/index.css b/apps/www/styles/index.css
index bd4985b6a3f..91c814f8632 100644
--- a/apps/www/styles/index.css
+++ b/apps/www/styles/index.css
@@ -1,11 +1,21 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@import 'tailwindcss';
@import './../../../packages/ui/build/css/source/global.css';
@import './../../../packages/ui/build/css/themes/dark.css';
@import './../../../packages/ui/build/css/themes/light.css';
+@config '../tailwind.config.js';
+
+@layer base {
+ *,
+ ::after,
+ ::before,
+ ::backdrop,
+ ::file-selector-button {
+ border-color: hsl(var(--border-default, currentColor));
+ }
+}
+
@layer utilities {
.run {
animation-play-state: running;
@@ -110,15 +120,15 @@ h6:not(.overwrite) {
}
.heading-gradient {
- @apply text-[#F4FFFA00] bg-clip-text bg-gradient-to-b from-foreground to-foreground/70;
+ @apply text-[#F4FFFA00] bg-clip-text bg-linear-to-b from-foreground to-foreground/70;
}
.heading-gradient-brand {
- @apply text-[#3ECF8E00] bg-clip-text bg-gradient-to-b from-brand to-brand/80;
+ @apply text-[#3ECF8E00] bg-clip-text bg-linear-to-b from-brand to-brand/80;
}
.toc-animate {
- @apply !translate-x-1 !text-brand;
+ @apply translate-x-1! text-brand!;
}
.prose-toc a {
@@ -256,7 +266,7 @@ table {
}
.sbui-typography a {
- @apply break-words;
+ @apply wrap-break-word;
}
/*
@@ -273,7 +283,7 @@ table {
}
.next-image--dynamic-fill.wide,
video.wide {
- @apply sm:my-0 sm:max-w-none sm:-mx-8 sm:w-[calc(100%_+_4rem)];
+ @apply sm:my-0 sm:max-w-none sm:-mx-8 sm:w-[calc(100%+4rem)];
}
@media (min-width: 560px) {
.next-image--dynamic-fill.wide,
@@ -371,7 +381,7 @@ launch week
}
.video-container.no-border {
- @apply !border-none;
+ @apply border-none!;
}
.video-container iframe {
@@ -673,15 +683,15 @@ launch week
}
.gradient-text-pink-500 {
- @apply text-transparent bg-clip-text bg-gradient-to-br from-[#c867ee] to-[#f6a4f3];
+ @apply text-transparent bg-clip-text bg-linear-to-br from-[#c867ee] to-[#f6a4f3];
}
.gradient-text-purple-500 {
- @apply text-transparent bg-clip-text bg-gradient-to-br from-[#902DFB] to-[#D87BF5];
+ @apply text-transparent bg-clip-text bg-linear-to-br from-[#902DFB] to-[#D87BF5];
}
.gradient-text-purple-800 {
- @apply text-transparent bg-clip-text bg-gradient-to-br from-[#5900EA] to-[#A242E5];
+ @apply text-transparent bg-clip-text bg-linear-to-br from-[#5900EA] to-[#A242E5];
}
.gradient-text-gold-500 {
@@ -731,7 +741,7 @@ launch week
transition-timing-function: cubic-bezier(0.24, 0.25, 0.05, 1) !important;
}
[data-rmiz-modal-overlay='visible'] {
- @apply !bg-background;
+ @apply bg-background!;
opacity: 0.8;
}
[data-rmiz-modal-img] {
diff --git a/apps/www/tailwind.config.js b/apps/www/tailwind.config.js
index b8217959f52..8c904d9f313 100644
--- a/apps/www/tailwind.config.js
+++ b/apps/www/tailwind.config.js
@@ -17,15 +17,15 @@ module.exports = config({
extend: {
colors: {
'purple-sos': {
- 100: 'hsl(293 80% 97% / <alpha-value>)',
- 200: 'hsl(293 85% 91% / <alpha-value>)',
- 300: 'hsl(293 90% 80% / <alpha-value>)',
- 400: 'hsl(293 95% 67% / <alpha-value>)',
- 500: 'hsl(293 100% 54% / <alpha-value>)',
- 600: 'hsl(293 100% 44% / <alpha-value>)',
- 700: 'hsl(293 100% 34% / <alpha-value>)',
- 800: 'hsl(293 95% 22% / <alpha-value>)',
- 900: 'hsl(293 90% 12% / <alpha-value>)',
+ 100: 'hsl(293 80% 97%)',
+ 200: 'hsl(293 85% 91%)',
+ 300: 'hsl(293 90% 80%)',
+ 400: 'hsl(293 95% 67%)',
+ 500: 'hsl(293 100% 54%)',
+ 600: 'hsl(293 100% 44%)',
+ 700: 'hsl(293 100% 34%)',
+ 800: 'hsl(293 95% 22%)',
+ 900: 'hsl(293 90% 12%)',
},
},
keyframes: {
diff --git a/packages/config/package.json b/packages/config/package.json
index 104684eedb0..5ce20f9026a 100644
--- a/packages/config/package.json
+++ b/packages/config/package.json
@@ -17,6 +17,7 @@
"tailwindcss-radix": "^2.0.0"
},
"devDependencies": {
+ "@tailwindcss/postcss": "^4.2.4",
"tailwindcss": "catalog:",
"tailwindcss-animate": "^1.0.7",
"typescript": "catalog:"
diff --git a/packages/config/postcss.config.js b/packages/config/postcss.config.js
index 74892551be5..52b9b4bafe3 100644
--- a/packages/config/postcss.config.js
+++ b/packages/config/postcss.config.js
@@ -1,7 +1,5 @@
module.exports = {
plugins: {
- 'tailwindcss/nesting': {},
- tailwindcss: {},
- autoprefixer: {},
+ '@tailwindcss/postcss': {},
},
}
diff --git a/packages/config/tailwind.config.js b/packages/config/tailwind.config.js
index 47b9ca849a0..f5b30440064 100644
--- a/packages/config/tailwind.config.js
+++ b/packages/config/tailwind.config.js
@@ -9,7 +9,7 @@ const color = require('./../ui/build/css/tw-extend/color')
*/
let colorExtend = {}
Object.values(color).map((x, i) => {
- colorExtend[Object.keys(color)[i]] = `hsl(${x.cssVariable} / <alpha-value>)` // x.cssVariable
+ colorExtend[Object.keys(color)[i]] = `hsl(${x.cssVariable})` // x.cssVariable
})
// console.log('colorExtend', colorExtend)
@@ -19,7 +19,6 @@ Object.values(color).map((x, i) => {
/**
* Generates Tailwind colors for the theme
- * adds <alpha-value> as part of the hsl value
*/
function generateTwColorClasses(globalKey, twAttributes) {
let classes = {}
@@ -30,7 +29,7 @@ function generateTwColorClasses(globalKey, twAttributes) {
const keySplit = attrKey.split('-').splice(1).join('-')
let payload = {
- [keySplit]: `hsl(${attr.cssVariable} / <alpha-value>)`,
+ [keySplit]: `hsl(${attr.cssVariable})`,
}
if (keySplit == 'DEFAULT') {
@@ -38,7 +37,7 @@ function generateTwColorClasses(globalKey, twAttributes) {
// this allows for classes like `border-default` which is the same as `border`
payload = {
...payload,
- default: `hsl(${attr.cssVariable} / <alpha-value>)`,
+ default: `hsl(${attr.cssVariable})`,
}
}
@@ -102,7 +101,7 @@ const uiConfig = ui({
/*
* custom background re-maps
*/
- studio: `hsl(var(--background-200)/ <alpha-value>)`,
+ studio: `hsl(var(--background-200))`,
}),
borderColor: (theme) => ({
...theme('colors'),
@@ -437,6 +436,13 @@ const uiConfig = ui({
function ({ addVariant }) {
addVariant('not-disabled', '&:not(:disabled)')
},
+ function ({ addUtilities }) {
+ // The bg class worked in Tailwind 3, but stopped working in TW 4. This is a custom utility to add it back in, as
+ // it's used in a lot of places across the codebase. We should deprecate it and use `bg-default` instead.
+ addUtilities({
+ '.bg': { backgroundColor: 'hsl(var(--background-default))' },
+ })
+ },
],
})
diff --git a/packages/config/typography.css b/packages/config/typography.css
index f02a2e4ffcb..bf85aef7b7a 100644
--- a/packages/config/typography.css
+++ b/packages/config/typography.css
@@ -1,5 +1,54 @@
-@tailwind base;
-@tailwind utilities;
+/* Heading */
+@utility heading-title {
+ @apply scroll-m-20 text-2xl tracking-tight;
+}
+
+@utility heading-section {
+ @apply scroll-m-20 text-xl;
+}
+
+@utility heading-subSection {
+ @apply scroll-m-20 text-base;
+}
+
+@utility heading-default {
+ @apply scroll-m-20 text-sm font-medium;
+}
+
+@utility heading-compact {
+ @apply scroll-m-20 text-xs font-medium;
+}
+
+@utility heading-meta {
+ @apply text-xs font-mono uppercase tracking-wider font-medium;
+}
+
+/* Text */
+@utility text-default {
+ @apply text-base;
+}
+
+@utility text-subTitle {
+ @apply text-lg;
+}
+
+@utility text-compact {
+ @apply text-xs;
+}
+
+/* Link */
+@utility text-link {
+ @apply text-foreground-light underline underline-offset-4 decoration-inherit hover:decoration-foreground transition-colors hover:text-foreground;
+}
+
+@utility text-link-table-cell {
+ @apply truncate cursor-pointer underline underline-offset-4 decoration-foreground-muted/50 hover:decoration-foreground-lighter/80 transition-colors duration-100;
+}
+
+/* Pair with `code` elements for semantic consistency, e.g. <code className="text-code-inline"> */
+@utility text-code-inline {
+ @apply break-all text-xs tracking-tight bg-surface-200 border border-muted rounded-md px-1 py-0.5 text-foreground font-medium;
+}
@layer base {
body {
@@ -30,57 +79,3 @@
@apply font-medium;
}
}
-
-@layer utilities {
- /* Heading */
- .heading-title {
- @apply scroll-m-20 text-2xl tracking-tight;
- }
-
- .heading-section {
- @apply scroll-m-20 text-xl;
- }
-
- .heading-subSection {
- @apply scroll-m-20 text-base;
- }
-
- .heading-default {
- @apply scroll-m-20 text-sm font-medium;
- }
-
- .heading-compact {
- @apply scroll-m-20 text-xs font-medium;
- }
-
- .heading-meta {
- @apply text-xs font-mono uppercase tracking-wider font-medium;
- }
-
- /* Text */
- .text-default {
- @apply text-base;
- }
-
- .text-subTitle {
- @apply text-lg;
- }
-
- .text-compact {
- @apply text-xs;
- }
-
- /* Link */
- .text-link {
- @apply text-foreground-light underline underline-offset-4 decoration-inherit hover:decoration-foreground transition-colors hover:text-foreground;
- }
-
- .text-link-table-cell {
- @apply truncate cursor-pointer underline underline-offset-4 decoration-foreground-muted/50 hover:decoration-foreground-lighter/80 transition-colors duration-100;
- }
-
- /* Pair with `code` elements for semantic consistency, e.g. <code className="text-code-inline"> */
- .text-code-inline {
- @apply break-all text-xs tracking-tight bg-surface-200 border border-muted rounded-md px-1 py-0.5 text-foreground font-medium;
- }
-}
diff --git a/packages/config/ui.config.js b/packages/config/ui.config.js
index 1ffa14954ec..2c84db05b6c 100644
--- a/packages/config/ui.config.js
+++ b/packages/config/ui.config.js
@@ -320,6 +320,11 @@ const uiConfig = {
margin: '0',
},
})
+ addBase({
+ 'input[type=number]': {
+ '-moz-appearance': 'textfield',
+ },
+ })
// [Ivan] Not sure if it's used.
addComponents({
".dropdown-content[data-state='open']": {
diff --git a/packages/dev-tools/DevToolbar.tsx b/packages/dev-tools/DevToolbar.tsx
index cede199d9fd..fe18f3b4373 100644
--- a/packages/dev-tools/DevToolbar.tsx
+++ b/packages/dev-tools/DevToolbar.tsx
@@ -117,7 +117,7 @@ function EventRow({ event }: { event: DevTelemetryEvent }) {
type="button"
onClick={handleCopy}
aria-label="Copy JSON"
- className="p-1 rounded hover:bg-surface-200 text-foreground-muted hover:text-foreground-light"
+ className="p-1 rounded-sm hover:bg-surface-200 text-foreground-muted hover:text-foreground-light"
>
<Copy className="w-3 h-3" />
</button>
@@ -385,24 +385,18 @@ export function DevToolbar({ extraTabs = [] }: { extraTabs?: ExtraTab[] }) {
aria-hidden="true"
className="shrink-0 mr-4"
/>
- <TabsList className="flex gap-x-4 rounded-none !border-none h-auto">
- <TabsTrigger
- value="events"
- className="text-xs py-3 border-b-[1px] font-mono uppercase"
- >
+ <TabsList className="flex gap-x-4 rounded-none border-none! h-auto">
+ <TabsTrigger value="events" className="text-xs py-3 border-b font-mono uppercase">
Events ({filteredEvents.length})
</TabsTrigger>
- <TabsTrigger
- value="flags"
- className="text-xs py-3 border-b-[1px] font-mono uppercase"
- >
+ <TabsTrigger value="flags" className="text-xs py-3 border-b font-mono uppercase">
Flags {totalOverrideCount > 0 && `(${totalOverrideCount})`}
</TabsTrigger>
{extraTabs.map((tab) => (
<TabsTrigger
key={tab.id}
value={tab.id}
- className="text-xs py-3 border-b-[1px] font-mono uppercase"
+ className="text-xs py-3 border-b font-mono uppercase"
>
{tab.label}
</TabsTrigger>
@@ -495,7 +489,7 @@ export function DevToolbar({ extraTabs = [] }: { extraTabs?: ExtraTab[] }) {
type="button"
onClick={() => setFlagsSubTab(id)}
className={cn(
- 'flex items-center justify-between px-3 py-1.5 rounded text-sm text-left uppercase font-mono tracking-wide',
+ 'flex items-center justify-between px-3 py-1.5 rounded-sm text-sm text-left uppercase font-mono tracking-wide',
flagsSubTab === id
? 'bg-surface-300 text-foreground'
: 'text-foreground-light hover:bg-surface-200'
diff --git a/packages/dev-tools/package.json b/packages/dev-tools/package.json
index fca2ebf7d8f..92a11f7a1dd 100644
--- a/packages/dev-tools/package.json
+++ b/packages/dev-tools/package.json
@@ -27,7 +27,9 @@
"@testing-library/user-event": "^14.0.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
+ "config": "workspace:*",
"next-router-mock": "^0.9.13",
+ "tailwindcss": "catalog:",
"tsconfig": "workspace:*",
"typescript": "catalog:",
"vitest": "catalog:"
diff --git a/packages/marketing/package.json b/packages/marketing/package.json
index 0576c33fb7e..4f434138aec 100644
--- a/packages/marketing/package.json
+++ b/packages/marketing/package.json
@@ -12,10 +12,6 @@
"preinstall": "npx only-allow pnpm",
"clean": "rimraf node_modules"
},
- "devDependencies": {
- "tsconfig": "workspace:",
- "typescript": "catalog:"
- },
"dependencies": {
"@types/react": "catalog:",
"react": "catalog:",
@@ -25,5 +21,11 @@
"ui": "workspace:*",
"zod": "catalog:"
},
+ "devDependencies": {
+ "config": "workspace:*",
+ "tailwindcss": "^4.2.4",
+ "tsconfig": "workspace:",
+ "typescript": "catalog:"
+ },
"license": "MIT"
}
diff --git a/packages/marketing/src/go/sections/CodeBlockSection.tsx b/packages/marketing/src/go/sections/CodeBlockSection.tsx
index b27c40917b0..5af9c1533e2 100644
--- a/packages/marketing/src/go/sections/CodeBlockSection.tsx
+++ b/packages/marketing/src/go/sections/CodeBlockSection.tsx
@@ -51,7 +51,7 @@ export default async function CodeBlockSection({ section }: { section: GoCodeBlo
highlightedFiles.length > 1 || (highlightedFiles.length === 1 && isSingleFileWithName)
return (
- <div className="max-w-[80rem] w-full min-w-0 mx-auto px-8">
+ <div className="max-w-7xl w-full min-w-0 mx-auto px-8">
{(section.title || section.description) && (
<div className="mb-12">
{section.title && (
@@ -69,11 +69,11 @@ export default async function CodeBlockSection({ section }: { section: GoCodeBlo
) : highlightedFiles.length === 1 ? (
<>
<div
- className="hidden dark:block px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:!bg-transparent [&_pre]:!m-0 [&_code]:font-mono"
+ className="hidden dark:block px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:bg-transparent! [&_pre]:m-0! [&_code]:font-mono"
dangerouslySetInnerHTML={{ __html: highlightedFiles[0].darkHtml }}
/>
<div
- className="block dark:hidden px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:!bg-transparent [&_pre]:!m-0 [&_code]:font-mono"
+ className="block dark:hidden px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:bg-transparent! [&_pre]:m-0! [&_code]:font-mono"
dangerouslySetInnerHTML={{ __html: highlightedFiles[0].lightHtml }}
/>
</>
diff --git a/packages/marketing/src/go/sections/CodeBlockTabs.tsx b/packages/marketing/src/go/sections/CodeBlockTabs.tsx
index 01e68ab6bce..4fb5070bb19 100644
--- a/packages/marketing/src/go/sections/CodeBlockTabs.tsx
+++ b/packages/marketing/src/go/sections/CodeBlockTabs.tsx
@@ -30,11 +30,11 @@ export default function CodeBlockTabs({ files }: CodeBlockTabsProps) {
))}
</div>
<div
- className="hidden dark:block px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:!bg-transparent [&_pre]:!m-0 [&_code]:font-mono"
+ className="hidden dark:block px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:bg-transparent! [&_pre]:m-0! [&_code]:font-mono"
dangerouslySetInnerHTML={{ __html: files[activeIndex].darkHtml }}
/>
<div
- className="block dark:hidden px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:!bg-transparent [&_pre]:!m-0 [&_code]:font-mono"
+ className="block dark:hidden px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:bg-transparent! [&_pre]:m-0! [&_code]:font-mono"
dangerouslySetInnerHTML={{ __html: files[activeIndex].lightHtml }}
/>
</>
diff --git a/packages/marketing/src/go/sections/FaqSection.tsx b/packages/marketing/src/go/sections/FaqSection.tsx
index 73e97b4da9d..0105b8b2349 100644
--- a/packages/marketing/src/go/sections/FaqSection.tsx
+++ b/packages/marketing/src/go/sections/FaqSection.tsx
@@ -9,7 +9,7 @@ export default function FaqSection({ section }: { section: GoFaqSection }) {
const [openIndex, setOpenIndex] = useState<number | null>(null)
return (
- <div className="max-w-[80rem] mx-auto px-8">
+ <div className="max-w-7xl mx-auto px-8">
{(section.title || section.description) && (
<div className="mb-12">
{section.title && (
diff --git a/packages/marketing/src/go/sections/FeatureGridSection.tsx b/packages/marketing/src/go/sections/FeatureGridSection.tsx
index 6772107c085..6aaa15d3ef8 100644
--- a/packages/marketing/src/go/sections/FeatureGridSection.tsx
+++ b/packages/marketing/src/go/sections/FeatureGridSection.tsx
@@ -7,7 +7,7 @@ export default function FeatureGridSection({ section }: { section: GoFeatureGrid
const hasSecondRow = items.length > columns
return (
- <div className="max-w-[80rem] mx-auto px-8">
+ <div className="max-w-7xl mx-auto px-8">
{(section.title || section.description) && (
<div className="mb-12">
{section.title && (
diff --git a/packages/marketing/src/go/sections/HeroSection.tsx b/packages/marketing/src/go/sections/HeroSection.tsx
index 97abb1c658f..294c0e83612 100644
--- a/packages/marketing/src/go/sections/HeroSection.tsx
+++ b/packages/marketing/src/go/sections/HeroSection.tsx
@@ -25,7 +25,7 @@ export default function HeroSection({
>
<div
className={cn(
- 'max-w-[80rem] mx-auto px-8',
+ 'max-w-7xl mx-auto px-8',
hasMedia
? 'grid grid-cols-1 py-16 md:grid-cols-2 gap-10 md:gap-24 items-center md:py-32'
: 'flex flex-col items-center py-16 gap-4 sm:gap-8 text-center text-balance py-24'
diff --git a/packages/marketing/src/go/sections/HubSpotMeetingSection.tsx b/packages/marketing/src/go/sections/HubSpotMeetingSection.tsx
index 7cd34779c61..d92292eb15d 100644
--- a/packages/marketing/src/go/sections/HubSpotMeetingSection.tsx
+++ b/packages/marketing/src/go/sections/HubSpotMeetingSection.tsx
@@ -59,7 +59,7 @@ export default function HubSpotMeetingSection({ section }: { section: GoHubSpotM
}, [state.selectedSlot, timezone])
return (
- <div ref={sectionRef} className="max-w-[80rem] mx-auto px-8">
+ <div ref={sectionRef} className="max-w-7xl mx-auto px-8">
{(section.title || section.description) && (
<div className="max-w-3xl mx-auto text-center mb-12">
{section.title && (
diff --git a/packages/marketing/src/go/sections/MetricsSection.tsx b/packages/marketing/src/go/sections/MetricsSection.tsx
index 3cdeb90a084..4e889c58db5 100644
--- a/packages/marketing/src/go/sections/MetricsSection.tsx
+++ b/packages/marketing/src/go/sections/MetricsSection.tsx
@@ -3,7 +3,7 @@ import type { GoMetricsSection } from '../schemas'
export default function MetricsSection({ section }: { section: GoMetricsSection }) {
return (
<div className="px-8">
- <div className="max-w-[80rem] mx-auto flex flex-wrap justify-center gap-8 sm:gap-16">
+ <div className="max-w-7xl mx-auto flex flex-wrap justify-center gap-8 sm:gap-16">
{section.items.map((item, i) => (
<div key={i} className="text-center">
<p className="text-foreground-lighter text-xs tracking-widest uppercase mb-3">
diff --git a/packages/marketing/src/go/sections/QuoteSection.tsx b/packages/marketing/src/go/sections/QuoteSection.tsx
index 010ece03e0a..6acacbec56a 100644
--- a/packages/marketing/src/go/sections/QuoteSection.tsx
+++ b/packages/marketing/src/go/sections/QuoteSection.tsx
@@ -2,7 +2,7 @@ import type { GoQuoteSection } from '../schemas'
export default function QuoteSection({ section }: { section: GoQuoteSection }) {
return (
- <div className="max-w-[80rem] mx-auto px-8">
+ <div className="max-w-7xl mx-auto px-8">
<figure className="max-w-3xl mx-auto text-center">
<blockquote>
<p className="text-foreground text-xl sm:text-2xl font-medium leading-relaxed">
diff --git a/packages/marketing/src/go/sections/SingleColumnSection.tsx b/packages/marketing/src/go/sections/SingleColumnSection.tsx
index fadb1b68bfe..9f8dcb8443d 100644
--- a/packages/marketing/src/go/sections/SingleColumnSection.tsx
+++ b/packages/marketing/src/go/sections/SingleColumnSection.tsx
@@ -3,7 +3,7 @@ import type { GoSingleColumnSection } from '../schemas'
export default function SingleColumnSection({ section }: { section: GoSingleColumnSection }) {
return (
<section>
- <div className="max-w-[80rem] mx-auto flex flex-col items-center gap-4 text-center text-balance px-8">
+ <div className="max-w-7xl mx-auto flex flex-col items-center gap-4 text-center text-balance px-8">
<h2 className="text-2xl md:text-3xl lg:text-4xl leading-tight tracking-tight">
{section.title}
</h2>
@@ -11,9 +11,7 @@ export default function SingleColumnSection({ section }: { section: GoSingleColu
<p className="text-foreground-light text-lg max-w-2xl">{section.description}</p>
)}
</div>
- {section.children && (
- <div className="max-w-[80rem] mx-auto mt-10 px-8">{section.children}</div>
- )}
+ {section.children && <div className="max-w-7xl mx-auto mt-10 px-8">{section.children}</div>}
</section>
)
}
diff --git a/packages/marketing/src/go/sections/StepsSection.tsx b/packages/marketing/src/go/sections/StepsSection.tsx
index 51566056fba..a9beaf40cde 100644
--- a/packages/marketing/src/go/sections/StepsSection.tsx
+++ b/packages/marketing/src/go/sections/StepsSection.tsx
@@ -4,7 +4,7 @@ import type { GoStepsSection } from '../schemas'
export default function StepsSection({ section }: { section: GoStepsSection }) {
return (
- <div className="max-w-[80rem] w-full min-w-0 mx-auto px-8">
+ <div className="max-w-7xl w-full min-w-0 mx-auto px-8">
{(section.title || section.description) && (
<div className="mb-12">
{section.title && (
diff --git a/packages/marketing/src/go/sections/ThreeColumnSection.tsx b/packages/marketing/src/go/sections/ThreeColumnSection.tsx
index b7304febb90..fd70459ad41 100644
--- a/packages/marketing/src/go/sections/ThreeColumnSection.tsx
+++ b/packages/marketing/src/go/sections/ThreeColumnSection.tsx
@@ -4,7 +4,7 @@ export default function ThreeColumnSection({ section }: { section: GoThreeColumn
return (
<section>
{(section.title || section.description) && (
- <div className="max-w-[80rem] mx-auto flex flex-col items-center gap-4 text-center text-balance px-8 mb-10">
+ <div className="max-w-7xl mx-auto flex flex-col items-center gap-4 text-center text-balance px-8 mb-10">
{section.title && (
<h2 className="text-2xl md:text-3xl lg:text-4xl leading-tight tracking-tight">
{section.title}
@@ -16,7 +16,7 @@ export default function ThreeColumnSection({ section }: { section: GoThreeColumn
</div>
)}
{section.children && (
- <div className="max-w-[80rem] mx-auto grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 px-8">
+ <div className="max-w-7xl mx-auto grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 px-8">
{section.children}
</div>
)}
diff --git a/packages/marketing/src/go/sections/TwoColumnSection.tsx b/packages/marketing/src/go/sections/TwoColumnSection.tsx
index 6569ba458ec..1cb5e0c6b31 100644
--- a/packages/marketing/src/go/sections/TwoColumnSection.tsx
+++ b/packages/marketing/src/go/sections/TwoColumnSection.tsx
@@ -4,7 +4,7 @@ export default function TwoColumnSection({ section }: { section: GoTwoColumnSect
return (
<section>
{(section.title || section.description) && (
- <div className="max-w-[80rem] mx-auto flex flex-col items-center gap-4 text-center text-balance px-8 mb-10">
+ <div className="max-w-7xl mx-auto flex flex-col items-center gap-4 text-center text-balance px-8 mb-10">
{section.title && (
<h2 className="text-2xl md:text-3xl lg:text-4xl leading-tight tracking-tight">
{section.title}
@@ -16,7 +16,7 @@ export default function TwoColumnSection({ section }: { section: GoTwoColumnSect
</div>
)}
{section.children && (
- <div className="max-w-[80rem] mx-auto grid grid-cols-1 md:grid-cols-2 gap-8 px-8">
+ <div className="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-8 px-8">
{section.children}
</div>
)}
diff --git a/packages/marketing/src/go/sections/hubspot-meeting/TimezoneSelector.tsx b/packages/marketing/src/go/sections/hubspot-meeting/TimezoneSelector.tsx
index b5144443697..3b6db3f5731 100644
--- a/packages/marketing/src/go/sections/hubspot-meeting/TimezoneSelector.tsx
+++ b/packages/marketing/src/go/sections/hubspot-meeting/TimezoneSelector.tsx
@@ -278,7 +278,7 @@ export default function TimezoneSelector({ value, onChange }: TimezoneSelectorPr
onChange={(e) => setSearch(e.target.value)}
onKeyDown={handleKeyDown}
placeholder="Search timezones..."
- className="w-full text-foreground text-sm placeholder:text-foreground-lighter/50 outline-none focus:ring-transparent focus:border-muted bg-muted rounded-md"
+ className="w-full text-foreground text-sm placeholder:text-foreground-lighter/50 outline-hidden focus:ring-transparent focus:border-muted bg-muted rounded-md"
role="combobox"
aria-expanded={open}
aria-activedescendant={
diff --git a/packages/ui-patterns/package.json b/packages/ui-patterns/package.json
index 551b6f57fe4..78732b91f48 100644
--- a/packages/ui-patterns/package.json
+++ b/packages/ui-patterns/package.json
@@ -783,9 +783,9 @@
"@hookform/resolvers": "^3.1.1",
"@monaco-editor/react": "^4.6.0",
"@std/toml": "jsr:^1.0.11",
- "@tanstack/react-table": "^8.21.3",
"@supabase/sql-to-rest": "^0.1.6",
"@supabase/supabase-js": "catalog:",
+ "@tanstack/react-table": "^8.21.3",
"class-variance-authority": "^0.6.0",
"clsx": "^1.2.1",
"cmdk": "^1.1.1",
@@ -794,13 +794,13 @@
"dayjs": "^1.11.13",
"framer-motion": "^11.18.2",
"github-slugger": "^2.0.0",
- "icons": "workspace:*",
"highlightjs-curl": "^1.3.0",
+ "icons": "workspace:*",
"js-yaml": "^3.14.1",
"lodash": "catalog:",
"lucide-react": "*",
- "mermaid": "^11.12.1",
"mdast": "^3.0.0",
+ "mermaid": "^11.12.1",
"monaco-editor": "*",
"next-themes": "*",
"openai": "^4.75.1",
@@ -844,7 +844,9 @@
"@types/react-syntax-highlighter": "^15.5.13",
"@vitest/coverage-v8": "catalog:",
"api-types": "workspace:*",
+ "config": "workspace:*",
"next-router-mock": "^0.9.13",
+ "tailwindcss": "^4.2.4",
"tsx": "catalog:",
"typescript": "catalog:",
"unified": "^11.0.5",
diff --git a/packages/ui-patterns/src/AssistantChat/AssistantChatForm.tsx b/packages/ui-patterns/src/AssistantChat/AssistantChatForm.tsx
index 1385a871681..324c14eed11 100644
--- a/packages/ui-patterns/src/AssistantChat/AssistantChatForm.tsx
+++ b/packages/ui-patterns/src/AssistantChat/AssistantChatForm.tsx
@@ -79,7 +79,7 @@ const AssistantChatFormComponent = React.forwardRef<HTMLFormElement, FormProps>(
ref={textAreaRef}
autoFocus={isMobile}
disabled={disabled}
- className="text-base md:text-sm pr-10 rounded max-h-64"
+ className="text-base md:text-sm pr-10 rounded-sm max-h-64"
placeholder={placeholder}
spellCheck={false}
rows={3}
diff --git a/packages/ui-patterns/src/AuthenticatedDropdownMenu/index.tsx b/packages/ui-patterns/src/AuthenticatedDropdownMenu/index.tsx
index cbfc58c0d91..e931623ba6a 100644
--- a/packages/ui-patterns/src/AuthenticatedDropdownMenu/index.tsx
+++ b/packages/ui-patterns/src/AuthenticatedDropdownMenu/index.tsx
@@ -85,7 +85,7 @@ export const AuthenticatedDropdownMenu = ({ user, menu, site }: Props) => {
return (
<div
key={`${site}-auth-dropdown-${sectionItem.label}-${sectionIdx}-${itemIdx}`}
- className="flex cursor-text items-center text-foreground rounded-sm px-2 py-1.5 text-xs outline-none space-x-2"
+ className="flex cursor-text items-center text-foreground rounded-xs px-2 py-1.5 text-xs outline-hidden space-x-2"
{...sectionItem.otherProps}
>
<DropdownItemContent {...sectionItem} />
diff --git a/packages/ui-patterns/src/Banners/LW15Banner.tsx b/packages/ui-patterns/src/Banners/LW15Banner.tsx
index 8f7db5aaeab..bc6482553c6 100644
--- a/packages/ui-patterns/src/Banners/LW15Banner.tsx
+++ b/packages/ui-patterns/src/Banners/LW15Banner.tsx
@@ -57,7 +57,7 @@ export function LW15Banner() {
{announcement.text}
</p>
<p className="text-sm hidden sm:block">{announcement.launch}</p>
- <Button size="tiny" type="default" className="px-2 !leading-none text-xs" asChild>
+ <Button size="tiny" type="default" className="px-2 leading-none! text-xs" asChild>
<Link href={announcement.link}>{announcement.cta}</Link>
</Button>
</div>
diff --git a/packages/ui-patterns/src/Chart/charts/chart-bar.tsx b/packages/ui-patterns/src/Chart/charts/chart-bar.tsx
index f8af6a996ce..e73e9e4108a 100644
--- a/packages/ui-patterns/src/Chart/charts/chart-bar.tsx
+++ b/packages/ui-patterns/src/Chart/charts/chart-bar.tsx
@@ -129,7 +129,7 @@ export const ChartBar = ({
data-testid="chart-bar"
className={cn('flex flex-col gap-y-3 w-full', isFullHeight ? 'h-full' : 'h-24', className)}
>
- <ChartContainer className="!w-full h-full" config={chartConfig}>
+ <ChartContainer className="w-full! h-full" config={chartConfig}>
<RechartBarChart
data={data}
syncId={syncId}
diff --git a/packages/ui-patterns/src/Chart/charts/chart-line.tsx b/packages/ui-patterns/src/Chart/charts/chart-line.tsx
index d8d279a7554..ae26fba202a 100644
--- a/packages/ui-patterns/src/Chart/charts/chart-line.tsx
+++ b/packages/ui-patterns/src/Chart/charts/chart-line.tsx
@@ -154,7 +154,7 @@ export const ChartLine = ({
data-testid="chart-line"
className={cn('flex flex-col gap-y-3 w-full', isFullHeight ? 'h-full' : 'h-24', className)}
>
- <ChartContainer className="!w-full h-full" config={chartConfig}>
+ <ChartContainer className="w-full! h-full" config={chartConfig}>
<RechartAreaChart
data={data}
syncId={syncId}
diff --git a/packages/ui-patterns/src/Chart/index.tsx b/packages/ui-patterns/src/Chart/index.tsx
index 515231d7ceb..8f8034d37fc 100644
--- a/packages/ui-patterns/src/Chart/index.tsx
+++ b/packages/ui-patterns/src/Chart/index.tsx
@@ -62,7 +62,7 @@ interface ChartProps extends React.HTMLAttributes<HTMLDivElement> {
className?: string
}
-const chartTableClasses = `[&_tr]:border-b [&_tr]:border-border [&_thead_tr]:!bg-transparent [&_thead_th]:!py-2 [&_thead_th]:!px-card [&_thead_th]:h-auto [&_tbody_td]:py-2.5 [&_tbody_td]:px-card [&_tbody_td]:text-xs [&_table]:mb-1 [&_table]:border-b [&_table]:border-border`
+const chartTableClasses = `[&_tr]:border-b [&_tr]:border-border [&_thead_tr]:bg-transparent! [&_thead_th]:py-2! [&_thead_th]:!px-card [&_thead_th]:h-auto [&_tbody_td]:py-2.5 [&_tbody_td]:px-card [&_tbody_td]:text-xs [&_table]:mb-1 [&_table]:border-b [&_table]:border-border`
const Chart = React.forwardRef<HTMLDivElement, ChartProps>(
({ children, isLoading = false, isDisabled = false, className, ...props }, ref) => {
@@ -546,7 +546,7 @@ const ChartSparklineTooltip = ({ active, payload, label }: RechartsTooltipProps<
}
return (
- <div className="bg-black/90 text-white p-2 rounded text-xs">
+ <div className="bg-black/90 text-white p-2 rounded-sm text-xs">
{label && (
<div className="dark:text-foreground-light text-white/60">
{formatTimestamp(payload[0].payload.timestamp)}
diff --git a/packages/ui-patterns/src/CodeBlock/CodeBlock.tsx b/packages/ui-patterns/src/CodeBlock/CodeBlock.tsx
index 84dba94b860..9ba1f997e05 100644
--- a/packages/ui-patterns/src/CodeBlock/CodeBlock.tsx
+++ b/packages/ui-patterns/src/CodeBlock/CodeBlock.tsx
@@ -195,7 +195,7 @@ export const CodeBlock = ({
wrapLines={wrapLines}
style={monokaiTheme}
className={cn(
- 'code-block border border-surface p-4 w-full !my-0 !bg-surface-100 outline-none focus:border-foreground-lighter/50',
+ 'code-block border border-surface p-4 w-full my-0! !bg-surface-100 outline-hidden focus:border-foreground-lighter/50',
`${!title ? 'rounded-md' : 'rounded-t-none rounded-b-md'}`,
`${!showLineNumbers ? 'pl-6' : ''}`,
className
diff --git a/packages/ui-patterns/src/CommandMenu/api/Badges.tsx b/packages/ui-patterns/src/CommandMenu/api/Badges.tsx
index 8a1990687f3..997467f187b 100644
--- a/packages/ui-patterns/src/CommandMenu/api/Badges.tsx
+++ b/packages/ui-patterns/src/CommandMenu/api/Badges.tsx
@@ -8,7 +8,7 @@ interface BadgeExperimentalProps {
function BadgeExperimental({ className }: BadgeExperimentalProps) {
return (
<Badge className={className}>
- <Microscope className="!mr-1.5 !w-3.5 !h-3.5" /> Experimental
+ <Microscope className="mr-1.5! w-3.5! h-3.5!" /> Experimental
</Badge>
)
}
diff --git a/packages/ui-patterns/src/CommandMenu/api/CommandInput.tsx b/packages/ui-patterns/src/CommandMenu/api/CommandInput.tsx
index 1eba66b280d..8ea4bd3a5bc 100644
--- a/packages/ui-patterns/src/CommandMenu/api/CommandInput.tsx
+++ b/packages/ui-patterns/src/CommandMenu/api/CommandInput.tsx
@@ -124,7 +124,7 @@ const CommandInput = forwardRef<
onCompositionStart={() => setImeComposing(true)}
onCompositionEnd={() => setImeComposing(false)}
className={cn(
- 'flex h-11 w-full rounded-md bg-transparent px-2 y-4 md:py-7 outline-none',
+ 'flex h-11 w-full rounded-md bg-transparent px-2 y-4 md:py-7 outline-hidden',
'focus:shadow-none focus:ring-transparent',
'text-base text-foreground-light placeholder:text-foreground-muted disabled:cursor-not-allowed disabled:opacity-50 border-0',
className
diff --git a/packages/ui-patterns/src/CommandMenu/api/CommandMenu.tsx b/packages/ui-patterns/src/CommandMenu/api/CommandMenu.tsx
index 0a7839bcf60..bc0ab4c55fc 100644
--- a/packages/ui-patterns/src/CommandMenu/api/CommandMenu.tsx
+++ b/packages/ui-patterns/src/CommandMenu/api/CommandMenu.tsx
@@ -58,7 +58,7 @@ const CommandWrapper = forwardRef<
ref={ref}
className={cn(
'h-full w-full flex flex-col overflow-hidden',
- '[&_[cmdk-group]]:px-2 [&_[cmdk-group]]:!bg-transparent [&_[cmdk-group-heading]]:!bg-transparent [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-border-stronger [&_[cmdk-input]]:h-12',
+ '**:[[cmdk-group]]:px-2 **:[[cmdk-group]]:bg-transparent! **:[[cmdk-group-heading]]:bg-transparent! **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-border-stronger **:[[cmdk-input]]:h-12',
'[&_[cmdk-item]_svg]:h-5',
'[&_[cmdk-item]_svg]:w-5',
'[&_[cmdk-item]_svg]:stroke-1',
@@ -160,7 +160,7 @@ function CommandMenuTrigger({ children }: PropsWithChildren) {
'rounded-md border border-input bg-background',
'text-sm',
'hover:bg-accent hover:text-accent-foreground',
- 'ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
+ 'ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
'disabled:pointer-events-none disabled:opacity-50',
'transition-colors',
childFromProps.props.className
@@ -189,7 +189,7 @@ function CommandMenuTriggerInput({
'flex items-center justify-between',
'bg-surface-100/75 text-foreground-lighter border',
'hover:bg-surface-100/100 hover:border-stronger',
- 'focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-border-strong focus-visible:ring-offset-1 focus-visible:ring-offset-background',
+ 'focus-visible:outline-hidden focus-visible:ring-4 focus-visible:ring-border-strong focus-visible:ring-offset-1 focus-visible:ring-offset-background',
'transition',
className
)}
@@ -266,7 +266,7 @@ function CommandMenu({ children, trigger }: CommandMenuProps) {
className={cn(
'relative flex flex-col my-0 mx-auto rounded-t-lg',
'h-[85dvh] mt-[15vh] md:max-h-[500px] md:mt-0 left-0 bottom-0 md:bottom-auto',
- '!animate-in !slide-in-from-bottom-[85%] !duration-300',
+ '!animate-in !slide-in-from-bottom-[85%] duration-300!',
'data-[state=closed]:!animate-out data-[state=closed]:!slide-out-to-bottom',
// Remove defaults set from primitive component
'!slide-in-from-left-[0%] :!slide-in-from-top-[0%]',
diff --git a/packages/ui-patterns/src/CommandMenu/internal/Command.tsx b/packages/ui-patterns/src/CommandMenu/internal/Command.tsx
index 0906c7ee711..7f113dc6033 100644
--- a/packages/ui-patterns/src/CommandMenu/internal/Command.tsx
+++ b/packages/ui-patterns/src/CommandMenu/internal/Command.tsx
@@ -29,10 +29,10 @@ const generateCommandClassNames = (isLink: boolean) =>
bg-transparent
px-2
transition-all
-outline-none
+outline-hidden
aria-selected:border-overlay
aria-selected:bg-selection/90
-aria-selected:shadow-sm
+aria-selected:shadow-xs
aria-selected:scale-[100.3%]
data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50`
: `
diff --git a/packages/ui-patterns/src/CommandMenu/internal/CommandGroup.tsx b/packages/ui-patterns/src/CommandMenu/internal/CommandGroup.tsx
index 931e31cc407..425792c0a08 100644
--- a/packages/ui-patterns/src/CommandMenu/internal/CommandGroup.tsx
+++ b/packages/ui-patterns/src/CommandMenu/internal/CommandGroup.tsx
@@ -11,7 +11,7 @@ const CommandGroup = forwardRef<
<CommandGroup_Shadcn_
ref={ref}
className={cn(
- 'overflow-hidden py-3 px-2 text-foreground-lighter/60 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:pb-1.5 [&_[cmdk-group-heading]]:text-sm [&_[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-lighter/60',
+ 'overflow-hidden py-3 px-2 text-foreground-lighter/60 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:pb-1.5 **:[[cmdk-group-heading]]:text-sm **:[[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-lighter/60',
className
)}
{...props}
diff --git a/packages/ui-patterns/src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx b/packages/ui-patterns/src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx
index dac53213811..d6cd0b738e1 100644
--- a/packages/ui-patterns/src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx
+++ b/packages/ui-patterns/src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx
@@ -72,7 +72,7 @@ const DocsAiPage = () => {
className={cn(
'flex flex-col',
!isBelowSm &&
- '[&_[cmdk-input-wrapper]]:border-b-0 [&_[cmdk-input-wrapper]]:border-t [&_[cmdk-input-wrapper]]:border-solid [&_[cmdk-input-wrapper]]:border-bg-control'
+ '**:[[cmdk-input-wrapper]]:border-b-0 **:[[cmdk-input-wrapper]]:border-t **:[[cmdk-input-wrapper]]:border-solid [&_[cmdk-input-wrapper]]:border-bg-control'
)}
>
<CommandHeader>
@@ -157,7 +157,7 @@ function PromptInput({
<CommandInput
className={cn(
'w-full h-11',
- 'border-none outline-none bg-transparent rounded-none rounded-t-md px-4 py-7',
+ 'border-none outline-hidden bg-transparent rounded-none rounded-t-md px-4 py-7',
'flex',
'text-base text-foreground-light',
'focus:ring-0 focus:shadow-none focus:ring-transparent',
@@ -199,7 +199,7 @@ function AiMessages({ messages }: { messages: Array<Message> }) {
<div
className={cn(
'grow min-h-0 overflow-auto p-4',
- 'grid gap-6 md:grid-cols-[max-content,1fr] grid-rows-[max-content]'
+ 'grid gap-6 md:grid-cols-[max-content_1fr] grid-rows-[max-content]'
)}
>
{messages.map((message, index) => {
@@ -211,7 +211,7 @@ function AiMessages({ messages }: { messages: Array<Message> }) {
<div
className={cn(
'w-7 h-7',
- 'border border-muted bg-background shadow-sm rounded-full',
+ 'border border-muted bg-background shadow-xs rounded-full',
'flex items-center justify-center',
'text-foreground-lighter'
)}
@@ -243,9 +243,9 @@ function AiMessages({ messages }: { messages: Array<Message> }) {
</div>
<div>
{message.status === MessageStatus.Pending && (
- <span className="inline-block h-[1lh] w-[0.8lh] mt-1 bg-border-strong animate-bounce" />
+ <span className="inline-block h-lh w-[0.8lh] mt-1 bg-border-strong animate-bounce" />
)}
- <div className="prose dark:prose-dark break-words">
+ <div className="prose dark:prose-dark wrap-break-word">
<ReactMarkdown
remarkPlugins={[remarkGfm]}
components={{
@@ -294,8 +294,8 @@ function EmptyState({ handleSubmit }: { handleSubmit: (message: string) => void
heading="Examples"
className={cn(
'text-border-strong',
- '[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:pb-1.5',
- '[&_[cmdk-group-heading]]:text-sm [&_[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-muted'
+ '**:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:pb-1.5',
+ '**:[[cmdk-group-heading]]:text-sm **:[[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-muted'
)}
>
{questions.map((question) => {
diff --git a/packages/ui-patterns/src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsx b/packages/ui-patterns/src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsx
index ce99562c014..d3b34ecc0d5 100644
--- a/packages/ui-patterns/src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsx
+++ b/packages/ui-patterns/src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsx
@@ -55,7 +55,7 @@ const IconContainer = (
<div
className={cn(
'w-6 h-6',
- 'bg-surface-100 border rounded',
+ 'bg-surface-100 border rounded-sm',
'flex items-center justify-center',
'text-foreground-muted',
'group-aria-selected:bg-surface-200 group-aria-selected:text-foreground-lighter group-aria-selected:[&_svg]:scale-[103%]',
@@ -202,7 +202,7 @@ const DocsSearchPage = () => {
key={`${page.path}-group`}
value={`${escapeAttributeSelector(page.title)}-group-index-${i}`}
forceMount={true}
- className="overflow-hidden py-3 px-2 text-border-strong [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:pb-1.5 [&_[cmdk-group-heading]]:text-sm [&_[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-muted"
+ className="overflow-hidden py-3 px-2 text-border-strong **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:pb-1.5 **:[[cmdk-group-heading]]:text-sm **:[[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-muted"
>
<CommandItem_Shadcn_
key={`${page.path}-item`}
@@ -270,7 +270,7 @@ const DocsSearchPage = () => {
)
})}
{state.status === 'initial' && (
- <CommandGroup_Shadcn_ className="overflow-hidden py-3 px-2 text-border-strong [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:pb-1.5 [&_[cmdk-group-heading]]:text-sm [&_[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-muted">
+ <CommandGroup_Shadcn_ className="overflow-hidden py-3 px-2 text-border-strong **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:pb-1.5 **:[[cmdk-group-heading]]:text-sm **:[[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-muted">
{questions.map((question) => {
const key = question.replace(/\s+/g, '_')
return (
@@ -346,9 +346,9 @@ export function getPageIcon(page: Page) {
case PageType.Reference:
case PageType.Integration:
case PageType.Troubleshooting:
- return <Book strokeWidth={1.5} className="!mr-0 !w-4 !h-4" />
+ return <Book strokeWidth={1.5} className="mr-0! w-4! h-4!" />
case PageType.GithubDiscussion:
- return <Github strokeWidth={1.5} className="!mr-0 !w-4 !h-4" />
+ return <Github strokeWidth={1.5} className="mr-0! w-4! h-4!" />
default:
throw new Error(`Unknown page type '${page.type}'`)
}
@@ -360,9 +360,9 @@ export function getPageSectionIcon(page: Page) {
case PageType.Reference:
case PageType.Integration:
case PageType.Troubleshooting:
- return <Hash strokeWidth={1.5} className="!mr-0 !w-4 !h-4" />
+ return <Hash strokeWidth={1.5} className="mr-0! w-4! h-4!" />
case PageType.GithubDiscussion:
- return <MessageSquare strokeWidth={1.5} className="!mr-0 !w-4 !h-4" />
+ return <MessageSquare strokeWidth={1.5} className="mr-0! w-4! h-4!" />
default:
throw new Error(`Unknown page type '${page.type}'`)
}
diff --git a/packages/ui-patterns/src/CommandMenu/prepackaged/ai/AiWarning.tsx b/packages/ui-patterns/src/CommandMenu/prepackaged/ai/AiWarning.tsx
index 8cc1706c98b..40b8e26a265 100644
--- a/packages/ui-patterns/src/CommandMenu/prepackaged/ai/AiWarning.tsx
+++ b/packages/ui-patterns/src/CommandMenu/prepackaged/ai/AiWarning.tsx
@@ -2,7 +2,7 @@ import { Microscope } from 'lucide-react'
import { Alert_Shadcn_, AlertDescription_Shadcn_, AlertTitle_Shadcn_, cn } from 'ui'
const AiWarning = ({ className }: { className?: string }) => (
- <Alert_Shadcn_ className={cn('!m-0', className)} variant="warning">
+ <Alert_Shadcn_ className={cn('m-0!', className)} variant="warning">
<Microscope strokeWidth={1.5} size={18} className="text-foreground-muted" />
<AlertTitle_Shadcn_>
Supabase AI is experimental and may produce incorrect answers.
diff --git a/packages/ui-patterns/src/ComputeBadge/index.tsx b/packages/ui-patterns/src/ComputeBadge/index.tsx
index 913bdd39238..43d673c5cb3 100644
--- a/packages/ui-patterns/src/ComputeBadge/index.tsx
+++ b/packages/ui-patterns/src/ComputeBadge/index.tsx
@@ -21,7 +21,7 @@ export function ComputeBadge({ infraComputeSize, className, icon, ...props }: Co
<div
className={cn(
// Base styles
- 'inline-flex items-center justify-center rounded text-center font-mono uppercase',
+ 'inline-flex items-center justify-center rounded-sm text-center font-mono uppercase',
'whitespace-nowrap font-medium tracking-[0.06em] text-[11px] leading-[1.1] px-[5.5px] py-[3px]',
'transition-all',
// Variant styles
diff --git a/packages/ui-patterns/src/CountdownWidget/CountdownStep.tsx b/packages/ui-patterns/src/CountdownWidget/CountdownStep.tsx
index f645809f081..7b22cc32960 100644
--- a/packages/ui-patterns/src/CountdownWidget/CountdownStep.tsx
+++ b/packages/ui-patterns/src/CountdownWidget/CountdownStep.tsx
@@ -26,7 +26,7 @@ function CountdownStep({ value, unit, showCard = true, size = 'small' }: Countdo
className={cn(
'uppercase tracking-[0.05rem] text-sm',
showCard
- ? 'rounded-md p-[1px] overflow-hidden bg-gradient-to-b from-border-muted to-border-muted/20'
+ ? 'rounded-md p-px overflow-hidden bg-linear-to-b from-border-muted to-border-muted/20'
: 'tracking-[0.1rem]',
isLarge && 'text-lg'
)}
diff --git a/packages/ui-patterns/src/Dialogs/ConfirmationModal.tsx b/packages/ui-patterns/src/Dialogs/ConfirmationModal.tsx
index df790fb0aa3..b61cc41d361 100644
--- a/packages/ui-patterns/src/Dialogs/ConfirmationModal.tsx
+++ b/packages/ui-patterns/src/Dialogs/ConfirmationModal.tsx
@@ -98,7 +98,7 @@ export const ConfirmationModal = forwardRef<
<DialogContent
aria-describedby={undefined}
ref={ref}
- className="p-0 gap-0 pb-5 !block"
+ className="p-0 gap-0 pb-5 block!"
size={size}
>
<DialogHeader className={cn('border-b')} padding={'small'}>
diff --git a/packages/ui-patterns/src/Dialogs/TextConfirmModal.tsx b/packages/ui-patterns/src/Dialogs/TextConfirmModal.tsx
index 4bedf0f3d7f..68304821108 100644
--- a/packages/ui-patterns/src/Dialogs/TextConfirmModal.tsx
+++ b/packages/ui-patterns/src/Dialogs/TextConfirmModal.tsx
@@ -138,7 +138,7 @@ export const TextConfirmModal = forwardRef<
}
}}
>
- <DialogContent ref={ref} className="p-0 gap-0 pb-5 !block" size={size}>
+ <DialogContent ref={ref} className="p-0 gap-0 pb-5 block!" size={size}>
<DialogHeader className={cn('border-b')} padding={'small'}>
<DialogTitle className="">{title}</DialogTitle>
</DialogHeader>
diff --git a/packages/ui-patterns/src/ErrorDisplay/ErrorDisplay.tsx b/packages/ui-patterns/src/ErrorDisplay/ErrorDisplay.tsx
index 20392b3e92f..e495a27dba1 100644
--- a/packages/ui-patterns/src/ErrorDisplay/ErrorDisplay.tsx
+++ b/packages/ui-patterns/src/ErrorDisplay/ErrorDisplay.tsx
@@ -60,7 +60,7 @@ export const ErrorDisplay = forwardRef<HTMLDivElement, ErrorDisplayProps>(
</CardHeader>
<div className="px-4 py-3 bg-warning-200 border-y border-warning-500">
- <pre className="text-xs font-mono text-warning-600 whitespace-pre-wrap break-words overflow-auto max-h-32">
+ <pre className="text-xs font-mono text-warning-600 whitespace-pre-wrap wrap-break-word overflow-auto max-h-32">
{errorMessage}
</pre>
</div>
diff --git a/packages/ui-patterns/src/ExpandableVideo/index.tsx b/packages/ui-patterns/src/ExpandableVideo/index.tsx
index 78e78e14b17..a6bad87573e 100644
--- a/packages/ui-patterns/src/ExpandableVideo/index.tsx
+++ b/packages/ui-patterns/src/ExpandableVideo/index.tsx
@@ -49,7 +49,7 @@ export function ExpandableVideo({
}, [isMobile])
const CliccablePreview = () => (
- <div className="video-container overflow-hidden rounded hover:cursor-pointer">
+ <div className="video-container overflow-hidden rounded-sm hover:cursor-pointer">
<div
className="
absolute inset-0 z-10
@@ -76,7 +76,7 @@ export function ExpandableVideo({
fill
sizes="100%"
priority={priority}
- className="absolute inset-0 object-cover blur-sm scale-105"
+ className="absolute inset-0 object-cover blur-xs scale-105"
/>
</div>
)
@@ -87,8 +87,8 @@ export function ExpandableVideo({
visible={expandVideo}
hideFooter
className={cn(
- '!bg-[#f8f9fa]/95 dark:!bg-[#1c1c1c]/80',
- '!border-[#e6e8eb]/90 dark:!border-[#282828]/90',
+ 'bg-[#f8f9fa]/95! dark:bg-[#1c1c1c]/80!',
+ 'border-[#e6e8eb]/90! dark:border-[#282828]/90!',
'transition ease-out',
'mx-auto backdrop-blur-md w-[calc(100%-2rem)]'
)}
@@ -101,7 +101,7 @@ export function ExpandableVideo({
}}
size="xxlarge"
>
- <div className="!w-full flex items-center justify-center">
+ <div className="w-full! flex items-center justify-center">
<div className="relative w-full">
<button
onClick={() => setExpandVideo(false)}
@@ -109,7 +109,7 @@ export function ExpandableVideo({
>
<p className="text-xs">Close</p>
</button>
- <div className="video-container !rounded-lg !border-none !overflow-hidden">
+ <div className="video-container rounded-lg! border-none! overflow-hidden!">
<iframe
src={`https://www.youtube-nocookie.com/embed/${videoId}`}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
diff --git a/packages/ui-patterns/src/FilterBar/CommandListItem.tsx b/packages/ui-patterns/src/FilterBar/CommandListItem.tsx
index f52cd04be3b..35c1e758c4d 100644
--- a/packages/ui-patterns/src/FilterBar/CommandListItem.tsx
+++ b/packages/ui-patterns/src/FilterBar/CommandListItem.tsx
@@ -25,7 +25,7 @@ export function CommandListItem({
role="option"
onClick={() => onSelect(item)}
className={cn(
- 'relative flex items-center justify-between gap-2 px-2 py-1.5 text-xs cursor-pointer select-none outline-none text-foreground',
+ 'relative flex items-center justify-between gap-2 px-2 py-1.5 text-xs cursor-pointer select-none outline-hidden text-foreground',
isHighlighted && 'bg-surface-300',
!isHighlighted && 'hover:bg-surface-200'
)}
diff --git a/packages/ui-patterns/src/FilterBar/FilterCondition.tsx b/packages/ui-patterns/src/FilterBar/FilterCondition.tsx
index b67f4d30327..f2c76551802 100644
--- a/packages/ui-patterns/src/FilterBar/FilterCondition.tsx
+++ b/packages/ui-patterns/src/FilterBar/FilterCondition.tsx
@@ -266,7 +266,7 @@ export function FilterCondition({
ref={wrapperRef}
className={cn(
'flex items-stretch px-0 h-[26px] bg-muted group shrink-0',
- variant === 'pill' ? 'rounded border' : 'border-r',
+ variant === 'pill' ? 'rounded-sm border' : 'border-r',
isHighlighted && 'ring-2 ring-primary'
)}
data-testid={`filter-condition-${property.name}`}
@@ -282,7 +282,7 @@ export function FilterCondition({
onChange={(e) => setPropertySearchText(e.target.value)}
onBlur={handlePropertyBlur}
onKeyDown={handlePropertyKeyDown}
- className="h-full border-none bg-transparent py-0 pl-2 pr-1 text-xs focus:outline-none focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 text-foreground-light w-full absolute left-0 top-0"
+ className="h-full border-none bg-transparent py-0 pl-2 pr-1 text-xs focus:outline-hidden focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 text-foreground-light w-full absolute left-0 top-0"
placeholder={property.label}
autoFocus
aria-label={`Change property from ${property.label}`}
@@ -340,7 +340,7 @@ export function FilterCondition({
}}
onBlur={handleOperatorBlur}
onKeyDown={handleOperatorKeyDown}
- className="h-full border-none bg-transparent py-0 px-1 text-center text-xs md:text-xs focus:outline-none focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 text-foreground w-full absolute left-0 top-0"
+ className="h-full border-none bg-transparent py-0 px-1 text-center text-xs md:text-xs focus:outline-hidden focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 text-foreground w-full absolute left-0 top-0"
disabled={isLoading}
aria-label={`Operator for ${property.label}`}
data-testid={`filter-operator-${property.name}`}
@@ -388,7 +388,7 @@ export function FilterCondition({
onFocus={() => handleInputFocus(path)}
onBlur={handleValueBlur}
onKeyDown={handleValueKeyDown}
- className="h-full border-none bg-transparent py-0 px-1 text-xs md:text-xs focus:outline-none focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 w-full absolute left-0 top-0"
+ className="h-full border-none bg-transparent py-0 px-1 text-xs md:text-xs focus:outline-hidden focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 w-full absolute left-0 top-0"
disabled={isLoading}
aria-label={`Value for ${property.label}`}
data-testid={`filter-value-${property.name}`}
diff --git a/packages/ui-patterns/src/FilterBar/FilterGroup.tsx b/packages/ui-patterns/src/FilterBar/FilterGroup.tsx
index e13045cd9c0..61bc28d2869 100644
--- a/packages/ui-patterns/src/FilterBar/FilterGroup.tsx
+++ b/packages/ui-patterns/src/FilterBar/FilterGroup.tsx
@@ -195,7 +195,7 @@ export function FilterGroup({ group, path }: FilterGroupProps) {
onFocus={() => handleGroupFreeformFocus(path)}
onBlur={handleFreeformBlur}
onKeyDown={handleFreeformKeyDown}
- className="border-none bg-transparent text-xs focus:outline-none focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 w-full flex-1 h-auto min-w-0 px-2 py-1"
+ className="border-none bg-transparent text-xs focus:outline-hidden focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 w-full flex-1 h-auto min-w-0 px-2 py-1"
placeholder={
group.conditions.length === 0 ? emptyPlaceholder : 'Add more filters...'
}
@@ -216,7 +216,7 @@ export function FilterGroup({ group, path }: FilterGroupProps) {
onFocus={() => handleGroupFreeformFocus(path)}
onBlur={handleFreeformBlur}
onKeyDown={handleFreeformKeyDown}
- className="h-full border-none bg-transparent py-0 text-xs md:text-xs focus:outline-none focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 w-full absolute left-0 top-0 px-2"
+ className="h-full border-none bg-transparent py-0 text-xs md:text-xs focus:outline-hidden focus:ring-0 focus:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 w-full absolute left-0 top-0 px-2"
placeholder="+ Add filter"
disabled={isLoading}
autoComplete="off"
diff --git a/packages/ui-patterns/src/FilterBar/OperatorSymbolBadge.tsx b/packages/ui-patterns/src/FilterBar/OperatorSymbolBadge.tsx
index 1870be99c0b..83161934a27 100644
--- a/packages/ui-patterns/src/FilterBar/OperatorSymbolBadge.tsx
+++ b/packages/ui-patterns/src/FilterBar/OperatorSymbolBadge.tsx
@@ -4,7 +4,7 @@ export type OperatorSymbolBadgeProps = {
export function OperatorSymbolBadge({ symbol }: OperatorSymbolBadgeProps) {
return (
- <span className="ml-auto text-xs text-foreground-light bg-surface-200 rounded px-1.5 py-0.5 font-mono">
+ <span className="ml-auto text-xs text-foreground-light bg-surface-200 rounded-sm px-1.5 py-0.5 font-mono">
{symbol}
</span>
)
diff --git a/packages/ui-patterns/src/GlassPanel/index.tsx b/packages/ui-patterns/src/GlassPanel/index.tsx
index 01608c0b1e3..eee30cf988e 100644
--- a/packages/ui-patterns/src/GlassPanel/index.tsx
+++ b/packages/ui-patterns/src/GlassPanel/index.tsx
@@ -40,7 +40,7 @@ export const GlassPanel = ({
<div
className={cn(
'shrink-0',
- showIconBg ? 'bg-surface-75 border w-8 h-8 flex items-center justify-center rounded' : ''
+ showIconBg ? 'bg-surface-75 border w-8 h-8 flex items-center justify-center rounded-sm' : ''
)}
>
{props.children}
diff --git a/packages/ui-patterns/src/InnerSideMenu/index.tsx b/packages/ui-patterns/src/InnerSideMenu/index.tsx
index 82e2793aa68..2da896df05c 100644
--- a/packages/ui-patterns/src/InnerSideMenu/index.tsx
+++ b/packages/ui-patterns/src/InnerSideMenu/index.tsx
@@ -191,7 +191,7 @@ const InnerSideBarFilterSearchInput = forwardRef<
'pl-7',
'pr-7',
'w-full',
- 'rounded',
+ 'rounded-sm',
// 'bg-transparent',
// 'border',
// 'border-control',
diff --git a/packages/ui-patterns/src/LogsBarChart/index.tsx b/packages/ui-patterns/src/LogsBarChart/index.tsx
index 6ef58ad5e9a..ec737eca928 100644
--- a/packages/ui-patterns/src/LogsBarChart/index.tsx
+++ b/packages/ui-patterns/src/LogsBarChart/index.tsx
@@ -118,7 +118,7 @@ export const LogsBarChart = ({
active={props.active}
payload={filteredPayload}
label={props.label}
- className="text-foreground-light -mt-5 !transition-none"
+ className="text-foreground-light -mt-5 transition-none!"
labelFormatter={(v: string) => dayjs(v).format(DateTimeFormat)}
/>
)
diff --git a/packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx b/packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx
index c3b1fa1781e..b6754bb8de0 100644
--- a/packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx
+++ b/packages/ui-patterns/src/McpUrlBuilder/components/McpConfigurationDisplay.tsx
@@ -106,7 +106,10 @@ export function McpConfigurationDisplay({
? 'Or add'
: 'Add'}{' '}
this configuration to{' '}
- <code className="px-1 py-0.5 bg-surface-200 rounded">{selectedClient.configFile}</code>:
+ <code className="px-1 py-0.5 bg-surface-200 rounded-sm">
+ {selectedClient.configFile}
+ </code>
+ :
</div>
<CodeBlock
value={configValue}
diff --git a/packages/ui-patterns/src/MetricCard/index.tsx b/packages/ui-patterns/src/MetricCard/index.tsx
index 38fd4c5e034..d934c63c7dc 100644
--- a/packages/ui-patterns/src/MetricCard/index.tsx
+++ b/packages/ui-patterns/src/MetricCard/index.tsx
@@ -217,7 +217,7 @@ const SparklineTooltip = ({ active, payload, label }: RechartsTooltipProps<any,
}
return (
- <div className="bg-black/90 text-white p-2 rounded text-xs">
+ <div className="bg-black/90 text-white p-2 rounded-sm text-xs">
{label && (
<div className="dark:text-foreground-light text-white/60">
{formatTimestamp(payload[0].payload.timestamp)}
diff --git a/packages/ui-patterns/src/PageHeader/index.tsx b/packages/ui-patterns/src/PageHeader/index.tsx
index e5443f2531e..da8d0790821 100644
--- a/packages/ui-patterns/src/PageHeader/index.tsx
+++ b/packages/ui-patterns/src/PageHeader/index.tsx
@@ -198,8 +198,8 @@ const PageHeaderMeta = ({ className, children, ...props }: PageHeaderMetaProps)
data-slot="page-header-meta"
className={cn(
'flex flex-col @xl:flex-row @xl:justify-between @xl:items-center gap-4',
- '[&>[data-slot="page-header-icon"]]:shrink-0',
- '[&>[data-slot="page-header-summary"]]:flex-1',
+ '*:data-[slot="page-header-icon"]:shrink-0',
+ '*:data-[slot="page-header-summary"]:flex-1',
className
)}
{...props}
diff --git a/packages/ui-patterns/src/PageSection/index.tsx b/packages/ui-patterns/src/PageSection/index.tsx
index 12b99fc0ce8..97533e46597 100644
--- a/packages/ui-patterns/src/PageSection/index.tsx
+++ b/packages/ui-patterns/src/PageSection/index.tsx
@@ -169,10 +169,10 @@ const PageSectionMeta = ({ className, children, ...props }: PageSectionMetaProps
data-slot="page-section-meta"
className={cn(
'flex flex-col @xl:flex-row @xl:justify-between @xl:items-center gap-4',
- '[&>[data-slot="page-section-summary"]]:flex-1',
+ '*:data-[slot="page-section-summary"]:flex-1',
// Center alignment with PageSectionAside in case no PageSectionDescription present
- '[&>[data-slot="page-section-summary"]]:@xl:self-center',
- '[&>[data-slot="page-section-aside"]]:shrink-0',
+ '*:data-[slot="page-section-summary"]:@xl:self-center',
+ '*:data-[slot="page-section-aside"]:shrink-0',
className
)}
{...props}
diff --git a/packages/ui-patterns/src/PopupFrame/index.tsx b/packages/ui-patterns/src/PopupFrame/index.tsx
index 4719b8301d6..d858e584e57 100644
--- a/packages/ui-patterns/src/PopupFrame/index.tsx
+++ b/packages/ui-patterns/src/PopupFrame/index.tsx
@@ -47,8 +47,8 @@ export function PopupFrame({
hideFooter
showCloseButton={false}
className={cn(
- '!bg-[#f8f9fa]/95 dark:!bg-[#1c1c1c]/80',
- '!border-[#e6e8eb]/90 dark:!border-[#282828]/90',
+ 'bg-[#f8f9fa]/95! dark:bg-[#1c1c1c]/80!',
+ 'border-[#e6e8eb]/90! dark:border-[#282828]/90!',
'transition ease-out',
'mx-auto backdrop-blur-md w-[calc(100%-2rem)]',
className
@@ -62,7 +62,7 @@ export function PopupFrame({
}}
size="xxlarge"
>
- <div className="device-frame !w-full h-full flex items-center justify-center">
+ <div className="device-frame w-full! h-full flex items-center justify-center">
<div className="modal-group relative w-full h-full">
<button
onClick={() => setOpen(false)}
@@ -70,7 +70,7 @@ export function PopupFrame({
>
<p className="text-xs">Close</p>
</button>
- <div className="modal-content h-full !rounded-lg !border-none !overflow-hidden">
+ <div className="modal-content h-full rounded-lg! border-none! overflow-hidden!">
{children}
</div>
</div>
diff --git a/packages/ui-patterns/src/PromoToast/PromoToast.tsx b/packages/ui-patterns/src/PromoToast/PromoToast.tsx
index 50132a6f950..f3c1754d66c 100644
--- a/packages/ui-patterns/src/PromoToast/PromoToast.tsx
+++ b/packages/ui-patterns/src/PromoToast/PromoToast.tsx
@@ -32,7 +32,7 @@ const PromoToast = () => {
return (
<div
className={cn(
- 'opacity-0 translate-y-3 transition-all grid gap-2 fixed z-50 bottom-4 right-4 sm:bottom-8 sm:right-8 w-[calc(100vw-2rem)] sm:w-[320px] bg-alternative hover:bg-alternative border border-default rounded p-6 shadow-lg overflow-hidden',
+ 'opacity-0 translate-y-3 transition-all grid gap-2 fixed z-50 bottom-4 right-4 sm:bottom-8 sm:right-8 w-[calc(100vw-2rem)] sm:w-[320px] bg-alternative hover:bg-alternative border border-default rounded-sm p-6 shadow-lg overflow-hidden',
visible && 'opacity-100 translate-y-0'
)}
>
diff --git a/packages/ui-patterns/src/Row/index.tsx b/packages/ui-patterns/src/Row/index.tsx
index 51c845934c3..804b9b4cdb3 100644
--- a/packages/ui-patterns/src/Row/index.tsx
+++ b/packages/ui-patterns/src/Row/index.tsx
@@ -167,7 +167,7 @@ export const Row = forwardRef<HTMLDivElement, RowProps>(function Row(
<div
ref={containerRef}
- className="w-full overflow-visible focus:outline-none"
+ className="w-full overflow-visible focus:outline-hidden"
tabIndex={0}
role="region"
aria-roledescription="carousel"
diff --git a/packages/ui-patterns/src/ShimmeringLoader/index.tsx b/packages/ui-patterns/src/ShimmeringLoader/index.tsx
index 9e6144564d6..8beffcc9208 100644
--- a/packages/ui-patterns/src/ShimmeringLoader/index.tsx
+++ b/packages/ui-patterns/src/ShimmeringLoader/index.tsx
@@ -13,7 +13,7 @@ export const ShimmeringLoader = forwardRef<HTMLDivElement, ShimmeringLoader>(
return (
<div
ref={ref}
- className={cn('shimmering-loader rounded py-3', className)}
+ className={cn('shimmering-loader rounded-sm py-3', className)}
style={{
...style,
animationFillMode: 'backwards',
diff --git a/packages/ui-patterns/src/SqlToRest/sql-to-rest.tsx b/packages/ui-patterns/src/SqlToRest/sql-to-rest.tsx
index 3fff6e92931..cdc06804c47 100644
--- a/packages/ui-patterns/src/SqlToRest/sql-to-rest.tsx
+++ b/packages/ui-patterns/src/SqlToRest/sql-to-rest.tsx
@@ -429,7 +429,7 @@ export default function SqlToRest({
{relevantFaqs.map((faq) => (
<Collapsible
key={faq.id}
- className="flex flex-col items-stretch justify-start bg-surface-100 rounded border border-default px-4"
+ className="flex flex-col items-stretch justify-start bg-surface-100 rounded-sm border border-default px-4"
>
<Collapsible.Trigger asChild>
<button
diff --git a/packages/ui-patterns/src/TextLink/index.tsx b/packages/ui-patterns/src/TextLink/index.tsx
index 94be861b754..ac64fa5393c 100644
--- a/packages/ui-patterns/src/TextLink/index.tsx
+++ b/packages/ui-patterns/src/TextLink/index.tsx
@@ -28,7 +28,7 @@ export function TextLink({
<Link
href={url}
className={cn(
- 'group/text-link text-foreground-light hover:text-foreground mt-3 block cursor-pointer text-sm focus-visible:ring-2 focus-visible:outline-none focus-visible:rounded-sm focus-visible:ring-foreground-lighter focus-visible:text-foreground',
+ 'group/text-link text-foreground-light hover:text-foreground mt-3 block cursor-pointer text-sm focus-visible:ring-2 focus-visible:outline-hidden focus-visible:rounded-xs focus-visible:ring-foreground-lighter focus-visible:text-foreground',
className
)}
target={target}
diff --git a/packages/ui-patterns/src/Toc/toc.tsx b/packages/ui-patterns/src/Toc/toc.tsx
index cea0ab470b1..7297ba2b9ff 100644
--- a/packages/ui-patterns/src/Toc/toc.tsx
+++ b/packages/ui-patterns/src/Toc/toc.tsx
@@ -25,14 +25,14 @@ export function Toc(props: HTMLAttributes<HTMLDivElement>) {
<div
id="toc"
{...props}
- className={cn('sticky top-[--header-height] h-fit max-md:hidden', props.className)}
+ className={cn('sticky top-(--header-height) h-fit max-md:hidden', props.className)}
style={
{
...props.style,
} as object
}
>
- <div className="flex h-fit w-[--toc-width] max-w-full flex-col gap-3 pe-4">
+ <div className="flex h-fit w-(--toc-width) max-w-full flex-col gap-3 pe-4">
{props.children}
</div>
</div>
@@ -74,7 +74,7 @@ export function TOCItems({
<>
<TocThumb
containerRef={containerRef}
- className="absolute start-0 mt-[--toc-top] h-[--toc-height] w-px bg-foreground transition-all"
+ className="absolute inset-s-0 mt-(--toc-top) h-(--toc-height) w-px bg-foreground transition-all"
/>
<div
ref={containerRef}
@@ -132,7 +132,7 @@ function TOCItem({ item }: { item: TOCItemType }) {
<Primitive.TOCItem
href={`#${formatSlug(item.url)}`}
className={cn(
- 'text-foreground-lighter hover:text-brand-link transition-colors py-1 [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-foreground',
+ 'text-foreground-lighter hover:text-brand-link transition-colors py-1 wrap-anywhere first:pt-0 last:pb-0 data-[active=true]:text-foreground',
item.depth <= 2 && 'ps-3',
item.depth === 3 && 'ps-6',
item.depth >= 4 && 'ps-8'
diff --git a/packages/ui-patterns/src/TweetCard/index.tsx b/packages/ui-patterns/src/TweetCard/index.tsx
index bcaa26c49a1..806d57178bd 100644
--- a/packages/ui-patterns/src/TweetCard/index.tsx
+++ b/packages/ui-patterns/src/TweetCard/index.tsx
@@ -15,7 +15,7 @@ export function TweetCard(props: TweetCard) {
'bg-surface-75',
'border group-hover/tweet-card:border-foreground-muted transition-colors',
'rounded-2xl p-6',
- 'drop-shadow-sm',
+ 'drop-shadow-xs',
props.className
)}
>
diff --git a/packages/ui-patterns/src/consent.tsx b/packages/ui-patterns/src/consent.tsx
index a6bbbb556a5..9bfb78773e8 100644
--- a/packages/ui-patterns/src/consent.tsx
+++ b/packages/ui-patterns/src/consent.tsx
@@ -47,8 +47,8 @@ export const useConsentToast = () => {
closeButton: false,
dismissible: false,
className: cn(
- '!w-screen !fixed !border-t !h-auto !left-0 !bottom-0 !top-auto !right-0 !rounded-none !max-w-none !bg-overlay !text',
- 'sm:!w-full sm:!max-w-[356px] sm:!left-auto sm:!right-8 sm:!bottom-8 sm:!rounded-lg sm:border'
+ 'w-screen! fixed! border-t! h-auto! left-0! bottom-0! top-auto! right-0! rounded-none! max-w-none! !bg-overlay !text',
+ 'sm:w-full! sm:max-w-[356px]! sm:left-auto! sm:right-8! sm:bottom-8! sm:rounded-lg! sm:border'
),
})
} else if (consentToastId.current) {
diff --git a/packages/ui-patterns/src/form/Layout/FormLayout.tsx b/packages/ui-patterns/src/form/Layout/FormLayout.tsx
index 85b608750d2..3cb8191b25a 100644
--- a/packages/ui-patterns/src/form/Layout/FormLayout.tsx
+++ b/packages/ui-patterns/src/form/Layout/FormLayout.tsx
@@ -365,7 +365,7 @@ export const FormLayout = React.forwardRef<
>
{hasLabel && isReactForm ? (
<FormLabel
- className="text-foreground flex gap-2 items-center break-words"
+ className="text-foreground flex gap-2 items-center wrap-break-word"
data-formlayout-id="formLabel"
htmlFor={props.name || id}
>
@@ -373,7 +373,7 @@ export const FormLayout = React.forwardRef<
</FormLabel>
) : (
<Label_Shadcn_
- className="text-foreground flex gap-2 items-center break-words leading-normal"
+ className="text-foreground flex gap-2 items-center wrap-break-word leading-normal"
data-formlayout-id="label"
htmlFor={props.name || id}
>
diff --git a/packages/ui-patterns/src/multi-select/multi-select.tsx b/packages/ui-patterns/src/multi-select/multi-select.tsx
index 1039675ca9d..68956fcfd91 100644
--- a/packages/ui-patterns/src/multi-select/multi-select.tsx
+++ b/packages/ui-patterns/src/multi-select/multi-select.tsx
@@ -44,7 +44,7 @@ const DROPDOWN_MAX_HEIGHT = 300
const DROPDOWN_GAP = 8
const commandItemClass = cn(
- 'relative text-foreground-lighter text-left px-2 py-1.5 rounded',
+ 'relative text-foreground-lighter text-left px-2 py-1.5 rounded-sm',
'hover:text-foreground hover:!bg-overlay-hover w-full flex items-center space-x-2',
'peer-data-[value=true]:bg-overlay-hover peer-data-[value=true]:text-strong'
)
@@ -258,7 +258,7 @@ const MultiSelectorTrigger = React.forwardRef<HTMLButtonElement, MultiSelectorTr
}
}, [values, badgeLimit])
- const badgeClasses = 'rounded shrink-0 px-1.5'
+ const badgeClasses = 'rounded-sm shrink-0 px-1.5'
const handleTriggerClick: React.MouseEventHandler<HTMLButtonElement> = React.useCallback(
(event) => {
@@ -296,7 +296,7 @@ const MultiSelectorTrigger = React.forwardRef<HTMLButtonElement, MultiSelectorTr
'flex w-full min-w-[200px] min-h-[40px] items-center justify-between rounded-md border',
'border-alternative bg-control px-3 py-2 text-sm',
'ring-offset-background placeholder:text-muted-foreground',
- 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',
+ 'focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2',
'disabled:cursor-not-allowed disabled:opacity-50',
'hover:border-primary transition-colors duration-200',
className
@@ -340,7 +340,7 @@ const MultiSelectorTrigger = React.forwardRef<HTMLButtonElement, MultiSelectorTr
)}
<span
className={cn(
- 'text-foreground-muted whitespace-nowrap leading-[1.375rem] ml-1 opacity-0 transition-opacity hidden',
+ 'text-foreground-muted whitespace-nowrap leading-5.5 ml-1 opacity-0 transition-opacity hidden',
!IS_INLINE_MODE &&
(persistLabel || values.length === 0) &&
'opacity-100 visible inline'
@@ -456,7 +456,7 @@ const MultiSelectorInput = React.forwardRef<
wrapperClassName={wrapperClassName}
className={cn(
MultiSelectorInputVariants({ size }),
- 'text-sm bg-transparent h-full grow border-none outline-none placeholder:text-foreground-muted flex-1',
+ 'text-sm bg-transparent h-full grow border-none outline-hidden placeholder:text-foreground-muted flex-1',
activeIndex !== -1 && 'caret-transparent',
className
)}
@@ -581,10 +581,10 @@ const MultiSelectorItem = React.forwardRef<
<div
className={cn(
'flex items-center justify-center',
- 'peer h-4 w-4 shrink-0 rounded border border-control bg-control/25 ring-offset-background',
+ 'peer h-4 w-4 shrink-0 rounded-sm border border-control bg-control/25 ring-offset-background',
'transition-colors duration-150 ease-in-out',
'hover:border-strong',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
'disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-foreground data-[state=checked]:text-background',
isSelected ? 'bg-foreground text-background' : '[&_svg]:invisible'
)}
diff --git a/packages/ui/src/components/Accordion/Accordion.tsx b/packages/ui/src/components/Accordion/Accordion.tsx
index 899131be675..b67ca5309ec 100644
--- a/packages/ui/src/components/Accordion/Accordion.tsx
+++ b/packages/ui/src/components/Accordion/Accordion.tsx
@@ -116,7 +116,7 @@ export function Item({ children, className, header, id, disabled }: ItemProps) {
let chevronClasses = [__styles.chevron.base, __styles.chevron.align[chevronAlign]]
if (open && !disabled) {
- chevronClasses.unshift('!rotate-180')
+ chevronClasses.unshift('rotate-180!')
}
return (
diff --git a/packages/ui/src/components/Alert/Alert.module.css b/packages/ui/src/components/Alert/Alert.module.css
index c6d4646e100..f42ba7f333e 100644
--- a/packages/ui/src/components/Alert/Alert.module.css
+++ b/packages/ui/src/components/Alert/Alert.module.css
@@ -43,7 +43,7 @@
}
.sbui-close-button {
- @apply cursor-pointer inline-flex transition ease-in-out duration-200 bg-transparent border-transparent rounded-md p-1.5 focus:outline-none;
+ @apply cursor-pointer inline-flex transition ease-in-out duration-200 bg-transparent border-transparent rounded-md p-1.5 focus:outline-hidden;
}
.sbui-close-button--success {
diff --git a/packages/ui/src/components/AlertCollapsible/AlertCollapsible.tsx b/packages/ui/src/components/AlertCollapsible/AlertCollapsible.tsx
index af2d06c8955..e5e6121b105 100644
--- a/packages/ui/src/components/AlertCollapsible/AlertCollapsible.tsx
+++ b/packages/ui/src/components/AlertCollapsible/AlertCollapsible.tsx
@@ -34,7 +34,7 @@ const AlertCollapsible = React.forwardRef<HTMLDivElement, AlertCollapsibleProps>
<Button
type="outline"
size="tiny"
- className={cn('!px-0 w-[26px]', '[&[data-state=open]_svg]:rotate-180')}
+ className={cn('px-0! w-[26px]', '[&[data-state=open]_svg]:rotate-180')}
aria-label="Toggle"
icon={<ChevronDown className="transition-transform duration-200" />}
/>
diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsx
index 95f05fdc13e..4cc93c11c52 100644
--- a/packages/ui/src/components/Button/Button.tsx
+++ b/packages/ui/src/components/Button/Button.tsx
@@ -21,7 +21,7 @@ const buttonVariants = cva(
ease-out
duration-200
rounded-md
- outline-none
+ outline-hidden
transition-all
outline-0
focus-visible:outline-4
diff --git a/packages/ui/src/components/Icon/IconBackground.tsx b/packages/ui/src/components/Icon/IconBackground.tsx
index 498b73138a4..8023cbe88bf 100644
--- a/packages/ui/src/components/Icon/IconBackground.tsx
+++ b/packages/ui/src/components/Icon/IconBackground.tsx
@@ -1,7 +1,7 @@
'use client'
export const IconBackground: React.FC<React.PropsWithChildren> = (props) => (
- <div className="shrink-0 bg-brand-200 dark:bg-brand-400 border border-brand-300 dark:border-brand-400 w-8 h-8 flex items-center justify-center rounded">
+ <div className="shrink-0 bg-brand-200 dark:bg-brand-400 border border-brand-300 dark:border-brand-400 w-8 h-8 flex items-center justify-center rounded-sm">
{props.children}
</div>
)
diff --git a/packages/ui/src/components/Input/Input.module.css b/packages/ui/src/components/Input/Input.module.css
index cf826d1a856..7469c5600a5 100644
--- a/packages/ui/src/components/Input/Input.module.css
+++ b/packages/ui/src/components/Input/Input.module.css
@@ -3,9 +3,9 @@
} */
/* .sbui-input {
- @apply block box-border pl-3 pr-3 py-2 w-full rounded-md shadow-sm text-sm border border-solid transition-all;
+ @apply block box-border pl-3 pr-3 py-2 w-full rounded-md shadow-xs text-sm border border-solid transition-all;
@apply bg-white text-input-value-light border-input-border-light;
- @apply focus:ring-input-border-focus-light focus:border-input-border-focus-light focus:outline-none;
+ @apply focus:ring-input-border-focus-light focus:border-input-border-focus-light focus:outline-hidden;
@apply dark:bg-transparent dark:text-input-value-dark dark:border-input-border-dark;
@apply dark:focus:border-input-border-focus-dark dark:focus:ring-input-border-focus-dark;
diff --git a/packages/ui/src/components/KeyboardShortcut/KeyboardShortcut.tsx b/packages/ui/src/components/KeyboardShortcut/KeyboardShortcut.tsx
index 449947df7d1..4ca49292b9c 100644
--- a/packages/ui/src/components/KeyboardShortcut/KeyboardShortcut.tsx
+++ b/packages/ui/src/components/KeyboardShortcut/KeyboardShortcut.tsx
@@ -46,7 +46,7 @@ export const KeyboardShortcut = ({ keys, variant = 'pill', className }: Keyboard
className={cn(
'inline-flex whitespace-nowrap shrink-0',
variant === 'pill'
- ? 'items-center text-[11px] leading-none -tracking-[0.05em] text-foreground-light bg-surface-200 dark:bg-surface-100 rounded px-[5px] py-[3px]'
+ ? 'items-center text-[11px] leading-none tracking-tighter text-foreground-light bg-surface-200 dark:bg-surface-100 rounded-sm px-[5px] py-[3px]'
: 'items-baseline text-[11px] leading-[inherit] text-foreground/40',
className
)}
diff --git a/packages/ui/src/components/Menu/Menu.module.css b/packages/ui/src/components/Menu/Menu.module.css
index a78c227d664..6e1ebefbd6b 100644
--- a/packages/ui/src/components/Menu/Menu.module.css
+++ b/packages/ui/src/components/Menu/Menu.module.css
@@ -31,5 +31,5 @@
}
.sbui-menu__item--rounded {
- @apply rounded;
+ @apply rounded-sm;
}
diff --git a/packages/ui/src/components/Menu/Menu.tsx b/packages/ui/src/components/Menu/Menu.tsx
index 50902cec917..f0218a7a23e 100644
--- a/packages/ui/src/components/Menu/Menu.tsx
+++ b/packages/ui/src/components/Menu/Menu.tsx
@@ -75,7 +75,7 @@ export function Item({ children, icon, active, onClick, style }: ItemProps) {
return (
<li
role="menuitem"
- className={cn('outline-none', classes)}
+ className={cn('outline-hidden', classes)}
style={style}
onClick={onClick}
aria-current={active ? 'page' : undefined}
diff --git a/packages/ui/src/components/NavMenu/index.tsx b/packages/ui/src/components/NavMenu/index.tsx
index 8e31e46b764..d67e0b361ff 100644
--- a/packages/ui/src/components/NavMenu/index.tsx
+++ b/packages/ui/src/components/NavMenu/index.tsx
@@ -33,7 +33,7 @@ export const NavMenuItem = forwardRef<HTMLLIElement, NavMenuItemProps>(
aria-selected={active ? 'true' : 'false'}
data-state={active ? 'active' : 'inactive'}
className={cn(
- 'inline-flex items-center justify-center whitespace-nowrap text-sm ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:text-foreground text-foreground-lighter hover:text-foreground data-[state=active]:border-foreground border-b-2 border-transparent *:py-1.5',
+ 'inline-flex items-center justify-center whitespace-nowrap text-sm ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:text-foreground text-foreground-lighter hover:text-foreground data-[state=active]:border-foreground border-b-2 border-transparent *:py-1.5',
className
)}
{...props}
diff --git a/packages/ui/src/components/Popover/Popover.module.css b/packages/ui/src/components/Popover/Popover.module.css
index 153072e5dbc..670513d55e3 100644
--- a/packages/ui/src/components/Popover/Popover.module.css
+++ b/packages/ui/src/components/Popover/Popover.module.css
@@ -1,8 +1,8 @@
.sbui-popover__content {
@apply bg-background p-0;
@apply border;
- @apply rounded;
- @apply shadow;
+ @apply rounded-sm;
+ @apply shadow-sm;
border-style: solid;
border-width: 1px;
}
diff --git a/packages/ui/src/components/ShadowScrollArea/index.tsx b/packages/ui/src/components/ShadowScrollArea/index.tsx
index 651f30fe16e..6130fc460c8 100644
--- a/packages/ui/src/components/ShadowScrollArea/index.tsx
+++ b/packages/ui/src/components/ShadowScrollArea/index.tsx
@@ -28,24 +28,24 @@ const ShadowScrollArea = React.forwardRef<HTMLDivElement, ShadowScrollAreaProps>
const stickyColumnShadow = cn(
'[&_td:last-child]:before:absolute [&_td:last-child]:before:top-0 [&_td:last-child]:before:-left-6',
- '[&_td:last-child]:before:bottom-0 [&_td:last-child]:before:w-6 [&_td:last-child]:before:bg-gradient-to-l',
+ '[&_td:last-child]:before:bottom-0 [&_td:last-child]:before:w-6 [&_td:last-child]:before:bg-linear-to-l',
'[&_td:last-child]:before:from-black/5 dark:[&_td:last-child]:before:from-black/20 [&_td:last-child]:before:to-transparent',
'[&_td:last-child]:before:opacity-0 [&_td:last-child]:before:transition-all [&_td:last-child]:before:duration-400',
- '[&_td:last-child]:before:easing-[0.24, 0.25, 0.05, 1] [&_td:last-child]:before:z-[39]',
+ '[&_td:last-child]:before:easing-[0.24, 0.25, 0.05, 1] [&_td:last-child]:before:z-39',
'[&_th:last-child]:before:absolute [&_th:last-child]:before:top-0 [&_th:last-child]:before:-left-6',
- '[&_th:last-child]:before:bottom-0 [&_th:last-child]:before:w-6 [&_th:last-child]:before:bg-gradient-to-l',
+ '[&_th:last-child]:before:bottom-0 [&_th:last-child]:before:w-6 [&_th:last-child]:before:bg-linear-to-l',
'[&_th:last-child]:before:from-black/5 dark:[&_th:last-child]:before:from-black/20 [&_th:last-child]:before:to-transparent',
'[&_th:last-child]:before:opacity-0 [&_th:last-child]:before:transition-all [&_th:last-child]:before:duration-400',
- '[&_th:last-child]:before:easing-[0.24, 0.25, 0.05, 1] [&_th:last-child]:before:z-[39]'
+ '[&_th:last-child]:before:easing-[0.24, 0.25, 0.05, 1] [&_th:last-child]:before:z-39'
)
return (
<div ref={outerContainerRef} className={cn(containerClassName, 'relative')}>
<div
className={cn(
- 'absolute inset-0 pointer-events-none z-[38]',
- 'before:absolute before:top-0 before:right-0 before:bottom-0 before:w-6 before:bg-gradient-to-l before:from-black/5 dark:before:from-black/20 before:to-transparent before:opacity-0 before:transition-all before:duration-400 before:easing-[0.24, 0.25, 0.05, 1]',
- 'after:absolute after:top-0 after:left-0 after:bottom-0 after:w-6 after:bg-gradient-to-r after:from-black/5 dark:after:from-black/20 after:to-transparent after:opacity-0 after:transition-all after:duration-400 after:easing-[0.24, 0.25, 0.05, 1]',
+ 'absolute inset-0 pointer-events-none z-38',
+ 'before:absolute before:top-0 before:right-0 before:bottom-0 before:w-6 before:bg-linear-to-l before:from-black/5 dark:before:from-black/20 before:to-transparent before:opacity-0 before:transition-all before:duration-400 before:easing-[0.24, 0.25, 0.05, 1]',
+ 'after:absolute after:top-0 after:left-0 after:bottom-0 after:w-6 after:bg-linear-to-r after:from-black/5 dark:after:from-black/20 after:to-transparent after:opacity-0 after:transition-all after:duration-400 after:easing-[0.24, 0.25, 0.05, 1]',
hasHorizontalScroll && 'hover:before:opacity-100 hover:after:opacity-100',
canScrollRight && 'before:opacity-100',
canScrollLeft && 'after:opacity-100'
@@ -56,7 +56,7 @@ const ShadowScrollArea = React.forwardRef<HTMLDivElement, ShadowScrollAreaProps>
className={cn(
'w-full overflow-auto',
stickyLastColumn && [
- '[&_tr>*:last-child]:sticky [&_tr>*:last-child]:z-[38] [&_tr>*:last-child]:right-0',
+ '[&_tr>*:last-child]:sticky [&_tr>*:last-child]:z-38 [&_tr>*:last-child]:right-0',
'[&_tr:hover>*:last-child]:bg-transparent',
'[&_th>*:last-child]:bg-surface-100',
stickyColumnShadow,
diff --git a/packages/ui/src/components/StatusIcon.tsx b/packages/ui/src/components/StatusIcon.tsx
index c24e757dc3f..7eb36f7118b 100644
--- a/packages/ui/src/components/StatusIcon.tsx
+++ b/packages/ui/src/components/StatusIcon.tsx
@@ -38,7 +38,7 @@ const InfoIcon: React.FC<SVGProps<SVGSVGElement> & StatusIconProps> = ({
{...props}
className={cn(
!hideBackground
- ? 'w-4 h-4 p-0.5 bg-foreground-lighter text-background-surface-200 rounded'
+ ? 'w-4 h-4 p-0.5 bg-foreground-lighter text-background-surface-200 rounded-sm'
: 'w-3 h-3 text-foreground-lighter',
props.className
)}
@@ -64,7 +64,7 @@ const CriticalIcon: React.FC<SVGProps<SVGSVGElement> & StatusIconProps> = ({
{...props}
className={cn(
!hideBackground
- ? 'w-4 h-4 p-0.5 bg-destructive-600 text-destructive-200 rounded'
+ ? 'w-4 h-4 p-0.5 bg-destructive-600 text-destructive-200 rounded-sm'
: 'w-3 h-3 text-destructive-600',
props.className
)}
@@ -90,7 +90,7 @@ const WarningIcon: React.FC<SVGProps<SVGSVGElement> & StatusIconProps> = ({
{...props}
className={cn(
!hideBackground
- ? 'w-4 h-4 p-0.5 bg-warning-600 text-warning-200 rounded'
+ ? 'w-4 h-4 p-0.5 bg-warning-600 text-warning-200 rounded-sm'
: 'w-3 h-3 text-warning',
props.className
)}
@@ -117,7 +117,7 @@ const CheckIcon: React.FC<SVGProps<SVGSVGElement> & StatusIconProps> = ({
{...props}
className={cn(
!hideBackground
- ? 'w-4 h-4 p-0.5 bg-foreground text-background rounded'
+ ? 'w-4 h-4 p-0.5 bg-foreground text-background rounded-sm'
: 'w-3 h-3 text-success-600',
props.className
)}
@@ -150,7 +150,7 @@ const EyeIcon: React.FC<SVGProps<SVGSVGElement> & StatusIconProps> = ({
{...props}
className={cn(
!hideBackground
- ? 'w-4 h-4 p-0.5 bg-warning-600 text-warning-200 rounded'
+ ? 'w-4 h-4 p-0.5 bg-warning-600 text-warning-200 rounded-sm'
: 'w-3 h-3 text-warning',
props.className
)}
@@ -179,7 +179,7 @@ const EyeOffIcon: React.FC<SVGProps<SVGSVGElement> & StatusIconProps> = ({
{...props}
className={cn(
!hideBackground
- ? 'w-4 h-4 p-0.5 bg-foreground-light text-background rounded'
+ ? 'w-4 h-4 p-0.5 bg-foreground-light text-background rounded-sm'
: 'w-3 h-3 text-warning',
props.className
)}
diff --git a/packages/ui/src/components/radio-group-card.tsx b/packages/ui/src/components/radio-group-card.tsx
index 65c5c001fe4..5c66da6c7fc 100644
--- a/packages/ui/src/components/radio-group-card.tsx
+++ b/packages/ui/src/components/radio-group-card.tsx
@@ -37,8 +37,8 @@ const RadioGroupCardItem = React.forwardRef<
'p-2',
// 'hover:bg-selection',
'hover:border-foreground-muted',
- 'hover:z-[1] focus-visible:z-[1]',
- 'data-[state=checked]:z-[1]',
+ 'hover:z-1 focus-visible:z-1',
+ 'data-[state=checked]:z-1',
'data-[state=checked]:ring-2 data-[state=checked]:ring-border',
'data-[state=checked]:bg-surface-300 dark:data-[state=checked]:bg-surface-300',
'data-[state=checked]:border-foreground/50',
@@ -57,7 +57,7 @@ const RadioGroupCardItem = React.forwardRef<
group-focus:border-foreground-muted
group-hover:border-foreground-muted
ring-offset-background
- group-focus:outline-none
+ group-focus:outline-hidden
group-focus-visible:ring-2 group-focus-visible:ring-ring group-focus-visible:ring-offset-2
group-disabled:cursor-not-allowed group-disabled:opacity-50
flex items-center justify-center
diff --git a/packages/ui/src/components/radio-group-stacked.tsx b/packages/ui/src/components/radio-group-stacked.tsx
index 9fd077371dd..e083f085e3d 100644
--- a/packages/ui/src/components/radio-group-stacked.tsx
+++ b/packages/ui/src/components/radio-group-stacked.tsx
@@ -41,14 +41,14 @@ const RadioGroupStackedItem = React.forwardRef<
// Base layout and sizing
'flex flex-col gap-2 w-full',
// Base styles
- 'bg-overlay/50 border shadow-sm',
+ 'bg-overlay/50 border shadow-xs',
'first-of-type:rounded-t-lg last-of-type:rounded-b-lg',
// Disabled state
'disabled:opacity-50 disabled:cursor-not-allowed',
// Enabled/hover states
'enabled:cursor-pointer enabled:hover:bg-surface-300 enabled:hover:border-foreground-muted',
// Z-index for interactions
- 'hover:z-[1] focus-visible:z-[1] data-[state=checked]:z-[1]',
+ 'hover:z-1 focus-visible:z-1 data-[state=checked]:z-1',
// Checked state
'data-[state=checked]:ring-1 data-[state=checked]:ring-border',
'data-[state=checked]:bg-surface-300 data-[state=checked]:border-foreground-muted',
@@ -67,7 +67,7 @@ const RadioGroupStackedItem = React.forwardRef<
'ring-offset-background transition',
// States
'group-data-[state=checked]:border-foreground-muted',
- 'group-focus:border-foreground-muted group-focus:outline-none',
+ 'group-focus:border-foreground-muted group-focus:outline-hidden',
'group-focus-visible:ring-2 group-focus-visible:ring-ring group-focus-visible:ring-offset-2',
'group-hover:border-foreground-muted'
)}
@@ -82,7 +82,7 @@ const RadioGroupStackedItem = React.forwardRef<
htmlFor={props.value}
className={cn(
// Base styles
- 'block -mt-[0.15rem] text-sm text-left text-light',
+ 'block mt-[-0.15rem] text-sm text-left text-light',
// Transitions
'transition-colors',
// States
diff --git a/packages/ui/src/components/shadcn/ui/alert-dialog.tsx b/packages/ui/src/components/shadcn/ui/alert-dialog.tsx
index f8c33c009e4..16da36c9bff 100644
--- a/packages/ui/src/components/shadcn/ui/alert-dialog.tsx
+++ b/packages/ui/src/components/shadcn/ui/alert-dialog.tsx
@@ -27,7 +27,7 @@ const AlertDialogOverlay = React.forwardRef<
<AlertDialogPrimitive.Overlay
ref={ref}
className={cn(
- 'bg-black/40 backdrop-blur-sm',
+ 'bg-black/40 backdrop-blur-xs',
'z-50 fixed inset-0 grid place-items-center overflow-y-auto data-closed:animate-overlay-hide py-8',
!centered && 'flex flex-col flex-start pb-8 sm:pt-12 md:pt-20 lg:pt-32 xl:pt-40 px-5',
className
@@ -39,7 +39,7 @@ AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName
const AlertDialogContentVariants = cva(
cn(
- 'relative z-50 w-full max-w-screen border shadow-md dark:shadow-sm',
+ 'relative z-50 w-full max-w-screen border shadow-md dark:shadow-xs',
'data-[state=open]:animate-in data-[state=closed]:animate-out',
'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',
'data-[state=closed]:slide-out-to-left-[0%] data-[state=closed]:slide-out-to-top-[0%]',
diff --git a/packages/ui/src/components/shadcn/ui/alert.tsx b/packages/ui/src/components/shadcn/ui/alert.tsx
index d001964149c..f91882a8752 100644
--- a/packages/ui/src/components/shadcn/ui/alert.tsx
+++ b/packages/ui/src/components/shadcn/ui/alert.tsx
@@ -8,7 +8,7 @@ export const alertVariants = cva(
// Container
'relative w-full text-sm rounded-lg border p-4',
// Icon SVG
- '[&>svg~*]:pl-10 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg]:w-[23px] [&>svg]:h-[23px] [&>svg]:p-1 [&>svg]:flex [&>svg]:rounded'
+ '[&>svg~*]:pl-10 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg]:w-[23px] [&>svg]:h-[23px] [&>svg]:p-1 [&>svg]:flex [&>svg]:rounded-sm'
),
{
variants: {
diff --git a/packages/ui/src/components/shadcn/ui/breadcrumb.tsx b/packages/ui/src/components/shadcn/ui/breadcrumb.tsx
index c3e85da76d7..4a939def1bc 100644
--- a/packages/ui/src/components/shadcn/ui/breadcrumb.tsx
+++ b/packages/ui/src/components/shadcn/ui/breadcrumb.tsx
@@ -17,7 +17,7 @@ const BreadcrumbList = React.forwardRef<HTMLOListElement, React.ComponentPropsWi
<ol
ref={ref}
className={cn(
- 'flex flex-wrap items-center gap-0.5 break-words text-sm text-muted-foreground sm:gap-1.5',
+ 'flex flex-wrap items-center gap-0.5 wrap-break-word text-sm text-muted-foreground sm:gap-1.5',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/button.tsx b/packages/ui/src/components/shadcn/ui/button.tsx
index 1c63aeb826d..9c37deb239e 100644
--- a/packages/ui/src/components/shadcn/ui/button.tsx
+++ b/packages/ui/src/components/shadcn/ui/button.tsx
@@ -7,7 +7,7 @@ import * as React from 'react'
import { cn } from '../../../lib/utils/cn'
const buttonVariants = cva(
- 'inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground-muted focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
+ 'inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-foreground-muted focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
{
variants: {
variant: {
diff --git a/packages/ui/src/components/shadcn/ui/calendar.tsx b/packages/ui/src/components/shadcn/ui/calendar.tsx
index ade364348ed..ff2d8dda136 100644
--- a/packages/ui/src/components/shadcn/ui/calendar.tsx
+++ b/packages/ui/src/components/shadcn/ui/calendar.tsx
@@ -51,7 +51,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C
button_previous: cn(
buttonVariants({ variant: 'outline' }),
'h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100',
- 'z-[5]',
+ 'z-5',
'aria-disabled:opacity-25 aria-disabled:hover:opacity-25 aria-disabled:cursor-not-allowed',
'absolute left-0 top-0',
button_previous
@@ -59,7 +59,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C
button_next: cn(
buttonVariants({ variant: 'outline' }),
'h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100',
- 'z-[5]',
+ 'z-5',
'aria-disabled:opacity-25 aria-disabled:hover:opacity-25 aria-disabled:cursor-not-allowed',
'absolute right-0 top-0',
button_next
diff --git a/packages/ui/src/components/shadcn/ui/card.tsx b/packages/ui/src/components/shadcn/ui/card.tsx
index 53fc99db2f2..ec18d3a99d0 100644
--- a/packages/ui/src/components/shadcn/ui/card.tsx
+++ b/packages/ui/src/components/shadcn/ui/card.tsx
@@ -7,7 +7,7 @@ const Card = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElemen
<div
ref={ref}
className={cn(
- 'overflow-hidden rounded-lg border bg-surface-100 text-card-foreground shadow-sm',
+ 'overflow-hidden rounded-lg border bg-surface-100 text-card-foreground shadow-xs',
className
)}
{...props}
@@ -20,10 +20,7 @@ const CardHeader = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDiv
({ className, ...props }, ref) => (
<div
ref={ref}
- className={cn(
- 'flex flex-col space-y-1.5 py-4 px-[var(--card-padding-x)] border-b',
- className
- )}
+ className={cn('flex flex-col space-y-1.5 py-4 px-(--card-padding-x) border-b', className)}
{...props}
/>
)
@@ -49,7 +46,7 @@ const CardContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDi
({ className, ...props }, ref) => (
<div
ref={ref}
- className={cn('py-4 px-[var(--card-padding-x)] border-b last:border-none', className)}
+ className={cn('py-4 px-(--card-padding-x) border-b last:border-none', className)}
{...props}
/>
)
@@ -60,7 +57,7 @@ const CardFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDiv
({ className, ...props }, ref) => (
<div
ref={ref}
- className={cn('flex items-center py-4 px-[var(--card-padding-x)]', className)}
+ className={cn('flex items-center py-4 px-(--card-padding-x)', className)}
{...props}
/>
)
diff --git a/packages/ui/src/components/shadcn/ui/chart.tsx b/packages/ui/src/components/shadcn/ui/chart.tsx
index 335cb47e16c..dab9b867652 100644
--- a/packages/ui/src/components/shadcn/ui/chart.tsx
+++ b/packages/ui/src/components/shadcn/ui/chart.tsx
@@ -50,7 +50,7 @@ const ChartContainer = React.forwardRef<
data-chart={chartId}
ref={ref}
className={cn(
- "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-foreground-muted [&_.recharts-cartesian-grid_line]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line-line]:stroke-foreground [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
+ "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-foreground-muted [&_.recharts-cartesian-grid_line]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line-line]:stroke-foreground [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-hidden [&_.recharts-surface]:outline-hidden",
className
)}
{...props}
@@ -163,7 +163,7 @@ const ChartTooltipContent = React.forwardRef<
<div
ref={ref}
className={cn(
- 'grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg px-2.5 py-1.5 text-xs shadow-xl',
+ 'grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-default px-2.5 py-1.5 text-xs shadow-xl',
className
)}
>
@@ -192,7 +192,7 @@ const ChartTooltipContent = React.forwardRef<
!hideIndicator && (
<div
className={cn(
- 'shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]',
+ 'shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)',
{
'h-2.5 w-2.5': indicator === 'dot',
'w-1': indicator === 'line',
diff --git a/packages/ui/src/components/shadcn/ui/checkbox.tsx b/packages/ui/src/components/shadcn/ui/checkbox.tsx
index 4fb1384d140..22cecb73271 100644
--- a/packages/ui/src/components/shadcn/ui/checkbox.tsx
+++ b/packages/ui/src/components/shadcn/ui/checkbox.tsx
@@ -13,10 +13,10 @@ const Checkbox = React.forwardRef<
<CheckboxPrimitive.Root
ref={ref}
className={cn(
- 'peer flex items-center justify-center h-4 w-4 shrink-0 rounded border border-control bg-control/25 ring-offset-background',
+ 'peer flex items-center justify-center h-4 w-4 shrink-0 rounded-sm border border-control bg-control/25 ring-offset-background',
'transition-colors duration-150 ease-in-out',
'hover:border-strong',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
'disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-foreground data-[state=checked]:text-background',
className
)}
diff --git a/packages/ui/src/components/shadcn/ui/command.tsx b/packages/ui/src/components/shadcn/ui/command.tsx
index e943fbab4c1..068bb834b7a 100644
--- a/packages/ui/src/components/shadcn/ui/command.tsx
+++ b/packages/ui/src/components/shadcn/ui/command.tsx
@@ -29,7 +29,7 @@ const CommandDialog = ({ children, ...props }: CommandDialogProps) => {
return (
<Dialog {...props}>
<DialogContent className="overflow-hidden p-0 shadow-lg">
- <Command className="[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-foreground-muted [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">
+ <Command className="**:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-foreground-muted [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 **:[[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 **:[[cmdk-input]]:h-12 **:[[cmdk-item]]:px-2 **:[[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">
{children}
</Command>
</DialogContent>
@@ -62,7 +62,7 @@ const CommandInput = React.forwardRef<
<CommandPrimitive.Input
ref={ref}
className={cn(
- 'flex h-9 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted disabled:cursor-not-allowed disabled:opacity-50 border-none focus:ring-0',
+ 'flex h-9 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted disabled:cursor-not-allowed disabled:opacity-50 border-none focus:ring-0',
className
)}
{...props}
@@ -117,10 +117,10 @@ const CommandGroup = React.forwardRef<
<CommandPrimitive.Group
ref={ref}
className={cn(
- 'overflow-hidden p-1 text-foreground-light [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-muted',
- '[&_[cmdk-group-heading]]:font-mono',
- '[&_[cmdk-group-heading]]:uppercase',
- '[&_[cmdk-group-heading]]:tracking-wider',
+ 'overflow-hidden p-1 text-foreground-light **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-normal [&_[cmdk-group-heading]]:text-foreground-muted',
+ '**:[[cmdk-group-heading]]:font-mono',
+ '**:[[cmdk-group-heading]]:uppercase',
+ '**:[[cmdk-group-heading]]:tracking-wider',
className
)}
{...props}
@@ -148,7 +148,7 @@ const CommandItem = React.forwardRef<
<CommandPrimitive.Item
ref={ref}
className={cn(
- 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-xs outline-none data-[selected=true]:bg-overlay-hover data-[selected=true]:text-strong data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50',
+ 'relative flex cursor-default select-none items-center rounded-xs px-2 py-1.5 text-xs outline-hidden data-[selected=true]:bg-overlay-hover data-[selected=true]:text-strong data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/context-menu.tsx b/packages/ui/src/components/shadcn/ui/context-menu.tsx
index 9f57f03a6bd..017143707fb 100644
--- a/packages/ui/src/components/shadcn/ui/context-menu.tsx
+++ b/packages/ui/src/components/shadcn/ui/context-menu.tsx
@@ -27,7 +27,7 @@ const ContextMenuSubTrigger = React.forwardRef<
<ContextMenuPrimitive.SubTrigger
ref={ref}
className={cn(
- 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-xs outline-none focus:bg-selection focus:text-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',
+ 'flex cursor-default select-none items-center rounded-xs px-2 py-1.5 text-xs outline-hidden focus:bg-selection focus:text-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',
inset && 'pl-8',
className
)}
@@ -46,7 +46,7 @@ const ContextMenuSubContent = React.forwardRef<
<ContextMenuPrimitive.SubContent
ref={ref}
className={cn(
- 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-overlay p-1 text-foreground-light shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ 'z-50 min-w-32 overflow-hidden rounded-md border bg-overlay p-1 text-foreground-light shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
className
)}
{...props}
@@ -62,7 +62,7 @@ const ContextMenuContent = React.forwardRef<
<ContextMenuPrimitive.Content
ref={ref}
className={cn(
- 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-overlay p-1 text-foreground-light shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ 'z-50 min-w-32 overflow-hidden rounded-md border bg-overlay p-1 text-foreground-light shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
className
)}
{...props}
@@ -80,7 +80,7 @@ const ContextMenuItem = React.forwardRef<
<ContextMenuPrimitive.Item
ref={ref}
className={cn(
- 'relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-xs outline-none focus:bg-selection focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-pointer select-none items-center rounded-xs px-2 py-1.5 text-xs outline-hidden focus:bg-selection focus:text-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
inset && 'pl-8',
className
)}
@@ -96,7 +96,7 @@ const ContextMenuCheckboxItem = React.forwardRef<
<ContextMenuPrimitive.CheckboxItem
ref={ref}
className={cn(
- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-xs outline-none focus:bg-selection focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-xs outline-hidden focus:bg-selection focus:text-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
checked={checked}
@@ -119,7 +119,7 @@ const ContextMenuRadioItem = React.forwardRef<
<ContextMenuPrimitive.RadioItem
ref={ref}
className={cn(
- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-xs outline-none focus:bg-selection focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-xs outline-hidden focus:bg-selection focus:text-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/dialog.tsx b/packages/ui/src/components/shadcn/ui/dialog.tsx
index 8366127f52e..6f72dc190b0 100644
--- a/packages/ui/src/components/shadcn/ui/dialog.tsx
+++ b/packages/ui/src/components/shadcn/ui/dialog.tsx
@@ -41,7 +41,7 @@ const DialogOverlay = React.forwardRef<
<DialogPrimitive.Overlay
ref={ref}
className={cn(
- 'bg-black/40 backdrop-blur-sm',
+ 'bg-black/40 backdrop-blur-xs',
'z-50 fixed inset-0 grid place-items-center overflow-y-auto data-closed:animate-overlay-hide py-8',
!centered && 'flex flex-col flex-start pb-8 sm:pt-12 md:pt-20 lg:pt-32 xl:pt-40 px-5',
className
@@ -53,7 +53,7 @@ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName
const DialogContentVariants = cva(
cn(
- 'relative z-50 w-full max-w-screen border shadow-md dark:shadow-sm',
+ 'relative z-50 w-full max-w-screen border shadow-md dark:shadow-xs',
'data-[state=open]:animate-in data-[state=closed]:animate-out',
'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',
'data-[state=closed]:slide-out-to-left-[0%] data-[state=closed]:slide-out-to-top-[0%]',
@@ -103,8 +103,8 @@ const DialogContent = React.forwardRef<
{!hideClose && (
<DialogPrimitive.Close
className={cn(
- 'absolute p-0.5 right-3.5 top-3.5 rounded-sm opacity-20 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-foreground-muted',
- 'before:content-[""] before:block before:absolute before:top-1/2 before:left-1/2 before:w-full before:h-full before:outline-red-500 before:outline-2 before:min-w-6 before:min-h-6 before:z-50 before:-translate-x-1/2 before:-translate-y-1/2'
+ 'absolute p-0.5 right-3.5 top-3.5 rounded-xs opacity-20 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-foreground-muted',
+ 'hit-area-6'
)}
>
<X size={16} />
@@ -186,7 +186,7 @@ const DialogClose = React.forwardRef<
<DialogPrimitive.Close
ref={ref}
className={cn(
- 'opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-foreground-muted',
+ 'opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-foreground-muted',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/dropdown-menu.tsx b/packages/ui/src/components/shadcn/ui/dropdown-menu.tsx
index 1417b4929c6..319eec9b727 100644
--- a/packages/ui/src/components/shadcn/ui/dropdown-menu.tsx
+++ b/packages/ui/src/components/shadcn/ui/dropdown-menu.tsx
@@ -32,14 +32,14 @@ const DropdownMenuSubTrigger = React.forwardRef<
<DropdownMenuPrimitive.SubTrigger
ref={ref}
className={cn(
- 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-xs outline-none focus:bg-overlay-hover data-[state=open]:bg-overlay-hover data-[state=open]:text-strong',
+ 'flex cursor-default select-none items-center rounded-xs px-2 py-1.5 text-xs outline-hidden focus:bg-overlay-hover data-[state=open]:bg-overlay-hover data-[state=open]:text-strong',
inset && 'pl-8',
className
)}
{...props}
>
{children}
- <ChevronRight className="h-4 w-4 !ml-auto" />
+ <ChevronRight className="h-4 w-4 ml-auto!" />
</DropdownMenuPrimitive.SubTrigger>
))
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName
@@ -51,7 +51,7 @@ const DropdownMenuSubContent = React.forwardRef<
<DropdownMenuPrimitive.SubContent
ref={ref}
className={cn(
- 'z-50 min-w-[8rem] overflow-hidden rounded-md border border-overlay bg-overlay p-1 text-foreground-light shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ 'z-50 min-w-32 overflow-hidden rounded-md border border-overlay bg-overlay p-1 text-foreground-light shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
className
)}
{...props}
@@ -68,7 +68,7 @@ const DropdownMenuContent = React.forwardRef<
ref={ref}
sideOffset={sideOffset}
className={cn(
- 'z-50 min-w-[8rem] overflow-hidden rounded-md border border-overlay bg-overlay p-1 text-foreground-light shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 w-64',
+ 'z-50 min-w-32 overflow-hidden rounded-md border border-overlay bg-overlay p-1 text-foreground-light shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 w-64',
className
)}
{...props}
@@ -86,7 +86,7 @@ const DropdownMenuItem = React.forwardRef<
<DropdownMenuPrimitive.Item
ref={ref}
className={cn(
- 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-xs outline-none transition-colors focus:bg-overlay-hover focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-default select-none items-center rounded-xs px-2 py-1.5 text-xs outline-hidden transition-colors focus:bg-overlay-hover focus:text-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
inset && 'pl-8',
className
)}
@@ -102,7 +102,7 @@ const DropdownMenuCheckboxItem = React.forwardRef<
<DropdownMenuPrimitive.CheckboxItem
ref={ref}
className={cn(
- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-xs outline-none transition-colors focus:bg-overlay-hover focus:text-strong data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-xs outline-hidden transition-colors focus:bg-overlay-hover focus:text-strong data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
checked={checked}
@@ -125,7 +125,7 @@ const DropdownMenuRadioItem = React.forwardRef<
<DropdownMenuPrimitive.RadioItem
ref={ref}
className={cn(
- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-xs outline-none transition-colors focus:bg-overlay-hover focus:text-strong data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-xs outline-hidden transition-colors focus:bg-overlay-hover focus:text-strong data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/field.tsx b/packages/ui/src/components/shadcn/ui/field.tsx
index 6489c33f275..894e658129b 100644
--- a/packages/ui/src/components/shadcn/ui/field.tsx
+++ b/packages/ui/src/components/shadcn/ui/field.tsx
@@ -44,7 +44,7 @@ function FieldGroup({ className, ...props }: React.ComponentProps<'div'>) {
<div
data-slot="field-group"
className={cn(
- 'group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4',
+ 'group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4',
className
)}
{...props}
@@ -55,15 +55,15 @@ function FieldGroup({ className, ...props }: React.ComponentProps<'div'>) {
const fieldVariants = cva('group/field data-[invalid=true]:text-destructive flex w-full gap-3', {
variants: {
orientation: {
- vertical: ['flex-col [&>*]:w-full [&>.sr-only]:w-auto'],
+ vertical: ['flex-col *:w-full [&>.sr-only]:w-auto'],
horizontal: [
'flex-row items-center',
- '[&>[data-slot=field-label]]:flex-auto',
+ '*:data-[slot=field-label]:flex-auto',
'has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px has-[>[data-slot=field-content]]:items-start',
],
responsive: [
- '@md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto flex-col [&>*]:w-full [&>.sr-only]:w-auto',
- '@md/field-group:[&>[data-slot=field-label]]:flex-auto',
+ '@md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto flex-col *:w-full [&>.sr-only]:w-auto',
+ '@md/field-group:*:data-[slot=field-label]:flex-auto',
'@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',
],
},
@@ -105,7 +105,7 @@ function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>)
data-slot="field-label"
className={cn(
'group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50',
- 'has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>[data-slot=field]]:p-4',
+ 'has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-4',
'has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10',
className
)}
@@ -132,7 +132,7 @@ function FieldDescription({ className, ...props }: React.ComponentProps<'p'>) {
<p
data-slot="field-description"
className={cn(
- 'text-muted-foreground text-sm font-normal leading-normal group-has-[[data-orientation=horizontal]]/field:text-balance',
+ 'text-muted-foreground text-sm font-normal leading-normal group-has-data-[orientation=horizontal]/field:text-balance',
'nth-last-2:-mt-1 last:mt-0 [[data-variant=legend]+&]:-mt-1.5',
'[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',
className
diff --git a/packages/ui/src/components/shadcn/ui/hover-card.tsx b/packages/ui/src/components/shadcn/ui/hover-card.tsx
index a7f3bdf52c5..599bbdc22a8 100644
--- a/packages/ui/src/components/shadcn/ui/hover-card.tsx
+++ b/packages/ui/src/components/shadcn/ui/hover-card.tsx
@@ -21,7 +21,7 @@ const HoverCardContent = React.forwardRef<
align={align}
sideOffset={sideOffset}
className={cn(
- 'z-50 w-64 rounded-md border bg-overlay p-4 text-popover-foreground shadow-md outline-none',
+ 'z-50 w-64 rounded-md border bg-overlay p-4 text-popover-foreground shadow-md outline-hidden',
animate === 'zoom-in'
? 'animate-in zoom-in-[99%]'
: 'animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1',
diff --git a/packages/ui/src/components/shadcn/ui/input-group.tsx b/packages/ui/src/components/shadcn/ui/input-group.tsx
index 5249b24a802..8f44d508003 100644
--- a/packages/ui/src/components/shadcn/ui/input-group.tsx
+++ b/packages/ui/src/components/shadcn/ui/input-group.tsx
@@ -44,7 +44,7 @@ function InputGroup({
data-slot="input-group"
role="group"
className={cn(
- 'group/input-group relative items-center outline-none transition-[color,box-shadow]',
+ 'group/input-group relative items-center outline-hidden transition-[color,box-shadow]',
'flex rounded-md border border-control bg-foreground/[.026] text-sm',
'has-[>textarea]:h-auto',
@@ -56,7 +56,7 @@ function InputGroup({
'has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3',
// Focus state.
- 'has-[[data-slot=input-group-control]:focus-visible]:outline-none has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:ring-background-control has-[[data-slot=input-group-control]:focus-visible]:ring-offset-2 has-[[data-slot=input-group-control]:focus-visible]:ring-offset-foreground-muted',
+ 'has-[[data-slot=input-group-control]:focus-visible]:outline-hidden has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:ring-background-control has-[[data-slot=input-group-control]:focus-visible]:ring-offset-2 has-[[data-slot=input-group-control]:focus-visible]:ring-offset-foreground-muted',
// Error state.
'has-[[data-slot][aria-invalid=true]]:bg-destructive-200 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive-400 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40',
@@ -167,8 +167,8 @@ function InputGroupInput({ className, ...props }: InputProps) {
'flex-1 rounded-none border border-transparent -m-px bg-transparent shadow-none',
'focus:border-transparent focus-visible:border-transparent focus-visible:ring-0 focus-visible:ring-offset-0',
'read-only:border-transparent',
- 'aria-[invalid=true]:border-transparent aria-[invalid=true]:bg-transparent',
- 'aria-[invalid=true]:focus:border-transparent aria-[invalid=true]:focus-visible:border-transparent',
+ 'aria-invalid:border-transparent aria-invalid:bg-transparent',
+ 'aria-invalid:focus:border-transparent aria-invalid:focus-visible:border-transparent',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/input-otp.tsx b/packages/ui/src/components/shadcn/ui/input-otp.tsx
index 0b5e19bc777..cc205d9bc97 100644
--- a/packages/ui/src/components/shadcn/ui/input-otp.tsx
+++ b/packages/ui/src/components/shadcn/ui/input-otp.tsx
@@ -12,10 +12,7 @@ const InputOTP = React.forwardRef<
>(({ className, containerClassName, ...props }, ref) => (
<OTPInput
ref={ref}
- containerClassName={cn(
- 'flex items-center gap-2 has-[:disabled]:opacity-50',
- containerClassName
- )}
+ containerClassName={cn('flex items-center gap-2 has-disabled:opacity-50', containerClassName)}
className={cn('disabled:cursor-not-allowed', className)}
{...props}
/>
diff --git a/packages/ui/src/components/shadcn/ui/input.tsx b/packages/ui/src/components/shadcn/ui/input.tsx
index 14b016f3709..f3a80dc8074 100644
--- a/packages/ui/src/components/shadcn/ui/input.tsx
+++ b/packages/ui/src/components/shadcn/ui/input.tsx
@@ -12,7 +12,7 @@ export interface InputProps
export const InputVariants = cva(
cn(
'flex h-10 w-full rounded-md border border-control read-only:border-button bg-foreground/[.026] px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-foreground-muted read-only:text-foreground-light',
- 'focus:ring-background-control focus:border-control focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-background-control focus-visible:ring-offset-2 focus-visible:ring-offset-foreground-muted disabled:cursor-not-allowed disabled:text-foreground-muted',
+ 'focus:ring-background-control focus:border-control focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-background-control focus-visible:ring-offset-2 focus-visible:ring-offset-foreground-muted disabled:cursor-not-allowed disabled:text-foreground-muted',
'aria-[] aria-[invalid=true]:bg-destructive-200 aria-[invalid=true]:border-destructive-400 aria-[invalid=true]:focus:border-destructive aria-[invalid=true]:focus-visible:border-destructive'
),
{
diff --git a/packages/ui/src/components/shadcn/ui/menubar.tsx b/packages/ui/src/components/shadcn/ui/menubar.tsx
index 7f0ff5a6a81..c4fa1193896 100644
--- a/packages/ui/src/components/shadcn/ui/menubar.tsx
+++ b/packages/ui/src/components/shadcn/ui/menubar.tsx
@@ -38,7 +38,7 @@ const MenubarTrigger = React.forwardRef<
<MenubarPrimitive.Trigger
ref={ref}
className={cn(
- 'flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',
+ 'flex cursor-default select-none items-center rounded-xs px-3 py-1.5 text-sm font-medium outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',
className
)}
{...props}
@@ -55,7 +55,7 @@ const MenubarSubTrigger = React.forwardRef<
<MenubarPrimitive.SubTrigger
ref={ref}
className={cn(
- 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',
+ 'flex cursor-default select-none items-center rounded-xs px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',
inset && 'pl-8',
className
)}
@@ -74,7 +74,7 @@ const MenubarSubContent = React.forwardRef<
<MenubarPrimitive.SubContent
ref={ref}
className={cn(
- 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-overlay p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1',
+ 'z-50 min-w-32 overflow-hidden rounded-md border bg-overlay p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1',
className
)}
{...props}
@@ -93,7 +93,7 @@ const MenubarContent = React.forwardRef<
alignOffset={alignOffset}
sideOffset={sideOffset}
className={cn(
- 'z-50 min-w-[12rem] overflow-hidden rounded-md border bg-overlay p-1 text-popover-foreground shadow-md animate-in slide-in-from-top-1',
+ 'z-50 min-w-48 overflow-hidden rounded-md border bg-overlay p-1 text-popover-foreground shadow-md animate-in slide-in-from-top-1',
className
)}
{...props}
@@ -111,7 +111,7 @@ const MenubarItem = React.forwardRef<
<MenubarPrimitive.Item
ref={ref}
className={cn(
- 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-default select-none items-center rounded-xs px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
inset && 'pl-8',
className
)}
@@ -127,7 +127,7 @@ const MenubarCheckboxItem = React.forwardRef<
<MenubarPrimitive.CheckboxItem
ref={ref}
className={cn(
- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
checked={checked}
@@ -150,7 +150,7 @@ const MenubarRadioItem = React.forwardRef<
<MenubarPrimitive.RadioItem
ref={ref}
className={cn(
- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/navigation-menu.tsx b/packages/ui/src/components/shadcn/ui/navigation-menu.tsx
index ea4fe527ac3..503edd18d4a 100644
--- a/packages/ui/src/components/shadcn/ui/navigation-menu.tsx
+++ b/packages/ui/src/components/shadcn/ui/navigation-menu.tsx
@@ -44,7 +44,7 @@ NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName
const NavigationMenuItem = NavigationMenuPrimitive.Item
const navigationMenuTriggerStyle = cva(
- 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus:outline-none focus:bg-accent focus:text-accent-foreground disabled:opacity-50 disabled:pointer-events-none bg-background hover:bg-accent hover:text-accent-foreground data-[state=open]:bg-accent/50 data-[active]:bg-accent/50 h-10 py-2 px-4 group w-max'
+ 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus:outline-hidden focus:bg-accent focus:text-accent-foreground disabled:opacity-50 disabled:pointer-events-none bg-background hover:bg-accent hover:text-accent-foreground data-[state=open]:bg-accent/50 data-[active]:bg-accent/50 h-10 py-2 px-4 group w-max'
)
const NavigationMenuTrigger = React.forwardRef<
@@ -54,7 +54,7 @@ const NavigationMenuTrigger = React.forwardRef<
<NavigationMenuPrimitive.Trigger ref={ref} className={cn('group', className)} {...props}>
{children}{' '}
<ChevronDown
- className="relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180"
+ className="relative top-px ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180"
aria-hidden="true"
/>
</NavigationMenuPrimitive.Trigger>
@@ -90,7 +90,7 @@ const NavigationMenuViewport = React.forwardRef<
>
<NavigationMenuPrimitive.Viewport
className={cn(
- 'origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-right-10 data-[state=open]:duration-100 data-[state=open]:ease-out data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:duration-75 md:w-[var(--radix-navigation-menu-viewport-width)]',
+ 'origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border bg text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-right-10 data-[state=open]:duration-100 data-[state=open]:ease-out data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:duration-75 md:w-(--radix-navigation-menu-viewport-width)',
className
)}
ref={ref}
@@ -107,7 +107,7 @@ const NavigationMenuIndicator = React.forwardRef<
<NavigationMenuPrimitive.Indicator
ref={ref}
className={cn(
- 'top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in',
+ 'top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/popover.tsx b/packages/ui/src/components/shadcn/ui/popover.tsx
index 2e93ef76857..6e151bdb8ca 100644
--- a/packages/ui/src/components/shadcn/ui/popover.tsx
+++ b/packages/ui/src/components/shadcn/ui/popover.tsx
@@ -28,7 +28,7 @@ const PopoverContent = React.forwardRef<
sideOffset={sideOffset}
className={cn(
sameWidthAsTrigger ? styles['popover-trigger-width'] : '',
- 'z-50 w-72 rounded-md border border-overlay bg-overlay p-4 text-popover-foreground shadow-md outline-none animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ 'z-50 w-72 rounded-md border border-overlay bg-overlay p-4 text-popover-foreground shadow-md outline-hidden animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/radio-group.tsx b/packages/ui/src/components/shadcn/ui/radio-group.tsx
index 0f9164563d7..1358cfe9244 100644
--- a/packages/ui/src/components/shadcn/ui/radio-group.tsx
+++ b/packages/ui/src/components/shadcn/ui/radio-group.tsx
@@ -22,7 +22,7 @@ const RadioGroupItem = React.forwardRef<
<RadioGroupPrimitive.Item
ref={ref}
className={cn(
- 'relative aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
+ 'relative aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
className
)}
{...props}
@@ -55,7 +55,7 @@ const RadioGroupLargeItem = React.forwardRef<
'bg-surface-200',
'rounded-md border border-strong',
'p-2',
- 'shadow-sm',
+ 'shadow-xs',
'hover:border-stronger hover:bg-surface-300',
'data-[state=checked]:border-primary',
'data-[state=checked]:ring-1 data-[state=checked]:ring-border',
@@ -73,7 +73,7 @@ const RadioGroupLargeItem = React.forwardRef<
className={cn(
'absolute',
'w-[10px] h-[10px]',
- 'left-[1px] top-[1px]',
+ 'left-px top-px',
'border border-background-surface-300',
'rounded-full',
'data-[state=checked]:border-background-surface-300',
diff --git a/packages/ui/src/components/shadcn/ui/resizable.tsx b/packages/ui/src/components/shadcn/ui/resizable.tsx
index d8ed45b9ac1..27a5a5eb772 100644
--- a/packages/ui/src/components/shadcn/ui/resizable.tsx
+++ b/packages/ui/src/components/shadcn/ui/resizable.tsx
@@ -83,7 +83,7 @@ const ResizableHandle = ({
return (
<ResizablePrimitive.Separator
className={cn(
- 'relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90',
+ 'relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90',
'data-[separator=active]:bg-border-strong',
'group',
'transition-colors',
@@ -95,7 +95,7 @@ const ResizableHandle = ({
{withHandle && (
<div
className={cn(
- 'z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border focus:bg-surface-400',
+ 'z-10 flex h-4 w-3 items-center justify-center rounded-xs border bg-border focus:bg-surface-400',
'opacity-0 transition-opacity duration-200',
'group-data-[separator=hover]:opacity-100',
'hover:bg-surface-400',
diff --git a/packages/ui/src/components/shadcn/ui/scroll-area.tsx b/packages/ui/src/components/shadcn/ui/scroll-area.tsx
index 6e81a4e64ae..bc88fffab4c 100644
--- a/packages/ui/src/components/shadcn/ui/scroll-area.tsx
+++ b/packages/ui/src/components/shadcn/ui/scroll-area.tsx
@@ -47,8 +47,8 @@ const ScrollBar = React.forwardRef<
orientation={orientation}
className={cn(
'flex touch-none select-none transition-colors',
- orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]',
- orientation === 'horizontal' && 'h-2.5 border-t border-t-transparent p-[1px]',
+ orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-px',
+ orientation === 'horizontal' && 'h-2.5 border-t border-t-transparent p-px',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/select.tsx b/packages/ui/src/components/shadcn/ui/select.tsx
index 93ea373b33e..5c4dcc83898 100644
--- a/packages/ui/src/components/shadcn/ui/select.tsx
+++ b/packages/ui/src/components/shadcn/ui/select.tsx
@@ -47,7 +47,7 @@ const SelectTrigger = React.forwardRef<
<SelectPrimitive.Trigger
ref={ref}
className={cn(
- 'flex w-full items-center justify-between rounded-md border border-strong hover:border-stronger bg-alternative dark:bg-muted hover:bg-selection text-xs ring-offset-background-control data-[placeholder]:text-foreground-lighter focus:outline-none ring-border-control focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 transition-all duration-200',
+ 'flex w-full items-center justify-between rounded-md border border-strong hover:border-stronger bg-alternative dark:bg-muted hover:bg-selection text-xs ring-offset-background-control data-[placeholder]:text-foreground-lighter focus:outline-hidden ring-border-control focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 transition-all duration-200',
'data-[state=open]:bg-selection data-[state=open]:border-stronger',
'gap-2',
'[&>span]:truncate text-left', // [kemal] This is to prevent double lines rendering when a string is particularly long.
@@ -107,7 +107,7 @@ const SelectContent = React.forwardRef<
<SelectPrimitive.Content
ref={ref}
className={cn(
- 'relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-overlay text-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ 'relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-overlay text-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
position === 'popper' &&
'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',
className
@@ -120,7 +120,7 @@ const SelectContent = React.forwardRef<
className={cn(
'p-1',
position === 'popper' &&
- 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]'
+ 'h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)'
)}
>
{children}
@@ -156,7 +156,7 @@ const SelectItem = React.forwardRef<
ref={ref}
className={cn(
'group',
- 'relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-overlay-hover text-foreground-light focus:text-foreground data-[state=checked]:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex w-full cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-overlay-hover text-foreground-light focus:text-foreground data-[state=checked]:text-foreground data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/separator.tsx b/packages/ui/src/components/shadcn/ui/separator.tsx
index 237d9603539..032d3c2743e 100644
--- a/packages/ui/src/components/shadcn/ui/separator.tsx
+++ b/packages/ui/src/components/shadcn/ui/separator.tsx
@@ -15,7 +15,7 @@ const Separator = React.forwardRef<
orientation={orientation}
className={cn(
'shrink-0 bg-border-muted',
- orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',
+ orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/sheet.tsx b/packages/ui/src/components/shadcn/ui/sheet.tsx
index d50d0a1776b..5554734ed81 100644
--- a/packages/ui/src/components/shadcn/ui/sheet.tsx
+++ b/packages/ui/src/components/shadcn/ui/sheet.tsx
@@ -39,7 +39,7 @@ const SheetOverlay = React.forwardRef<
>(({ className, children, ...props }, ref) => (
<SheetPrimitive.Overlay
className={cn(
- 'fixed inset-0 z-50 bg-alternative/90 backdrop-blur-sm transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in',
+ 'fixed inset-0 z-50 bg-alternative/90 backdrop-blur-xs transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in',
className
)}
{...props}
@@ -169,8 +169,8 @@ const SheetContent = React.forwardRef<
{showClose ? (
<SheetPrimitive.Close
className={cn(
- 'absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary',
- 'before:content-[""] before:block before:absolute before:top-1/2 before:left-1/2 before:w-full before:h-full before:outline-red-500 before:outline-2 before:min-w-6 before:min-h-6 before:z-50 before:-translate-x-1/2 before:-translate-y-1/2'
+ 'absolute right-4 top-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary',
+ 'hit-area-6'
)}
>
<X className="h-4 w-4" />
diff --git a/packages/ui/src/components/shadcn/ui/sidebar.tsx b/packages/ui/src/components/shadcn/ui/sidebar.tsx
index 9b5c18b6a20..39a7d986491 100644
--- a/packages/ui/src/components/shadcn/ui/sidebar.tsx
+++ b/packages/ui/src/components/shadcn/ui/sidebar.tsx
@@ -173,7 +173,7 @@ const Sidebar = React.forwardRef<
return (
<div
className={cn(
- 'flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground',
+ 'flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground',
className
)}
ref={ref}
@@ -190,7 +190,7 @@ const Sidebar = React.forwardRef<
<SheetContent
data-sidebar="sidebar"
data-mobile="true"
- className="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
+ className="w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
style={
{
'--sidebar-width': SIDEBAR_WIDTH_MOBILE,
@@ -221,33 +221,33 @@ const Sidebar = React.forwardRef<
<div
className={cn(
overflowing ? 'absolute top-0' : 'relative',
- 'duration-100 h-full w-[--sidebar-width] bg-transparent transition-[width] ease-linear',
+ 'duration-100 h-full w-(--sidebar-width) bg-transparent transition-[width] ease-linear',
'group-data-[collapsible=offcanvas]:w-0',
'group-data-[side=right]:rotate-180',
variant === 'floating' || variant === 'inset'
- ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]'
- : 'group-data-[collapsible=icon]:w-[--sidebar-width-icon]'
+ ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]'
+ : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)'
)}
/>
<div
className={cn(
'absolute top-0 h-full', // sidebar custom changes - We have also removed 'fixed', and 'h-svh'
//
- 'duration-100 inset-y-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex',
+ 'duration-100 inset-y-0 z-10 hidden w-(--sidebar-width) transition-[left,right,width] ease-linear md:flex',
side === 'left'
- ? 'left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]'
- : 'right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]',
+ ? 'left-0 group-data-[collapsible=offcanvas]:-left-(--sidebar-width)'
+ : 'right-0 group-data-[collapsible=offcanvas]:-right-(--sidebar-width)',
// Adjust the padding for floating and inset variants.
variant === 'floating' || variant === 'inset'
- ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]'
- : 'group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l',
+ ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]'
+ : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l',
className
)}
{...props}
>
<div
data-sidebar="sidebar"
- className="flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow"
+ className="flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-sm"
>
{children}
</div>
@@ -298,7 +298,7 @@ const SidebarRail = React.forwardRef<HTMLButtonElement, React.ComponentProps<'bu
title="Toggle Sidebar"
className={cn(
'absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex',
- '[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize',
+ 'in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize',
'[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize',
'group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar',
'[[data-side=left][data-collapsible=offcanvas]_&]:-right-2',
@@ -319,7 +319,7 @@ const SidebarInset = React.forwardRef<HTMLDivElement, React.ComponentProps<'main
ref={ref}
className={cn(
'relative flex min-h-svh flex-1 flex-col bg-background',
- 'peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow',
+ 'peer-data-[variant=inset]:min-h-[calc(100svh-(--spacing(4)))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm',
className
)}
{...props}
@@ -432,7 +432,7 @@ const SidebarGroupLabel = React.forwardRef<
ref={ref}
data-sidebar="group-label"
className={cn(
- 'duration-100 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-5 [&>svg]:shrink-0',
+ 'duration-100 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-hidden ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-5 [&>svg]:shrink-0',
'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0',
className
)}
@@ -453,7 +453,7 @@ const SidebarGroupAction = React.forwardRef<
ref={ref}
data-sidebar="group-action"
className={cn(
- 'absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-5 [&>svg]:shrink-0',
+ 'absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-5 [&>svg]:shrink-0',
// Increases the hit area of the button on mobile.
'after:absolute after:-inset-2 after:md:hidden',
'group-data-[collapsible=icon]:hidden',
@@ -503,7 +503,7 @@ SidebarMenuItem.displayName = 'SidebarMenuItem'
const sidebarMenuButtonVariants = cva(
cn(
- 'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md py-2 px-1.5 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-5 [&>svg]:shrink-0 text-foreground-lighter data-[active=true]:text-foreground'
+ 'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md py-2 px-1.5 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-5 [&>svg]:shrink-0 text-foreground-lighter data-[active=true]:text-foreground'
),
{
variants: {
@@ -515,10 +515,10 @@ const sidebarMenuButtonVariants = cva(
size: {
default: 'h-8 text-sm',
sm: 'h-7 text-xs',
- lg: 'h-12 text-sm group-data-[collapsible=icon]:!p-0',
+ lg: 'h-12 text-sm group-data-[collapsible=icon]:p-0!',
},
hasIcon: {
- true: 'group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!pl-1.5 group-data-[collapsible=icon]:!pr-2',
+ true: 'group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:pl-1.5! group-data-[collapsible=icon]:pr-2!',
false: '',
},
},
@@ -614,7 +614,7 @@ const SidebarMenuAction = React.forwardRef<
ref={ref}
data-sidebar="menu-action"
className={cn(
- 'absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-5 [&>svg]:shrink-0',
+ 'absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-5 [&>svg]:shrink-0',
// Increases the hit area of the button on mobile.
'after:absolute after:-inset-2 after:md:hidden',
'peer-data-[size=sm]/menu-button:top-1',
@@ -671,7 +671,7 @@ const SidebarMenuSkeleton = React.forwardRef<
>
{showIcon && <Skeleton className="size-4 rounded-md" data-sidebar="menu-skeleton-icon" />}
<Skeleton
- className="h-4 flex-1 max-w-[--skeleton-width]"
+ className="h-4 flex-1 max-w-(--skeleton-width)"
data-sidebar="menu-skeleton-text"
style={
{
@@ -722,7 +722,7 @@ const SidebarMenuSubButton = React.forwardRef<
data-size={size}
data-active={isActive}
className={cn(
- 'flex h-6 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-5 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground',
+ 'flex h-6 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-hidden ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-5 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground',
'data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground',
size === 'sm' && 'text-xs',
size === 'md' && 'text-sm',
diff --git a/packages/ui/src/components/shadcn/ui/slider.tsx b/packages/ui/src/components/shadcn/ui/slider.tsx
index d8c66013fbf..b0e6e161070 100644
--- a/packages/ui/src/components/shadcn/ui/slider.tsx
+++ b/packages/ui/src/components/shadcn/ui/slider.tsx
@@ -41,7 +41,7 @@ function Slider({
<SliderPrimitive.Thumb
data-slot="slider-thumb"
key={index}
- className="block h-5 w-5 rounded-full border-2 border-background-surface-100 bg-foreground ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
+ className="block h-5 w-5 rounded-full border-2 border-background-surface-100 bg-foreground ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
/>
))}
</SliderPrimitive.Root>
diff --git a/packages/ui/src/components/shadcn/ui/sonner.tsx b/packages/ui/src/components/shadcn/ui/sonner.tsx
index e9fcb9e957c..49a91b3065a 100644
--- a/packages/ui/src/components/shadcn/ui/sonner.tsx
+++ b/packages/ui/src/components/shadcn/ui/sonner.tsx
@@ -41,9 +41,9 @@ const SonnerToaster = ({ toastOptions, ...props }: ToasterProps) => {
'group-[.toaster]:bg-overlay group-[.toaster]:text-foreground group-[.toaster]:border group-[.toaster]:border-overlay group-[.toaster]:shadow-lg'
),
icon: 'mt-0.5',
- title: '!font-normal',
+ title: 'font-normal!',
description:
- 'text-xs group-[.toast]:text-foreground-lighter transition-opacity group-data-[expanded=false]:opacity-0 group-data-[front=true]:!opacity-100',
+ 'text-xs group-[.toast]:text-foreground-lighter transition-opacity group-data-[expanded=false]:opacity-0 group-data-[front=true]:opacity-100!',
actionButton: cn('block', buttonVariants({ type: 'primary', size: 'tiny' })),
cancelButton: cn('block', buttonVariants({ type: 'default', size: 'tiny' })),
// success: 'group toast group-[.toaster]:!bg-brand-200 group-[.toaster]:border-brand-500',
@@ -54,10 +54,10 @@ const SonnerToaster = ({ toastOptions, ...props }: ToasterProps) => {
closeButton: cn(
// unset all styles set from sonner
'absolute right-2 top-2 rounded-md text-foreground/50 opacity-0 transition-opacity',
- 'hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100',
+ 'hover:text-foreground focus:opacity-100 focus:outline-hidden focus:ring-2 group-hover:opacity-100',
'group-[.destructive]:text-destructive-300 group-[.destructive]:hover:text-destructive-50',
'group-[.destructive]:focus:ring-destructive-400 group-[.destructive]:focus:ring-offset-destructive-600',
- 'left-auto transform-none bg-transparent border-0 border-transparent hover:!bg-transparent hover:border-transparent'
+ 'left-auto transform-none bg-transparent border-0 border-transparent hover:bg-transparent! hover:border-transparent'
),
content: 'grow',
//group-[.toaster]:bg-overlay group-[.toaster]:text-foreground group-[.toaster]:border group-[.toaster]:border-overlay
diff --git a/packages/ui/src/components/shadcn/ui/switch.tsx b/packages/ui/src/components/shadcn/ui/switch.tsx
index 80059a76ecd..8d719968e7d 100644
--- a/packages/ui/src/components/shadcn/ui/switch.tsx
+++ b/packages/ui/src/components/shadcn/ui/switch.tsx
@@ -7,7 +7,7 @@ import * as React from 'react'
import { cn } from '../../../lib/utils/cn'
const switchRootVariants = cva(
- 'peer inline-flex shrink-0 cursor-pointer items-center rounded-full border transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-brand data-[state=checked]:hover:bg-brand-600/90 data-[state=unchecked]:bg-control data-[state=unchecked]:hover:bg-border',
+ 'peer inline-flex shrink-0 cursor-pointer items-center rounded-full border transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-brand data-[state=checked]:hover:bg-brand-600/90 data-[state=unchecked]:bg-control data-[state=unchecked]:hover:bg-border',
{
variants: {
size: {
@@ -28,9 +28,9 @@ const switchThumbVariants = cva(
variants: {
size: {
small:
- 'h-[12px] w-[12px] data-[state=checked]:translate-x-[13px] data-[state=unchecked]:translate-x-[1px]',
+ 'h-[12px] w-[12px] data-[state=checked]:translate-x-[13px] data-[state=unchecked]:translate-x-px',
medium:
- 'h-[16px] w-[16px] data-[state=checked]:translate-x-[15px] data-[state=unchecked]:translate-x-[1px]',
+ 'h-[16px] w-[16px] data-[state=checked]:translate-x-[15px] data-[state=unchecked]:translate-x-px',
large:
'h-[18px] w-[18px] data-[state=checked]:translate-x-[22px] data-[state=unchecked]:translate-x-[3px]',
},
diff --git a/packages/ui/src/components/shadcn/ui/table.tsx b/packages/ui/src/components/shadcn/ui/table.tsx
index 5be4a2dcdcb..ae60bcbcd5d 100644
--- a/packages/ui/src/components/shadcn/ui/table.tsx
+++ b/packages/ui/src/components/shadcn/ui/table.tsx
@@ -122,7 +122,7 @@ function TableHeadSort<TColumn extends string = string>({
className={cn(
baseIconClass,
'transition-opacity opacity-80 md:opacity-40',
- !isActive ? 'group-hover/table-head-sort:opacity-80' : '!opacity-0'
+ !isActive ? 'group-hover/table-head-sort:opacity-80' : 'opacity-0!'
)}
/>
</>
@@ -133,7 +133,7 @@ function TableHeadSort<TColumn extends string = string>({
<button
type="button"
className={cn(
- 'group/table-head-sort heading-meta whitespace-nowrap flex items-center gap-1 cursor-pointer select-none !bg-transparent border-none p-0 w-full text-left',
+ 'group/table-head-sort heading-meta whitespace-nowrap flex items-center gap-1 cursor-pointer select-none bg-transparent! border-none p-0 w-full text-left',
className
)}
onClick={() => onSortChange(column)}
diff --git a/packages/ui/src/components/shadcn/ui/tabs.tsx b/packages/ui/src/components/shadcn/ui/tabs.tsx
index c453b8c1e4a..d728386471a 100644
--- a/packages/ui/src/components/shadcn/ui/tabs.tsx
+++ b/packages/ui/src/components/shadcn/ui/tabs.tsx
@@ -26,7 +26,7 @@ const TabsTrigger = React.forwardRef<
<TabsPrimitive.Trigger
ref={ref}
className={cn(
- 'inline-flex items-center justify-center whitespace-nowrap py-1.5 text-sm ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:text-foreground data-[state=active]:shadow-sm text-foreground-lighter hover:text-foreground data-[state=active]:border-foreground border-b-2 border-transparent',
+ 'inline-flex items-center justify-center whitespace-nowrap py-1.5 text-sm ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:text-foreground data-[state=active]:shadow-xs text-foreground-lighter hover:text-foreground data-[state=active]:border-foreground border-b-2 border-transparent',
'group',
className
)}
@@ -42,7 +42,7 @@ const TabsContent = React.forwardRef<
<TabsPrimitive.Content
ref={ref}
className={cn(
- 'mt-4 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
+ 'mt-4 ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
className
)}
{...props}
diff --git a/packages/ui/src/components/shadcn/ui/text-area.tsx b/packages/ui/src/components/shadcn/ui/text-area.tsx
index 7549db0755e..547f5dfe950 100644
--- a/packages/ui/src/components/shadcn/ui/text-area.tsx
+++ b/packages/ui/src/components/shadcn/ui/text-area.tsx
@@ -12,7 +12,7 @@ const TextArea = React.forwardRef<HTMLTextAreaElement, TextAreaProps>(
<textarea
className={cn(
'flex min-h-10 w-full rounded-md border border-control focus:border-control bg-control px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-foreground-muted',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-background-control focus-visible:ring-offset-2 focus-visible:ring-offset-foreground-muted disabled:cursor-not-allowed disabled:opacity-50',
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-background-control focus-visible:ring-offset-2 focus-visible:ring-offset-foreground-muted disabled:cursor-not-allowed disabled:opacity-50',
...customClasses,
className
)}
diff --git a/packages/ui/src/components/shadcn/ui/textarea.tsx b/packages/ui/src/components/shadcn/ui/textarea.tsx
index 8d235682932..53af0f39342 100644
--- a/packages/ui/src/components/shadcn/ui/textarea.tsx
+++ b/packages/ui/src/components/shadcn/ui/textarea.tsx
@@ -9,7 +9,7 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
return (
<textarea
className={cn(
- 'flex min-h-[80px] w-full rounded-md border border-control bg-foreground/[.026] px-3 py-2 text-base md:text-sm ring-offset-background placeholder:text-foreground-muted focus:ring-background-control focus:border-control focus-visible:border-control focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-foreground-muted focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
+ 'flex min-h-[80px] w-full rounded-md border border-control bg-foreground/[.026] px-3 py-2 text-base md:text-sm ring-offset-background placeholder:text-foreground-muted focus:ring-background-control focus:border-control focus-visible:border-control focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-foreground-muted focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
className
)}
ref={ref}
diff --git a/packages/ui/src/components/shadcn/ui/toggle.tsx b/packages/ui/src/components/shadcn/ui/toggle.tsx
index cf85cb40115..f890298b2ff 100644
--- a/packages/ui/src/components/shadcn/ui/toggle.tsx
+++ b/packages/ui/src/components/shadcn/ui/toggle.tsx
@@ -7,7 +7,7 @@ import * as React from 'react'
import { cn } from '../../../lib/utils/cn'
const toggleVariants = cva(
- 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors text-foreground-light data-[state=on]:bg-accent data-[state=on]:bg-surface-300 data-[state=on]:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 ring-offset-background bg-surface-200 hover:bg-surface-300 px-3 py-1 h-auto transition-all',
+ 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors text-foreground-light data-[state=on]:bg-accent data-[state=on]:bg-surface-300 data-[state=on]:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 ring-offset-background bg-surface-200 hover:bg-surface-300 px-3 py-1 h-auto transition-all',
{
variants: {
variant: {
diff --git a/packages/ui/src/lib/commonCva.ts b/packages/ui/src/lib/commonCva.ts
index 9be0d669ab0..25d4e33a610 100644
--- a/packages/ui/src/lib/commonCva.ts
+++ b/packages/ui/src/lib/commonCva.ts
@@ -20,11 +20,11 @@ const defaults = {
},
placeholder: 'placeholder-border-stronger',
focus: `
- outline-none
+ outline-hidden
focus:ring-current focus:ring-2
`,
'focus-visible': `
- outline-none
+ outline-hidden
transition-all
outline-0
focus-visible:outline-4
diff --git a/packages/ui/src/lib/theme/defaultTheme.ts b/packages/ui/src/lib/theme/defaultTheme.ts
index ae2a8d06ad4..3a36e143b62 100644
--- a/packages/ui/src/lib/theme/defaultTheme.ts
+++ b/packages/ui/src/lib/theme/defaultTheme.ts
@@ -23,11 +23,11 @@ const defaults = {
},
placeholder: 'placeholder-foreground-muted',
focus: `
- outline-none
+ outline-hidden
focus:ring-current focus:ring-2
`,
'focus-visible': `
- outline-none
+ outline-hidden
transition-all
outline-0
focus-visible:outline-4
@@ -123,7 +123,7 @@ export default {
text-left
cursor-pointer
- outline-none
+ outline-hidden
focus-visible:ring-1
focus-visible:z-10
ring-foreground-light
@@ -161,7 +161,7 @@ export default {
text-base
bg-transparent
- outline-none
+ outline-hidden
focus-visible:ring-1
focus-visible:z-10
ring-foreground-light
@@ -256,7 +256,7 @@ export default {
p-0 m-0
text-foreground-muted
cursor-pointer transition ease-in-out
- bg-transparent border-transparent focus:outline-none
+ bg-transparent border-transparent focus:outline-hidden
opacity-50 hover:opacity-100`,
},
@@ -301,8 +301,8 @@ export default {
space-x-2
text-center
transition
- focus:outline-none
- focus-visible:ring
+ focus:outline-hidden
+ focus-visible:ring-3
focus-visible:ring-foreground-muted
focus-visible:border-foreground-muted
`,
@@ -324,11 +324,11 @@ export default {
space-x-2
text-center
transition
- shadow-sm
- rounded
+ shadow-xs
+ rounded-sm
border
- focus:outline-none
- focus-visible:ring
+ focus:outline-hidden
+ focus-visible:ring-3
focus-visible:ring-foreground-muted
focus-visible:border-foreground-muted
`,
@@ -353,10 +353,10 @@ export default {
space-x-2
text-center
transition
- shadow-sm
+ shadow-xs
rounded-full
- focus:outline-none
- focus-visible:ring
+ focus:outline-hidden
+ focus-visible:ring-3
focus-visible:ring-foreground-muted
focus-visible:border-foreground-muted
`,
@@ -377,7 +377,7 @@ export default {
},
scrollable: `overflow-auto whitespace-nowrap no-scrollbar mask-fadeout-right`,
wrappable: `flex-wrap`,
- content: `focus:outline-none transition-height`,
+ content: `focus:outline-hidden transition-height`,
},
/*
@@ -390,7 +390,7 @@ export default {
box-border
w-full
rounded-md
- shadow-sm
+ shadow-xs
transition-all
text-foreground
border
@@ -438,7 +438,7 @@ export default {
header: `
flex items-center
space-y-1 py-4 px-4 bg-dash-sidebar sm:px-6
- border-b h-[var(--header-height)]
+ border-b h-(--header-height)
`,
contents: `
relative
@@ -593,10 +593,10 @@ export default {
trigger: `
flex
border-none
- rounded
+ rounded-sm
bg-transparent
p-0
- outline-none
+ outline-hidden
outline-offset-1
transition-all
focus:outline-4
@@ -606,7 +606,7 @@ export default {
z-40
bg-overlay
border border-overlay
- rounded
+ rounded-sm
shadow-lg
data-open:animate-dropdown-content-show
data-closed:animate-dropdown-content-hide
@@ -655,7 +655,7 @@ export default {
base: `
cursor-pointer
flex space-x-3 items-center
- outline-none
+ outline-hidden
focus-visible:ring-1 ring-foreground-muted focus-visible:z-10
group
`,
@@ -808,7 +808,7 @@ export default {
box-border
w-full
rounded-md
- shadow-sm
+ shadow-xs
text-foreground
border
focus-visible:shadow-md
@@ -877,7 +877,7 @@ export default {
focus:bg-border-overlay
focus:text-foreground
border-none
- focus:outline-none
+ focus:outline-hidden
`,
option_active: `text-foreground bg-selection`,
option_disabled: `cursor-not-allowed opacity-60`,
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9d3769db96f..1939a0947ef 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -61,8 +61,8 @@ catalogs:
specifier: ^2.15.4
version: 2.15.4
tailwindcss:
- specifier: ^3.4.19
- version: 3.4.19
+ specifier: ^4.2.4
+ version: 4.2.4
tsx:
specifier: 4.20.3
version: 4.20.3
@@ -149,7 +149,7 @@ importers:
version: 8.1.1
tailwindcss:
specifier: 'catalog:'
+ version: 4.2.4
tsx:
specifier: 'catalog:'
version: 4.20.3
@@ -268,9 +268,6 @@ importers:
'@shikijs/compat':
specifier: ^1.1.7
version: 1.6.0
- '@tailwindcss/container-queries':
- specifier: ^0.1.1
'@types/lodash.template':
specifier: 4.5.0
version: 4.5.0
@@ -284,7 +281,7 @@ importers:
specifier: ^8.2.2
version: 8.2.2
config:
- specifier: workspace:^
+ specifier: workspace:*
version: link:../../packages/config
mdast-util-toc:
specifier: ^6.1.1
@@ -300,7 +297,7 @@ importers:
version: 1.6.0
tailwindcss:
specifier: 'catalog:'
+ version: 4.2.4
tsconfig:
specifier: workspace:*
version: link:../../packages/tsconfig
@@ -355,9 +352,6 @@ importers:
'@supabase/supabase-js':
specifier: 'catalog:'
version: 2.104.1
- '@tailwindcss/container-queries':
- specifier: ^0.1.1
'@tanstack/react-query':
specifier: ^5.13.4
version: 5.83.0([email protected])
@@ -673,7 +667,7 @@ importers:
version: 1.6.1
tailwindcss:
specifier: 'catalog:'
+ version: 4.2.4
tar:
specifier: ^7.5.13
version: 7.5.13
@@ -783,6 +777,9 @@ importers:
shiki:
specifier: ^1.1.7
version: 1.6.0
+ tailwindcss:
+ specifier: 'catalog:'
+ version: 4.2.4
tsconfig:
specifier: workspace:*
version: link:../../packages/tsconfig
@@ -832,9 +829,6 @@ importers:
'@types/react-dom':
specifier: 'catalog:'
version: 18.3.0
- autoprefixer:
- specifier: ^10.4.27
- version: 10.4.27([email protected])
config:
specifier: workspace:*
version: link:../../packages/config
@@ -843,7 +837,7 @@ importers:
version: 8.5.10
tailwindcss:
specifier: 'catalog:'
+ version: 4.2.4
tsconfig:
specifier: workspace:*
version: link:../../packages/tsconfig
@@ -1211,9 +1205,6 @@ importers:
'@supabase/postgres-meta':
specifier: ^0.64.4
- '@tailwindcss/container-queries':
- specifier: ^0.1.1
'@testing-library/dom':
specifier: ^10.0.0
version: 10.4.1
@@ -1351,7 +1342,7 @@ importers:
version: 8.0.1([email protected])
tailwindcss:
specifier: 'catalog:'
+ version: 4.2.4
tsconfig:
specifier: workspace:*
version: link:../../packages/tsconfig
@@ -1580,7 +1571,7 @@ importers:
version: 1.6.0
tailwindcss:
specifier: 'catalog:'
+ version: 4.2.4
tsconfig:
specifier: workspace:*
version: link:../../packages/tsconfig
@@ -1869,7 +1860,7 @@ importers:
version: 7.72.1([email protected])
tailwindcss:
specifier: 'catalog:'
+ version: 4.2.4
tsconfig:
specifier: workspace:*
version: link:../../packages/tsconfig
@@ -2149,10 +2140,10 @@ importers:
version: 0.1.9
'@tailwindcss/forms':
specifier: ^0.5.11
+ version: 0.5.11([email protected])
'@tailwindcss/typography':
specifier: ^0.5.19
+ version: 0.5.19([email protected])
deepmerge:
specifier: ^4.2.2
version: 4.3.1
@@ -2163,12 +2154,15 @@ importers:
specifier: ^2.0.0
version: 2.8.0
devDependencies:
+ '@tailwindcss/postcss':
+ specifier: ^4.2.4
+ version: 4.2.4
tailwindcss:
specifier: 'catalog:'
+ version: 4.2.4
tailwindcss-animate:
specifier: ^1.0.7
+ version: 1.0.7([email protected])
typescript:
specifier: 'catalog:'
version: 6.0.2
@@ -2209,9 +2203,15 @@ importers:
'@types/react-dom':
specifier: 'catalog:'
version: 18.3.0
+ config:
+ specifier: workspace:*
+ version: link:../config
next-router-mock:
specifier: ^0.9.13
+ tailwindcss:
+ specifier: 'catalog:'
+ version: 4.2.4
tsconfig:
specifier: workspace:*
version: link:../tsconfig
@@ -2313,6 +2313,12 @@ importers:
specifier: 'catalog:'
version: 3.25.76
devDependencies:
+ config:
+ specifier: workspace:*
+ version: link:../config
+ tailwindcss:
+ specifier: ^4.2.4
+ version: 4.2.4
tsconfig:
specifier: 'workspace:'
version: link:../tsconfig
@@ -2367,10 +2373,10 @@ importers:
dependencies:
'@tailwindcss/forms':
specifier: ^0.5.11
+ version: 0.5.11([email protected])
'@tailwindcss/typography':
specifier: ^0.5.19
+ version: 0.5.19([email protected])
class-variance-authority:
specifier: ^0.6.1
version: 0.6.1
@@ -2439,7 +2445,7 @@ importers:
version: 1.14.0
tailwindcss:
specifier: 'catalog:'
+ version: 4.2.4
vaul:
specifier: ^0.9.9
@@ -2679,9 +2685,15 @@ importers:
api-types:
specifier: workspace:*
version: link:../api-types
+ config:
+ specifier: workspace:*
+ version: link:../config
next-router-mock:
specifier: ^0.9.13
+ tailwindcss:
+ specifier: ^4.2.4
+ version: 4.2.4
tsx:
specifier: 'catalog:'
version: 4.20.3
@@ -7870,16 +7882,103 @@ packages:
resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-p18dswChx6WnTSaJCSGx6lTmrGzNNvm2FtXmiO6AuA1V4U5REyoqwmT6kgAsIMdjo07QdAfYXHJ4hnMtfHzWgA==}
- peerDependencies:
- tailwindcss: '>=3.2.0'
-
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-h9wegbZDPurxG22xZSoWtdzc41/OlNEUQERNqI/0fOwa2aVlWGu7C35E/x6LDyD3lgtztFSSjKZyuVM0hxhbgA==}
peerDependencies:
tailwindcss: '>=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20 || >= 4.0.0-beta.1'
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-Ai7+yQPxz3ddrDQzFfBKdHEVBg0w3Zl83jnjuwxnZOsnH9pGn93QHQtpU0p/8rYWxvbFZHneni6p1BSLK4DkGA==}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-e7MOr1SAn9U8KlZzPi1ZXGZHeC5anY36qjNwmZv9pOJ8E4Q6jmD1vyEHkQFmNOIN7twGPEMXRHmitN4zCMN03g==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [android]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-tSC/Kbqpz/5/o/C2sG7QvOxAKqyd10bq+ypZNf+9Fi2TvbVbv1zNpcEptcsU7DPROaSbVgUXmrzKhurFvo5eDg==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-yPyUXn3yO/ufR6+Kzv0t4fCg2qNr90jxXc5QqBpjlPNd0NqyDXcmQb/6weunH/MEDXW5dhyEi+agTDiqa3WsGg==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-BoMIB4vMQtZsXdGLVc2z+P9DbETkiopogfWZKbWwM8b/1Vinbs4YcUwo+kM/KeLkX3Ygrf4/PsRndKaYhS8Eiw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-7pIHBLTHYRAlS7V22JNuTh33yLH4VElwKtB3bwchK/UaKUPpQ0lPQiOWcbm4V3WP2I6fNIJ23vABIvoy2izdwA==}
+ engines: {node: '>= 20'}
+ cpu: [arm]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-+E4wxJ0ZGOzSH325reXTWB48l42i93kQqMvDyz5gqfRzRZ7faNhnmvlV4EPGJU3QJM/3Ab5jhJ5pCRUsKn6OQw==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-bBADEGAbo4ASnppIziaQJelekCxdMaxisrk+fB7Thit72IBnALp9K6ffA2G4ruj90G9XRS2VQ6q2bCKbfFV82g==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-7Mx25E4WTfnht0TVRTyC00j3i0M+EeFe7wguMDTlX4mRxafznw0CA8WJkFjWYH5BlgELd1kSjuU2JiPnNZbJDA==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-2wwJRF7nyhOR0hhHoChc04xngV3iS+akccHTGtz965FwF0up4b2lOdo6kI1EbDaEXKgvcrFBYcYQQ/rrnWFVfA==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-FQsqApeor8Fo6gUEklzmaa9994orJZZDBAlQpK2Mq+DslRKFJeD6AjHpBQ0kZFQohVr8o85PPh8eOy86VlSCmw==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+ bundledDependencies:
+ - '@napi-rs/wasm-runtime'
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+ - '@tybys/wasm-util'
+ - '@emnapi/wasi-threads'
+ - tslib
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-L9BXqxC4ToVgwMFqj3pmZRqyHEztulpUJzCxUtLjobMCzTPsGt1Fa9enKbOpY2iIyVtaHNeNvAK8ERP/64sqGQ==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-ESlKG0EpVJQwRjXDDa9rLvhEAh0mhP1sF7sap9dNZT0yyl9SAG6T7gdP09EH0vIv0UNTlo6jPWyujD6559fZvw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-9El/iI069DKDSXwTvB9J4BwdO5JhRrOweGaK25taBAvBXyXqJAX+Jqdvs8r8gKpsI/1m0LeJLyQYTf/WLrBT1Q==}
+ engines: {node: '>= 20'}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-wgAVj6nUWAolAu8YFvzT2cTBIElWHkjZwFYovF+xsqKsW2ADxM/X2opxj5NsF/qVccAOjRNe8X2IdPzMsWyHTg==}
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-w31dd8HOx3k9vPtcQh5QHP9GwKcgbMp87j58qi6xgiBnFFtKEAgCWnDw4qUT8aHwkCp8bKvb/KGKWWHedP0AAg==}
peerDependencies:
@@ -9053,9 +9152,6 @@ packages:
resolution: {integrity: sha512-BGcItUBWSMRgOCe+SVZJ+S7yTRG0eGt9cXAHev72yuGcY23hnLA7Bky5L/xLyPINoSN95geovfBkqoTlNZYa7w==}
engines: {node: '>=14'}
- resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
-
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'}
@@ -9442,10 +9538,6 @@ packages:
resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==}
- resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==}
engines: {node: '>=16'}
@@ -9775,10 +9867,6 @@ packages:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
- resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}
engines: {node: '>= 10'}
@@ -10478,9 +10566,6 @@ packages:
resolution: {integrity: sha512-3omnDTYrGigU0i4cJjvaKwD52B8aoqyX/NEIkukFFkogBemsIbhSa1O414fpTp5nuszJG6lvQ5vBvDVNCbSsaQ==}
engines: {node: '>=0.8.0'}
- resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}
-
resolution: {integrity: sha512-vtcDfH3TOjP8UekytvnHH1o1P4FcUdt4eQ1Y+Abap1tk/OB2MWQvcwS2ClCd1zuIhc3JKOx6p3kod8Vfys3E+A==}
engines: {node: '>=0.3.1'}
@@ -10496,9 +10581,6 @@ packages:
resolution: {integrity: sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==}
- resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}
-
resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
engines: {node: '>=0.10.0'}
@@ -10630,10 +10712,6 @@ packages:
resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==}
- resolution: {integrity: sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==}
- engines: {node: '>=10.13.0'}
-
resolution: {integrity: sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==}
engines: {node: '>=10.13.0'}
@@ -13759,9 +13837,6 @@ packages:
resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==}
engines: {node: ^18.17.0 || >=20.5.0}
- resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
-
resolution: {integrity: sha512-pfRR4ZcNTSm2ZFHaztuvbICf+hyiG6ecA06SfAxoPmuHjvMu0KUIae7Y8GyVkbBqeEIidsmXeYooWIX9+qjfRQ==}
@@ -14123,10 +14198,6 @@ packages:
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
engines: {node: '>= 0.4'}
@@ -14608,18 +14679,10 @@ packages:
engines: {node: '>=0.10'}
hasBin: true
- resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==}
engines: {node: '>=4'}
- resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==}
engines: {node: '>=16.20.0'}
@@ -14703,36 +14766,6 @@ packages:
peerDependencies:
postcss: ^8.4.32
- resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- postcss: ^8.0.0
-
- resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==}
- engines: {node: ^12 || ^14 || >= 16}
- peerDependencies:
- postcss: ^8.4.21
-
- resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==}
- engines: {node: '>= 18'}
- peerDependencies:
- jiti: '>=1.21.0'
- postcss: '>=8.0.9'
- tsx: ^4.8.1
- yaml: ^2.4.2
- peerDependenciesMeta:
- jiti:
- optional: true
- postcss:
- optional: true
- tsx:
- optional: true
- yaml:
- optional: true
-
resolution: {integrity: sha512-Kpu5v4Ys6QI59FxmxtNB/iHUVDn9Y9sYw66D6+SZoIk4QTz1prC4aYkhIESu+ieG1iylod1f8MILMs1Em3mmIw==}
engines: {node: ^18.12.0 || ^20.9.0 || >=22.0}
@@ -14769,12 +14802,6 @@ packages:
peerDependencies:
postcss: ^8.4.32
- resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==}
- engines: {node: '>=12.0'}
- peerDependencies:
- postcss: ^8.2.14
-
resolution: {integrity: sha512-sn413ofhSQHlZFae//m9FTOfkmiZ+YQXsbosqOWRiVQncU2BA3daX3n0VF3cG6rGLSFVc5Di/yns0dFfh8NFgQ==}
engines: {node: ^18.12.0 || ^20.9.0 || >=22.0}
@@ -14851,10 +14878,6 @@ packages:
resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==}
engines: {node: '>=4'}
- resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}
- engines: {node: '>=4'}
-
resolution: {integrity: sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==}
engines: {node: '>=4'}
@@ -15355,9 +15378,6 @@ packages:
resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}
-
resolution: {integrity: sha512-1zM5HuOfagXCBWMN83fuFI/x+T/UhZ7k+KIzhrHXcQoeX5+7gmaDYjELQHmmzIodumBHeByBJT4QYS7ufAgs7A==}
engines: {node: ^20.17.0 || >=22.9.0}
@@ -16391,11 +16411,6 @@ packages:
resolution: {integrity: sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==}
- resolution: {integrity: sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==}
- engines: {node: '>=16 || 14 >=14.17'}
- hasBin: true
-
resolution: {integrity: sha512-CWGAczaNXTUDExaxi+hUEPqlPtCiZ4r3a74NXOx7+Sf+P75foCuX/aXL9MztosWwRnZZAI8VGUXpdNe6K3xTtA==}
engines: {node: '>=18.0.0'}
@@ -16485,14 +16500,8 @@ packages:
resolution: {integrity: sha512-1k1UfoIYgVyBl13FKwwoKavjnJ5VEaUClCTAsgz3VLquN4ay/lyaMPzkbqD71sACDs2fRGImytAUlMb4TzOt1A==}
- resolution: {integrity: sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==}
- engines: {node: '>=14.0.0'}
- hasBin: true
-
- resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==}
- engines: {node: '>=6'}
+ resolution: {integrity: sha512-HhKppgO81FQof5m6TEnuBWCZGgfRAWbaeOaGT00KOy/Pf/j6oUihdvBpA7ltCeAvZpFhW3j0PTclkxsd4IXYDA==}
resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==}
@@ -16537,13 +16546,6 @@ packages:
resolution: {integrity: sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==}
- resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
- engines: {node: '>=0.8'}
-
- resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}
-
resolution: {integrity: sha512-hsqsJsFMsV+aD4s3CWKk85ep/3I9XzYV/IXaSouJMYIoDlgyi11cBhsqYe9/geRfB0YIikBQg6raRaM+nIMP9g==}
engines: {node: '>=10.18'}
@@ -16689,9 +16691,6 @@ packages:
resolution: {integrity: sha512-Z86EW+fFFh/IFB1fqQ3/+7Zpf9t2ebOAxNI/V6Wo7r5gqiqtxmgTlQ1qbqQcjLKYeSHPTsEmvlJUDg/EuL0uHQ==}
- resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
-
resolution: {integrity: sha512-320x5Ggei84AxzlXp91QkIGSw5wgaLT6GeAH0KsqDmRZdVWW2OiSeVvElVoatk3f7nicwXlElXsoFkARiGE2yg==}
@@ -24360,19 +24359,84 @@ snapshots:
dependencies:
tslib: 2.8.1
dependencies:
- tailwindcss: 3.4.19([email protected])([email protected])
+ mini-svg-data-uri: 1.4.4
+ tailwindcss: 4.2.4
+ '@tailwindcss/[email protected]':
dependencies:
- mini-svg-data-uri: 1.4.4
- tailwindcss: 3.4.19([email protected])([email protected])
+ '@jridgewell/remapping': 2.3.5
+ enhanced-resolve: 5.20.1
+ jiti: 2.6.1
+ lightningcss: 1.32.0
+ magic-string: 0.30.21
+ source-map-js: 1.2.1
+ tailwindcss: 4.2.4
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optionalDependencies:
+ '@tailwindcss/oxide-android-arm64': 4.2.4
+ '@tailwindcss/oxide-darwin-arm64': 4.2.4
+ '@tailwindcss/oxide-darwin-x64': 4.2.4
+ '@tailwindcss/oxide-freebsd-x64': 4.2.4
+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.2.4
+ '@tailwindcss/oxide-linux-arm64-gnu': 4.2.4
+ '@tailwindcss/oxide-linux-arm64-musl': 4.2.4
+ '@tailwindcss/oxide-linux-x64-gnu': 4.2.4
+ '@tailwindcss/oxide-linux-x64-musl': 4.2.4
+ '@tailwindcss/oxide-wasm32-wasi': 4.2.4
+ '@tailwindcss/oxide-win32-arm64-msvc': 4.2.4
+ '@tailwindcss/oxide-win32-x64-msvc': 4.2.4
+
+ '@tailwindcss/[email protected]':
+ dependencies:
+ '@alloc/quick-lru': 5.2.0
+ '@tailwindcss/node': 4.2.4
+ '@tailwindcss/oxide': 4.2.4
+ postcss: 8.5.10
+ tailwindcss: 4.2.4
+
dependencies:
postcss-selector-parser: 6.0.10
- tailwindcss: 3.4.19([email protected])([email protected])
+ tailwindcss: 4.2.4
dependencies:
@@ -25792,8 +25856,6 @@ snapshots:
-
dependencies:
normalize-path: 3.0.0
@@ -26307,8 +26369,6 @@ snapshots:
pascal-case: 3.1.2
tslib: 2.8.1
-
@@ -26657,8 +26717,6 @@ snapshots:
-
@@ -27393,8 +27451,6 @@ snapshots:
-
@@ -27405,8 +27461,6 @@ snapshots:
-
dependencies:
esutils: 2.0.3
@@ -27528,11 +27582,6 @@ snapshots:
dependencies:
once: 1.4.0
- dependencies:
- graceful-fs: 4.2.11
- tapable: 2.2.1
-
dependencies:
graceful-fs: 4.2.11
@@ -27822,7 +27871,7 @@ snapshots:
dependencies:
debug: 4.4.3([email protected])
- enhanced-resolve: 5.18.1
+ enhanced-resolve: 5.20.1
@@ -31538,12 +31587,6 @@ snapshots:
- dependencies:
- any-promise: 1.3.0
- object-assign: 4.1.1
- thenify-all: 1.6.0
-
optional: true
@@ -32130,8 +32173,6 @@ snapshots:
-
@@ -32708,12 +32749,8 @@ snapshots:
-
-
@@ -32795,27 +32832,6 @@ snapshots:
dependencies:
postcss: 8.5.10
- dependencies:
- postcss: 8.5.10
- postcss-value-parser: 4.2.0
- read-cache: 1.0.0
- resolve: 1.22.10
-
- dependencies:
- camelcase-css: 2.0.1
- postcss: 8.5.10
-
- dependencies:
- lilconfig: 3.1.3
- optionalDependencies:
- jiti: 1.21.7
- postcss: 8.5.10
- tsx: 4.20.3
- yaml: 2.8.3
-
dependencies:
postcss: 8.5.10
@@ -32855,11 +32871,6 @@ snapshots:
postcss: 8.5.10
postcss-selector-parser: 7.1.1
- dependencies:
- postcss: 8.5.10
- postcss-selector-parser: 6.1.2
-
dependencies:
postcss: 8.5.10
@@ -32927,11 +32938,6 @@ snapshots:
cssesc: 3.0.0
util-deprecate: 1.0.2
- dependencies:
- cssesc: 3.0.0
- util-deprecate: 1.0.2
-
dependencies:
cssesc: 3.0.0
@@ -33521,10 +33527,6 @@ snapshots:
dependencies:
loose-envify: 1.4.0
- dependencies:
- pify: 2.3.0
-
@@ -34933,16 +34935,6 @@ snapshots:
- dependencies:
- '@jridgewell/gen-mapping': 0.3.13
- commander: 4.1.1
- lines-and-columns: 1.2.4
- mz: 2.7.0
- pirates: 4.0.6
- tinyglobby: 0.2.15
- ts-interface-checker: 0.1.13
-
dependencies:
axios: 1.15.0
@@ -35038,41 +35030,13 @@ snapshots:
dependencies:
- tailwindcss: 3.4.19([email protected])([email protected])
+ tailwindcss: 4.2.4
- dependencies:
- '@alloc/quick-lru': 5.2.0
- arg: 5.0.2
- chokidar: 3.6.0
- didyoumean: 1.2.2
- dlv: 1.1.3
- fast-glob: 3.3.3
- glob-parent: 6.0.2
- is-glob: 4.0.3
- jiti: 1.21.7
- lilconfig: 3.1.3
- micromatch: 4.0.8
- normalize-path: 3.0.0
- object-hash: 3.0.0
- picocolors: 1.1.1
- postcss: 8.5.10
- postcss-import: 15.1.0([email protected])
- postcss-js: 4.0.1([email protected])
- postcss-nested: 6.2.0([email protected])
- postcss-selector-parser: 6.1.2
- resolve: 1.22.10
- sucrase: 3.35.1
- transitivePeerDependencies:
- - tsx
- - yaml
-
@@ -35121,14 +35085,6 @@ snapshots:
dependencies:
b4a: 1.6.7
- dependencies:
- thenify: 3.3.1
-
- dependencies:
- any-promise: 1.3.0
-
dependencies:
tslib: 2.8.1
@@ -35238,8 +35194,6 @@ snapshots:
-
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index b4432134c0b..55d701cb2c4 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -6,14 +6,17 @@ packages:
catalog:
'@sentry/nextjs': ^10.26.0
- '@supabase/ssr': 0.10.2
'@supabase/auth-js': 2.104.1
'@supabase/postgrest-js': 2.104.1
'@supabase/realtime-js': 2.104.1
+ '@supabase/ssr': 0.10.2
'@supabase/supabase-js': 2.104.1
'@types/node': ^22.0.0
'@types/react': ^18.3.0
'@types/react-dom': ^18.3.0
+ '@vitejs/plugin-react': ^6.0.1
+ '@vitest/coverage-v8': ^4.1.4
+ '@vitest/ui': ^4.1.4
lodash: ^4.18.1
lodash-es: ^4.18.1
next: 16.2.3
@@ -22,13 +25,10 @@ catalog:
react: ^18.3.0
react-dom: ^18.3.0
recharts: ^2.15.4
- tailwindcss: ^3.4.19
+ tailwindcss: ^4.2.4
tsx: 4.20.3
typescript: ~6.0.0
valtio: ^1.12.0
- '@vitejs/plugin-react': ^6.0.1
- '@vitest/coverage-v8': ^4.1.4
- '@vitest/ui': ^4.1.4
vite: ^8.0.8
vite-tsconfig-paths: ^6.1.1
vitest: ^4.1.4
@@ -76,13 +76,13 @@ overrides:
node-gyp>tar: ^7.5.11
nodemailer: ^7.0.11
payload>undici: ^7.18.2
- 'pgsql-parser>libpg-query': ^15.2.0
+ pgsql-parser>libpg-query: ^15.2.0
refractor>prismjs: ^1.30.0
supabase>tar: ^7.5.11
- 'terser-webpack-plugin>serialize-javascript': ^7.0.5
+ terser-webpack-plugin>serialize-javascript: ^7.0.5
tmp: ^0.2.4
- webpack: ^5.104.1
unhead: ^2.1.13
+ webpack: ^5.104.1
patchedDependencies:
react-data-grid: patches/react-data-grid.patch
diff --git a/scripts/tw-rename-utilities.ts b/scripts/tw-rename-utilities.ts
new file mode 100644
index 00000000000..a8b75d76123
--- /dev/null
+++ b/scripts/tw-rename-utilities.ts
@@ -0,0 +1,131 @@
+/**
+ * Replace renamed Tailwind CSS v3 utilities with their v4 equivalents.
+ * https://tailwindcss.com/docs/upgrade-guide#renamed-utilities
+ *
+ * Usage:
+ * npx tsx scripts/tw-rename-utilities.ts [--dry-run] [paths...]
+ * node --experimental-strip-types scripts/tw-rename-utilities.ts [--dry-run] [paths...]
+ */
+
+import * as fs from 'node:fs'
+import * as path from 'node:path'
+
+const EXTENSIONS = new Set([
+ '.tsx',
+ '.ts',
+ '.jsx',
+ '.js',
+ '.html',
+ '.css',
+ '.scss',
+ '.mdx',
+ '.md',
+ '.vue',
+ '.svelte',
+])
+const SKIP_DIRS = new Set(['node_modules', '.git', '.next', 'dist', 'build'])
+
+// Word-boundary helpers:
+// _B — not preceded by [-a-zA-Z0-9_] (prevents matching mid-class-name)
+// _E — not followed by [-a-zA-Z0-9_(] (prevents shadow-md, blur(...), etc.)
+const B = '(?<![a-zA-Z0-9_\\-])'
+const E = '(?![a-zA-Z0-9_\\-(])'
+
+// Ordering matters: -sm → -xs must run before bare → -sm to avoid double-replacement.
+const RENAMES: [RegExp, string][] = [
+ // -sm → -xs
+ [new RegExp(`${B}shadow-sm${E}`, 'g'), 'shadow-xs'],
+ [new RegExp(`${B}drop-shadow-sm${E}`, 'g'), 'drop-shadow-xs'],
+ [new RegExp(`${B}blur-sm${E}`, 'g'), 'blur-xs'],
+ [new RegExp(`${B}backdrop-blur-sm${E}`, 'g'), 'backdrop-blur-xs'],
+ [new RegExp(`${B}rounded-sm${E}`, 'g'), 'rounded-xs'],
+ // bare → -sm
+ [new RegExp(`${B}shadow${E}`, 'g'), 'shadow-sm'],
+ [new RegExp(`${B}drop-shadow${E}`, 'g'), 'drop-shadow-sm'],
+ [new RegExp(`${B}blur${E}`, 'g'), 'blur-sm'],
+ [new RegExp(`${B}backdrop-blur${E}`, 'g'), 'backdrop-blur-sm'],
+ [new RegExp(`${B}rounded${E}`, 'g'), 'rounded-sm'],
+ // simple renames
+ [new RegExp(`${B}outline-none${E}`, 'g'), 'outline-hidden'],
+ [new RegExp(`${B}ring${E}`, 'g'), 'ring-3'],
+]
+
+function processFile(filePath: string, dryRun: boolean): number {
+ let text: string
+ try {
+ text = fs.readFileSync(filePath, 'utf8')
+ } catch {
+ return 0
+ }
+
+ let total = 0
+ for (const [pattern, replacement] of RENAMES) {
+ const next = text.replace(pattern, () => {
+ total++
+ return replacement
+ })
+ text = next
+ }
+
+ if (total === 0) return 0
+
+ if (!dryRun) fs.writeFileSync(filePath, text, 'utf8')
+
+ const label = dryRun ? '[dry-run] ' : ''
+ const s = total === 1 ? '' : 's'
+ console.log(`${label}${filePath} (${total} replacement${s})`)
+ return total
+}
+
+function* walkDir(dir: string): Generator<string> {
+ for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
+ if (SKIP_DIRS.has(entry.name)) continue
+ const full = path.join(dir, entry.name)
+ if (entry.isDirectory()) {
+ yield* walkDir(full)
+ } else if (EXTENSIONS.has(path.extname(entry.name))) {
+ yield full
+ }
+ }
+}
+
+function collectFiles(roots: string[]): string[] {
+ const files: string[] = []
+ for (const root of roots) {
+ const stat = fs.statSync(root, { throwIfNoEntry: false })
+ if (!stat) {
+ console.warn(`Warning: path not found: ${root}`)
+ continue
+ }
+ if (stat.isFile()) {
+ files.push(root)
+ } else if (stat.isDirectory()) {
+ files.push(...walkDir(root))
+ }
+ }
+ return files
+}
+
+function main() {
+ const args = process.argv.slice(2)
+ const dryRun = args.includes('--dry-run') || args.includes('-n')
+ const paths = args.filter((a) => !a.startsWith('-'))
+ const roots = paths.length > 0 ? paths : ['.']
+
+ const files = collectFiles(roots)
+ let totalFiles = 0
+ let totalReplacements = 0
+
+ for (const file of files) {
+ const n = processFile(file, dryRun)
+ if (n > 0) {
+ totalFiles++
+ totalReplacements += n
+ }
+ }
+
+ const label = dryRun ? '[dry-run] ' : ''
+ console.log(`\n${label}Done — ${totalReplacements} replacement(s) across ${totalFiles} file(s).`)
+}
+
+main()