@magic-themes/example
this is the @magic-themes example theme. It is being used in the @magic example page
demoinstallation
npm install magic-themes/docsusage
require in config.mjs:
// config.mjsexport default {// ... other configTHEME: 'docs',}
customize
you can customize and add any kind of style
create /assets/themes/docs/index.mjs, any css there will overwrite the theme css
// /assets/themes/docs/index.mjsexport default vars => ({body: {color: vars.colors.orange[900],},})
magic will then find and merge the themes automatically, just as it did on this page