Skip to content

magic-themes/example

Repository files navigation

@magic-themes/example

a simple @magic example theme.

used in the @magic example page

demo

NPM version Linux Build Status Windows Build Status Coverage Status Greenkeeper badge Known Vulnerabilities

install:

npm install --save --save-exact @magic-themes/example

usage:

declare usage:
// config.mjs:

module.exports = {
  //... other config
  THEME: 'example',

  // multiple themes
  // THEME: [...other themes, 'example']
}

@magic will then import and use the theme automagically.

overwrite

you can overwrite any style in this theme with your own.

create /assets/themes/example/index.mjs, any css there will overwrite the theme css

export default vars => ({
  body: {
    color: vars.colors.orange[900],
  },
})

changelog

0.0.1

first release

0.0.2

update for @magic > 0.0.55

0.0.3

bump required node version to 14.2.0

0.0.4
  • update deps
  • remove custom lightswitch style
0.0.5

bump required node version to 14.15.4

0.0.6
  • update dependencies
0.0.7 - unreleased

...