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 8e7f5fc0ab - Show all commits

View file

@ -9,6 +9,7 @@ export const themePlugin = (): Plugin => {
console.log(`Using theme folder: ${themeFolder}`);
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() + '/themes/colors.css');