Skip to content

0.2.3

Choose a tag to compare

@github-actions github-actions released this 18 Jul 13:44
· 78 commits to main since this release
e16498b

What's New

  • Swipe gestures in mobile editor — Removed the swipe-prevention patch that was blocking native horizontal swipe in the editor on mobile. You can now swipe freely within the editor view. e554531
  • # bypass for CSS variable generation — Using # as a value now uniformly bypasses CSS variable generation across all color fields, with updated fallbacks for consistency. 15a8eae

Bug Fixes

  • Color picker cleanup on unload — The shared .style-manager-color-picker-wrapper element injected into the document body is now properly removed when the plugin unloads, preventing stale DOM elements from accumulating across reloads. 46b3e2f
  • Graceful handling of missing color formats — The CSS parser now validates color formats before processing and fails gracefully instead of throwing on malformed or missing format data. d634c96

UI & Style

  • Theme-aware color picker shadows — Introduced a --sm-cp-area-shadow-color CSS variable scoped to both theme-light and theme-dark, so picker shadows (dialog, sliders, thumb, area, sample) now render correctly in both themes instead of always defaulting to black. cfd677c
  • Mobile editor layout and spacing — Updated mobile editor layout, and removed a .is-mobile flex-direction override on style-settings-item that was causing layout regressions on mobile. ad8ade2
  • CodeMirror search panel specificity — Updated CSS class specificity for the CodeMirror search panel to prevent style conflicts. 9e0ce8c

Refactoring & Type Safety

  • Tighter types in CSSParser and StyleGenerator — Replaced loosely-typed any callbacks with proper typed interfaces; removed dead-code guards; added safe casts to satisfy strict lint rules without breaking runtime behavior. e54c33b
  • Strict type error fixes — Resolved outstanding strict type checking errors and missing DOM typings across the codebase. 63d616a
  • Obsidian UI guidelines compliance — Updated DOM element creation patterns and sentence casing to align with Obsidian's official plugin development guidelines. 9a1c2c1

CI / Tooling

  • New lint & typecheck workflow — Added a dedicated GitHub Actions workflow that runs ESLint and TypeScript type checking on every push and pull request. e581e1c
  • Updated Node.js and actions versions — Upgraded actions/checkout and actions/setup-node to v7 (Node 24 runtime), and updated all workflows to use lts/* instead of a pinned 18.x. 2f65a88, 12e07c0
  • CodeQL permissions fix — Addressed a CodeQL finding about missing workflow permissions. b87e2b5
  • ESLint flat config migration — Migrated linting config to ESLint's flat config format and integrated the obsidianmd ESLint plugin. e049aa1
  • Code cleanup and formatting — General code cleanup pass across the codebase. 4b1a2e9

Full Changelog: 0.2.2...0.2.3