-
-
Notifications
You must be signed in to change notification settings - Fork 1
Update workspace packages to latest versions #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
6fb6f10
a462d5b
3729638
9f171a5
65cdc1b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| "@create-markdown/preview": minor | ||
| "@create-markdown/preview-mermaid": minor | ||
| "create-markdown": minor | ||
| --- | ||
|
|
||
| Split Mermaid support into a dedicated `@create-markdown/preview-mermaid` addon package and add the matching `create-markdown/preview-mermaid` convenience export. | ||
|
|
||
| Base preview rendering continues to work as before for the normal happy path, but Mermaid users now need to install the addon explicitly: | ||
|
|
||
| `pnpm add @create-markdown/preview-mermaid mermaid` | ||
|
|
||
| If you previously imported `mermaidPlugin` from `@create-markdown/preview`, update that import to `@create-markdown/preview-mermaid`. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| /** | ||
| * create-markdown/preview-mermaid | ||
| * Mermaid diagram support for the preview package. | ||
| */ | ||
|
|
||
| export * from '@create-markdown/preview-mermaid'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| @tailwind base; | ||
| @tailwind components; | ||
| @tailwind utilities; | ||
| @config "../tailwind.config.ts"; | ||
| @import "tailwindcss"; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wrong
|
||
|
|
||
| @layer base { | ||
| :root { | ||
|
|
@@ -183,7 +182,12 @@ | |
| } | ||
|
|
||
| .glass-card { | ||
| @apply glass rounded-2xl; | ||
| background: rgba(var(--glass-bg)); | ||
| backdrop-filter: blur(var(--glass-blur)); | ||
| -webkit-backdrop-filter: blur(var(--glass-blur)); | ||
| border: 1px solid rgba(var(--glass-border)); | ||
| box-shadow: var(--glass-shadow); | ||
| border-radius: 1rem; | ||
| } | ||
|
|
||
| .glass-code { | ||
|
|
@@ -229,7 +233,7 @@ | |
| } | ||
|
|
||
| ::-webkit-scrollbar-track { | ||
| @apply bg-transparent; | ||
| background: transparent; | ||
| } | ||
|
|
||
| ::-webkit-scrollbar-thumb { | ||
|
|
@@ -247,29 +251,47 @@ | |
|
|
||
| /* Code block styling */ | ||
| .prose pre { | ||
| @apply !bg-transparent !p-0 overflow-hidden; | ||
| background: transparent !important; | ||
| padding: 0 !important; | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| .prose pre code { | ||
| @apply !bg-transparent block p-5 overflow-x-auto text-[14px] leading-7; | ||
| background: transparent !important; | ||
| display: block; | ||
| padding: 1.25rem; | ||
| overflow-x: auto; | ||
| font-size: 14px; | ||
| line-height: 1.75rem; | ||
| } | ||
|
|
||
| .prose code:not(pre code) { | ||
| @apply px-1.5 py-0.5 rounded-md text-sm font-medium before:content-none after:content-none; | ||
| padding: 0.125rem 0.375rem; | ||
| border-radius: 0.375rem; | ||
| font-size: 0.875rem; | ||
| font-weight: 500; | ||
| background: var(--muted); | ||
| } | ||
|
|
||
| .prose code:not(pre code)::before, | ||
| .prose code:not(pre code)::after { | ||
| content: none; | ||
| } | ||
|
|
||
| /* Shiki code highlighting */ | ||
| .shiki { | ||
| @apply !bg-transparent; | ||
| background: transparent !important; | ||
| } | ||
|
|
||
| .shiki code { | ||
| @apply block overflow-x-auto text-[14px] leading-7; | ||
| display: block; | ||
| overflow-x: auto; | ||
| font-size: 14px; | ||
| line-height: 1.75rem; | ||
| } | ||
|
|
||
| .shiki code .line { | ||
| @apply block; | ||
| display: block; | ||
| } | ||
|
|
||
| /* Command palette - ensure mouse selection works */ | ||
|
|
@@ -299,4 +321,4 @@ | |
| .hover-glow:hover { | ||
| transform: none; | ||
| } | ||
| } | ||
| } | ||


Uh oh!
There was an error while loading. Please reload this page.