diff --git a/apps/design-system/app/globals.css b/apps/design-system/app/globals.css deleted file mode 100644 index f7f07cd6431..00000000000 --- a/apps/design-system/app/globals.css +++ /dev/null @@ -1,29 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; - -/* :root { - --foreground-rgb: 0, 0, 0; - --background-start-rgb: 214, 219, 220; - --background-end-rgb: 255, 255, 255; -} - -@media (prefers-color-scheme: dark) { - :root { - --foreground-rgb: 255, 255, 255; - --background-start-rgb: 0, 0, 0; - --background-end-rgb: 0, 0, 0; - } -} */ - -body { - /* color: rgb(var(--foreground-rgb)); - background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) - rgb(var(--background-start-rgb)); */ -} -/* -@layer utilities { - .text-balance { - text-wrap: balance; - } -} */ diff --git a/apps/design-system/app/layout.tsx b/apps/design-system/app/layout.tsx index a7d6c82e2dd..143adbc56f9 100644 --- a/apps/design-system/app/layout.tsx +++ b/apps/design-system/app/layout.tsx @@ -1,5 +1,5 @@ import '@/styles/globals.css' -import '../../studio/styles/typography.css' +import 'config/typography.css' import type { Metadata, Viewport } from 'next' diff --git a/apps/design-system/package.json b/apps/design-system/package.json index bb801fa920b..cd1e80e428b 100644 --- a/apps/design-system/package.json +++ b/apps/design-system/package.json @@ -60,7 +60,7 @@ "concurrently": "^8.2.2", "config": "workspace:^", "mdast-util-toc": "^6.1.1", - "postcss": "^8.5.3", + "postcss": "catalog:", "rimraf": "^4.1.3", "shiki": "^1.1.7", "tailwindcss": "catalog:", 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 6bc5f56f677..44bc5edb744 100644 --- a/apps/design-system/registry/default/example/data-grid-demo.tsx +++ b/apps/design-system/registry/default/example/data-grid-demo.tsx @@ -141,7 +141,7 @@ export default function DataGridDemo() { return (
This sheet does not block the underlying content, but it does overlap it. diff --git a/apps/design-system/styles/globals.css b/apps/design-system/styles/globals.css index c0a8ac60719..d1f98daa8a0 100644 --- a/apps/design-system/styles/globals.css +++ b/apps/design-system/styles/globals.css @@ -33,7 +33,7 @@ @apply scroll-smooth; } body { - @apply bg text-foreground; + @apply bg-default text-foreground; /* font-feature-settings: "rlig" 1, "calt" 1; */ font-synthesis-weight: none; text-rendering: optimizeLegibility; diff --git a/apps/docs/app/layout.tsx b/apps/docs/app/layout.tsx index e470d95e69b..d5bad10e70d 100644 --- a/apps/docs/app/layout.tsx +++ b/apps/docs/app/layout.tsx @@ -2,7 +2,6 @@ import '@code-hike/mdx/styles.css' import 'config/code-hike.css' import 'ui-patterns/ShimmeringLoader/index.css' import '../styles/main.css' -import '../styles/new-docs.css' import '../styles/prism-okaidia.css' import { GlobalProviders } from '~/features/app.providers' diff --git a/apps/docs/components/Feedback/FeedbackModal.tsx b/apps/docs/components/Feedback/FeedbackModal.tsx index b1e00545bc2..18fc711bf03 100644 --- a/apps/docs/components/Feedback/FeedbackModal.tsx +++ b/apps/docs/components/Feedback/FeedbackModal.tsx @@ -72,7 +72,7 @@ function FeedbackModal({ visible, page, onCancel, onSubmit }: FeedbackModalProps )} />