Files
supabase/apps/lite-studio
Danny White 8a26dbedd0 feat(apps): adopt inline code defaults in learn lite-studio and ui-library (#51985)
## Problem

Learn, lite-studio and UI library still use separate inline-code styles.

## Solution

Import the shared styles from #51980 in all three apps. Remove duplicate
styles from MDX renderers and component previews. All eight apps now
import the shared stylesheet, so #51986 can remove the old definitions.

## Review instructions

This PR changes only Learn, lite-studio and UI library.

1. Open [password-based auth in UI
library](https://ui-library-git-dnywh-depr-707-code-remaining-apps-supabase.vercel.app/library/docs/nextjs/password-based-auth).
Check inline code, highlighted examples and copy controls.

Learn and lite-studio have no deployment links in the Vercel PR comment;
check them locally or just code-review, since neither are yet public
facing (and are both designed to consume core styles).

| Before | After |
| --- | --- |
| <img width="1418" height="1728" alt="CleanShot 2026-10-20 at 16 45
37@2x"
src="https://github.com/user-attachments/assets/1cf25017-f5ee-410a-8bec-46ea61414b7b"
/> | <img width="1438" height="1742" alt="CleanShot 2026-10-20 at 16 55
58@2x"
src="https://github.com/user-attachments/assets/b4a5f11b-98fd-4209-ac93-f13d5e31703d"
/> |
2026-10-22 00:48:58 +00:00
..
…

Welcome to React Router!

A modern, production-ready template for building full-stack React applications using React Router.

Open in StackBlitz

Features

  • 🚀 Server-side rendering
  • ⚡️ Hot Module Replacement (HMR)
  • 📦 Asset bundling and optimization
  • 🔄 Data loading and mutations
  • 🔒 TypeScript by default
  • 🎉 TailwindCSS for styling
  • 📖 React Router docs

Getting Started

Installation

Install the dependencies:

npm install

Development

Start the development server with HMR:

npm run dev

Your application will be available at http://localhost:5173.

Building for Production

Create a production build:

npm run build

Deployment

Docker Deployment

To build and run using Docker:

docker build -t my-app .

# Run the container
docker run -p 3000:3000 my-app

The containerized application can be deployed to any platform that supports Docker, including:

  • AWS ECS
  • Google Cloud Run
  • Azure Container Apps
  • Digital Ocean App Platform
  • Fly.io
  • Railway

DIY Deployment

If you're familiar with deploying Node applications, the built-in app server is production-ready.

Make sure to deploy the output of npm run build

├── package.json
├── package-lock.json (or pnpm-lock.yaml, or bun.lockb)
├── build/
│   ├── client/    # Static assets
│   └── server/    # Server-side code

Styling

This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever CSS framework you prefer.


Built with ❤️ using React Router.