Conversation
# Conflicts: # pnpm-lock.yaml # src/app/appendix/plugin-migration-from-v5-to-v6/page.mdx # vercel.json
External links render as inline-flex, so a bare <a> as the sole element child of a tight list item matched both *:first-child and *:last-child, picking up 1.25rem top+bottom margin and blowing the item open. Exclude anchors with :not(a); loose lists (content wrapped in <p>) are unaffected.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Document migrating UI themes (v6 design tokens, overriding the --hsl-* ramps in tokens.css, generating palette.json) and preview themes (base styles now embedded in @inkdropapp/css; override --mde-preview-* variables instead of shipping a forked github-markdown stylesheet) from v5 to v6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Updates the developer documentation for Inkdrop v6: new primitive UI components, refreshed plugin/theme guides for the v6 APIs, an expanded command reference, a thorough v5→v6 theme migration guide, and the toolchain migration from npm to pnpm.
What's included
v6 API & guide updates
plugin-word-countwalkthrough for v6create-a-themeupdated for v6list-of-commands(+779 lines)Migration guide (v5 → v6)
--hsl-*/--color-*ramps), recoloring by overriding the ramps intokens.css, overriding the built-in component variables, and generatingpalette.json@inkdropapp/css, so themes override--mde-preview-*variables instead of shipping a forkedgithub-markdownstylesheet (manifest cleanup, variables reference table, frame-vs-tokens split with syntax themes)New component docs
Navigation.tsxcomponent-managermodule usageToolchain
Fixes
fix(typography): external links render asinline-flex, so a bare<a>as the sole element child of a tight list item matched both*:first-childand*:last-childand picked up 1.25rem top+bottom margin, blowing the item open. Excluded anchors via:not(a); loose lists (content wrapped in<p>) are unaffected.Test plan
pnpm installresolves cleanly frompnpm-lock.yamlpnpm buildsucceeds (static export, no MDX compile errors)--mde-preview-*variables table