Skip to content

About

The siduction theme for Simple Machines Forum

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

siduction forum theme

A Bootstrap-flavoured theme for SMF 2.1, made for the siduction community forum.

It re-skins the default SMF look with a flatter, card-based layout, a light/dark colour scheme, and an icon font in place of the bitmap sprites. Nothing is wired up with inline scripts or styles, so the forum can be served under a strict Content-Security-Policy.

Screenshot of the theme

Features

  • Light and dark colour schemes. Auto follows the operating system; a toggle in the top bar lets visitors force light or dark, remembered per browser.
  • Colours live in CSS custom properties, so both schemes share one set of component rules and are easy to retheme.
  • Bootstrap Icons, bundled as a single woff2, replace SMF's <img> icon sprites — post icons, board status icons and the editor toolbar included.
  • Smileys render as Unicode emoji instead of GIFs.
  • CSP-friendly: no inline <script>, no inline styles, no on* handlers. script-src 'self'; style-src 'self' is enough.
  • Responsive, with a collapsible menu on small screens, plus right-to-left support for RTL languages.
  • SVG logo that swaps between a light and a dark variant.

Requirements

  • SMF 2.1.x
  • A reasonably current browser. The CSS leans on :has() and logical properties; older browsers still get a usable, if plainer, layout.

Installation

  1. Copy the siduction folder into your forum's Themes/ directory, so you end up with Themes/siduction/.
  2. In the admin panel, go to Admin → Configuration → Themes and Layout → Manage and Install.
  3. Under Install a New Theme, pick siduction from the themes found on the server and install it.
  4. Set it as the default, or let members choose it, from the same page.

The theme ships its own English and German strings for the colour-scheme labels; everything else uses your forum's existing language packs.

Upgrading from 1.2.x

Versions up to 1.2.2 shipped a service worker (scripts/sw.js) that blanked the smiley GIFs. It is gone; the theme unregisters it in visitors' browsers on their next page load. A Service-Worker-Allowed header you may have added to your web server config for it is no longer needed.

Customising

Open css/index.css and look at the :root block near the top. The brand colours, surfaces, text colours, radii and fonts are all there as variables. Colours that differ between the schemes are written as light-dark(light, dark), so both values sit on the same line. Browsers without light-dark() (before 2024) fall back to the light values in the @supports not block right below; keep that block in sync when you change a light colour.

Credits

About

The siduction theme for Simple Machines Forum

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages