1
0
Fork
You've already forked ddd-module-themes
0
No description
  • Typst 100%
2026年07月13日 09:47:12 +02:00
0.0.1 rename package 2026年07月13日 09:47:12 +02:00
README.md update README for new org 2026年07月13日 09:38:57 +02:00

ddd-module-themes

themes to use with ddd-character-sheet

Setup

Check out or preferably add this as a git submodule into your projects directory tree:

git submodule add https://codeberg.org/ddd-sheets/ddd-module-themes packages/local/ddd-module-themes

While the packages directory in the example is optional and could be anything, it's absolutely crucial for typst to add the module as a subdirectory of a folder named local within the typst project structures.

Tell typst where your package directory is, by setting the environment variable TYPST_PACKAGE_PATH to the real path of the parent folder of the local directory. In our example that would be packages:

export TYPST_PACKAGE_PATH=/full/path/to/packages

Usage

With that set up, you can use the themes module from anywhere in your project like this:

#import "@local/ddd-module-themes:0.0.1": themes
#let theme = themes.at(themename)

Updating

If you installed the module as a git submodule you can from now on pull to your main project and all submodules like this:

git pull --recurse-submodules

Otherwise it's just git pull in the modules directory.

About Versioning

The typst version should be kept stable at 0.0.1. We use git for versioning and aren't necessarily dependent on typst versioniong. This may change in the future.