release 0.0.63 — Seasoned colour palette + image/video toolbar tools

Seasoned highlighting can switch to a per-token colour palette (Settings →
colourful syntax); image/video are now first-class toolbar tools from the
shared editor core.

Co-Authored-By: chodaict <x@cver.net>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
mixflavor 2026-06-13 21:10:12 +09:00 committed by chodaict
parent 4603525f05
commit cea5f4e9b3
4 changed files with 75 additions and 7 deletions

69
main.js

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "marktile",
"name": "marktile",
"version": "0.0.61",
"version": "0.0.63",
"minAppVersion": "1.4.0",
"description": "A Markdown editor where the markers never hide — headings grow while ## stays put. Pairs with tugtile. CJK-friendly.",
"author": "CVER Inc.",

View file

@ -675,6 +675,15 @@ body.is-phone .tugtile-ed-rich { padding-bottom: 55vh; }
.tugtile-ed-rich .tg-tag,
.tugtile-ed-rich .tg-link { color: var(--text-accent); }
.tugtile-ed-rich .tg-date { color: var(--color-yellow); }
/* Seasoned "彩色" palette opt-in via settings (seasonedColor .marktile-palette-color on the editor mount).
Each syntax token gets its own hue instead of the single accent tint. Obsidian theme color vars (hex fallbacks
for the web host) so it tracks light/dark + custom themes. quote/strike/date/check keep their base styling. */
.marktile-palette-color .tugtile-ed-rich .tg-h { color: var(--color-cyan, #56b6c2); }
.marktile-palette-color .tugtile-ed-rich .tg-b { color: var(--color-orange, #d19a66); }
.marktile-palette-color .tugtile-ed-rich .tg-i { color: var(--color-purple, #c678dd); }
.marktile-palette-color .tugtile-ed-rich .tg-code { color: var(--color-green, #98c379); }
.marktile-palette-color .tugtile-ed-rich .tg-tag,
.marktile-palette-color .tugtile-ed-rich .tg-link { color: var(--color-blue, #61afef); }
/* Textarea for card editing */
.tugtile__tile-edit {
width: 100%;

View file

@ -1,3 +1,3 @@
{
"0.0.61": "1.4.0"
"0.0.63": "1.4.0"
}