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.
- 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, noon*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.
- 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.
- Copy the
siductionfolder into your forum'sThemes/directory, so you end up withThemes/siduction/. - In the admin panel, go to Admin → Configuration → Themes and Layout → Manage and Install.
- Under Install a New Theme, pick siduction from the themes found on the server and install it.
- 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.
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.
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.
- Made for the siduction forum.
- Icons from Bootstrap Icons (MIT).
- Runs on Simple Machines Forum.