CES-Theme-Integration
The CES-Theme-Tailwind is integrated in the Nginx-Dogu to provide the general CES styles in the Nginx-Dogu.
Templating
A NodeJS project is defined in the theme-build folder, which includes the CES-Theme-Tailwind.
All npm commands below are run inside the theme-build folder, after installing its dependencies with npm ci.
Default styles
The default styles are integrated into every HTML page by nginx as default.css.
These styles are defined in the file default.css.tpl.
The color variables are included as CSS custom properties from the CES-Theme-Tailwind.
With npm run template-default-css the default.css with all color variables is generated from the template file.
Error pages
The error pages in the Nginx-Dogu all have the same structure and only differ in individual texts and images. For this reason, there is only one template for the error pages: error-page.html.tpl.
The error pages are generated from this template with npm run template-error-pages.
The configuration of the individual error pages can be found in the file error-pages.json.