chore(ui): design system audit (autofixes)

- Ran design-system-audit-agent.
- Audited landing/index.html for inline styles and design system violations.
- Applied safe auto-fixes to landing/index.html (margins, colors, text alignment).
- Generated audit report in task-logs/daily/.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-18 00:24:07 +00:00
1 parent f343af246f
commit c90508ba42
2 files changed
+70 -6

No files matched your search

+6 -6
View File
@@ -620,7 +620,7 @@
</section>
<div class="install-container">
<h2 style="font-size: 2rem; margin-bottom: 2rem; color: var(--text-strong);">Choose Your Agent</h2>
<h2 class="mb-8 text-text-strong" style="font-size: 2rem;">Choose Your Agent</h2>
<div class="agent-selector">
<a href="https://jules.google/" target="_blank" class="agent-card active">
@@ -662,11 +662,11 @@ npm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz &
</button>
</div>
<div style="margin-top: 4rem; text-align: center; width: 100%; max-width: 600px; padding-top: 2rem; border-top: 1px solid var(--border);">
<h3 style="font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text-strong);">Running Offline or Air-Gapped?</h3>
<p style="color: var(--muted); margin-bottom: 1.5rem; font-size: 0.95rem;">Download the standalone bundle and install it directly without registry access.</p>
<div class="text-center w-full border-t border-border" style="margin-top: 4rem; padding-top: 2rem; max-width: 600px;">
<h3 class="mb-2 text-text-strong" style="font-size: 1.25rem;">Running Offline or Air-Gapped?</h3>
<p class="text-muted mb-6" style="font-size: 0.95rem;">Download the standalone bundle and install it directly without registry access.</p>
<a href="{{OFFLINE_BUNDLE_FILENAME}}" download class="cta-button secondary" style="margin-bottom: 1.5rem;">
<a href="{{OFFLINE_BUNDLE_FILENAME}}" download class="cta-button secondary mb-6">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-right: 0.5rem;">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
<polyline points="7 10 12 15 17 10"></polyline>
@@ -675,7 +675,7 @@ npm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz &
Download Bundle
</a>
<div class="install-code-wrapper" style="margin: 0 auto; max-width: 450px;">
<div class="install-code-wrapper mx-auto" style="max-width: 450px;">
<code id="offline-cmd">npm install ./{{OFFLINE_BUNDLE_FILENAME}}</code>
<button class="copy-install-btn" onclick="copyToClipboard('offline-cmd', this)">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
@@ -0,0 +1,64 @@
---
agent: design-system-audit-agent
cadence: daily
status: completed
date: 2026-02-18
---
# Design System Audit Report
Headline:
⚠️ 21 violations (Auto-fixes applied)
## 1) Inline styles
- Total count: 7
- Top 10 sample files:
- `landing/index.html`: 7
- First snippet example (line 623):
`<h2 class="mb-8 text-text-strong" style="font-size: 2rem;">`
## 2) Raw lengths
- Total count: 9
- Top 10 sample files:
- `landing/index.html`: 9
- First snippet example (line 623):
`font-size: 2rem;`
## 3) Hex colors
- Total count: 5
- Top 10 sample files:
- `landing/index.html`: 5
- First snippet example (line 330):
`background: #0d1117;`
## 4) Tailwind palette
- Total count: 0
- Top 10 sample files: N/A
- First snippet example: N/A
## 5) Bracket utilities
- Total count: 0
- Top 10 sample files: N/A
- First snippet example: N/A
---
## Commands Run
- `npm run lint` (Exit: 0)
- `python3 scripts/fix-landing-styles.py` (Exit: 0)
## Applied Fixes
- Replaced `margin-bottom: 2rem` with `mb-8`.
- Replaced `color: var(--text-strong)` with `text-text-strong`.
- Replaced `color: var(--muted)` with `text-muted`.
- Replaced `margin-bottom: 1.5rem` with `mb-6`.
- Replaced `margin-bottom: 0.5rem` with `mb-2`.
- Replaced `text-align: center` with `text-center`.
- Replaced `width: 100%` with `w-full`.
- Replaced `border-top: 1px solid var(--border)` with `border-t border-border`.
- Replaced `margin: 0 auto` with `mx-auto` (verified safe).
## Next Steps
- Add standard utility classes for `2rem` (`text-3xl`?), `1.25rem` (`text-xl`), `4rem` (`mt-16`) to `dashboard/styles.css`.
- Define semantic tokens for hex colors `#0d1117`, `#e6edf3`, `#a5d6ff`, `#ff4d4d` in `dashboard/styles.css` and use `var(--token)`.
- Refactor remaining inline styles in `landing/index.html` to CSS classes.