Skip to content

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

chore: use light mode of lottie (#18705)

Kevin Grünebergfb4dc354934d
diff --git a/apps/www/components/LaunchWeek/7/Releases/index.tsx b/apps/www/components/LaunchWeek/7/Releases/index.tsx
index 6aeb2fad712..900b81f9eac 100644
--- a/apps/www/components/LaunchWeek/7/Releases/index.tsx
+++ b/apps/www/components/LaunchWeek/7/Releases/index.tsx
@@ -1,7 +1,7 @@
import Image from 'next/image'
import { useEffect } from 'react'
import { Accordion } from 'ui'
-import Lottie from 'lottie-react'
+import Lottie from 'lottie-light-react'
import days, { WeekDayProps, endOfLW7 } from '~/components/LaunchWeek/7/lw7_days'
import SectionContainer from '~/components/Layouts/SectionContainer'
diff --git a/apps/www/package.json b/apps/www/package.json
index 0f5a86bab77..5776293b5c8 100644
--- a/apps/www/package.json
+++ b/apps/www/package.json
@@ -31,7 +31,7 @@
"framer-motion": "^6.5.1",
"globby": "^13.2.2",
"gray-matter": "^4.0.3",
- "lottie-react": "^2.4.0",
+ "lottie-light-react": "^2.4.0",
"markdown-toc": "^1.2.0",
"next": "^13.5.3",
"next-mdx-remote": "^4.4.1",
diff --git a/package-lock.json b/package-lock.json
index ac899180399..dd2d67e1a0e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -281,7 +281,7 @@
"framer-motion": "^6.5.1",
"globby": "^13.2.2",
"gray-matter": "^4.0.3",
- "lottie-react": "^2.4.0",
+ "lottie-light-react": "^2.4.0",
"markdown-toc": "^1.2.0",
"next": "^13.5.3",
"next-mdx-remote": "^4.4.1",
@@ -22102,10 +22102,10 @@
"loose-envify": "cli.js"
}
},
- "node_modules/lottie-react": {
+ "node_modules/lottie-light-react": {
"version": "2.4.0",
- "resolved": "https://registry.npmjs.org/lottie-react/-/lottie-react-2.4.0.tgz",
- "integrity": "sha512-pDJGj+AQlnlyHvOHFK7vLdsDcvbuqvwPZdMlJ360wrzGFurXeKPr8SiRCjLf3LrNYKANQtSsh5dz9UYQHuqx4w==",
+ "resolved": "https://registry.npmjs.org/lottie-light-react/-/lottie-light-react-2.4.0.tgz",
+ "integrity": "sha512-TXJOnyqEc6ev9/um8Xkxve5EVcgCX2pi1olWc8jj+81qaPyFBA+VxHIc2Ojl42IqeAiKhGHz098ztQOIImJcyg==",
"dependencies": {
"lottie-web": "^5.10.2"
},
@@ -36166,7 +36166,7 @@
"date-fns": "^2.30.0",
"formik": "^2.2.9",
"lodash": "^4.17.21",
- "lottie-react": "^2.4.0",
+ "lottie-light-react": "^2.4.0",
"lucide-react": "^0.167.0",
"next-themes": "^0.2.1",
"openai": "^3.3.0",
@@ -37776,7 +37776,7 @@
"json-logic-js": "^2.0.2",
"jsonrepair": "^3.2.3",
"lodash": "^4.17.21",
- "lottie-react": "^2.4.0",
+ "lottie-light-react": "^2.4.0",
"lucide-react": "^0.167.0",
"markdown-table": "=2.0.0",
"mobx": "^6.10.2",
diff --git a/packages/ui/package.json b/packages/ui/package.json
index fac8bfc2f21..70684a24149 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -61,7 +61,7 @@
"date-fns": "^2.30.0",
"formik": "^2.2.9",
"lodash": "^4.17.21",
- "lottie-react": "^2.4.0",
+ "lottie-light-react": "^2.4.0",
"lucide-react": "^0.167.0",
"next-themes": "^0.2.1",
"openai": "^3.3.0",
diff --git a/packages/ui/src/components/LogoLoader/LogoLoader.tsx b/packages/ui/src/components/LogoLoader/LogoLoader.tsx
index 42fc397fbc9..36646671d0b 100644
--- a/packages/ui/src/components/LogoLoader/LogoLoader.tsx
+++ b/packages/ui/src/components/LogoLoader/LogoLoader.tsx
@@ -1,4 +1,4 @@
-import Lottie from 'lottie-react'
+import Lottie from 'lottie-light-react'
import loadingAnim from './LogoLoader.anim.json'
const LogoLoader = () => (
diff --git a/studio/components/ui/Loading/Loading.tsx b/studio/components/ui/Loading/Loading.tsx
index f8a407c7c6a..3b3b9ed6e51 100644
--- a/studio/components/ui/Loading/Loading.tsx
+++ b/studio/components/ui/Loading/Loading.tsx
@@ -1,4 +1,4 @@
-import Lottie from 'lottie-react'
+import Lottie from 'lottie-light-react'
import loadingAnim from './Loading.anim.json'
const Connecting = () => (
diff --git a/studio/package.json b/studio/package.json
index bce7724b70a..31fb542bf98 100644
--- a/studio/package.json
+++ b/studio/package.json
@@ -62,7 +62,7 @@
"json-logic-js": "^2.0.2",
"jsonrepair": "^3.2.3",
"lodash": "^4.17.21",
- "lottie-react": "^2.4.0",
+ "lottie-light-react": "^2.4.0",
"lucide-react": "^0.167.0",
"markdown-table": "=2.0.0",
"mobx": "^6.10.2",