Custom themes and config overrides #9

Merged
astra merged 20 commits from astra/overrides into main 2025-05-29 08:38:03 +00:00
Showing only changes of commit e75f41f7f1 - Show all commits

View file

@ -9,6 +9,7 @@ export const themePlugin = (): Plugin => {
console.log(`Using theme file: ${themeFile}`);
return {
name: 'theme-generator',
enforce: 'pre', // Ensure this plugin runs first
transform(code, id) {
if (id.endsWith('app.css')) {
const colorsCode = Deno.readTextFileSync(Deno.cwd() + '/src/themes/colors.css');