diff --git a/cortex/static/index.html b/cortex/static/index.html index c82ad48..b3c417b 100644 --- a/cortex/static/index.html +++ b/cortex/static/index.html @@ -5,12 +5,15 @@ Cortex — Inara - + @@ -784,8 +787,9 @@ #ctx-distill-status.show { opacity: 1; } #ctx-distill-status.err { color: var(--error-text); } - /* Theme toggle */ - #theme-btn { font-size: 0.85rem; padding: 5px 8px; } + /* Theme toggle + font size */ + #theme-btn { font-size: 0.85rem; padding: 5px 8px; } + #font-size-btn { min-width: 32px; text-align: center; } /* Ctx header button — shows current tier as a dim superscript */ #ctx-open-btn .tier-badge { @@ -807,6 +811,7 @@ +
@@ -1653,6 +1658,30 @@ applyTheme(next); }); + // ── Font size cycle ─────────────────────────────────────────── + const fontSizeBtn = document.getElementById('font-size-btn'); + const fontSizes = ['normal', 'large', 'small']; + const fontSizePx = { normal: '16px', large: '18px', small: '14px' }; + const fontSizeLbl = { normal: 'Aa', large: 'A+', small: 'A−' }; + + function applyFontSize(size) { + document.documentElement.style.fontSize = fontSizePx[size]; + fontSizeBtn.textContent = fontSizeLbl[size]; + fontSizeBtn.title = `Font: ${size} — click to cycle`; + } + + { + const saved = localStorage.getItem('font-size') || 'normal'; + applyFontSize(saved); + } + + fontSizeBtn.addEventListener('click', () => { + const current = localStorage.getItem('font-size') || 'normal'; + const next = fontSizes[(fontSizes.indexOf(current) + 1) % fontSizes.length]; + localStorage.setItem('font-size', next); + applyFontSize(next); + }); + // ── Context panel — tier + memory toggles + distill ─────────── const ctxOpenBtn = document.getElementById('ctx-open-btn'); const ctxPanel = document.getElementById('ctx-panel'); diff --git a/inara/sessions/2026-03-17.md b/inara/sessions/2026-03-17.md new file mode 100644 index 0000000..655ff6a --- /dev/null +++ b/inara/sessions/2026-03-17.md @@ -0,0 +1,6 @@ +# Session Log — 2026-03-17 + +### [21:38] `lark-field` +**Scott:** Another test + +**Inara:** Still here. All systems nominal. ✨