- CSS 79.1%
- PHP 17.2%
- JavaScript 3.5%
- Makefile 0.2%
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 Layout → Manage and Install → Upload 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:
- Copy
languages/ThemeStrings.english.phpandlanguages/Settings.english.phptoThemeStrings.<language>.phpandSettings.<language>.php(e.g.,.spanish,.french). - Translate only the right-hand values while keeping the
$txtkeys and placeholders (such as$txt['theme_description']) unchanged. - 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:
- Describe what happened, what you expected, and the steps to reproduce.
- Add screenshots showing the problem (ideally the full browser window) so we can see layout and context.
- Mention your browser, OS, and SMF version to help us reproduce the issue.