diff --git a/packages/ui/src/components/Radio/Radio.module.css b/packages/ui/src/components/Radio/Radio.module.css
index cf7cee7cc14..79a393d9617 100644
--- a/packages/ui/src/components/Radio/Radio.module.css
+++ b/packages/ui/src/components/Radio/Radio.module.css
@@ -43,9 +43,9 @@
@apply h-4 w-4 ml-0 mr-3.5 rounded-2xl border border-solid transition-all;
@apply text-brand-600 cursor-pointer border-gray-500;
- @apply focus:ring-brand-500 hover:border-brand-700 focus:outline-none;
+ @apply focus:ring-brand-300 hover:border-brand-400 focus:outline-none;
- @apply dark:bg-transparent dark:hover:border-brand-700;
+ @apply dark:bg-transparent dark:hover:border-brand-400;
} */
/* .sbui-radio:checked {
diff --git a/packages/ui/src/components/Tabs/Tabs.module.css b/packages/ui/src/components/Tabs/Tabs.module.css
index 9769765d554..f5cc40ac1ff 100644
--- a/packages/ui/src/components/Tabs/Tabs.module.css
+++ b/packages/ui/src/components/Tabs/Tabs.module.css
@@ -12,7 +12,7 @@
}
.sbui-tab-button-underline--active {
- @apply border-brand-700;
+ @apply border-brand-400;
@apply rounded-none;
@apply text-gray-600;
@apply dark:text-white;
diff --git a/packages/ui/src/components/Typography/Link.module.css b/packages/ui/src/components/Typography/Link.module.css
index afc0911abfc..448eb19b3f4 100644
--- a/packages/ui/src/components/Typography/Link.module.css
+++ b/packages/ui/src/components/Typography/Link.module.css
@@ -1,3 +1,3 @@
a.sbui-typography-link {
- @apply text-sm text-brand-700 dark:text-brand-700 cursor-pointer;
+ @apply text-sm text-brand-400 dark:text-brand-400 cursor-pointer;
}
diff --git a/packages/ui/src/components/Typography/Typography.module.css b/packages/ui/src/components/Typography/Typography.module.css
index 95a20672200..33f2cabca71 100644
--- a/packages/ui/src/components/Typography/Typography.module.css
+++ b/packages/ui/src/components/Typography/Typography.module.css
@@ -91,6 +91,6 @@
}
.dark .sbui-typography::selection {
- /* @apply bg-brand-500; */
+ /* @apply bg-brand-300; */
backgroundcolor: '#6f7bb635';
}
diff --git a/packages/ui/src/components/shadcn/ui/badge.tsx b/packages/ui/src/components/shadcn/ui/badge.tsx
index 6846cabce76..2b4eaf92bf3 100644
--- a/packages/ui/src/components/shadcn/ui/badge.tsx
+++ b/packages/ui/src/components/shadcn/ui/badge.tsx
@@ -9,7 +9,7 @@ const badgeVariants = cva(
variants: {
variant: {
default: 'bg-surface-200 text-light border border-scale-700',
- brand: 'bg-brand-200 text-brand-primary border border-brand-700',
+ brand: 'bg-brand-200 text-brand-primary border border-brand-400',
secondary:
'bg-secondary hover:bg-secondary/80 border-transparent text-secondary-foreground',
destructive: 'bg-destructive-400 text-destructive border border-destructive-300',
@@ -56,7 +56,7 @@ const badgeVariants = cva(
// },
// dot: '-ml-0.5 mr-1.5 h-2 w-2 rounded-full',
// color: {
-// brand: 'bg-brand-200 text-brand-1100 border border-brand-700',
+// brand: 'bg-brand-200 text-brand-600 border border-brand-400',
// scale: 'bg-scale-200 text-scale-1100 border border-scale-700',
// tomato: `bg-tomato-200 text-tomato-1100 border border-tomato-700`,
// red: `bg-red-200 text-red-1100 border border-red-700`,
diff --git a/packages/ui/src/lib/tailwind-demo-classes.ts b/packages/ui/src/lib/tailwind-demo-classes.ts
index 8fd22a61deb..e9d0afb240a 100644
--- a/packages/ui/src/lib/tailwind-demo-classes.ts
+++ b/packages/ui/src/lib/tailwind-demo-classes.ts
@@ -41,6 +41,8 @@ export default {
"bg-brand-200",
"bg-brand-300",
"bg-brand-400",
+ "bg-brand-500",
+ "bg-brand-600",
"bg-brand"
],
"palletes": [
diff --git a/packages/ui/src/lib/theme/customThemeExample.ts b/packages/ui/src/lib/theme/customThemeExample.ts
index 284a945e2d8..91eb4ad1bcd 100644
--- a/packages/ui/src/lib/theme/customThemeExample.ts
+++ b/packages/ui/src/lib/theme/customThemeExample.ts
@@ -35,7 +35,7 @@ const default__padding_and_text = {
export default {
button: {
type: {
- primary: `${defaults.brandBackground} text-white hover:bg-brand-600 dark:hover:bg-brand-900`,
+ primary: `${defaults.brandBackground} text-white hover:bg-brand-600 dark:hover:bg-brand`,
},
},
}
diff --git a/packages/ui/src/lib/theme/defaultTheme.ts b/packages/ui/src/lib/theme/defaultTheme.ts
index dc20809681e..832713fae83 100644
--- a/packages/ui/src/lib/theme/defaultTheme.ts
+++ b/packages/ui/src/lib/theme/defaultTheme.ts
@@ -210,13 +210,13 @@ export default {
*/
badge: {
- base: 'inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-opacity-10',
+ base: 'inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-normal bg-opacity-10',
size: {
large: 'px-3 py-0.5 rounded-full text-sm',
},
dot: '-ml-0.5 mr-1.5 h-2 w-2 rounded-full',
color: {
- brand: 'bg-brand-200 text-brand-1100 border border-brand-700',
+ brand: 'bg-brand-500 text-brand-600 border border-brand-400',
scale: 'bg-scale-200 text-scale-1100 border border-scale-700',
tomato: `bg-tomato-200 text-tomato-1100 border border-tomato-700`,
red: `bg-red-200 text-red-1100 border border-red-700`,
@@ -269,10 +269,10 @@ export default {
description: `text-scale-1100`,
},
success: {
- base: `bg-brand-300 dark:bg-brand-100 border-brand-700`,
- icon: `text-brand-900`,
- header: `text-brand-1200`,
- description: `text-brand-1100`,
+ base: `bg-brand-300 dark:bg-brand-100 border-brand-400`,
+ icon: `text-brand`,
+ header: `text-brand-600`,
+ description: `text-brand-600`,
},
neutral: {
base: `bg-scale-300 dark:bg-scale-300 border-scale-500`,
@@ -568,7 +568,7 @@ export default {
bg-transparent
${defaults.focus}
focus:ring-scale-400
- text-brand-900
+ text-brand
border-scale-700
shadow-sm
rounded
@@ -629,7 +629,7 @@ export default {
focus:ring-brand-400
border-scale-700
- text-brand-900
+ text-brand
shadow-sm
cursor-pointer
peer
@@ -934,8 +934,8 @@ export default {
hover:bg-scale-700
`,
active: `
- !bg-brand-900
- !hover:bg-brand-900
+ !bg-brand
+ !hover:bg-brand
`,
handle_container: {
tiny: 'h-4 w-7',
@@ -1268,8 +1268,8 @@ export default {
z-10
border-l
- border-brand-900
- group-hover:border-brand-900
+ border-brand
+ group-hover:border-brand
`,
rounded: `rounded-md`,
},
@@ -1455,8 +1455,8 @@ export default {
option_active: `text-scale-1200 bg-scale-600`,
option_disabled: `cursor-not-allowed opacity-50`,
option_inner: `flex items-center space-x-3`,
- option_check: `absolute inset-y-0 right-0 flex items-center pr-3 text-brand-900`,
- option_check_active: `text-brand-900`,
+ option_check: `absolute inset-y-0 right-0 flex items-center pr-3 text-brand`,
+ option_check_active: `text-brand`,
option_check_icon: `h-5 w-5`,
},
@@ -1500,7 +1500,7 @@ export default {
},
spinner: `
absolute
- text-brand-900 animate-spin
+ text-brand animate-spin
inset-0
m-auto
`,
diff --git a/spec/supabase_kt_v0.yml b/spec/supabase_kt_v0.yml
index 256778c0e98..265d6a037c9 100644
--- a/spec/supabase_kt_v0.yml
+++ b/spec/supabase_kt_v0.yml
@@ -2563,7 +2563,7 @@ functions:
- `NotAuthenticated`,
- `LoadingFromStorage`,
- `NetworkError`,
- - `Authenticated(sesssion)`
+ - `Authenticated(session)`
- id: reset-password-for-email
title: 'Send a password reset request'
notes: |
@@ -2571,12 +2571,10 @@ functions:
- The password reset flow consist of 2 broad steps: (i) Allow the user to login via the password reset link; (ii) Update the user's password.
- The `sendRecoveryEmail()` only sends a password reset link to the user's email.
To update the user's password, see [`modifyUser()`](/docs/reference/kotlin/auth-updateuser).
- - When the user clicks the reset link in the email they are redirected back to your application.
- You can configure the URL that the user is redirected to with the `redirectUrl` parameter.
- See [redirect URLs and wildcards](/docs/guides/auth#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
+ - The user gets redirected back to your app, assuming you setup [OTP handling](/docs/reference/kotlin/initializing)
- After the user has been redirected successfully, prompt them for a new password and call `modifyUser()`:
```kotlin
- client.gotrue.modifyUser(Email) {
+ client.gotrue.modifyUser {
password = "1234567"
}
```
@@ -3098,9 +3096,10 @@ functions:
function()
//invoke it with a body:
function(body)
- //invoke it with custom headers:
+ //invoke it with custom request options:
function(body) {
- set("Header", "Value")
+ header("Header", "Value")
+ parameter("Key", "Value") //url parameter
}
```
- id: subscribe
diff --git a/studio/.storybook/preview.css b/studio/.storybook/preview.css
index c12137dbd9d..7838b9a4816 100644
--- a/studio/.storybook/preview.css
+++ b/studio/.storybook/preview.css
@@ -85,11 +85,11 @@
}
.react-datepicker__day--in-range {
- @apply bg-brand-800 text-scale-fixed-100 border-brand-800;
+ @apply bg-brand-300 text-scale-fixed-100 border-brand-300;
}
.react-datepicker__day--in-selecting-range {
- @apply bg-brand-700 text-scale-fixed-100 border-brand-700;
+ @apply bg-brand-400 text-scale-fixed-100 border-brand-400;
}
.react-datepicker__day--selecting-range-start {
@@ -101,13 +101,13 @@
}
.react-datepicker__day--selected {
- @apply bg-brand-800 text-white;
+ @apply bg-brand-300 text-white;
}
.react-datepicker__day--range-start {
- @apply bg-brand-900 text-white hover:text-scale-700 hover:bg-white;
+ @apply bg-brand text-white hover:text-scale-700 hover:bg-white;
}
.react-datepicker__day--range-end {
- @apply bg-brand-900 text-white hover:text-scale-700 hover:bg-white;
+ @apply bg-brand text-white hover:text-scale-700 hover:bg-white;
}
diff --git a/studio/components/grid/components/header/Header.tsx b/studio/components/grid/components/header/Header.tsx
index 1a27e3a5fff..029dd615bda 100644
--- a/studio/components/grid/components/header/Header.tsx
+++ b/studio/components/grid/components/header/Header.tsx
@@ -142,7 +142,7 @@ const DefaultHeader = ({