reader mode for @magic.
used on explain.webboot
npm install --save --save-exact @magic-themes/reader
// config.mjs:
module.exports = {
//... other config
THEME: 'reader',
// multiple themes
// we recommend using the @magic-themes/project as a base for the reader theme.
// THEME: ['project', 'reader']
}
@magic will then import and use the theme automagically.
you can overwrite any style in this theme with your own.
create /assets/themes/reader/index.mjs, any css there will overwrite the theme css
export default vars => ({
body: {
color: vars.colors.orange[900],
},
})
first release
remove max height from pages. pages are as big as they have to be, this is not a pdf, fortunately :)
remove dependence on @magic-themes/project, add Logo and state to theme.
- remove max height from pages on all screen sizes
- Header now is centered both when menu is closed and when it is open
bump required node version to 14.2.0
- bug: lightswitch and cookie btn where invisible.
- update dependencies
bump required node version to 14.15.4
- update dependencies
- update Header api for @magic/core 0.0.105
- update dependencies
- add ThemeVars module to homepage
...