litura-app 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ number carries breaking changes.
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ## 0.3.2 — 2026-09-07
9
+
10
+ - Moved the Slop Score next to the settings control in the editor header.
11
+
8
12
  ## 0.3.1 — 2026-09-07
9
13
 
10
14
  - The update badge now copies `npx litura-app` instead of opening a changelog, so the next update command is ready to paste.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "litura-app",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "A local AI-assisted editor for sharper, more human writing",
5
5
  "keywords": [
6
6
  "writing",
package/public/index.html CHANGED
@@ -33,21 +33,23 @@
33
33
  <button type="button" id="file-history">History</button>
34
34
  </div>
35
35
  <span id="save-status" role="status"></span>
36
- <button type="button" class="style-score" id="style-score" hidden title="Local slop score">
37
- <span class="style-score-label">Slop Score</span>
38
- <span id="style-score-value"></span>
39
- </button>
40
36
  <!-- Only shown when a newer version exists. Clicking it copies the
41
37
  update command; the running process is never replaced in place. -->
42
38
  <button type="button" class="update-badge" id="update-badge" hidden></button>
43
- <button class="settings-open" id="settings-open" title="Model and access" aria-label="Model and access">
44
- <svg viewBox="0 0 20 20" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round">
45
- <path d="M3 5h14M3 10h14M3 15h14"/>
46
- <circle cx="7" cy="5" r="1.5" fill="var(--surface)"/>
47
- <circle cx="13" cy="10" r="1.5" fill="var(--surface)"/>
48
- <circle cx="9" cy="15" r="1.5" fill="var(--surface)"/>
49
- </svg>
50
- </button>
39
+ <div class="header-actions">
40
+ <button type="button" class="style-score" id="style-score" hidden title="Local slop score">
41
+ <span class="style-score-label">Slop Score</span>
42
+ <span id="style-score-value"></span>
43
+ </button>
44
+ <button class="settings-open" id="settings-open" title="Model and access" aria-label="Model and access">
45
+ <svg viewBox="0 0 20 20" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round">
46
+ <path d="M3 5h14M3 10h14M3 15h14"/>
47
+ <circle cx="7" cy="5" r="1.5" fill="var(--surface)"/>
48
+ <circle cx="13" cy="10" r="1.5" fill="var(--surface)"/>
49
+ <circle cx="9" cy="15" r="1.5" fill="var(--surface)"/>
50
+ </svg>
51
+ </button>
52
+ </div>
51
53
  </div>
52
54
  <div id="editor-wrapper"></div>
53
55
  <!-- Remarks about a place in the text stand next to that place. Below
package/public/style.css CHANGED
@@ -485,7 +485,8 @@ html, body {
485
485
  transition: background var(--motion, .12s) ease, color .12s ease;
486
486
  }
487
487
 
488
- .settings-open { margin-left: auto; }
488
+ .header-actions { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
489
+ .settings-open { margin-left: 0; }
489
490
  .settings-open svg { width: 17px; height: 17px; }
490
491
 
491
492
  .icon-btn:hover,
@@ -497,7 +498,7 @@ html, body {
497
498
  /* Local slop score — computed in the browser, so it updates as you type.
498
499
  Click it for the words behind the number. */
499
500
  .style-score {
500
- margin-left: auto;
501
+ margin-left: 0;
501
502
  padding: 0;
502
503
  border: 0;
503
504
  background: none;