the @magic documentation theme.
shared between all @magic documentation pages.
npm install --save --save-exact @magic-themes/docs
// config.mjs:
export default {
//... other config
THEME: 'docs',
// multiple themes
// THEME: [...other themes, 'example']
}
@magic will then import and use the theme automagically.
you can overwrite any style in this theme.
create /assets/themes/docs/index.mjs, any css there will overwrite the theme css
export default vars => ({
body: {
color: vars.colors.orange[500],
},
})
first release
use @magic npm packages instead of github
update README
set node version to 13.5.0 and engineStrict
export vars from theme to merge with THEME_VARS before rendering modules.
theme vars are now named according to @magic standard (which is in flux...)
bump required node version to 14.2.0
update logo
update icon css
fix icon positioning
- fix missing ) in media query
- update dependencies
bump required node version to 14.15.4
- update dependencies
- update Header api for @magic/core 0.0.105
- update dependencies
- update Header api for @magic/core 0.0.109
- add box-sizing: border-box to *
- update dependencies
- add ThemeVars module to example page
...