@magic-themes/docs

0.0.15 • Public • Published

@magic-themes/docs

the @magic documentation theme.

shared between all @magic documentation pages.

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

install:

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

usage:

import:
// config.mjs:

export default {
  //... other config
  THEME: 'docs',

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

@magic will then import and use the theme automagically.

overwrite

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],
  },
})

changelog

0.0.1

first release

0.0.2

use @magic npm packages instead of github

0.0.3

update README

0.0.4

set node version to 13.5.0 and engineStrict

0.0.5

export vars from theme to merge with THEME_VARS before rendering modules.

0.0.6

theme vars are now named according to @magic standard (which is in flux...)

0.0.7

bump required node version to 14.2.0

0.0.8

update logo

0.0.9

update icon css

0.0.10

fix icon positioning

0.0.11
  • fix missing ) in media query
  • update dependencies
0.0.12

bump required node version to 14.15.4

0.0.13
  • update dependencies
  • update Header api for @magic/core 0.0.105
0.0.14
  • update dependencies
  • update Header api for @magic/core 0.0.109
  • add box-sizing: border-box to *
0.0.15
  • update dependencies
  • add ThemeVars module to example page
0.0.16 - unreleased

...

Package Sidebar

Install

npm i @magic-themes/docs

Weekly Downloads

5

Version

0.0.15

License

AGPL-3.0

Unpacked Size

43.7 kB

Total Files

6

Last publish

Collaborators

  • jascha