21 lines
694 B
Plaintext
21 lines
694 B
Plaintext
//----- Theme constructors -----
|
|
#import "themes.typ" as th
|
|
#import "../build_config.typ": document-config
|
|
// make-theme, make-theme-variable, fantasy-label,fantasy-rule,fantasy-section
|
|
|
|
//----- Project metadata -----
|
|
#let ravenous = (
|
|
name: document-config.name,
|
|
title: document-config.title,
|
|
copyright: document-config.copyright,
|
|
date: document-config.date,
|
|
)
|
|
|
|
//----- Select the active color scheme -----
|
|
#let color_scheme = document-config.color_scheme
|
|
|
|
//----- Build the active theme and its variable form -----
|
|
#let theme = th.make-theme(theme-name: color_scheme)
|
|
#let theme-var = th.make-theme-variable(theme-name: color_scheme)
|
|
#let resolve-table-theme = th.resolve-table-theme
|