Files
supabase/apps/lite-studio/styles/globals.css
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

44 lines
1.1 KiB
CSS

@import 'config/tailwind.config.css';
@import 'config/inline-code.css';
@import 'config/typography.css';
@source '../app/**/*.{ts,tsx}';
@source './../../../packages/ui/src/**/*.{tsx,ts,js}';
@source './../../../packages/ui-patterns/src/**/*.{tsx,ts,js}';
@font-face {
font-family: 'custom-font';
src:
url(../../../packages/common/assets/fonts/CustomFont-Book.woff2) format('woff2'),
url(../../../packages/common/assets/fonts/CustomFont-Book.woff) format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'custom-font';
src:
url(../../../packages/common/assets/fonts/CustomFont-Medium.woff2) format('woff2'),
url(../../../packages/common/assets/fonts/CustomFont-Medium.woff) format('woff');
font-weight: 500;
font-style: normal;
font-display: swap;
}
body {
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--border-default, currentColor);
}
}