release 0.0.216 — 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:00 +09:00 committed by chodaict
parent 7c28566d21
commit d1b989b4d3
4 changed files with 74 additions and 5 deletions

66
main.js

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "tugtile",
"name": "tugtile",
"version": "0.0.214",
"version": "0.0.216",
"minAppVersion": "1.4.0",
"description": "A card table for your Markdown notes — tug tiles to reorder. Reads your existing kanban boards. 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.214": "1.4.0"
"0.0.216": "1.4.0"
}