Theme post code blocks + a11y fixes (impeccable audit) (#25)
Code blocks in posts rendered with the markdown plugin's default light highlight.js theme — white blocks on the dark ledger. This adds dark velvet pre/code styling and a Westgate-toned syntax palette (gold keywords, ledger-ink titles, muted green strings) for post content and the composer preview. Also picks up the quick wins from an impeccable audit: - Visible focus ring on the mobile drawer search (input had `outline: 0` with no replacement) - Input placeholder contrast raised to pass WCAG 4.5:1; tagsinput placeholder reuses the token instead of `$gray-500` - `prefers-reduced-motion` block zeroing transitions/animations (there were none before) - Fixed a stray `</li>` closing a `<div>` in `quick-search-results.tpl` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: #25 Co-authored-by: vickydotbat <vickydotbat@tutamail.com> Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
This commit was merged in pull request #25.
This commit is contained in:
@@ -32,22 +32,22 @@
|
||||
{{{ if config.loggedIn }}}
|
||||
<ul id="wg-topbar-logged-in-menu" class="wg-topbar__utility-list list-unstyled d-flex align-items-center mb-0">
|
||||
{{{ if (config.searchEnabled && user.privileges.search:content) }}}
|
||||
<li component="sidebar/search" class="nav-item search dropdown position-relative" title="[[global:header.search]]" role="menuitem">
|
||||
<li component="sidebar/search" class="nav-item search dropdown position-relative" title="[[global:header.search]]">
|
||||
<!-- IMPORT partials/sidebar/search.tpl -->
|
||||
</li>
|
||||
{{{ end }}}
|
||||
|
||||
<li component="notifications" class="nav-item notifications dropdown" title="[[global:header.notifications]]" role="menuitem">
|
||||
<li component="notifications" class="nav-item notifications dropdown" title="[[global:header.notifications]]">
|
||||
<!-- IMPORT partials/sidebar/notifications.tpl -->
|
||||
</li>
|
||||
|
||||
{{{ if canChat }}}
|
||||
<li class="nav-item chats dropdown" title="[[global:header.chats]]" role="menuitem">
|
||||
<li class="nav-item chats dropdown" title="[[global:header.chats]]">
|
||||
<!-- IMPORT partials/sidebar/chats.tpl -->
|
||||
</li>
|
||||
{{{ end }}}
|
||||
|
||||
<li component="sidebar/drafts" class="nav-item drafts dropdown" title="[[global:header.drafts]]" role="menuitem">
|
||||
<li component="sidebar/drafts" class="nav-item drafts dropdown" title="[[global:header.drafts]]">
|
||||
<!-- IMPORT partials/sidebar/drafts.tpl -->
|
||||
</li>
|
||||
|
||||
@@ -57,14 +57,14 @@
|
||||
</li>
|
||||
{{{ end }}}
|
||||
|
||||
<li id="user_label" class="nav-item usermenu dropdown" title="{user.username}" role="menuitem">
|
||||
<li id="user_label" class="nav-item usermenu dropdown" title="{user.username}">
|
||||
<!-- IMPORT partials/sidebar/user-menu.tpl -->
|
||||
</li>
|
||||
</ul>
|
||||
{{{ else }}}
|
||||
<ul id="wg-topbar-logged-out-menu" class="wg-topbar__utility-list wg-topbar__utility-list--guest list-unstyled d-flex align-items-center mb-0">
|
||||
{{{ if (config.searchEnabled && user.privileges.search:content) }}}
|
||||
<li component="sidebar/search" class="nav-item search dropdown position-relative" title="[[global:header.search]]" role="menuitem">
|
||||
<li component="sidebar/search" class="nav-item search dropdown position-relative" title="[[global:header.search]]">
|
||||
<!-- IMPORT partials/sidebar/search.tpl -->
|
||||
</li>
|
||||
{{{ end }}}
|
||||
|
||||
Reference in New Issue
Block a user