diff mrjunejune/test/snapshots/tools_latex_editor.snapshot @ 258:60a876c4587a

[ui] Add semantic primitive ownership Build a layered Zenbu token and sizing system, make authored controls use native-underneath primitives, migrate mrjunejune without imposing visual surfaces, and document/enforce HTML ownership in the catalog and wiki. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Wed, 05 Aug 2026 05:25:40 -0700
parents 30c2196d03d4
children
line wrap: on
line diff
--- a/mrjunejune/test/snapshots/tools_latex_editor.snapshot	Tue Aug 04 16:49:11 2026 -0700
+++ b/mrjunejune/test/snapshots/tools_latex_editor.snapshot	Wed Aug 05 05:25:40 2026 -0700
@@ -56,16 +56,11 @@
   }
 
   #themeToggle {
+    display: flex;
     flex-direction: column;
-    min-width: 4.5rem;
-    padding: 0.35rem;
-    border-radius: 1.5rem;
-  }
-
-  #themeName {
-    font-family: "More", sans-serif;
-    font-size: 0.65rem;
-    line-height: 1;
+    padding: 0;
+    border: 0;
+    background: transparent;
   }
 
   /* Professional header */
@@ -73,7 +68,6 @@
     margin: auto;
     padding: 1.5em 1em;
     font-family: "More", sans-serif;
-    box-shadow: var(--zen-shadow-sm);
     width: 720px;
     max-width: calc(100% - 2em);
     text-align: center;
@@ -175,7 +169,7 @@
   }
 </style>
 
-<zen-button id="themeControl" variant="quiet">
+<zen-button id="themeControl" appearance="plain" size="xl">
   <button
     id="themeToggle"
     type="button"
@@ -189,12 +183,12 @@
       height="50"
       width="50"
     >
-    <span id="themeName" aria-live="polite">Auto</span>
+    <span id="themeName" class="zen-visually-hidden" aria-live="polite">Auto</span>
   </button>
 </zen-button>
 
 <header>
-  <h1><a href="/">MrJuneJune</a></h1>
+  <h1><a href="/" data-zen-link-effect="none">MrJuneJune</a></h1>
 </header>
 <script src="/index.js"></script>
 
@@ -205,13 +199,21 @@
           <p>Write LaTeX here. My server compiles it inside a locked-down sandbox and sends the PDF back to this preview.</p>
         </div>
         <div class="latex-actions">
-          <label class="auto-compile">
-            <input id="autoCompile" type="checkbox" checked />
-            Auto compile
-          </label>
-          <button id="resetButton" type="button" class="secondary">Reset</button>
-          <button id="compileButton" type="button">Compile PDF</button>
-          <a id="downloadButton" class="button-link disabled" aria-disabled="true">Download</a>
+          <zen-checkbox appearance="plain" size="sm">
+            <label class="auto-compile">
+              <input id="autoCompile" type="checkbox" checked />
+              Auto compile
+            </label>
+          </zen-checkbox>
+          <zen-button appearance="plain" size="md">
+            <button id="resetButton" type="button" class="secondary">Reset</button>
+          </zen-button>
+          <zen-button appearance="plain" size="md">
+            <button id="compileButton" type="button">Compile PDF</button>
+          </zen-button>
+          <zen-button appearance="plain" size="md">
+            <a id="downloadButton" class="button-link disabled" aria-disabled="true">Download</a>
+          </zen-button>
         </div>
       </div>
 
@@ -225,7 +227,8 @@
             <h2 id="sourceHeading">document.tex</h2>
             <span id="sourceSize">0 / 65,536 bytes</span>
           </div>
-          <textarea id="latexSource" spellcheck="false" autocomplete="off" aria-label="LaTeX source" placeholder="Type your LaTeX document here...">\documentclass[11pt]{article}
+          <zen-textarea appearance="plain" size="md">
+            <textarea id="latexSource" spellcheck="false" autocomplete="off" aria-label="LaTeX source" placeholder="Type your LaTeX document here...">\documentclass[11pt]{article}
 \usepackage[margin=1in]{geometry}
 \usepackage{amsmath}
 \usepackage{xcolor}
@@ -247,6 +250,7 @@
 
 \end{document}
 </textarea>
+          </zen-textarea>
         </section>
 
         <section class="latex-panel preview-panel" aria-labelledby="previewHeading">