Skip to content

Releases: inkdropapp/css

v0.9.0

Choose a tag to compare

@craftzdog craftzdog released this 01 Jul 05:49

What's Changed

Features

  • mermaid: Add mermaid.css for diagram theming (3b892f4)
    • Defines the --mermaid-* custom properties that the mermaid plugin's built-in inkdrop theme maps Mermaid's theme variables onto, following the same base-token + var() cascade convention as syntax.css / markdown.css. Registered in generate-variable-names.ts and documented in the README layer table.
  • mermaid: Add --mermaid-* vars for the newer diagram types (a59decc)
    • Covers pie text/stroke, quadrant, requirement, C4, architecture, git commit/tag labels, venn, error, event-modeling, and the packet / xychart / radar / wardley / cynefin configs, plus a violet-seeded primary palette for more vivid pie/git/quadrant charts.

Bug Fixes

  • mermaid: Change edge label color (c03b4d3)
    • Switches --mermaid-edge-label-background-color from a flat white/neutral to the purple palette for better contrast against edge labels.

Full Changelog: v0.8.1...v0.9.0

v0.8.1

Choose a tag to compare

@craftzdog craftzdog released this 26 Jun 07:18

What's Changed

Internal

  • task-progress: Switch the task-progress-view theme variables to light-dark() and scope them to the theme.ui.base layer (eca0df3) — collapses the separate :root and dark-mode blocks into a single definition that resolves against the page color-scheme. Equivalent rendering, no API change.

Full Changelog: v0.8.0...v0.8.1

v0.8.0

Choose a tag to compare

@craftzdog craftzdog released this 24 Jun 04:42

What's Changed

Features

  • syntax: Ship the default light & dark syntax theme variables in syntax.css (b90e229)
    • syntax.css now defines its own :root defaults, merged from the built-in light & dark themes and switched with light-dark(), so syntax renders out of the box without a separate syntax-theme package. A selected theme's unlayered :root still overrides them.

Internal

  • scripts: Build the syntax variable group from local syntax.css instead of downloading the default theme at generation time (cf3e2d4)

Full Changelog: v0.7.1...v0.8.0

v0.7.1

Choose a tag to compare

@craftzdog craftzdog released this 24 Jun 02:27

What's Changed

Bug Fixes

  • markdown: Adjust rendered code block colors — softer background, meta, and border tones for light and dark (ae7d05d)
  • syntax: Move the .tok-list rule up and add .md-task-marker / .md-task-done-text styling (3e58036)
  • syntax: Remove the unused empty :root rule (2ab8d52)

Full Changelog: v0.7.0...v0.7.1

v0.7.0

Choose a tag to compare

@craftzdog craftzdog released this 23 Jun 07:19

What's Changed

Features

  • syntax: Add base styles for syntax themes (b5a5b77)
    • Maps the token classes produced by tokenHighlighter (@inkdropapp/cm6-theme-common) to --syntax-* variables for both the CodeMirror editor and rendered Markdown code blocks, so syntax themes only need to supply values.
  • scripts: Group generated variables.json by stylesheet and add markdown and syntax groups (6ae3bc8, 8168cbb)
    • variables.json is now an object keyed by stylesheet: ui, status, tags, task-progress, markdown, and syntax.
    • The syntax group is built from the default light syntax theme's :root variables, downloaded at generation time.

Bug Fixes

  • syntax: Rename --editor-token variables to --syntax (a0dd61d)

Full Changelog: v0.6.9...v0.7.0

v0.6.9

Choose a tag to compare

@craftzdog craftzdog released this 23 Jun 02:49

What's Changed

Features

  • markdown: Add theming variables for strong, em, and headings (eb163d7)
    • --mde-preview-heading-color
    • --mde-preview-strong-color
    • --mde-preview-em-color

Full Changelog: v0.6.8...v0.6.9