Apply remaining audit fixes; document radii and code palette in DESIGN.md
- Token sweep: exact-value gold literals now use --wg-border / --wg-border-soft / --wg-focus - Topbar: drop invalid role="menuitem" (no parent role="menu") - topics_list: topic-select icons get role="checkbox", tabindex, aria-label; client.js makes them keyboard-operable and syncs aria-checked - category.tpl: copy-handle link gets an accessible name, "View Original" moved to i18n, external-link icon aria-hidden, stretched link inside aria-hidden alert removed from tab order - Footer: all copy moved to [[westgate:footer.*]] keys; year injected via filter:middleware.renderFooter instead of hard-coded 2026 - client.js: batch table measurements before writes (no interleaved reflow), .catch on the category class map so search results never hang, category selector match uses fw-bold class instead of inline style - Forced-colors focus fallback: transparent outline alongside the box-shadow focus ring - DESIGN.md: real radius scale (3/4/6/8px), code-block palette, motion & modes section, placeholder alpha Verified against the sow-nodebb dev container: themed code blocks render in posts, footer i18n + year, checkbox roles in served HTML. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
linear-gradient(to bottom, transparent calc(100% - 1px), rgba(194, 163, 90, 0.045) calc(100% - 1px)),
|
||||
var(--wg-velvet-panel) !important;
|
||||
background-size: 100% var(--wg-ledger-line), auto;
|
||||
border: 1px solid rgba(194, 163, 90, 0.14);
|
||||
border: 1px solid var(--wg-border);
|
||||
border-radius: 8px;
|
||||
box-shadow: var(--wg-velvet-shadow);
|
||||
}
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
[data-widget-area] .card-header {
|
||||
background:
|
||||
linear-gradient(to right, rgba(194, 163, 90, 0.08), rgba(42, 18, 34, 0.2), transparent),
|
||||
linear-gradient(to right, var(--wg-border-soft), rgba(42, 18, 34, 0.2), transparent),
|
||||
rgba(8, 7, 10, 0.24) !important;
|
||||
border-color: rgba(194, 163, 90, 0.13) !important;
|
||||
color: var(--wg-ledger-ink) !important;
|
||||
@@ -97,7 +97,7 @@
|
||||
}
|
||||
|
||||
[data-widget-area] .card-header + .card-body {
|
||||
border-top: 1px solid rgba(194, 163, 90, 0.08);
|
||||
border-top: 1px solid var(--wg-border-soft);
|
||||
}
|
||||
|
||||
[data-widget-area] .alert {
|
||||
@@ -135,7 +135,7 @@
|
||||
background:
|
||||
linear-gradient(to right, rgba(194, 163, 90, 0.12), transparent 5rem),
|
||||
var(--wg-velvet-panel) !important;
|
||||
border-color: rgba(194, 163, 90, 0.28) !important;
|
||||
border-color: var(--wg-focus) !important;
|
||||
border-left-color: rgba(194, 163, 90, 0.62) !important;
|
||||
color: #e0cea2 !important;
|
||||
}
|
||||
@@ -184,7 +184,7 @@
|
||||
|
||||
[data-widget-area] .list-group-item {
|
||||
background: rgba(255, 255, 255, 0.014) !important;
|
||||
border-color: rgba(194, 163, 90, 0.08) !important;
|
||||
border-color: var(--wg-border-soft) !important;
|
||||
color: var(--wg-text-soft) !important;
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@
|
||||
background:
|
||||
linear-gradient(to bottom, rgba(255, 241, 196, 0.018), rgba(8, 7, 10, 0.08)),
|
||||
var(--wg-velvet-panel) !important;
|
||||
border: 1px solid rgba(194, 163, 90, 0.14);
|
||||
border: 1px solid var(--wg-border);
|
||||
border-radius: 8px;
|
||||
box-shadow: var(--wg-velvet-shadow);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user