···1111 name: 'theme-generator',
1212 transform(code, id) {
1313 if (id.endsWith('app.css')) {
1414+ const colorsCode = Deno.readTextFileSync(Deno.cwd() + '/src/themes/colors.css');
1415 // Read the theme file and replace the contents of app.css with it
1516 // Needs full path to the file
1617 const themeCode = Deno.readTextFileSync(Deno.cwd() + '/src/themes/' + themeFile);
···18191920 // and add a comment at the top
2021 const themeComment = `/* Generated from ${themeFile} */\n`;
2121- const themeCodeWithComment = themeComment + themeCode;
2222+ const themeCodeWithComment = themeComment + colorsCode + themeCode;
2223 // Return the theme code as the new contents of app.css
2324 return {
2425 code: themeCodeWithComment,