Commit Graph
25 Commits
Author SHA1 Message Date
archvillainette 80e811e3b0 Theme fixes: wiki index shift (#30), Inter/Poppins fonts (sow-nodebb#13), unread badge (#33) (#32)
Closes #30. Addresses ShadowsOverWestgate/sow-nodebb#13 (theme-side). Partially addresses #33 (badge).

Three theme fixes, bundled into one branch since we squash-merge.

### #30 — index/section pages bump all text to the right
The namespace-index / section listing card carries the `wiki-article-prose` class, so the article-body **reading measure** leaked onto it: the wiki plugin caps prose children at `--wiki-prose-measure` (54rem) and the theme `margin-inline:auto`s them, pinning the *Articles* heading, lead, and page list into a narrow centered column with a big left gutter. Fix: opt `.wiki-namespace-index` descendants out of that measure/centering (full-width, left-aligned). **Verified** with a before/after render of the real section markup against the compiled CSS.

### Inter 404 (sow-nodebb#13), theme side
Harmony generates Inter/Poppins `@font-face` at our asset path and points its font variables at them, but we ship **Jost + Cinzel** and declare no `@fontsource/inter|poppins` dep, so those URLs 404 in production (they only resolve in dev via npm hoisting). Current theme source already renders everything in Jost (verified in compiled CSS), so the reported production 404 is a **stale build** — it clears once the nodebb image is rebuilt from current theme main. This PR makes it robust: pins the Harmony rules that read those vars (`.ff-sans`, `.ff-secondary`, breadcrumb divider) to our fonts, and removes the two dead staticDirs.

### #33 (part 1) — topbar unread badge didn't match its neighbours
The unread count was a static inline pill floating low/right of the inbox icon, unlike the corner-anchored badges on the notification and chat icons. Mirrored Harmony's notification markup (inner `position-relative` span + `top-0/start-100/translate-middle`) so the unread bubble tucks into the icon corner at the same size, shape, and height. **Verified**: unread and notification badges now sit identically (measured top/bottom match to the pixel).

The other half of #33 — the "dropdown doesn't work" report — is **not** included: I couldn't reproduce it on a current build (the custom unread drawer opens and lists topics on both `/categories` and `/wiki`), so it looks like the same stale-deploy story. Left open in #33 pending a repro on a fresh build before deciding whether to swap it for NodeBB's Notifications "Unread" view.

### Notes
- SCSS + templates + `plugin.json` only; no JS behavior change. `./nodebb build` compiles clean.
- Pre-existing impeccable design-drift findings in touched files are unrelated to this diff and left as-is.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Reviewed-on: #32
Co-authored-by: vickydotbat <vickydotbat@tutamail.com>
Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
2026-07-18 12:33:57 +00:00
archvillainette c3851107ab 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>
2026-07-16 14:44:39 +00:00
archvillainette 882c086a6d impeccable (#18)
first pass with impeccable

Reviewed-on: #18
Reviewed-by: xtul <mpiasecki720@protonmail.com>
Co-authored-by: vickydotbat <vickydotbat@tutamail.com>
Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
2026-07-11 14:18:22 +00:00
archvillainette 159e28a719 email brand hygiene (#11)
implements proper email hygiene, including templates and a language .json

Reviewed-on: #11
Co-authored-by: vickydotbat <vickydotbat@tutamail.com>
Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
2026-06-27 08:02:15 +00:00
archvillainette 3dae204bab fix: serve inherited harmony fonts (#2)
fixes the missing inter font error

Reviewed-on: #2
Reviewed-by: xtul <mpiasecki720@protonmail.com>
Co-authored-by: vickydotbat <vickydotbat@tutamail.com>
Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
2026-06-19 07:47:57 +00:00
archvillainette dadee4c78f Header Test 2026-04-24 14:57:06 +02:00
archvillainette 677e9fb798 Icons Phase 1 2026-04-23 14:11:15 +02:00
archvillainette ee09a620d6 Font Fixes 2026-04-23 11:11:23 +02:00
archvillainette 46ee62740e First Pass 2026-04-22 14:40:59 +02:00
archvillainette 3a07eed76a Changes Per Readme 2026-04-21 08:38:51 +02:00
Barış Soner Uşaklı 9e2cc7d51b update theme to resolved missing fonts
also add harmony client side modules
2024-01-04 12:59:04 -05:00
Barış Soner Uşaklı 8f488a681d fix: #11 2024-01-01 18:32:24 -05:00
Barış Soner UşaklıandGitHub c1fff76fcc Update plugin.json 2024-01-01 18:13:22 -05:00
Barış Soner Uşaklı ff4a60feec closes #8 2023-05-18 11:30:21 -04:00
Barış Soner UşaklıandGitHub f6cd515fc7 fix wrong filename 2021-12-06 11:48:33 -05:00
psychobunny 5e195c99a4 fix: new paths to persona libs
https://github.com/NodeBB/nodebb-theme-persona/commit/31ecf92195b0eb4c0ffa93ef6a4a903f6fe09d9d#diff-1238d1db6d1ff5178a0cbbd518082b720240378457cf3e0ad5eef98168587f23
2021-02-02 08:30:17 -05:00
psychobunny 2da8256342 fix: move client.js to public folder for grunt watch
https://github.com/NodeBB/NodeBB/commit/cb662e15ce673e1feafda9a41adcfcec0eb9ce97#diff-8e7e5f941c67b0cf481a9d650295119d4922b96117e7adc069ba30a81a78c65f
2021-02-02 08:29:19 -05:00
Barış Soner UşaklıandGitHub 686e317710 fix: remove nprogress 2021-01-16 12:35:11 -05:00
Barış Soner UşaklıandGitHub 55d799d274 remove callbacked 2018-02-09 15:28:33 -05:00
Julian Lam 150e4710dd removed trailing comma from plugin.json 2018-01-22 16:07:42 -05:00
Julian Lam c8ebe2486c closes #1 2018-01-22 12:03:20 -05:00
Julian Lam ceb389eedf closes #1 2018-01-19 15:35:03 -05:00
psychobunny 2a02b33a4c fix for chats in persona 2016-09-12 14:14:03 -04:00
psychobunny b89373866d updated scripts for using persona as a base 2016-02-22 12:31:36 -05:00
Julian Lam dfed1df8b6 init 2014-03-30 15:47:28 -04:00