3
1
Fork
You've already forked naev-forum-theme
0
SMF theme for our forum, based on Elementary for SMF: https://custom.simplemachines.org/index.php?theme=3035
  • CSS 79.1%
  • PHP 17.2%
  • JavaScript 3.5%
  • Makefile 0.2%
2026年04月04日 07:29:48 -04:00
css Fix misaligned text in profile section category headers 2026年04月04日 07:02:10 -04:00
images Keep the background gradient the same between light and dark modes. 2025年12月06日 02:16:00 -05:00
languages Add an option to disable the nebula shader if desired 2025年12月06日 03:55:14 -05:00
scripts Hide nebula toggle when WebGL is unavailable or on mobile 2026年04月04日 07:10:23 -04:00
svgs Include the rest of the FontAwesome 6.4.0 release with svgs and fonts 2026年01月02日 03:24:10 -05:00
webfonts Include the rest of the FontAwesome 6.4.0 release with svgs and fonts 2026年01月02日 03:24:10 -05:00
.gitignore Generate theme_info.xml on the fly. 2025年12月06日 03:27:57 -05:00
.weblate Fix Weblate config: split into ThemeStrings and Settings components 2026年04月04日 05:49:09 -04:00
BoardIndex.template.php Add Codeberg, Mastodon, and itch.io social icons. 2025年12月06日 01:31:59 -05:00
CHANGELOG.md Update changelog for v1.0.8 and v1.0.9 2026年04月04日 07:29:48 -04:00
index.php Initial commit 2025年12月05日 05:30:11 -05:00
index.template.php Minimize the CSS and themeswitch js 2026年01月02日 03:25:46 -05:00
LICENSE.txt Initial commit 2025年12月05日 05:30:11 -05:00
Makefile Bump to v1.0.9 2026年04月04日 07:10:23 -04:00
MessageIndex.template.php Initial commit 2025年12月05日 05:30:11 -05:00
NOTICE Include the rest of the FontAwesome 6.4.0 release with svgs and fonts 2026年01月02日 03:24:10 -05:00
README.md Mention version it is based on. 2026年01月02日 12:27:40 +09:00
Settings.template.php Add Codeberg, Mastodon, and itch.io social icons. 2025年12月06日 01:31:59 -05:00
theme_info.xml.in Set based-on to default for SMF update compatibility 2026年04月04日 05:46:04 -04:00

Sea of Darkness - Naev Forum Theme

This repository contains the "Sea of Darkness" theme used for the Naev community forum. It targets Simple Machines Forum 2.1.x and includes the templates, styles, scripts, and translations needed to ship a ready-to-install theme package. The theme is based on the SMF "Elementary" (version v1.0.5) theme (https://custom.simplemachines.org/index.php?theme=3035).

Dependencies

You need make with tar, zip, and sed available to build release archives. Installing the theme also requires access to an SMF 2.1.x forum instance where you can upload a theme package.

Packaging

A Makefile is provided to generate distributable archives.

To build the theme with the default version (1.0.3) run:

make

This produces dist/Sea_of_Darkness.tar.gz and dist/Sea_of_Darkness.zip, and writes the resolved theme_info.xml from theme_info.xml.in.

To package a different version, override VERSION when running make:

make VERSION=1.2.3

This sets the version in theme_info.xml and in the archive metadata.

Installing the theme

After building, upload dist/Sea_of_Darkness.zip through the SMF admin panel (Themes and LayoutManage and InstallUpload a Package). SMF will unpack it and register the theme. You can then set it as the default or enable it per user from the same section.

Cleaning build artifacts

To remove generated archives and the rendered theme_info.xml, use:

make clean

Translations

Theme-specific strings live in the languages directory. To add a new locale:

  1. Copy languages/ThemeStrings.english.php and languages/Settings.english.php to ThemeStrings.<language>.php and Settings.<language>.php (e.g., .spanish, .french).
  2. Translate only the right-hand values while keeping the $txt keys and placeholders (such as $txt['theme_description']) unchanged.
  3. Save files as UTF-8. SMF 2.1 will auto-pick the files matching each user's language once the theme is installed.

Reporting issues

Please use the project issue tracker to report bugs or request improvements:

  1. Describe what happened, what you expected, and the steps to reproduce.
  2. Add screenshots showing the problem (ideally the full browser window) so we can see layout and context.
  3. Mention your browser, OS, and SMF version to help us reproduce the issue.