@magic-themes/example

this is the @magic-themes example theme. It is being used in the @magic example page

demo

installation

npm install magic-themes/docs

usage

require in config.mjs:

// config.mjsexport default {  // ... other config  THEME: '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