Skip to content

v0.8.4 — Vanilla Starter Dark Theme Canvas, Toast Wiring & ElToaster Instance Methods

Choose a tag to compare

@pinguxx pinguxx released this 23 Nov 19:11
· 41 commits to main since this release

Fixed

  • Vanilla Starter index.html Dark Mode & Toast Wiring (bin/elementum.js): Updated generated index.html body background to var(--el-step-1, var(--el-surface-base)) and elementum-tokens.css to --el-color-primary so toggling <el-theme-switch> smoothly switches the entire page canvas between light and dark themes; wired Trigger Toast and modal Create buttons to toast.info() / toast.success() reading <el-input> signal .value.value.
  • <el-toaster> Instance Convenience Methods (src/components/el-toast.js): Added .show(), .success(), .error(), .warning(), .info(), and .clear() instance methods on ElToaster (delegating to the toast manager) and accepted opts.title as a fallback for opts.message.