diff --git a/.obsidian/plugins/webinar-dash/main.js b/.obsidian/plugins/webinar-dash/main.js index 445961b..acf5d03 100644 --- a/.obsidian/plugins/webinar-dash/main.js +++ b/.obsidian/plugins/webinar-dash/main.js @@ -76,6 +76,10 @@ function parseConfig(source) { return cfg; } +// Source types CLAUDE.md documents for raw/sources. Anything else in that +// folder is not a source and stays out of the queue. +const RAW_EXTENSIONS = new Set(["md", "txt", "pdf"]); + const ICONS = { terminal: "M4 17l6-6-6-6M12 19h8", check: "M20 6 9 17l-5-5", @@ -175,8 +179,12 @@ class WebinarDashPlugin extends PluginBase { const rawDir = cfg.rawDir.replace(/\/+$/, "") + "/"; const wikiDir = cfg.wikiSourceDir.replace(/\/+$/, "") + "/"; + // CLAUDE.md documents raw/sources as holding "markdown/text/pdf exports". + // Allow-listing only "md" would hide the others from the queue with no + // warning — the same silent-invisibility failure this dashboard exists to + // remove. Wiki source pages below stay markdown-only; those really are .md. const rawFiles = all - .filter((f) => f.path.startsWith(rawDir) && f.extension === "md") + .filter((f) => f.path.startsWith(rawDir) && RAW_EXTENSIONS.has(f.extension)) .map((f) => ({ path: f.path, name: f.name, size: f.stat.size })); const pageFiles = all.filter((f) => f.path.startsWith(wikiDir) && f.extension === "md"); diff --git a/.obsidian/plugins/webinar-dash/styles.css b/.obsidian/plugins/webinar-dash/styles.css index a029b92..5c61b9b 100644 --- a/.obsidian/plugins/webinar-dash/styles.css +++ b/.obsidian/plugins/webinar-dash/styles.css @@ -40,12 +40,19 @@ --wd-border: var(--wd-ink-700); --wd-border-strong: #b8b8b8; --wd-border-subtle: #161616; - --wd-accent: #ff4a3d; - --wd-accent-press: #ff6d62; - --wd-accent-on: #0a0a0a; + /* Accent tracks the installed theme at .obsidian/themes/tesanti/theme.css, + whose dark section reads "Black canvas, same signal red": --accent-h/-s/-l + are declared once at :root and never redeclared under .theme-dark, and only + the hover state lifts (#c31c14 light, #ff4d43 dark). Match that exactly. */ + --wd-accent: var(--wd-red-500); + --wd-accent-press: #ff4d43; + --wd-accent-on: #ffffff; + /* Status tokens are separate from the brand accent by design-system rule, and + here they carry small text in a dense table. #e1261c on near-black is about + 3.8:1, under AA for small text, so these lift where the accent does not. */ --wd-ok: #2fbf6a; --wd-warn: #e0a516; - --wd-danger: #ff4a3d; + --wd-danger: #ff5c50; } @media (max-width: 820px) {