Recent

Author Topic: Dark theme for the forum (userscript)  (Read 198 times)

Fibonacci

  • Hero Member
  • *****
  • Posts: 1035
  • Behold, I bring salvation - FPC Unleashed
Dark theme for the forum (userscript)
« on: May 29, 2026, 04:18:51 pm »
Moved this to GitHub.



FPC Forum Dark Theme

Dark theme + Pascal syntax highlighter for the FPC/Lazarus forum, bundled into a single userscript.

Features
  • Dark theme - palette-driven restyle of the whole forum (dark navy), built on the default SMF look
  • Pascal syntax highlighter for code blocks: keywords, types, numbers (decimal/hex/binary/char codes), strings, comments, compiler directives, plus line numbers
  • Handles newer FPC syntax (FPC Unleashed): interpolated strings - $'value: {x:0.00}' is colored like in the IDE, format masks included - plus match, inline var declarations and other new constructs, all colored accordingly
Install
Updates

The script updates itself - Tampermonkey re-checks the install URL periodically (usually once a day) and picks up new versions from this repo automatically.
« Last Edit: June 11, 2026, 02:25:30 am by Fibonacci »
FPC Unleashed: async/await, parallel for, match, tuples, string interpolation, inline vars, autofree, no-RTTI & tons more. Star on GitHub

 

TinyPortal © 2005-2018