0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 08:22:42 +00:00
This commit is contained in:
Trevor Buckner
2024-07-15 16:45:55 -04:00
parent 484b0a6dff
commit af5434c9b7

View File

@@ -261,7 +261,7 @@ const api = {
req.params.renderer: This is the Markdown+ version for the static theme. If a req.params.renderer: This is the Markdown+ version for the static theme. If a
User theme the value will come from the User Theme metadata. User theme the value will come from the User Theme metadata.
*/ */
let parentReq = {};
let currentTheme; let currentTheme;
const completeStyles = []; const completeStyles = [];
const completeSnippets = []; const completeSnippets = [];
@@ -283,7 +283,6 @@ const api = {
} }
//=== Static Themes ===// //=== Static Themes ===//
else { else {
// NOTE: This currently makes NO attempt to do anything with Static theme Snippets. Loading of static snippets remains unchanged. // NOTE: This currently makes NO attempt to do anything with Static theme Snippets. Loading of static snippets remains unchanged.
const localStyle = `@import url(\"/themes/${req.params.renderer}/${req.params.id}/style.css\");`; const localStyle = `@import url(\"/themes/${req.params.renderer}/${req.params.id}/style.css\");`;
completeStyles.push(`/* From Theme ${req.params.id} */\n\n${localStyle}`); completeStyles.push(`/* From Theme ${req.params.id} */\n\n${localStyle}`);