Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/preview-theme-borders.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@frontlit/preview": patch
---

Give borders the theme's border colour, as published sites do. Cards, dividers and the header border used to render in the text colour.
5 changes: 5 additions & 0 deletions .changeset/text-editor-tiptap-ranges.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@frontlit/text-editor": patch
---

Use one version range (`^3.31.3`) for every `@tiptap/*` dependency. Three packages were pinned to exactly 3.31.3 while the rest floated, so a fresh npm install pulled two copies of `@tiptap/core` and `@tiptap/extension-table` crashed with "does not provide an export named 'isValidCSSStyleValue'". This broke `npx @frontlit/preview@alpha`.
36 changes: 18 additions & 18 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions packages/preview/client/preview.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* Match apps/sites/app/globals.css: borders take the theme's border colour.
* Tailwind 4 defaults border-color to currentColor, so without this every
* card, divider and header border renders in the text colour. Being in the
* base layer, it still loses to utilities such as border-primary. */
@layer base {
*,
::before,
::after {
border-color: var(--border);
}
}

html,
body,
#root {
Expand Down
36 changes: 18 additions & 18 deletions packages/text-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,24 +74,24 @@
},
"dependencies": {
"@floating-ui/dom": "^1.6.0",
"@tiptap/core": "^3.0.0",
"@tiptap/extension-bubble-menu": "^3.10.4",
"@tiptap/extension-code": "3.31.3",
"@tiptap/extension-code-block": "3.31.3",
"@tiptap/extension-code-block-lowlight": "^3.0.0",
"@tiptap/extension-dropcursor": "^3.0.0",
"@tiptap/extension-gapcursor": "^3.0.0",
"@tiptap/extension-heading": "^3.0.0",
"@tiptap/extension-highlight": "^3.11.0",
"@tiptap/extension-image": "^3.0.0",
"@tiptap/extension-link": "^3.0.0",
"@tiptap/extension-placeholder": "^3.0.0",
"@tiptap/extension-table": "^3.10.7",
"@tiptap/extensions": "3.31.3",
"@tiptap/pm": "^3.0.0",
"@tiptap/react": "^3.0.0",
"@tiptap/starter-kit": "^3.0.0",
"@tiptap/static-renderer": "^3.10.7",
"@tiptap/core": "^3.31.3",
"@tiptap/extension-bubble-menu": "^3.31.3",
"@tiptap/extension-code": "^3.31.3",
"@tiptap/extension-code-block": "^3.31.3",
"@tiptap/extension-code-block-lowlight": "^3.31.3",
"@tiptap/extension-dropcursor": "^3.31.3",
"@tiptap/extension-gapcursor": "^3.31.3",
"@tiptap/extension-heading": "^3.31.3",
"@tiptap/extension-highlight": "^3.31.3",
"@tiptap/extension-image": "^3.31.3",
"@tiptap/extension-link": "^3.31.3",
"@tiptap/extension-placeholder": "^3.31.3",
"@tiptap/extension-table": "^3.31.3",
"@tiptap/extensions": "^3.31.3",
"@tiptap/pm": "^3.31.3",
"@tiptap/react": "^3.31.3",
"@tiptap/starter-kit": "^3.31.3",
"@tiptap/static-renderer": "^3.31.3",
"acorn": "^8.19.0",
"clsx": "^2.1.1",
"highlight.js": "^11.10.0",
Expand Down
Loading